> an email to liftweb+unsubscribe@googlegroups.com
> <mailto:liftweb+unsubscribe@googlegroups.com>.
At what point it is decided that the chat content is not displayed and replaced by .../src/main/webapp/_chat_fixed.html actually. There is really no obvious if and the design seems to rely on side effect and order of evaluation. I would appreciate a sensible explanation.
1) after going to http://demo.liftweb.net/chat and entering different names in two separate chats before posting any messages to them, only one name will be reflected as a current user. I would expect that both divs are being updated from browser, as it happens when separate tabs/windows are used.Also I noticed two bugs:
2) After opening http://demo.liftweb.net/chat in FF and entering two short name (e.g. 1 character long),the browser momentarily reveals the content of the chat and hides it again
Thx,
Andy
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
so in the chat aexample, we override the method to have the comet actor display the content of the _chat_fixed.html file, which iswhich is
I'm not sure where you see that it depends on order of evaluation, and if by side effect you mean, reading a template, it is a web app that does stuff, so there is plenty of side effects, or which side effect are you referring to?
1) after going to http://demo.liftweb.net/chat and entering different names in two separate chats before posting any messages to them, only one name will be reflected as a current user. I would expect that both divs are being updated from browser, as it happens when separate tabs/windows are used.Also I noticed two bugs:
This is a simple example, it is not supposed to be a full feature chat application, you will also notice that it does not ask for a user/pass pair and a lot of other things.
2) After opening http://demo.liftweb.net/chat in FF and entering two short name (e.g. 1 character long),the browser momentarily reveals the content of the chat and hides it again
it also happens on Chrome, not sure what is going on, but if you have time to look into it, we will be happy to accept a pull request for the fix.
This is a simple example, it is not supposed to be a full feature chat application, you will also notice that it does not ask for a user/pass pair and a lot of other things.I realize that this is just a simple example. I was just wondering how many instances of Chat object are created when we open http://demo.liftweb.net/chat ?
2) After opening http://demo.liftweb.net/chat in FF and entering two short name (e.g. 1 character long),the browser momentarily reveals the content of the chat and hides it again
it also happens on Chrome, not sure what is going on, but if you have time to look into it, we will be happy to accept a pull request for the fix.
My intuition says that it is a Liftweb itself. Will spend some time and give a try.=Best,Andy
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.