[S2] highlighting active link

2007-09-27 Thread TuomoS
Is there a better way of highlighting "active" link in struts 2 This one works but it shows ?active=home in the url which I do

Mailreader tutorial offline?

2007-10-23 Thread TuomoS
Whats wrong with the mailreader tutorial? It has been offline for quite a while now.. http://www.planetstruts.org/struts2-mailreader/Tour.do -- View this message in context: http://www.nabble.com/Mailreader-tutorial-offline--tf4677083.html#a13363078 Sent from the Struts - User mailing list arch

Struts 2.0.9 server side validation problem

2007-12-19 Thread TuomoS
How can I confirm that the XML validator file is read? It seems that the actionName-validation.xml is not read. I have checked many times that the action java class matches with the xml file name. actionName.java actionName-validation.xml (when using execute method in submit) I overrided the val

Re: Struts 2.0.9 server side validation problem

2007-12-20 Thread TuomoS
newton.dave wrote: > > >> Is it mandatory to define doctype in the validation xml file? > > That I don't know, but I don't know why you wouldn't put it in there; it > can > be pretty helpful. > > This was the case. Now that I added the doctype everything works. newton.dave wrote: > > >>

When to use ValidationAware

2008-01-09 Thread TuomoS
"ValidationAware classes can accept Action (class level) or field level error messages. Action level messages are kept in a Collection. Field level error messages are kept in a Map from String field name to a List of field error msgs." I have two actions Action A which renders the page and submi

Conversion error gets printed twice

2008-01-28 Thread TuomoS
Date conversion prints out twice the error message when using s:fielderror. Any ideas why this is happening ? -- View this message in context: http://www.nabble.com/Conversion-error-gets-printed-twice-tp15138548p15138548.html Sent from the Struts - User mailing list archive at Nabble.

[S2] css_xhtml theme & ajax validation

2007-08-06 Thread TuomoS
Dear all, Is it possible to use the css_xhtml theme template and ajax validation together with forms? Since ajax theme extends xhtml theme .. is the only option to modify the ajax theme by hand? Regards, TuomoS -- View this message in context: http://www.nabble.com/-S2--css_xhtml-theme

css_xhtml theme & label position thoughts

2007-08-09 Thread TuomoS
Following http://struts.apache.org/2.0.9/docs/cssxhtml-theme.html document states that the css_xhtml uses 2 column layout. How come all the .flt files in the css_xhtml directory keep referring to labelposition?default("top") == 'top' ? And by default I get a 1 column layout. Even though the d