do you think something like this?
| try
| {
| StringWriter stringWriter = new StringWriter();
| wrapResponseWriter(facesContext, stringWriter);
|
| renderFacelet(facesContext, faceletForURL(resourceURL(viewId)));
|
| final StringBuffer sb = stringWriter.getBuffer();
| final String output = sb.toString();
| sb.delete(0,sb.length()-1);
|
| return output;
| //return stringWriter.getBuffer().toString();
| }
|
in FaceletsRenderer.render(String viewId) would do the job?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027513#4027513
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027513
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user