Hi Elisabeth,

Try to use JavaScript.

Like this:

for(i = 0; i < 150; i++)
   document.forms[0].elements[i].disabled = 1;



2010/7/15 Elisabeth Adler <elisabeth.ad...@gmail.com>

> Thanks Uli for the tip - would that mean I have to program a new page
> displaying the bean for every form?
> I was more thinking about somehow iterating through all controls in the
> .tml and disabling them - would that be possible?
> Any ideas appreciated,
> Elisabeth
>
>
> On 15.07.2010 14:02, Ulrich Stärk wrote:
>
>> If it's just about displaying the contents of a bean, have a look at the
>> BeanDisplay component.
>>
>> Uli
>>
>> On 15.07.2010 13:55, Elisabeth Adler wrote:
>>
>>> Dear all,
>>>
>>> I have an up and running application using tapestry 5.0.19.
>>> Now, a new requirement came up and I have to provide for each form
>>> (there are about 150 of them) a read-only version.
>>> Is there any simple way of doing this?
>>>
>>> Thanks,
>>> Elisabeth
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Pablo Henrique dos Reis

Reply via email to