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 createColDef(html:NodeSeq):NodeSeq ={
........................

}

The value is retained with the submit button clicked for the fist
time.

Then its value becomes empty string with the click of the submit
button more than once.

 What do I need to do  to retain the  value for the gridid .

Thanks.






--~--~---------~--~----~------------~-------~--~----~
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...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to