myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Qian" <>
Subject Write plain html when encoding in JSF
Date Sun, 12 Feb 2006 05:44:28 GMT
I tried to create a JSF tag component containing two or more HTML
tables but by default
writer.endElement and writer.startElement seems to deal with a single
component only.

How do people output their HTML in case that they want to write
something like


in a encodeBegin or encodeEnd?

Will following way

public void encodeBegin(FacesContext context) throws IOException
   ResponseWriter writer = context.getResponseWriter();

<table>...</table>", null);




View raw message