Struts 2 Validation Problem

2008-12-30 Thread Windy Hung
Hi I use action field validation for my form. When I press "submit" button multiple times to test a field validation of "requiredstring", each invalid value message is printed and is stacked on each other. That means if I press "submit" button 5 times, the invalid warning message is printed out

Re: Happy new Year

2008-12-30 Thread Li
Hey thanks Muralidhar. And wish all users here have a healthy, happy and smooth year of 2009. On Wed, Dec 31, 2008 at 2:12 PM, Muralidhar Y wrote: > Hi Friends, I wish you all a very happy and prosperous new year. May god > bless you with all the happiness in the world. Have a wonderful new year.

Happy new Year

2008-12-30 Thread Muralidhar Y
Hi Friends, I wish you all a very happy and prosperous new year. May god bless you with all the happiness in the world. Have a wonderful new year. Warm regards, Muralidhar Y muralidh...@kensium.com US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 K

Re: html:select problem

2008-12-30 Thread sourav biswas
It seems to me the syntax is wrong .. try this # Use <%=genreIds[0]%> insteed of <%="genreIds[0]"%> Just remove the quotes ... --- On Sun, 28/12/08, Gordian Yuan wrote: > From: Gordian Yuan > Subject: Re: html:select problem > To: "Struts Users Mailing List" > Date: Sun

RE: Message properties not displaying

2008-12-30 Thread Celinio Fernandes
Thanks. I have a problem now with the rendering of the page, due to the inclusion of the XHTML theme. Here's the main code of my JSP :                                                                                                                

RE: Re : datetimepicker ....unable to get it working :(

2008-12-30 Thread Richa Pandharikar
I am using struts ver 2.1.2. Before I fully gave up, I loaded the page as jsp, not a page constructed via Tiles, to my surprise datetimepicker worked beautifully. But my requirement is to make it work with tiles. Any suggestions??? -Original Message- From: Martin Gainty [mailto:mgai...

RE: Re : datetimepicker ....unable to get it working :(

2008-12-30 Thread Martin Gainty
Richa- Why not try the 2.1 distro? http://struts.apache.org/download.cgi If you have any questions plenty of folks on this list will be more than willing to help out Martin __ Disclaimer and confidentiality note Everything in this e-mail and any a

RE: Re : datetimepicker ....unable to get it working :(

2008-12-30 Thread Richa Pandharikar
I doubt if this works at all with an of the struts releases. I am giving up and going ahead with the alternatives. -Original Message- From: Rafał Krupiński [mailto:r.krupin...@gmail.com] Sent: Tuesday, December 30, 2008 1:09 AM To: Struts Users Mailing List Subject: Re: Re : datetimepi

RE: Message properties not displaying

2008-12-30 Thread Martin Gainty
you have to change the characteristics of all the Struts Tags to use either theme="xhtml" for ajax enabled OR theme="simple" for regular tags The same Struts tags use different attributes for XHTML vs Simple variations If you post the contents of jsp (and tlds) and we can walk you thru it.. Mar

RE: datetimepicker ....unable to get it working :(

2008-12-30 Thread Richa Pandharikar
Thanks for your reply François. I could get the control rendered on the screen now. But on clicking the calendar image, the calendar is not popping out to select the date. The issue was - I had not added the filter entry in the web.xml. For those who are also unaware of this below is the entry

Re: Message properties not displaying

2008-12-30 Thread Celinio Fernandes
hey Gordian Yuan, you were right. In struts.properties i set struts.ui.theme=simple In my JSP, if i use the theme xhtml, like this: then it works. What does it mean ? Messages are not displayed with the SIMPLE theme ? Thanks --- On Mon, 12/29/08, Gordian Yuan wrote: From: Gordian Yuan Sub

How to decorate button

2008-12-30 Thread red phoenix
My Struts is 2.0.14,I use ,like follows: Then there is a upload button,but this button is not pretty.I have two question: 1) How to decorate this button,such as a image button? 2) when I click this button,how to check this upload file name first,if this file name is DOC,it can submit,otherwise i

Re: Dijit Calendar usage in Struts 1.3

2008-12-30 Thread Ilan
On Sun, Dec 28, 2008 at 6:43 PM, Frank W. Zammetti wrote: > Ilan wrote: > >> NB: http://docs.dojocampus.org/dijit/form/DateTextBox is what looks >> suitable. >> Again. I am just asking if there are any recommended practices when adding >> a >> Digit widgit to a Struts 1.3 jsp/view >> >> >> > There