Re: Bean formatting

2003-09-09 Thread Eyrignoux Marc
> I would do the conversion in ActionForm. This is > user interface > HTML-problems and not business logic. You can > override the > setX-methods to do it, and make some extra > getX-methods. > Is there another way to do it ? I would like to avoid the tedious process of hand-coding all these s

Bean formatting

2003-09-09 Thread Eyrignoux Marc
Hi everybody, I am new to Struts 1.1, so I have a few questions about property formatting (I didn't find any answer in the list archives). 1) In the ActionForm, the bean properties should be String, it will avoid you formatting problems (especially with dates, if you want to use the html:text tag

Re: About the of the example application

2003-04-03 Thread Eyrignoux Marc
ld not perform > > > authentication logic. This should be placed in > a Filter or a base > >Action > > > method that secured actions call before > executing. It's there as an > >example > > > of using application specific custom tags with > Struts tags. > > >

About the of the example application

2003-04-03 Thread Eyrignoux Marc
Hi everybody, The of the Struts application checks if the user has logged in the application before displaying a JSP page. Therefore it manages a part of the security of the application. I would like to know if this tag is a good practice ? If it can be used in a "real world" J2EE application ?

MVC and security

2003-04-03 Thread Eyrignoux Marc
Hi everybody, I have checked the archives and I could not find the answer to my question, so here it comes :-) I have programmed an extension to the Struts 1.0.2 taglibs, allowing to change the look of the JSP pages according to the profile of the users. As I didn't know of struts-layout, I did i