[jboss-user] [JBoss Seam] - Re: Problem with Seam Email - in Loop + Transaction

bsmithjj do-not-reply at jboss.com
Tue Mar 13 08:52:51 EDT 2007


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



More information about the jboss-user mailing list