Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui:decorate ui:composition "template" Attribute #999

Closed
eclipse-faces-bot opened this issue May 10, 2011 · 7 comments
Closed

ui:decorate ui:composition "template" Attribute #999

eclipse-faces-bot opened this issue May 10, 2011 · 7 comments

Comments

@eclipse-faces-bot
Copy link

The following issues/inconsistencies exist today w/r/t the "template" attribute for
ui:decorate and ui:composition tags.

1. vdl docs say that ui:composition / ui:decorate "template" attribute is not required.
The Mojarra implementation implements ui:decoreate as required but does nothing for
ui:composition if "template" attribute is not specified.
http://java.net/jira/browse/JAVASERVERFACES-2023

Does it make sense to use these tags without a "template" attribute?
If not we should specify it as required for both tags.

2. What should be the behavior if a page author specifies this:
ui:decorate template="" or ui:composition template=""

Does it make sense to use these tags without a value for "template" attribute?
If not we should specify a TagAttributeException.

Affected Versions

[2.1]

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Reported by rogerk

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
rogerk said:
Actually it does not make sense to make "template" attribute required for
ui:composition, as it is perfectly feasible to author something like this:

ui:composition
....
</ui:composition>

But the vdldocs should specify "template" as required attribute for ui:decorate

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Sending jsf-ri/conf/share/tlddoc-resources/stylesheet.css
Sending jsf-ri/conf/share/ui.tld
Transmitting file data ..
Committed revision 9024.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Tuesday, May 10th 2011, 1:49:47 am

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@manfredriem said:
Closing resolved issue out

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-999

@eclipse-faces-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant