On 9/26/06, Pavitra Subramaniam <[EMAIL PROTECTED]> wrote:


<tr:train value="#{trainModel}" var="row">
  <tr:stop text="#{row.label}"
           action="#{row.outcome}"
           immediate="#{row.immediate}"
           readOnly="#{row.readOnly}"
           visited="#{row.visited}"
           selected="#{row.selected}"
           disabled="#{row.disabled}"/>
</tr:train>



So how is this better than the existing
<af:commandMenuItem>?  Seems like the
same amount of code.

I was imagining an intermediate step, where *if*
the model points at instances of a specific model
type, and you use a simple template-ish tag, then you
don't have to set any EL, so just:

<tr:train value="#{trainModel}" var="row">
 <tr:trainStop/>
</tr:train>

-- Adam

Reply via email to