RE: Struts 2 date field problem

2011-10-11 Thread karthick.gunasekaran
Thanks for reply, My challenge is without converting string to date we can acheive I am using In struts.properties file I set nameOfInputVal.date = {0,date,dd.MM.} Buy I can't able to get the value in action class. Any one suggest this way ,please help me -Original Message- From: L

Re: Struts 2 date field problem

2011-10-11 Thread Li Ying
Did your problem happens when date input or output? For output case, the tag can let you choose the format to use. See: http://struts.apache.org/2.x/docs/date.html For input case, Struts2 can convert HTTP parameters from String into most of data type you need, include Date. But for Date, it [us

Re: java.lang.ClassNotFoundException with struts2 after introducing tiles in my application

2011-10-11 Thread Muneer Malik
can you please see the documentation in the below link? http://tiles.apache.org/2.2/framework/tutorial/configuration.html#Pure_Java_configuration Best, Muneer On Tue, Oct 11, 2011 at 7:10 PM, Dave Newton wrote: > IIRC the version of Tiles you're using is past what the Tiles plugin > supports:

Re: java.lang.ClassNotFoundException with struts2 after introducing tiles in my application

2011-10-11 Thread Dave Newton
IIRC the version of Tiles you're using is past what the Tiles plugin supports: http://mvnrepository.com/artifact/org.apache.struts/struts2-tiles-plugin/2.2.1 This is one reason why handling dependencies manually is almost always a bad idea these days. Dave On Sat, Oct 8, 2011 at 12:14 PM, sbhat

Re: java.lang.ClassNotFoundException with struts2 after introducing tiles in my application

2011-10-11 Thread sbhatia
Correction in the jar i was using and now i am using following jars: commons-beanutils-1.8.3.jar commons-collections-3.2.1.jar commons-digester3-3.0.jar commons-fileupload-1.2.2.jar commons-io-2.0.1.jar commons-logging-1.0.4.jar freemarker-2.3.8.jar ognl-2.6.11.jar struts2-core-2.0.11.jar struts2-d

java.lang.ClassNotFoundException with struts2 after introducing tiles in my application

2011-10-11 Thread sbhatia
I was working on one of my application using struts 2 and it was working until i decided to use tiles into it. I am one facing issue whenever i start my server from eclipse and it says: SEVERE: Error configuring application listener of class org.apache.struts2.tiles.StrutsTilesListener java.lang.

Re: Access namespace-name or/and action name from jsp in Struts2

2011-10-11 Thread DOMERGUE Sebastien
Hi, first of all, you won't be able to access these directly within the jsp. In your action (or in a interceptor), you have to access the request (you can use ServletActionContext for instance). Then, with this object you can obtain the url, the server name, the uri... A few substrings la

Access namespace-name or/and action name from jsp in Struts2

2011-10-11 Thread Markus Demetz
Hi, I would like to retrieve the name of the current namespace and possibly the action from the jsp page using Struts2. My intention is to assign a css class to a container to have a better control of the layout. e.g. ... Any hints? Thank you, Markus ---

Re:

2011-10-11 Thread Emi Lu
On 10/08/2011 04:40 AM, Li Ying wrote: This page may help: http://www.ontola.com/en/javascript-onclick-return-false-does-not-work-in-i Thank you Ying! I fixed the problem. It seems that ajax firefox return str !='' but and a trim is needed. while IE it returns str ==''. But IE will not acce