"[EMAIL PROTECTED]" wrote : yes, .elvis is supported
and could I define a `virtual' page in pages.xml, e.g. a page that doesn't
actually exist, but where the action listener would decide the page to be
rendered, e.g:
<page view-id="/virtual.xhtml" action="#{switchboard.chooseAPage}" />
virtual.xhtml being non-existant, and switchboard.chooseAPage being a stateless
session bean method that returns the real view-id to display.
The user would possibly enter the URL ending in /myapp/virtual.elvis, and
#{switchboard.chooseAPage} might return a value such as eminem.jsp or
britney.xhtml
The result of all this is that the URLs no longer have a 1-1 mapping to actual
files, much like in Struts.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964197#3964197
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964197
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user