Label CSS or referencing for addFieldError

2013-12-11 Thread Fabian Richter
Hi, how can one add a specific css class/style of the label when instanciating like: s:textfield label=bla name=commentField id=commentField / I now had to change theme=simple and add the css class to the td of the label but with that I can not reference it with the name when a fieldError

Re: Label CSS or referencing for addFieldError

2013-12-11 Thread jayachandra B
HI, Can any one tell how to upload files to a particular directory in our project. On Wed, Dec 11, 2013 at 5:09 PM, Fabian Richter frich...@mtg.de wrote: Hi, how can one add a specific css class/style of the label when instanciating like: s:textfield label=bla name=commentField

Antwort: Label CSS or referencing for addFieldError

2013-12-11 Thread Christoph Nenning
Hi, how can one add a specific css class/style of the label when instanciating like: s:textfield label=bla name=commentField id=commentField / I now had to change theme=simple and add the css class to the td of the label but with that I can not reference it with the name when a

Re: Label CSS or referencing for addFieldError

2013-12-11 Thread Christoph Nenning
Can any one tell how to upload files to a particular directory in our project. You can set struts.multipart.saveDir in struts.xml https://struts.apache.org/release/2.0.x/docs/file-upload.html regards, Christoph This Email was scanned by Sophos Anti Virus

Re: Label CSS or referencing for addFieldError

2013-12-11 Thread jayachandra B
I am using struts2 and hibernate3. I wan to store uploaded files in the upload directory in the project folder. I want to store each uploaded file path in the database using hibernate. Can you help me out to achieve the above. On Wed, Dec 11, 2013 at 5:25 PM, Christoph Nenning

Is Struts 2.3.15.2 affected by the security vulnerability S2-018?

2013-12-11 Thread Markus Fischer
Dear group, I hope that you can help to clear up my confusion about the current status of Struts 2.3.15.2 with regards to the security vulnerability S2-018 (see [1]). So far, it was my understanding that S2-018 is fixed with the 2.3.15.2 release. And the release notes still suggest that this is

Need help for 2.3.16

2013-12-11 Thread Emi Lu
Good morning, Upgraded to 2.3.16, exception when start project from tomcat: = java.lang.ClassNotFoundException: org.apache.struts2.views.TagLibrary org.apache.catalina.core.StandardContext filterStart SEVERE: Exception

Re: Need help for 2.3.16

2013-12-11 Thread Lukasz Lenart
Here you have more details http://markmail.org/message/lvrdf7zdrhatklyh 2013/12/11 Emi Lu em...@encs.concordia.ca: Good morning, Upgraded to 2.3.16, exception when start project from tomcat: =

Re: Need help for 2.3.16

2013-12-11 Thread Emi Lu
On 12/11/2013 10:29 AM, Lukasz Lenart wrote: Here you have more details http://markmail.org/message/lvrdf7zdrhatklyh Got it. My projects depend on jquery, and I will use 2.3.15.3 for now until a new version with jquery merged is released. Thanks a lot! 2013/12/11 Emi Lu

Theme problem after update to 2.3.16 -- loading parent theme templates?

2013-12-11 Thread rgm
I'm getting this error from my JBoss 7 application server: ERROR [freemarker.runtime] (http--0.0.0.0-8443-3) Template processing error: Error reading included file /mx/themes/~~~rgm/dynamic-attributes.ftl: freemarker.temp late.TemplateException: Error reading included file

Re: Theme problem after update to 2.3.16 -- loading parent theme templates?

2013-12-11 Thread Lukasz Lenart
With 2.3.16 a proper theme inheritance mechanism was introduced - you don't have copy the whole theme to extend it, just override file you need, the rest will be loaded from parent theme and parent and so on. The docs were updated to include information about 'expandTheme' variable which should

Fwd: Theme problem after update to 2.3.16 -- loading parent theme templates?

2013-12-11 Thread rgm
To demonstrate the problem more clearly and help narrow down the issue, I have removed everything custom and changed the application to use css_xhtml theme like this: constant name=struts.ui.templateDir value=mx/themes/constant constant name=struts.ui.theme value=css_xhtml/constant This