[
https://issues.jboss.org/browse/SEAMFACES-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Allen updated SEAMFACES-105:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/seam/faces/pull/19
This is a proposal for how to hook into the creation of the ViewMetadata to add
a UIViewParameter if necessary. Another way to override the
ViewDeclarationLanguage is to provide a custom factory. However, overriding the
ViewHandler gives us the opportunity to hook in other functionality in the
future.
Feel free to rename or repackage the classes as needed.
> Add a dummy UIViewParameter if there are other non-UIViewParameter children
> in the metadata view
> ------------------------------------------------------------------------------------------------
>
> Key: SEAMFACES-105
> URL: https://issues.jboss.org/browse/SEAMFACES-105
> Project: Seam Faces
> Issue Type: Enhancement
> Reporter: Brian Leathem
> Fix For: 3.0.0.Final
>
>
> <s:viewAction> tags in the <f:metadata> tag are not processed if there are no
> viewParams present. Override the ViewHandler and return a wrapped version of
> the ViewDeclarationLanguage. When createMetadataView is called, we delegate
> to parent, then, if there are components in the view metadata, but no
> UIViewParameter, we add a dummy instance.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues