Yes, this is no valid xhtml.
If you need this for your jsf sources you can try somthing like this:
t:div rendered=#{portalbean.useCase eq 'submitNew'}
h:out escape=false value=tr /
h:out escape=false value=td width='5%' /
h:out escape=false value=#160; /
h:out
Also look at:
http://jsftutorials.net/htmLib/
and the t:htmlTag
of MyFaces
regards,
Martin
On 2/21/06, Philippe Lamote [EMAIL PROTECTED] wrote:
Yes, I have. (Well, had)
I removed the verbatims and now it works - functionally.
Easthetically the page became a mess since now he's also
Hi List, Another problem I've run into today: -- I have in my page a div like this: (inside a form)...!-- For the Use Case Submit New Calendar: -- t:div rendered="#{portalbean.useCase eq 'submitNew'}" f:verbatim tr td width="5%"#160; /td td align="left"
Hi Philippe,
you have jsf tags inside of f:verbatim? AFAIK this will not work, you
should close the verbatim before the jsf tags, and reopen after.
Regards,
Volker
Philippe Lamote wrote:
Hi List,
Another problem I've run into today:
-- I have in my page a div like this: (inside a
Yeah, right
verbatim creates UIOutput for the nested stuff.
Introduced due some troubles in jsf-jsp-integration ([1]).
-Matthias
[1] - http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
On 2/20/06, Volker Weber [EMAIL PROTECTED] wrote:
Hi Philippe,
you have jsf tags inside of
Yes, I have. (Well, had)
I removed the verbatims and now it works - functionally.
Easthetically the page became a mess since now he's also rendering
the plain (non-jsf) HTML inside hidden divs (I mean divs with
rendered = false) , which he did do not previously.
Some more explanation:
I had
You need to enclose all plain html in verbatim, but don't put jsf in
verbatim.
try somthing like this:
t:div rendered=#{portalbean.useCase eq 'submitNew'}
f:verbatim
tr
td width=5%#160; /td
td align=left rowspan=4 class=rightCellLine
/f:verbatim
Or ditch JSPs altogether and switch to Facelets or Shale Clay; much
nicer ;-)
L.
Volker Weber wrote:
You need to enclose all plain html in verbatim, but don't put jsf in
verbatim.
try somthing like this:
t:div rendered=#{portalbean.useCase eq 'submitNew'}
f:verbatim
tr
OK, I'll try that tomorrow. (Yet, at first glance, I'm afraid my
XHTML parser will not accept that solution - as the tags are not
anymore properly nested this way, eg. mix of verbatim td tags)
I'll let you know.
Philippe
On 21 Feb 2006, at 00:09, Volker Weber wrote:
You need to enclose all
9 matches
Mail list logo