Dijit Calendar usage in Struts 1.3

2008-12-28 Thread Ilan
On Sat, Dec 27, 2008 at 10:01 PM, Martin Gainty wrote: > > Wes is right on Struts support for legacy 1.x development > > If you're thinking your UI layer will need Ajax controls (or any type of > asynchronous behaviour) > you will need to adopt and implement Struts 2.x so you can define and > imp

Re: Dijit Calendar usage in Struts 1.3

2008-12-28 Thread Ilan
On Sun, Dec 28, 2008 at 11:13 AM, Ilan wrote: > > > On Sat, Dec 27, 2008 at 10:01 PM, Martin Gainty wrote: > >> >> Wes is right on Struts support for legacy 1.x development >> >> If you're thinking your UI layer will need Ajax controls (or any type of >> asynchronous behaviour) >> you will need t

Preventing duplicate form submissions

2008-12-28 Thread Andy
Hi, I am looking for some best-practice advice for avoiding duplicate form submissions in Struts2. I recently created a form that accepts user input, however after submitting the form the user may still refresh the page which resubmits the form. This wasn't handled so elegantly in Struts1 so

Message properties not displaying

2008-12-28 Thread Celinio Fernandes
Hi, I am trying to display a label using messages in a property file src/global-messages.properties : personBean.firstName=Your first name (The default locale i am using is en_US) In struts.xml i declared it :   In a JSP i try do display a label : The HTML code generated is : The text is

Re: Nokia N96 16gb=310usd,Apple iphone 16gb=310usd Buy 3 and get 1 FREE Xmass Bonanza!

2008-12-28 Thread afouad
send to me your ful contacts scotlandeletronics wrote: > > XMASS BONANZA SALES!! XMASS BONANZA!! XMASS BONANZA!! XMASS BONANZA!! > Goodnews to all our buyers/ressellers. > This to inform all our customers and resellers that the company end of > year bonanza sales has > commenced ,you can now b

Re: Preventing duplicate form submissions

2008-12-28 Thread Nils-Helge Garli Hegvik
Take a look at the TokenInterceptor [1]. Nils-H [1] - http://struts.apache.org/2.0.14/docs/token-interceptor.html On Sun, Dec 28, 2008 at 10:41 AM, Andy wrote: > > Hi, > I am looking for some best-practice advice for avoiding duplicate form > submissions in Struts2. I recently created a form

Re: html:select problem

2008-12-28 Thread Gordian Yuan
http://www.theserverside.com/discussions/thread.tss?thread_id=35726 or you can search it use google http://www.google.com/search?hl=zh-CN&q=select+default+option+struts&btnG=Google+搜索&lr=

Re: Dijit Calendar usage in Struts 1.3

2008-12-28 Thread Frank W. Zammetti
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 really isn't... there's conceptually no difference between adding Dojo or anythin

Properties lost after input result (S2)

2008-12-28 Thread Marsman
Hi! I got an action to provide some properties (simple types and objects) for a jsp with a form. After the user has entered invalid data, the input result was returned and the page was displayed again. But the properties are all empty. I think, the reason is the action, that was not called again.

Re: Properties lost after input result (S2)

2008-12-28 Thread Felipe Fraga
Use hidden fields to also store the properties, this way they are sent with the request and so repopulated onde the jsp returns from the validator. Felipe Fraga On Sun, Dec 28, 2008 at 2:45 PM, Marsman wrote: > > Hi! > > I got an action to provide some properties (simple types and objects) for a

Re: Properties lost after input result (S2)

2008-12-28 Thread Marsman
Felipe Fraga wrote: > > Use hidden fields to also store the properties, this way they are sent > with the request and so repopulated onde the jsp returns from the > validator. > Yes, I know that way. But when I have a page with some lists above of a form? As I know, those objects couldn't be

Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.

2008-12-28 Thread ak78au
Hi all, Iam getting the below exception when I start a Struts 2 based application(in weblogic) and not able to tell whats the cause. Does anyone have any idea what could be causing this ? I initially thought it was the lack of the spring-plugin but thats in the lib folder of the war.. Thanks in

RE: Properties lost after input result (S2)

2008-12-28 Thread Martin Gainty
Request parameters are accessible via getParameter as inrequest.getParameter(ParameterName); the better alternative is to put them in application scope and setAttribute of the ServletContext http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/ActionContext.html and then

Re: How do I submit Simplified Chinese text to my Action Class?

2008-12-28 Thread jmlynn
I did as suggested. Since I didn't use Spring Framework in my project, so I simply added the required jar files as suggested, and it works! Thanks you very much, much appreciated! Jeff gordian yuan wrote: > > Do you have add a CharacterEncodingFilter in web.xml ? > for example > > > enco

Overriding Struts UI Controls

2008-12-28 Thread Narayana S
Hi, i am overriding the struts UI controls for my role based UI rendering. based on user role i have to decide few attributes of UI component like editability,visibility etc. for that i have implemented logic required. to achieve this i am extending TextFieldTag and in the overriding method d

Re: html:select problem

2008-12-28 Thread Tanb81
Thanks a lot Gordian Yuan :clap: Thanks for giving such useful links. I found solution for my problem :jumping: Thanks :handshake: -- View this message in context: http://www.nabble.com/html%3Aselect-problem-tp21183393p21199660.html Sent from the Struts - User mailing list archive at Nabble.