[Lift] liftAjax Yahoo issue?

2009-04-06 Thread Charles F. Munat
I'm using YUI to build an application interface. I built it in plain HTML and it runs just fine, but when I copy and paste that code into my lift app -- only difference: the liftAjax.js script -- I get the following errors in Firebug: uncaught exception: [Exception... Component returned

[Lift] Re: Howto re-initialize database

2009-04-06 Thread Tobias Daub
Hi Derek, This was something that confused me a bit, too. Which kind of database is Lift using? Its not mentioned at all in the tutorial, or? I just know it from Turbogears, that they had a tool that could play with the underlying database and do stuff like delete all tables and create new

[Lift] Re: Howto re-initialize database

2009-04-06 Thread TylerWeir
The default setup uses Apache Derby[1], which is an in-memory db. You are free to use other DBs, most commonly used would be MySQL and PostgreSQL, although there are others. Take a look here, http://wiki.liftweb.net/index.php?title=Cheat_Sheet#Connection_String_Quickies [1]

[Lift] Re: Who did the hungarian translation?

2009-04-06 Thread Timothy Perrett
Thanks Marius :) On Apr 6, 11:34 am, marius d. marius.dan...@gmail.com wrote: Tim, Undefined = meghatározatlan ... you may want to run native2ascii on it Br's, Marius On Apr 4, 8:36 pm, Timothy Perrett timo...@getintheloop.eu wrote: Hey Marius Sounds good. I just want to add an

[Lift] Thread safe configuration without abusing the session?

2009-04-06 Thread Tim Perrett
Guys, Im working on a system where by there is a bunch of configuration options that should exist for a given application, and are application wide... Im handling this right now in a similar way to LiftRules. However, I also have some configuration that can be done on a per user / per session

[Lift] Re: Thread safe configuration without abusing the session?

2009-04-06 Thread Viktor Klang
If the config is on a per-session basis, then SessionVar should be the way to go. But of course, put it in _one_ SessionVar, and not hundreds... :) On Mon, Apr 6, 2009 at 2:13 PM, Tim Perrett timo...@getintheloop.eu wrote: Guys, Im working on a system where by there is a bunch of

[Lift] Re: Who did the hungarian translation?

2009-04-06 Thread marius d.
Tim, Undefined = meghatározatlan ... you may want to run native2ascii on it Br's, Marius On Apr 4, 8:36 pm, Timothy Perrett timo...@getintheloop.eu wrote: Hey Marius Sounds good. I just want to add an Undefined item to the Genders object in Mapper, however it needs updating in our core

[Lift] Re: Thread safe configuration without abusing the session?

2009-04-06 Thread Timothy Perrett
Hey Viktor :) What¹s the overhead associated with this? Little? Much? Cheers, Tim On 06/04/2009 13:17, Viktor Klang viktor.kl...@gmail.com wrote: If the config is on a per-session basis, then SessionVar should be the way to go. But of course, put it in _one_ SessionVar, and not hundreds...

[Lift] Re: Thread safe configuration without abusing the session?

2009-04-06 Thread Viktor Klang
On Mon, Apr 6, 2009 at 2:27 PM, Timothy Perrett timo...@getintheloop.euwrote: Hey Viktor :) What’s the overhead associated with this? Little? Much? The overhead of many SessionVars version one? From a memory/cpu-perspective it's negligible (dang, how to spell that?). However, from a

[Lift] Re: Howto re-initialize database

2009-04-06 Thread Derek Chen-Becker
Actually, Derby doesn't have an in-memory mode ( http://db.apache.org/derby/faq.html#in_memory), and saves the data to disk by default. The JDBC connection URL determines the directory that Derby saves stuff in. In the ToDo app I believe it's lift_example, which should be in your project root

[Lift] Hidden field in form

2009-04-06 Thread wapgui
Hi, is there an equivalent in lift to the hidden input filed used in forms. The SHtml.hidden is only for functions not for parameters, the value is always true. I want set the hidden input via javascript. Is there also a parameter for setting the name of the form itself? Here the code: object

[Lift] Re: Hidden field in form

2009-04-06 Thread marius d.
Well putting an id to the hidden field allows you to manipulate it via JavaScript. Br's, Marius On Apr 6, 5:01 pm, wapgui torsten.schm...@wapgui.com wrote: Hi, is there an equivalent in lift to the hidden input filed used in forms. The SHtml.hidden is only for functions not for parameters,

[Lift] Re: one more stupid question

2009-04-06 Thread Timothy Perrett
I think you mean: div id=sdfsd/div You have two options for setting the ID parameter: In code: divsdfsdf/div % id - badger In markup (where using bind): pfx:item pfx:id=badger / Does that help? Cheers, Tim On 06/04/2009 17:48, Tobias Daub hannes.flo...@gmx.li wrote: Hi There, I

[Lift] Re: liftAjax Yahoo issue?

2009-04-06 Thread marius d.
Charles, Do you have a minimalistic example/project? ... YUI Lift used to work just fine for me but I haven't looked at it in a while. I could probably look on it sometimes this week ... Br's, Marius On Apr 6, 10:06 am, Charles F. Munat c...@munat.com wrote: I'm using YUI to build an

[Lift] Re: Scala-tools.org is down

2009-04-06 Thread TylerWeir
Boo-urns. On Apr 6, 2:26 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Someone was doing a denial of service attack on scala-tools.org.  I've had to shut the machine down.  I'm working on getting the static snapshot of Scala-tools onto another machine. Sorry for the

[Lift] Re: Scala-tools.org is down

2009-04-06 Thread Derek Chen-Becker
I guess I would ask Why?, but that's really secondary as long as we can get it back up. Derek On Mon, Apr 6, 2009 at 4:05 PM, TylerWeir tyler.w...@gmail.com wrote: Boo-urns. On Apr 6, 2:26 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Someone was doing a denial of service

[Lift] Re: Hidden field in form

2009-04-06 Thread wapgui
Did you mean something like that ? color - hidden(() = fp.color) % (id - color) But how can I get the value of the color and how to set the value via js if the form has no name and the name of the input is generated. form method=post action=/ input value=true type=hidden

[Lift] The bandwidth useage

2009-04-06 Thread David Pollak
Folks, In case you were wondering about what was happening to the scala-tools.organd lift sites... enclosed, please find bandwidth graphs. I'll have scala-tools.org back up later tonight (no hudson yet). I'll have the static part of the lift web site back up tonight as well, but not the

[Lift] How to generate war file??

2009-04-06 Thread sailormoo...@gmail.com
Hi Hi : I am new to Lift and new to maven, I would just like to ask how to generate a war file to put it into the real server. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this

[Lift] Re: Scala-tools.org is back online

2009-04-06 Thread David Pollak
On Mon, Apr 6, 2009 at 8:03 PM, etorreborre etorrebo...@gmail.com wrote: Thanks a lot David for putting the machine back online. I'm wondering if there's an item missing in the list. I've been trying to upload a new jar to the Nexus repository but this didn't work. Is it also back up? No.