[
https://issues.apache.org/jira/browse/WICKET-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969314#action_12969314
]
Igor Vaynberg commented on WICKET-3237:
---------------------------------------
some minor corrections to error messages:
"The component \"%s\" on tag wicket:%s is setted to output its markup id.
Wicket namespaced tag are not designed to be part of the final markup."
should be
Markup id set on a component that is usually not rendered into markup. Markup
id: %s, component id: %s, component tag: %s.
next one:
"The component \"%s\" on tag wicket:%s is setted to output an placeholder tag
at markup. Wicket namespaced tag are not designed to be part of the final
markup."
should be
Placeholder tag set on a component that is usually not rendered into markup.
Component id: %s, component tag: %s.
other then that looks good.
> Exception when calling setOutputMarkupId/PlaceholderTag on wicket:container
> ---------------------------------------------------------------------------
>
> Key: WICKET-3237
> URL: https://issues.apache.org/jira/browse/WICKET-3237
> Project: Wicket
> Issue Type: Wish
> Components: wicket
> Reporter: Peter Parson
> Assignee: Pedro Santos
> Priority: Minor
> Attachments: WICKET-3237.patch
>
>
> Is it possible to throw an exception when using setOutputMarkupId or
> setOutputPlaceholderTag on a wicket:container element?
> Doing so is a common pitfall (especially for beginners), because one does not
> always have the markup in mind when working on the java part. Throwing an
> exception would make the problem easier to find for the developer.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.