Re: t:div and validation saving

2006-02-21 Thread Volker Weber
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

Re: t:div and validation saving

2006-02-21 Thread Martin Marinschek
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

t:div and validation saving

2006-02-20 Thread Philippe Lamote
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"

Re: t:div and validation saving

2006-02-20 Thread Volker Weber
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

Re: t:div and validation saving

2006-02-20 Thread Matthias Wessendorf
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

Re: t:div and validation saving

2006-02-20 Thread Philippe Lamote
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

Re: t:div and validation saving

2006-02-20 Thread Volker Weber
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

Re: t:div and validation saving

2006-02-20 Thread Laurie Harper
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

Re: t:div and validation saving

2006-02-20 Thread Philippe Lamote
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