[
http://jira.jboss.com/jira/browse/JBSEAM-3054?page=comments#action_12415039 ]
Dan Allen commented on JBSEAM-3054:
-----------------------------------
Thanks for the vote of confidence Shane :)
Btw, I want to explain my use of the wrappedData property in the h:dataTable. As you know,
the Seam UI command components (s:link and s:button) preserve the data model selection by
passing a special parameter. This behavior is used if iterating over a DataModel. Adding
wrappedData iterates over the underlying collection instead so that the Seam UI command
component no longer sees the DataModel and thus doesn't add the unneeded parameter. It
just makes the outbound UrlRewrite less messy.
use outbound urlrewriting in seambay example
--------------------------------------------
Key: JBSEAM-3054
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3054
Project: Seam
Issue Type: Feature Request
Components: Examples
Affects Versions: 2.1.0.A1, 2.0.2.SP1
Reporter: Dan Allen
Assigned To: Shane Bryzak
Fix For: 2.1.0.BETA1, 2.0.x
Attachments: JBSEAM-3054-v1.txt
Original Estimate: 15 minutes
Remaining Estimate: 15 minutes
Let's show off outbound urlrewriting in the seambay example. The current hard-coded
RESTful URLs look so labor intensive. Plus, it all stops working if you turn off
urlrewriting. By pushing it all into the urlrewrite engine, it works either way.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira