[Lift] Re: how to use thread in lift

2009-08-31 Thread pravin
, 2009 at 2:05 AM, pravin pravinka...@gmail.com wrote: Hi, i want to use thread in my lift application. I have two Lists i.e. List1() and List2(); when i click on submit button i want to do following things - i am executing to method  to populate above to list -; List1() = fun1

[Lift] How to do pagination in lift application...

2009-08-28 Thread pravin
ORM and MSSQL Server Thanks -Pravin --~--~-~--~~~---~--~~ 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 email to liftweb

[Lift] how to use thread in lift

2009-08-28 Thread pravin
Hi, i want to use thread in my lift application. I have two Lists i.e. List1() and List2(); when i click on submit button i want to do following things - i am executing to method to populate above to list -; List1() = fun1(); List2() = fun2(); So i want to do above things with thread s

[Lift] Re: error while SHtml.ajaxInvoke call

2009-08-24 Thread pravin
with JavaScript that updates the browser. If it's the latter (the user does nothing, but the server pushes changes to the client), see CometActor.  You can see an example in the Clock.scala code in the Lift sites/example project. On Fri, Aug 21, 2009 at 1:25 AM, pravin pravinka...@gmail.com

[Lift] i want sample code for ajaxForm

2009-08-24 Thread pravin
Hi, i have one text box and one submit button on my html form... how can i use ajaxForm method to do this,,, i go through the sample codes from sample application that lift provided ...but i want more details for ajaxForm Thanks in advance... -Pravin

[Lift] why ajaxButton not submit the form

2009-08-24 Thread pravin
Hi i have form with text box and Submit button(with ajax Submit button) But when i submit the button form is not submitting so i am not able to get the value of text box.. onclick function get called... Just i want to show text value in response with ajax ... how can i do this

[Lift] Re: error while SHtml.ajaxInvoke call

2009-08-21 Thread pravin
for following: i was planning when other table getting render make ajax call with ajaxInvokebut i wont work... Please help ... Thanks in advance -Pravin On Aug 20, 6:56 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Aug 19, 2009 at 10:50 PM, pravin pravinka...@gmail.com

[Lift] error while SHtml.ajaxInvoke call

2009-08-19 Thread pravin
. This all happening on submit button click Appreciate any pointer regarding this -Pravin --~--~-~--~~~---~--~~ 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: error while SHtml.ajaxInvoke call

2009-08-19 Thread pravin
to be made? On Wed, Aug 19, 2009 at 8:43 AM, pravin pravinka...@gmail.com wrote: Hi , i am trying to configure Ajax in my application using lift. I have : lift:DisplayResults.showFeeds              table border=0 width=100% class = resultheader cellpadding=10

[Lift] how to use BySql query

2009-08-14 Thread pravin
= emp_details.findAll(BySql(salary between ? and ?, 1000,1,IHaveValidatedThisSQL(pravin,2009-08-03))); but when i compileing this i get following error - java.io.IOException: MALFORMED[1] at scala.tools.nsc.io.SourceReader$.decode(SourceReader.scala: 134

[Lift] how to wtite scala code in dynamic table

2009-08-12 Thread pravin
if there no cell no i dont want to display this record how can i add this code in this td } Thanks in advance -Pravin --~--~-~--~~~---~--~~ 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 use Mapper and record framework

2009-07-31 Thread pravin
for MS SQL ? Thanks -Pravin On Jul 30, 12:34 pm, Giuseppe Fogliazza g.foglia...@mcmspa.it wrote: Dear Pravin. Your requests address very basic behaviour of the framework, and you should not experience any problem in adapting examples from the aforementioned book. Even simpler you could

[Lift] How to use Mapper and record framework

2009-07-30 Thread pravin
for this Thanks in advance.. -Pravin --~--~-~--~~~---~--~~ 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 email to liftweb+unsubscr

[Lift] How to configure MySQL In Lift

2009-07-29 Thread pravin
Hi, I want to configure MySQL in my lift application. From following site http://scala-tools.org/scaladocs/liftweb/1.0/ i come to know that there is one object called net.liftweb.mapper.MySqlDriver. So how can i use this for MySQL connectivity in my lift application. Thanks -Pravin

[Lift] how to create data transfer object in lift

2009-07-20 Thread pravin
Hi, i want to create DTO(data transfer object) of employee. Then i want to create list of this employee object. want to display this list on GUI. How can i do this in lift. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Lift] How to use DTO(data transfer object) in lift

2009-05-19 Thread pravin
Hi, How to use DTO(data transfer object) in lift. e.g In Java ,i have user defined object i.e Employee with name ,address,emp Id, salary,department attribute. i want to display employee details on UI. for that i will make query for Db for particular employee. Will retrieve all attribute and

[Lift] how to display all template with chooseTemplate

2009-05-14 Thread pravin
Hi , I am using chooseTemplate in UI. As per condition i am able to hide and display particular template but suppose i want to display all templates at one condition ,how can i do that. e.g suppose from count game example case run if lastGuess == number = xhtml =

[Lift] Re: how to hide /display div tag in lift

2009-05-07 Thread pravin
strip it out 3. You can have a little JavaScript that is called when the page loads that shows or hides the div ... if you need something more dynamic. Br's, Marius On May 4, 1:28 pm, pravin pravinka...@gmail.com wrote: HI, I want to hide /display div tag. how can i controlled it from

[Lift] Re: how to add object into session scope in lift

2009-04-29 Thread pravin karne
whatever is in the session object so add to it here SessionObj.is Do you specifically need to use Java HashMap? If not, seems like List[(String,Int)] would be more lift-esq. Cheers, Tim On 28/04/2009 13:30, pravin pravinka...@gmail.com wrote: Hi guys, I want to add objects into session

[Lift] Re: how to add object into session scope in lift

2009-04-29 Thread pravin karne
what is the is+ method sessionObj.is+ (foo - 1) how it differ from sessionObj.is(foo - 1) On Tue, Apr 28, 2009 at 8:33 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Apr 28, 2009 at 5:30 AM, pravin pravinka...@gmail.com wrote: Hi guys, I want to add objects

[Lift] how to add object into session scope in lift

2009-04-28 Thread pravin
Hi guys, I want to add objects into session scope. i am using following code : object sessionObj extends SessionVar[HashMap[String, Int]]( new HashMap[String, Int] { override def default(key: String): Int = 0 } ) So as per my understanding :- 1.

[Lift] How to set different response in lift

2009-04-27 Thread pravin
Hi guys, i want send xml response to request when i click on button i should get xml file as response in browser . How can i do that in lift? Thanks in advanced. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Lift] from where can i get lifts sample examples

2009-04-27 Thread pravin
Hi guys, i want sample examples of lift from where i will get these sample examples? --~--~-~--~~~---~--~~ 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

[Lift] Re: How to create dynamic table in response

2009-04-21 Thread pravin karne
:37 PM, pravin pravinka...@gmail.com wrote: Hi, I want to create dynamic table into response. I have list of objects just i want to place them into table. Also i have to to place these rows conditionally.So i can use if else ,for loop in HTML code We can do this easily in JSP.(I

[Lift] Re: How to create dynamic table in response

2009-04-21 Thread pravin
, pravin pravinka...@gmail.com wrote: Hi, I want to create dynamic table into response. I have list of objects just i want to place them into table. Also i have to to place these rows conditionally.So i can use if else ,for loop in HTML code We can do this easily in JSP.(I am new to lift

[Lift] Re: How to create dynamic table in response

2009-04-21 Thread pravin
:: Nil val empty: NodeSeq = NodeSeq.Empty def buildRows: NodeSeq = (empty /: data)((l, r) = l ++ trtd{r}/ td/tr) def build(xhtml: NodeSeq) : NodeSeq = {   bind(t, xhtml,     rows - buildRows   ) } } On Apr 21, 9:19 am, pravin pravinka...@gmail.com wrote: i have already done

[Lift] Re: How to create dynamic table in response

2009-04-21 Thread pravin karne
++ (if (condition) trtd{r}/td/tr else )) There are many ways to do it ... this is just an example. You can also use chooseTemplate ... which you can find examples in the sites/ example application (see CountGame) Br's, Marius On Apr 21, 1:57 pm, pravin pravinka...@gmail.com wrote

[Lift] how to call my servlet from lift form

2009-04-16 Thread pravin
Hi guys, I am new to Lift framework. I created one form. i want to submit this for to one servlet and perform some business logic on form data and display other page. How can i do this with the help of lift. I short i want to do this like sample web application - form - web.xm (navigartion