Gogineni, Pratima wrote:
We have bean:write tags that read bean properties and output to the jsp page. I am wondering why we are always forced to set bean properties through one of the form tags.
In many cases where there are a lot of common properites to be set it is easier to set the bulk of the bean properties through bean tags & only expose the necessary fields through the html form. This also helps in cleaner pages where you want to do redirects through a hidden page which sets values into beans in the session.
I saw the jstl c:set tag but that is not as powerful as the struts bean tags in terms of dealing with indexed properties. So I have had to write a custom tag for this. It seems fairly straight forward to do this & hence I am wondering why the standard struts tag library doesnt contain this. Im wondering if this violates some design principle in struts.
Pratima
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]