Em Sat, 18 Apr 2009 12:42:33 -0300, manuel aldana <[email protected]> escreveu:

I see, but how do I set a property to be read only?

Sorry, I misundestood your question. Answer: you don't set a property to be read only. The workaround is to override an edition block with <t:parameter>.

Maybe it would be cool to add a new component parameter (readonly) to BeanEditForm:
<beaneditform .... readonly="literal:foo,bar"/>
or even better, to let it control through page class:
<beaneditform .... readonly="prop:readOnlyParameters"/>

That's not how BeanEditForm/BeanEditor is meant to be used.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to