Hello, we have a design problem.
    We render the UI with our own components model.

    Each UI is represented by a collection of Control's components,
where each of them wrapper the Tapestry one's. Then, whe render them
with in a Foreach.
    While de render-cycle is going, that's all right, but when we need
the value of one Control, out of this cycle, we haven't because of the
Foreach naturality. (eg. if we use de DirectLink of the table-header's
to order it, as the Table's source depends on our Control's binding's
value, wich points to Foreach's value)

Then, I think, the problem is:

Our model, of agrouping etherogeneous components with in a List?
The desicion of use Foreach to render them?
The binding of the Foreach value?

That's the way we bind each Control:

    <component id="fieldsForeach" type="Foreach">
        <binding name="source" expression="layout != null ?
layout.controls : {}"/>
    </component>

    <component id="control" type="ControlComponent">
        <binding name="control" expression="components.fieldsForeach.value"/>
    </component>


Thanks!

-- 
Saludos,
Matias.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to