[
http://jira.jboss.com/jira/browse/JBSEAM-1643?page=comments#action_12368974 ]
Ning Zhao commented on JBSEAM-1643:
-----------------------------------
I think the Seam complaint would be meaningful. A while ago I wrote quite a bit page flow
definitions in jPDL prior to using the pages.xml. In jPDL, same view-id can be used
multiple times if I specify a different name. For example:
<page name="timeOutPage" view-id="/home.xhtml">
...
</page>
<page name="cancelPage" view-id="/home.xhtml">
...
</page>
Obviously jPDL uses the "name" attribute as semantic id, and the view-id as the
physical target. But in pages.xml, view-id is the semantic id.....
So if Seam could make some noisy complain when a developer brings her jPDL habit to the
pages.xml, it could be very helpful for debugging.....Thanks!
And thanks to Matt for filing this on JIRA!
Regards,
Ellen
Complain when user tries to define the same view-id twice in
pages.xml
----------------------------------------------------------------------
Key: JBSEAM-1643
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1643
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 2.0.0.BETA1
Reporter: Matt Drees
Priority: Minor
Fix For: 2.0.0.GA
If you define two page elements with the same view-id in pages.xml, Seam doesn't
complain at all. This can be confusing.
--
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