You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by lightbulb432 <ve...@hotmail.com> on 2009/03/23 20:42:09 UTC
Return UIComponent in response to request for URL
I have a custom UIComponent (e.g. MyWholePageComponent) for some of the pages
that essentially is the whole page. If a user accesses that page's URL, e.g.
page.jsf, how can we return MyWholePageComponent to be rendered?
We could have an actual page.jsf that contains nothing but
<custom:myWholePageComponent />, but what I'm looking for is not to have a
physical page.jsf artifact but rather return MyWholePageComponent for
rendering to the client. (I imagine that MyWholePageComponent would need to
be wrapped in a UIViewRoot, but I'm still not sure how to do this.)
I'm hoping there's a way to do this, as it would get rid of several useless
page artifacts that serve no real purpose in this case.
Thanks.
--
View this message in context: http://www.nabble.com/Return-UIComponent-in-response-to-request-for-URL-tp22667639p22667639.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.