Hi martin, if your are intersted, you can see FormView Project at http://formview.sourceforge.net With Formview you can manage mode (READ-ONLY, READ-WRITE.) of your jsp fields in your action struts or with a XML file config
Regards Angelo 2006/10/20, Martin Kindler <[EMAIL PROTECTED]>:
I do not see any sensible way to do it without changing the JSPs. The user must see somehow that the fields are readonly and this must be done in the frontend. You could of course just choose to not evaluate the ActionForm in the "readonly"-case, but this would be not very user-friendly. But the Struts form-tag has an attribute "diabled" (beginning in 1.2.7) which sets all fields of a form to readonly. This could be a possibility requiring only a bit of work. Martin > -----Ursprüngliche Nachricht----- > Von: fea jabi [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 20. Oktober 2006 15:18 > An: user@struts.apache.org > Betreff: display only mode using struts tags > > > Developed jsp using struts html tags. (html:text etc.....) > > Now we have the requirement which should display the values > only is display > mode on a condition. user should not be able to edit any in > some condition. > > Is there something in struts that can be used to get this > functionality. I > have seen that layout tag does have this. But use it we have > to re-write the > jsp's. > > is there any other option I can use to minimize the > re-writting of code. > > Thanks. > > _________________________________________________________________ > Get today's hot entertainment gossip > http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]