[jboss-user] [JBoss Seam] - Re: chaining jsf request

pete.muir@jboss.org do-not-reply at jboss.com
Thu Aug 9 12:48:48 EDT 2007


<ui:include src="#{template.getTemplate('article')}" />

@Name("template")
  | public class Template {
  |    
  |    public String getTemplate(String name) {
  |      return calculateViewId(name);
  |    }
  | }

Obviously, you have to write calculateViewId to build your viewId on the fly.

If it's just for i8ln of strings, then monkeyden's is the correct solution.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072640#4072640

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072640



More information about the jboss-user mailing list