Hi!

Ok the ${} was a typo ... I havent tested the page yeat you know!

My problem is that each form pass a context (in three hidden fields) back to
the server and how is this best done!

But I just saw that I could pass a t:context attribute to my form so I will
try that solution.

E.g I will now try something like ...

<t:loop source="items" value="item">
        <tr>
                <td>
                <t:form t:context="item.year,item.weekNum,item.totalRake">
                    Base percentage: <input type="text"
name="payoutPercentage" value="0.40" />
                    <input type="submit" value="Create &raquo;"
class="nicebutton"/>
                </t:form>
                </td>
            </t:if>
..




2009/10/6 Thiago H. de Paula Figueiredo <thiag...@gmail.com>

> Em Tue, 06 Oct 2009 11:51:17 -0300, Gunnar Eketrapp <
> gunnar.eketr...@gmail.com> escreveu:
>
>  Hi !
>>
>
> Hi!
>
>  The problem is that I would like <t:hidden> to take one property as the
>> inparameter and another as the out parameter.
>>
>
> Why?
>
>  <t:loop source="${items}" value="item">
>>
>
> Never use ${} as a component parameter. Never!
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

Reply via email to