Hi all. I just picked up Lift and Scala a couple of weeks ago. I have
been using mostly Wicket for the last couple of years. I have ordered
David's Scala book and a Lift book from Amazon, but they're not here
yet, so I am hoping that someone can help me with some conceptual
issues.
In Wicket, pages are components. Something that I like about Wicket is
how easy it is to create a link to a related page: I can just pass
state from the current page to the constrictor of the new page. For
example, given a list of products, I can create a link to a product
detail page like so:
new Link("mylink") {
void onClick() {
setResponsePage(new ProductPage(product));
}
}
Basically the product page is returned from the link click. What is
the recommended way of doing this in Lift? Should I just create a
regular link to a URL and pass the product ID as a parameter? Or is
there a better way which will allow me to avoid reloading the product,
checking privileges, and so on?
Thank you,
Willis
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---