Hi,

What's the best way to get generic "Cancel" links into forms, lift- 
style? Assuming that a form can be called from different pages in the  
application, and the cancel link should return to the originating page?
Would it work to have a RequestVar for the target of the cancel link,  
and populate it using the linking page's URI:
SHtml.link(editUrl, () => {...; cancelLinkRV(S.request.uri)},  
Text("Edit"))

Is the URI really reusable like this?

Or is there already some better way provided by lift?

Thanks,
Clemens


--~--~---------~--~----~------------~-------~--~----~
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