I'm new to Scala/Lift, i have a question reg SHtml.Text, If i have the
following code
bind("entry",xhtml,
    "something" -> SHtml.text(something, something = _),
    "submit" -> SHtml.submit("Add", processAdd))

i can get the value entered within processAdd for ex, println("Val..."
+ something) works fine..
But if i want to have a fixed name for the input something like -
bind("entry",xhtml,
    "something" -> SHtml.text(something, something = _,"name"-
>"something"),
    "submit" -> SHtml.submit("Add", processAdd))

the above code has "name" attr, how should i get the entered value
from the form ? using S.attr("something") ? i tried this but doesn't
work. Am i doing something wrong..
Thanks

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to