[Lift] Re: Comet request exception

2009-06-04 Thread feelgood
it down? Thanks, David On Wed, Jun 3, 2009 at 12:19 PM, feelgood asseliva...@gmail.com wrote: I just copied comet sample named Clock from the p. 142 of the liftbook into my app. It doesn't work. First time it renders timestamp normally, but since 10 seconds: WARN - Request

[Lift] Comet request exception

2009-06-03 Thread feelgood
I just copied comet sample named Clock from the p. 142 of the liftbook into my app. It doesn't work. First time it renders timestamp normally, but since 10 seconds: WARN - Request for /comet_request/58946720417/1ha35q9iqp4el failed Bail java.lang.Exception: Bail at

[Lift] Prevent direct access to templates

2009-06-01 Thread feelgood
In my webapp directory I have template called login_ru.xhtml. If I type http://localhost:8080/login; in my browser I see processed template. But if I type http://localhost:8080/login_ru.xhtml; I see not processed template. Why lift do not process template?

[Lift] Re: Prevent direct access to templates

2009-06-01 Thread feelgood
the LiftRules.localeCalculator returns. Br's, Marius On Jun 1, 9:52 am, feelgood asseliva...@gmail.com wrote: In my webapp directory I have template called login_ru.xhtml. If I type http://localhost:8080/login; in my browser I see processed template. But if I type http://localhost:8080

[Lift] Re: Snippet name clashes

2009-06-01 Thread feelgood
What is about: lift:path.Snippet.action / Where there is following exclusive cases for path: 1 path is a relative path from one of the packages denoted by LiftRules.addToPackages to a Snippet class 2 path is a path from the _root_ to the Snippet class. And the Lift can sequentially try each

[Lift] Strange behavior of RequestVar

2009-05-31 Thread feelgood
Compare two cases. First: class SnippetName { object oVar extends RequestVar(O.create) def processAdd(o: O) { ... } def add(xml: NodeSeq): NodeSeq = { bind (f, xml, field - SHtml.text(oVar.is.field, oVar.is.field(_)), submit - SHtml.submit(Submit, () = processAdd(oVar.is)

[Lift] Dependent fields in form

2009-05-29 Thread feelgood
Is it real to create form with dependent field? Suppose whe have two select boxes: for the country and for the city. It would be quite good, if country selection trigger updating of the cities list. --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Encoding of property files used for localization

2009-05-27 Thread feelgood
First, I tried to use UTF-8 encoded property files to localize my app. I saw Неверно указан идентификатор. AIUI this is ISO 8859-1 encoded representation of my UTF-8 string. I also tried to use native2ascii tool to decode UTF-8 strings in ASCII string like

[Lift] Re: Encoding of property files used for localization

2009-05-27 Thread feelgood
Thanx a lot. On 27 май, 21:17, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, May 27, 2009 at 7:55 AM, feelgood asseliva...@gmail.com wrote: First, I tried to use UTF-8 encoded property files to localize my app. I saw Неверно указан идентификатор. AIUI

[Lift] Re: Encoding of property files used for localization

2009-05-27 Thread feelgood
But it's still doesn't work with plain properties. I think the problem is in the ResourceBundle class and getBundle method. ? method of S object comes to using ResourceBundle. On 27 май, 22:02, feelgood asseliva...@gmail.com wrote: Thanx a lot. On 27 май, 21:17, David Pollak feeder.of.the.be