Yes, that's true.  We try to work everything so we're not working
against JSF; we're working with it.  Sometimes, that means arranging the
beans accordingly, such as adding extra helper methods that give the
components elements the way they expect them.  Once we do that, the JSPs
themselves usually turn out to be a lot simpler to read and maintain
than if we use raw HTML or even JSTL.

- Brendan

-----Original Message-----
From: Simon Kitching [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 04, 2005 5:10 PM
To: MyFaces Discussion
Subject: Re: Tiles standalone


CONNER, BRENDAN (SBCSI) wrote:
> 
>> I'm talking about stuff like:
>> <ul>
>>    <li><h:outputText value="#{somebean.item1}"/>
>>    <li><h:outputText value="#{somebean.item2}"/>
>> </ul>
> 
> We use <t:dataList> to display lists.

But that *requires* that the list contents come from a bean property. 
There's no support for literally including the list in the page.

I agree that if 100% of HTML controls had JSF equivalents then this 
out-of-order problem would not be an issue. But that's not the case, 
unfortunately.

Regards,

Simon

Reply via email to