my svn client shows no file is changed (I dropped all changes, updated the code)
mvn clean -Pextras,plugins,apps mvn -Dmaven.test.skip=true -Pextras,plugins,apps then I dropped everything from $TOMCAT_HOME/work and webapps, copied the showcase war and started ... That is the procedure that I use every time now after some problems in the past. Using tomcat 5.5.15, JDK 1.6, windows xp, locale pl (default, i do not override anything). I can see that error message twice, most likely it uses the interceptor with double parameter setting. This is the POST request from FF Content-Type: multipart/form-data; boundary=---------------------------146043902153 Content-Length: 2187 -----------------------------146043902153 Content-Disposition: form-data; name="name" -----------------------------146043902153 Content-Disposition: form-data; name="dojo.birthday" 2007-01-01 -----------------------------146043902153 Content-Disposition: form-data; name="birthday" 07/01/01 -----------------------------146043902153 Content-Disposition: form-data; name="bio" -----------------------------146043902153 Content-Disposition: form-data; name="favouriteColor" None -----------------------------146043902153 Content-Disposition: form-data; name="favouriteLanguage" None -----------------------------146043902153 Content-Disposition: form-data; name="__checkbox_legalAge" true -----------------------------146043902153 Content-Disposition: form-data; name="region" South -----------------------------146043902153 Content-Disposition: form-data; name="state" Florida -----------------------------146043902153 Content-Disposition: form-data; name="favouriteVehicalType" MotorcycleKey -----------------------------146043902153 Content-Disposition: form-data; name="favouriteVehicalSpecific" YamahaKey -----------------------------146043902153 Content-Disposition: form-data; name="picture"; filename="" Content-Type: application/octet-stream -----------------------------146043902153 Content-Disposition: form-data; name="leftSideCartoonCharacters" Popeye -----------------------------146043902153 Content-Disposition: form-data; name="leftSideCartoonCharacters" He-Man -----------------------------146043902153 Content-Disposition: form-data; name="leftSideCartoonCharacters" Spiderman -----------------------------146043902153 Content-Disposition: form-data; name="rightSideCartoonCharacters" Superman -----------------------------146043902153 Content-Disposition: form-data; name="rightSideCartoonCharacters" Mickey Mouse -----------------------------146043902153 Content-Disposition: form-data; name="rightSideCartoonCharacters" Donald Duck -----------------------------146043902153 Content-Disposition: form-data; name="thoughts" -----------------------------146043902153-- Dariusz Wojtas On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
Actually that's the one I was talking about, the UI example. It is working for me. Do you have any local changes or anything? Can you make a clean checkout and try? regards musachy Dariusz Wojtas wrote: > I updated my s2 sources from trunk, cleaned the previous builds and > created a new one. > Yes, the sample works: > struts2-showcase/tags/ui/datepicker/ > but it is not backed by any form to submit it's data. > > But the issue can be reproduced here: > /struts2-showcase/tags/ui/example!input.action > > I chose the birthday date as 1st Jan 2007 and got such message in logs: > > 2007-01-10 21:31:06,937 ERROR > (com.opensymphony.xwork2.interceptor.ParametersInterceptor:198) - > ParametersInterceptor - [setParameters]: Une > xpected Exception catched: Error setting expression 'birthday' with > value '[Ljava.lang.String;@bb1ead' > > + a validation message in the JSP page - invalid field value for > birthday. > > showcase was just build and freshly deployed. > > Best regards > > Dariusz Wojtas > > > On 1/10/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: >> My code has not changed - except for the tag name. >> Maybe something has changed in the interceptor area? >> How does a Date field get filled from the request? >> >> I will run the showcase and see how it behaves. >> >> Dariusz Wojtas >> >> On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: >> > Hi Dariusz >> > >> > The tag name changed, but nothing else (that I know of). The UI Tags >> > example in showcase works. The date is in the action, not a nested >> > object, but that shouldn't be a problem. >> > >> > musachy >> > >> > Dariusz Wojtas wrote: >> > > using nightly build from 09-Jan >> > > [http://people.apache.org/builds/struts/nightlies/2.0.x/] >> > > + xwork 2.0.0 final >> > > >> > > <s:datetimepicker >> > > name="dp.date1" >> > > displayFormat="yyyy-MM-dd" >> > > language="pl" type="date" label="My date"/> >> > > >> > > Property 'date1' in bean 'dp' is of type java.util.Date. >> > > The widget itself is correctly loaded with value from the action >> > > property and it displays itself using format specified by >> > > displayFormat. >> > > >> > > After submit it generates 2 parameters with the uri, eg.: >> > > >> > > dp.date1=2006-09-25 >> > > dojo.dp.date1=2006-09-25 >> > > >> > > The date is not set, I am forwarded back to the input action. >> > > Tomcat logs show such message: >> > > >> > > 20:39:11,234 ERROR - ParametersInterceptor >> > > - ParametersInterceptor - [setParameters]: >> > > Unexpected Exception catched: >> > > Error setting expression 'dp.date1' with value >> > > '[Ljava.lang.String;@16b7f83' >> > > >> > > This worked recently, but now I had to switch from >> > > dropdowndatetimepicker to datetimepicker and it does not work any >> > > more. All tags parameters are unchanged. >> > > >> > > Page uses: <s:head theme="ajax"/> >> > > Parent form uses theme 'ajax'. >> > > >> > > >> > > Is this a bug in the current trunk? >> > > >> > > Dariusz Wojtas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]