Re: Struts 2 - problem updating page

2011-01-05 Thread Dave Newton
Start here: http://en.wikipedia.org/wiki/Post/Redirect/Get (Actually, that's probably enough if you're familiar with S2 at all.) Dave On Wed, Jan 5, 2011 at 8:55 PM, developer researcher < java.developer.researc...@gmail.com> wrote: > Hello,

Struts 2 - problem updating page

2011-01-05 Thread developer researcher
Hello, I have the following problem: after submit a form, if it refresh (F5) the page the form is submitted again. How I can fix this? How I can configure Struts2 to avoid this behavior? Thanks in advance,

Re: JSON Property

2011-01-05 Thread Maurizio Cucchiara
Did this answer your question? https://issues.apache.org/jira/browse/WW-3553 2011/1/5 Chris Pratt : > I'm not sure how to make it work, but it would totally rock if we could make > the "encode" attribute of the tag extensible by plug-in's. > That way the standard tag could possibly supply encode=

Re: DateTimePicker

2011-01-05 Thread Dave Newton
Turn on the Dojo debug flag. Any errors in the JavaScript console? (Also, as a general reminder, you're using a deprecated component, and may not get the kind of support you want.) Dave On Wed, Jan 5, 2011 at 12:46 PM, Satheesh Kannan A B < satheesh.kan...@hcl.com> wrote: > Hi, > > Am trying w

DateTimePicker

2011-01-05 Thread Satheesh Kannan A B
Hi, Am trying with struts 2 date time picker, but its not working at all. My struts 2 version 2.1.8. Here is my below code, please check and say any problem in this. While am running this code am getting only label. I have added struts-dojo-plugin jar in lib folder. <%@ taglib prefix="s" uri=

Re: Initialize and inject resources per application - S2

2011-01-05 Thread Oscar
Well, i really don't know Spring but i'm going to learn soon, also that plugin shows interesting and is recently updated, i'm gonna check it out. Thanks to all 2011/1/4 Maurizio Cucchiara > I usually use spring open session in view filter, but obviously there are > other way. I'm don't know if

Re: JSON Property

2011-01-05 Thread Chris Pratt
I'm not sure how to make it work, but it would totally rock if we could make the "encode" attribute of the tag extensible by plug-in's. That way the standard tag could possibly supply encode="html" & encode="js" and the JSON plug-in could add encode="json" and other plug-ins could extend it in way

Re: Passing request objects - Struts 1

2011-01-05 Thread Dave Newton
The first one: don't call a different action to get the options--get the options in the same action that handles the original request. The second one: read something about ajax; any tutorial discusses how to deal with what you get back. Dave On Jan 5, 2011 12:14 AM, "Anjib" wrote: > > Sorry I di

Clientside validation using custom theme and tables

2011-01-05 Thread christoffer.kappers
Hi, I have three questions regarding client side validation. When using a table in a form and the validation messages duplicates each time the form is submitted. How is this resolved? I am using a custom theme so I can put more than two columns in a table. When using this theme I get the error

Re: JSON Property

2011-01-05 Thread Steven Yang
I think its "bundled" with S2 but as a separate jar, so dont get mistaken. i am a bit reluctant to share my code, which is old and bad, not that because i am cheap or anything, its because there are better and well-thought code out there (as in JSON plug in) and my code has lots of things tied to

Re: Setting object from param tag fails in Struts 2.2.1

2011-01-05 Thread Maurizio Cucchiara
Not much has changed since the 2.2.1 version 2011/1/5 Pro1712 : > > It works with the latest build (#252)! > Do you see any problems using this version in a production environment? > > -- > View this message in context: > http://old.nabble.com/Setting-object-from-param-tag-fails-in-Struts-2.2.1-t

Re: JSON Property

2011-01-05 Thread Maurizio Cucchiara
The json plugin is bundled with S2, because previously was on google code, and one had to download separately 2011/1/5 Jim Talbut : > You are both right. > > The tag that I'm using at the moment (which isn't fully tested at all, got > some data issues to sort out first) is just the property tag w

RE: JSON Property

2011-01-05 Thread Jim Talbut
You are both right. The tag that I'm using at the moment (which isn't fully tested at all, got some data issues to sort out first) is just the property tag with the following modification: Object objectValue = getStack().findValue(value, throwExceptionOnELFailure); try {

Re: Setting object from param tag fails in Struts 2.2.1

2011-01-05 Thread Pro1712
It works with the latest build (#252)! Do you see any problems using this version in a production environment? -- View this message in context: http://old.nabble.com/Setting-object-from-param-tag-fails-in-Struts-2.2.1-tp30216692p30593987.html Sent from the Struts - User mailing list archive at