[Lift] JE Abstractions

2009-09-30 Thread sunanda
Hi, Can any one provide a simple example to explain how to use JE abstractions (Call,JsFunc) in lift code . I am new to Lift Framework Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to

[Lift] Re: Javascript Commands

2009-10-01 Thread sunanda
. If you wanted to set some variable to the result of the function, you could do: JsCmds.CrVar(myVar, JE.Call(foo, one, 2)) Derek On Wed, Sep 30, 2009 at 6:17 PM, sunanda sunanda.pa...@gmail.com wrote: Hi David, Thanks for your prompt reply. As a beginner I have started reading the book

[Lift] Extracting FieldIdentifer names from a list of FieldErrors

2009-10-13 Thread sunanda
Hi, I need to extract the FieldIdentifer names from a list of FieldErrors. Can anyone suggest me how to achieve this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email

[Lift] Re: Extracting FieldIdentifer names from a list of FieldErrors

2009-10-14 Thread sunanda
the list of FieldErrors. Thanks. Regards, Sunanda. On Oct 15, 7:35 am, David Pollak feeder.of.the.be...@gmail.com wrote: val fieldErrors: List[FieldError] = ...val fieldNames: List[String] = fieldErrors.flatMap(_.field) On Tue, Oct 13, 2009 at 10:44 PM, sunanda sunanda.pa...@gmail.com wrote:  Hi

[Lift] How to set uniqueFieldId

2009-10-18 Thread sunanda
) It prints 0 instead of abc. Can anyone suggest me where am I going wrong. Thanks. Regards, Sunanda. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb

[Lift] Re: How to set uniqueFieldId

2009-10-18 Thread sunanda
Hi Naftoli, Thank you so much. It works now. Sunanda On Oct 19, 2:28 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: Try fld.uniqueFieldId openOr n/a On Sun, Oct 18, 2009 at 11:19 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, How to set the uniqueFieldId for a mapper. Following

[Lift] Setting Table Border

2009-10-19 Thread sunanda
Hi, I need to display the table with border. Following is the sample code. But it is not displaying the border.Is this the correct way of setting the border. Sunanda def displayColDef(selectedname:String):NodeSeq={ val coldef = getColDef(selectedname) table border=2

[Lift] Re: Setting Table Border

2009-10-19 Thread sunanda
Thats what I wonder. It should work. When I refer to a css file with the border setting it works, but not with the setting from the snippet. I need to figure it out. Thanks for your reply. Sunanda. On Oct 20, 2:35 pm, Ross Mellgren dri...@gmail.com wrote: That looks right to me -- it should

[Lift] How to disable a textfield

2009-10-19 Thread sunanda
Hi, I need to disable all the textfield and then want to enable the fields for editing on click of a button. How can i do this with the following sample code. Thanks Regards, Sunanda. bind(add,html, displayname-coldef.displayname.toForm, columntype

[Lift] Re: How to disable a textfield

2009-10-20 Thread sunanda
Thanks Tim On Oct 20, 6:02 pm, Timothy Perrett timo...@getintheloop.eu wrote: Change - to -% Doing this preserves any element attributes, for example: disabled=disabled Cheers, Tim On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to disable all the textfield

[Lift] Calling a method from other snippet

2009-10-21 Thread sunanda
Hi, I have a method updateColumn() in ColumnInfo.scala snippet. I need to call this method form another snippet GridInfo.scala How can I do this. Sunanda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group

[Lift] Dynamic radio button

2009-10-21 Thread sunanda
Hi, I need to add radio button dynamically with one of the button checked and I need to invoke ajaxCall onclick of a radio button. How can I do this. Sunanda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Dynamic radio button

2009-10-22 Thread sunanda
how to achieve this. Thanks Sunanda On Oct 23, 1:39 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I don't quite understand what you're trying to do. Could you give some more details? Are you trying to add more radios to an existing radio button set? On Wed, Oct 21, 2009 at 8:45 PM

[Lift] How to give a time lmit to display a message

2009-10-25 Thread sunanda
Hi, I need to display a message only for few seconds using SetHtml. E.g. SetHtml(msg,Text(Hello)). How can I do this Thanks. Sunanda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group

[Lift] Re: How to give a time lmit to display a message

2009-10-26 Thread sunanda
)). How can I do this Thanks. Sunanda- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com

[Lift] Re: How to give a time lmit to display a message

2009-10-26 Thread sunanda
, Text ())) Sunanda On Oct 27, 8:50 am, sunanda sunanda.pa...@gmail.com wrote: Thanks Ross On Oct 27, 2:33 am, Ross Mellgren dri...@gmail.com wrote: SetHtml(msg, Text(hello)) After(1 minute, SetHtml(msg, Empty)) -Ross On Oct 25, 2009, at 9:03 PM,sunandawrote: Hi, I need

[Lift] Problem with RequestVar

2009-10-26 Thread sunanda
Hi, I need to retain the value of gridid throughout the session. The sample code is given below. object gridid extends RequestVar(S.param(gridid) openOr ) class CreateDominoColDefinition extends StatefulSnippet{ def dispatch = { case createColDef = createColDef _ } def

[Lift] Refresh Session Variable

2009-11-02 Thread sunanda
Hi, I need to refresh a session variable to empty string on load of a page and need to set the variable to some string (e.g. abcd) on click of a button. How can I do this. Sunanda. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Lift] Unit Testing

2009-11-02 Thread sunanda
Hi, How to do unit testing in Lift Framework. Sunanda. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send

[Lift] JUnit test on Eclipse

2009-11-03 Thread sunanda
Hi, I am using eclipse to write JUnit test. For the following sample code I am getting error:No Junit tests found. Where am I going wrong? package test import junit.framework.TestCase class UnitTest extends TestCase{ def test1() ={ println(Hello) } }

[Lift] H2 Database

2009-11-05 Thread sunanda
Hi, Though this question is not related to Lift I would appreciate if anyone can suggest me how to configure h2 database on eclipse. I was trying with Hsql , but came to know that Lift does not support Hsql. Sunanda. --~--~-~--~~~---~--~~ You received this message

[Lift] Unit Test Error

2009-11-09 Thread sunanda
Hi, I have set the unitils properties for h2 database. I am getting the following error message for the unit test. Can anyone tell me what am I missing? Thanks. Sunanda java.lang.NullPointerException: Looking for Connection Identifier ConnectionIdentifier(lift) but failed to find either a JNDI

[Lift] Re: Configuring web.xml

2009-11-23 Thread sunanda
I get the HTTP Status 404 Error: The requested resource () is not available On Nov 24, 11:21 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Nov 23, 2009 at 4:13 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, I need the url pattern for my application to be /grid/*. I

[Lift] Re: Configuring web.xml

2009-11-23 Thread sunanda
No I don't have. Do I need to have this. On Nov 24, 11:49 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Nov 23, 2009 at 4:27 PM, sunanda sunanda.pa...@gmail.com wrote: I get the HTTP  Status  404 Error: The requested resource () is not available Do you have items

[Lift] Need for lift application to coexist with spring in the same webapp

2009-11-23 Thread sunanda
Hi David, Thank for all the help so far. My lift application needs to coexist with the spring servlet in the same web application. I have configured the web.xml file for both of the spring servlet and lift filter. Hence I need to configure the url pattern in such a way that /grid/* request

[Lift] Re: Need for lift application to coexist with spring in the same webapp

2009-11-25 Thread sunanda
Many Many thanks to David and Chris. Your suggestions helped me a lot and I am now able to run my application using both Lift Filter and Spring Servlet . Regards, Sunanda. On Nov 25, 11:35 pm, Chris Lewis burningodzi...@gmail.com wrote: Don't forget that if the lift filter is inspecting

[Lift] A question on radio button

2009-12-01 Thread sunanda
Hi, I have got two radio button fields(Yes,No) In my form I need to display an input field onclick of the button Yes else the field needs to be hidden. How can I achieve this inside the form. Regards, Sunanda -- You received this message because you are subscribed to the Google Groups