RE: Issue : Binding Integer Array upon form submission

2019-03-19 Thread Yasser Zamani
using Struts. Regards. >-Original Message- >From: Muhammad Salman Farooq1 >Sent: Monday, March 18, 2019 2:51 PM >To: user@struts.apache.org >Subject: Issue : Binding Integer Array upon form submission > > > >We have just migrated our application from 2.2.3 to st

Issue : Binding Integer Array upon form submission

2019-03-18 Thread Muhammad Salman Farooq1
We have just migrated our application from 2.2.3 to struts 2.5.20. In one of our use-cases, we have two checkboxes with same "name" attribute and upon submission, they submit integer values that we bind with Integer array being defined in the action. After migration, that thing stopped working. H

Re: Null values for Nested object properties after Form submission.

2014-11-26 Thread Arpan
Hi Lukasz, I have changed accordingly and values are populating properly. Thank you for that link. Cheers On Wed, Nov 26, 2014 at 10:01 PM, Lukasz Lenart wrote: > 2014-11-26 17:26 GMT+01:00 Arpan : > > Hi Lukasz, > > > > Even after adding no-arg constructor, the properties of nested > > objec

Re: Null values for Nested object properties after Form submission.

2014-11-26 Thread Lukasz Lenart
2014-11-26 17:26 GMT+01:00 Arpan : > Hi Lukasz, > > Even after adding no-arg constructor, the properties of nested > object(application) remains null. > But I am getting values of the properties of upper level object > 'ConfigBean' properly. > > Is there anything I am missing! Yeah... 'applicatio

Re: Null values for Nested object properties after Form submission.

2014-11-26 Thread Arpan
art wrote: > 2014-11-26 12:36 GMT+01:00 Arpan : > > Hi, > > > > I have a nested bean object, whose properties I am able to load in my jsp > > and I can see the values. > > But after Form submission, I am getting null values of the properties of > > the

Re: Null values for Nested object properties after Form submission.

2014-11-26 Thread Lukasz Lenart
2014-11-26 12:36 GMT+01:00 Arpan : > Hi, > > I have a nested bean object, whose properties I am able to load in my jsp > and I can see the values. > But after Form submission, I am getting null values of the properties of > the nested object in my action. > I am implementing

Null values for Nested object properties after Form submission.

2014-11-26 Thread Arpan
Hi, I have a nested bean object, whose properties I am able to load in my jsp and I can see the values. But after Form submission, I am getting null values of the properties of the nested object in my action. I am implementing ModelDriven interface. ConfigBean has 'application' as its n

Ajax form submission issue with struts 2 file tag

2010-05-30 Thread sayan mandal
Hi All, I would appreciate your IMMEDIATE help on this. Ajax form submission does NOT occur if it contains a struts2-file tag (the form gets submitted and expected content correctly shows up in the target div IFF the file tag is removed). Code snippet below (struts 2.1.8,struts2-dojo

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Dale Newfield
Or just create an onsubmit function that de-disables the appropriate fields before submission. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Dave Newton
Fernandes Celinio wrote: I wanted to know if a built-in solution existed with Struts 2. Nope, nothing in Struts 2 will change the HTML spec or how browsers are implemented. Dave - To unsubscribe, e-mail: user-unsubscr...@s

RE: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Fernandes Celinio
truts 2] Disabled fields are not posted on form submission 2009/5/13 Fernandes Celinio : > How do i submit the value of a disabled text field ? > Is there an interceptor that already takes care of it in Struts 2 ? By HTML spec, disabled fields aren't send to a server, it isn't Stru

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Lukasz Lenart
2009/5/13 Fernandes Celinio : > How do i submit the value of a disabled text field ? > Is there an interceptor that already takes care of it in Struts 2 ? By HTML spec, disabled fields aren't send to a server, it isn't Struts issue but general rule. You can consider to use readOnly attribute or us

Re: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Nils-Helge Garli Hegvik
Are you sure that you really want to disable it? Can you use a hidden field, or hide the field with css, if you're just trying to hide it from the user? Nils-H On Wed, May 13, 2009 at 11:28 AM, Fernandes Celinio wrote: > Hi, > > Disabled fields by W3 specifications will not get

[Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Fernandes Celinio
Hi, Disabled fields by W3 specifications will not get posted on form submission (http://www.w3.org/TR/html4/interact/forms.html#h-17.12.1). In my case, the textfield "dateCreation" has a "disabled" attribute set to true (fieldDisabled is set to true). How do i s

Re: s:iterator and form submission

2009-05-07 Thread Dave Newton
Rene Gielen wrote: http://struts.apache.org/2.1.6/docs/tabular-inputs.html In addition (it's on my infinite list of things I have no time for) AFAIK if there are multiple parameters with the same name and a collection property (like a List) they'll be marshalled into the list automagically w

Re: s:iterator and form submission

2009-05-07 Thread Rene Gielen
http://struts.apache.org/2.1.6/docs/tabular-inputs.html cm132005 schrieb: When the Edit is submitted, the aId passed in is actually a String of comma separated aIds of all aVOs. The requirement is such that I need to use the same for

s:iterator and form submission

2009-05-07 Thread cm132005
correct indexed value? Thanks. -- View this message in context: http://www.nabble.com/s%3Aiterator-and-form-submission-tp23438385p23438385.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: [S2]Multiple Form Submission

2008-10-30 Thread hernan gonzalez
On Wed, Oct 29, 2008 at 8:06 PM, Jishnu Viswanath <[EMAIL PROTECTED]> wrote: >In some case I am getting > Map session = ActionContext.getContext().getSession(); > And the session contains a key called Unless you are doing some research to understand struts internals or deal with some very

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
HI, Did any one worked with mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 3:36 AM To: Struts Users Mailing List Subject: RE: [S2]Multiple Form Submission Hey Henan, In some case I am getting Map session = ActionContext.getContext().getSession(); And the session

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
s Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -Original Message- From: Jishnu Viswanath [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 3:36 AM To: Struts Users Mailing List Subject: RE: [S2]Multiple Form Submission Hey Henan, In some case I am getting Map se

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
:15 AM To: Struts Users Mailing List Subject: RE: [S2]Multiple Form Submission Hi, :) Thanks Henan, At least something came up, It was my mistake I was doing it in all interceptor, now I have to extend that interceptor to ignore the values if the session does not exist. It ok

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
] Sent: Thursday, October 30, 2008 12:24 AM To: Struts Users Mailing List Subject: Re: [S2]Multiple Form Submission The should be in the jsp that creates the form that is submitted to the action (not in the result jsp!), so that the action can check for its existence. And the stack with the token

Re: [S2]Multiple Form Submission

2008-10-29 Thread hernan gonzalez
or :D > > Regards, > > Jishnu Viswanath > > Software Engineer > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > > Tavant Technologies Inc., > > www.tavant.com > > PEOPLE :: PASSION :: EXCELLENCE > > > -Original Message- > From: We

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
2008 11:47 PM To: Struts Users Mailing List Subject: Re: [S2]Multiple Form Submission Can you copy/paste some of your action/jsp/configuration code. Are you using the tag in your form? -Wes On Wed, Oct 29, 2008 at 2:09 PM, Jishnu Viswanath <[EMAIL PROTECTED]> wrote: > Hi, >

Re: [S2]Multiple Form Submission

2008-10-29 Thread Wes Wannemacher
Sent: Wednesday, October 29, 2008 11:26 PM > To: Struts Users Mailing List > Subject: Re: [S2]Multiple Form Submission > > Take a look at the documentation. The message is quite clear: > > "No result defined for action com.neolivz.sandbox.action.IndexAction > and result in

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
Wednesday, October 29, 2008 11:26 PM To: Struts Users Mailing List Subject: Re: [S2]Multiple Form Submission Take a look at the documentation. The message is quite clear: "No result defined for action com.neolivz.sandbox.action.IndexAction and result invalid.token" The Tokenintercep

Re: [S2]Multiple Form Submission

2008-10-29 Thread hernan gonzalez
29) >at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > Powered by Jetty:// > > Regards, > > Jishnu Viswanath > > Software Engineer > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > > Tavant Techno

RE: [S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
PM To: Struts Users Mailing List Subject: Re: [S2]Multiple Form Submission http://struts.apache.org/2.0.11.2/docs/token-interceptor.html http://struts.apache.org/2.0.11.2/docs/token-session-interceptor.html http://www.planetstruts.org/struts2-showcase/token/index.jsp Hernán J. González http

Re: [S2]Multiple Form Submission

2008-10-29 Thread hernan gonzalez
http://struts.apache.org/2.0.11.2/docs/token-interceptor.html http://struts.apache.org/2.0.11.2/docs/token-session-interceptor.html http://www.planetstruts.org/struts2-showcase/token/index.jsp Hernán J. González http://hjg.com.ar/ -

[S2]Multiple Form Submission

2008-10-29 Thread Jishnu Viswanath
Hi, Does any have any idea how to disable multiple form submission? I can not use disabling each button, just because of sheer number; I am looking for something like an interceptor. Does any one have any idea? I am using struts 2, I found some similar articles on struts 1 on base of

Form Submission of arrays

2008-07-21 Thread Dimitris Mouchritsas
Hi all, we've got a form where there's a table. In each row there's a hidden field for the id, a comment (text field) and a select box. What's the best way to submit this form? Create a form bean that will accept arrays as input? e.g. public class CommentForm { private String[] orgIds; priva

Javascript Form-submission problem

2008-02-27 Thread Rushikesh Thakkar
The UI of my application is divided in 3 parts, which looks almost similar to the UI of Eclipse IDE. The user selects operation from 'div' sitting on the left, then the *upper right div* shows a request *form* and the div sitting below it shows the result. I need to submit the form to two differen

Re: form submission doesn't work with ajax theme

2008-01-01 Thread Jeromy Evans
Jeancarlo wrote: Hello, I'm using struts version 2.0.11 and dwr. The field validation and form submission and everything work fine (I'm using the tag without any parameters). It did work until I wanted to use the autocomplete struts tag. To use that I need to add theme="ajax&quo

Re: form submission doesn't work with ajax theme

2007-12-31 Thread Jeancarlo
ndorse distribution to any party other than > intended recipient. Sender does not necessarily endorse content contained > within this transmission.> Date: Sun, 30 Dec 2007 13:27:41 -0200> From: > [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Re: form > submission doesn

RE: form submission doesn't work with ajax theme

2007-12-30 Thread Martin Gainty
To: user@struts.apache.org> Subject: Re: form submission doesn't work with ajax theme> > Hi,> > Thank you for your input. The jvm version is 1.6.0_03. The struts version> is 2.0.11 and dwr version is 1.1.4. I'm using maven to build the application> and jetty is

Re: form submission doesn't work with ajax theme

2007-12-30 Thread Jeancarlo
e: Sat, 29 Dec 2007 12:30:46 -0200> From: > [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: form submission > doesn't work with ajax theme> > Hello,> > I'm using struts version 2.0.11and > dwr. The field validation and form> submission and everythin

RE: form submission doesn't work with ajax theme

2007-12-29 Thread Martin Gainty
endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.> Date: Sat, 29 Dec 2007 12:30:46 -0200> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: form submission doesn't work

form submission doesn't work with ajax theme

2007-12-29 Thread Jeancarlo
Hello, I'm using struts version 2.0.11 and dwr. The field validation and form submission and everything work fine (I'm using the tag without any parameters). It did work until I wanted to use the autocomplete struts tag. To use that I need to add theme="ajax" in the s:head

Re: Automatic form submission using javascript in struts2

2007-12-13 Thread Ted Husted
In production, it's better to set the logging level to ERROR, so that all the OGNL warnings aren't recorded. Once it doesn't find the property on ServletRedirectResult, the system should append systemId as a parameter to the redirect URL. -- HTH, Ted * On Dec 13,

Re: Automatic form submission using javascript in struts2

2007-12-13 Thread Dave Newton
--- "jignesh(india)" <[EMAIL PROTECTED]> wrote: > but,it is giving exception in log Technically, that's a warning. > 14:51:03,558 WARN [OgnlUtil] Caught OgnlException while setting property > 'serviceid' on type 'org.apache.struts2.dispatcher.ServletRedirectResult'. > ognl.NoSuchPropertyExceptio

Re: Automatic form submission using javascript in struts2

2007-12-13 Thread jignesh(india)
php"; id="frmid"> >> >> >> >> >> >> >> <!-- >> document.forms[0].submit(); >> //--> >> >> >> Each time page loaded it calls the script but giving javascript error >> message- >>

RE: Strut2: How to determine if a request is a form submission?

2007-12-12 Thread Zheng, Xiahong
Thanks Dave. I just implemented my own interceptor for this purpose. I just thought for such a common use case (handling simple form submission), the framework may already have built-in support for it. I know Spring's SimpleFormController provides such work flow support. -Original Me

RE: Strut2: How to determine if a request is a form submission?

2007-12-12 Thread Dave Newton
hich I can get by implementing > ServletRequestAware interface. > > -Original Message- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 12, 2007 4:02 PM > To: Struts Users Mailing List > Subject: Re: Strut2: How to determine if a request is a form s

RE: Strut2: How to determine if a request is a form submission?

2007-12-12 Thread Zheng, Xiahong
EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 4:02 PM To: Struts Users Mailing List Subject: Re: Strut2: How to determine if a request is a form submission? POST v. GET, assuming all your form submissions are POSTs? --- "Zheng, Xiahong" <[EMAIL PROTECTED]> wrote: > &g

Re: Strut2: How to determine if a request is a form submission?

2007-12-12 Thread Dave Newton
POST v. GET, assuming all your form submissions are POSTs? --- "Zheng, Xiahong" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to write an action to support a simple form submission work > flow. The "execute" and "prepare" methods will

Strut2: How to determine if a request is a form submission?

2007-12-12 Thread Zheng, Xiahong
Hi, I am trying to write an action to support a simple form submission work flow. The "execute" and "prepare" methods will differ depending on whether it's form submission or initial rendering of the form. On the initial rendering, the "prepare" method w

Re: Automatic form submission using javascript in struts2

2007-12-07 Thread Ted Husted
There doesn't appear to be anything wrong with the script. You might try it from another workstation. As to the underlying use case, it appears that we would like to open a PHP page form a Struts Action. Another way to do that in Struts 2 would be to redirect with parameters. Something like this

Automatic form submission using javascript in struts2

2007-12-06 Thread jignesh(india)
pt error message- Error:- document.forms[0].submit is not a function //--> Thanks in advanced. -- View this message in context: http://www.nabble.com/Automatic-form-submission-using-javascript-in-struts2-tf4960335.html#a14207071 Sent from the Struts - User mailing

Re: Form Submission Question

2007-11-16 Thread Ted Husted
Patches are always welcome (once you get it figured out) :) On Nov 15, 2007 2:22 PM, Hernandez, David <[EMAIL PROTECTED]> wrote: > > Thanks guys. The bootstrap should have an example where the fields are > populated by the Action Class's member variables. But I figured it out, > I think . . . ---

Re: Form Submission Question

2007-11-16 Thread Ted Husted
() throwing the exception and returning > > null . . . > > Now, to keep that in scope somehow . . . > > > > -Original Message- > > From: Hernandez, David > > Sent: Thursday, November 15, 2007 3:12 PM > > To: 'Struts Users Mailing List' > >

RE: Form Submission Question

2007-11-15 Thread Hernandez, David
: Thursday, November 15, 2007 3:12 PM To: 'Struts Users Mailing List' Subject: RE: Form Submission Question I'm having a problem with my bean going out of scope. The form is populated with the bean information fine, but when I submit building is null? How do I keep it in scope? Do I

RE: Form Submission Question

2007-11-15 Thread Dave Newton
lls > city.getId() throwing the exception and returning > null . . . > Now, to keep that in scope somehow . . . > > -Original Message- > From: Hernandez, David > Sent: Thursday, November 15, 2007 3:12 PM > To: 'Struts Users Mailing List' > Subject: RE: Form Sub

RE: Form Submission Question

2007-11-15 Thread Hernandez, David
buildingFormTest.jsp /error.jsp /buildingFormTest.jsp /error.jsp -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 2:20 PM To: Struts Users Mailing List Subject: Re: Form Submission Question --- Gary Affonso <[EMAIL PROTECTED

Re: Form Submission Question

2007-11-15 Thread Dave Newton
The action that *processes* the form submission may extend ActionSupport. You submit the form to an action. The action either contains the fields of the form or contains a bean that can be used on the form. The bootstrap tutorial goes through a simple form processing example. http

RE: Form Submission Question

2007-11-15 Thread Hernandez, David
iling List Subject: Re: Form Submission Question --- Gary Affonso <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: >> The action that *processes* the form submission may extend >> ActionSupport. > > Dave knows that, of course, but I didn't want the emphasis on &g

Re: Form Submission Question

2007-11-15 Thread Dave Newton
--- Gary Affonso <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: >> The action that *processes* the form submission >> may extend ActionSupport. > > Dave knows that, of course, but I didn't want the > emphasis on "*processes*" above to make you >

Re: Form Submission Question

2007-11-15 Thread Gary Affonso
Dave Newton wrote: The action that *processes* the form submission may extend ActionSupport. Yup. Note that it's commonly not just "form processing actions" that extend ActionSupport, it's often all actions. Dave knows that, of course, but I didn't want the emphasi

Form Submission Question

2007-11-15 Thread Hernandez, David
Can anyone point me to a location that outlines the Form submission/processing flow for struts 2? I'm having a bit of a problem deciphering how forms are supposed to be handled. For instance I have a Bean (Building) that I want to update (to a DB) from a form:

RE: OT, ajax form submission

2007-10-01 Thread Henry Park
Thank you Randy, that worked out great. -Henry -Original Message- From: Randy Jonasz [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 9:40 AM To: Struts Users Mailing List Subject: Re: OT, ajax form submission Hi Henry, Just add the following: postBody: Form.serialize

Re: OT, ajax form submission

2007-10-01 Thread Randy Jonasz
Hi Henry, Just add the following: postBody: Form.serialize(yourFormId), to your request. On 10/1/07, Henry Park <[EMAIL PROTECTED]> wrote: new Ajax.Request('Login!show.action', { method:'post', postBody: Form.serialize(yourFormId), onSuccess: func

RE: OT, ajax form submission

2007-10-01 Thread Henry Park
){ alert('Something went wrong...') } }); Thanks, Henry > Date: Mon, 1 Oct 2007 00:24:44 -0400> From: [EMAIL PROTECTED]> To: > user@struts.apache.org> Subject: Re: OT, ajax form submission> > I will > second Zarar's opinion here, if all you need is to make

Re: OT, ajax form submission

2007-09-30 Thread Musachy Barroso
I will second Zarar's opinion here, if all you need is to make XHRs (no fancy widgets, etc. etc), then Prototype is an excellent choice. Of course there are another 2e100 ajax frameworks to choose from :) musachy On 9/29/07, Zarar Siddiqi <[EMAIL PROTECTED]> wrote: > Well, just because it incorpo

Re: OT, ajax form submission

2007-09-29 Thread Zarar Siddiqi
Well, just because it incorporates Dojo doesn't mean you have to use it and are forbidden from trying something better. By default dojo.js isn't dumped into your JSP/Freemarker pages so it's not like it's ever-present for him to use and could get in the way. In all my Struts apps I use Prototype

Re: OT, ajax form submission

2007-09-29 Thread Oleg Mikheev
Zarar Siddiqi wrote: I really recommend using something like Prototype to do your Ajax stuff. There's no need to reinvent the wheel and introduce countless Struts2 incorporates DoJo, so there's not much sense adding another Ajax framework -

Re: OT, ajax form submission

2007-09-28 Thread Zarar Siddiqi
I really recommend using something like Prototype to do your Ajax stuff. There's no need to reinvent the wheel and introduce countless bugs in the process, Prototype is tested for all relevant browsers and it'll take you 10 minutes to do what you're trying to do if you use it: http://www.prototyp

Re: OT, ajax form submission

2007-09-28 Thread Oleg Mikheev
Henry Park wrote: I could not get the packaged struts2 ajax implementation to work, so I am trying to go at it with plain javascript. I have Struts2 ajax working fine. What was the problem? - To unsubscribe, e-mail: [EMAIL

Re: OT, ajax form submission

2007-09-27 Thread Dave Newton
The first thing I noticed was that your onclick handler attribute doesn't "return false;" after executing your Ajax method; perhaps it's doing both the Ajax submit and a regular one (easily verifiable)? It might be less traumatic to just figure out what's wrong with the built-in Ajax, though :/

RE: OT, ajax form submission

2007-09-27 Thread Henry Park
;someField4=blah&someField5=blah&someField1=blah&someField2=blah&someField3=blah&someField4=blah&someField5=blah etc... > From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: OT, ajax form > submission> Date: Thu, 27 Sep 2007 14:19:37 -0700> > >

OT, ajax form submission

2007-09-27 Thread Henry Park
I could not get the packaged struts2 ajax implementation to work, so I am trying to go at it with plain javascript. A problem that I am having is that whenever I submit the form, all of my form fields keep getting appended over and over. If I click submit enough, it causes an overflow error. C

Re: dojo form submission not working in IE

2007-09-03 Thread Hari Prasad
ading > text before its actually read and posted. Disable the loading text and > it will be okay. > > regards, > Jeromy Evans > > Hari Prasad wrote: >> Hi, >>I used simple ajax form submission in my application and it worked in >> both Mozilla and Inte

Re: dojo form submission not working in IE

2007-09-03 Thread Jeromy Evans
eromy Evans Hari Prasad wrote: Hi, I used simple ajax form submission in my application and it worked in both Mozilla and Internet Explorer. and now, I shifted to DOJO and my form is like this.. <@s.div id="login_box_ajx" theme="ajax"> <@s.fo

dojo form submission not working in IE

2007-09-03 Thread Hari Prasad
Hi, I used simple ajax form submission in my application and it worked in both Mozilla and Internet Explorer. and now, I shifted to DOJO and my form is like this.. <@s.div id="login_box_ajx" theme="ajax"> <@s.form action="login" n

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Musachy Barroso
the form page asynchronously. In this way, the form > submission works in AJAX. But the same page doesn't work after I click the > button, trigger the JavaScript and return the same form page. > > The page is shown first without the content in the div(request > asynchronous

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
teScripts to > true. One thing I didn’t mention is I set the “href” attribute of the DIV > to an action that will return the form page. So after the page load, the > div will request and show the form page asynchronously. In this way, the > form submission works in AJAX. But the same pa

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Jeromy Evans
mention is I set the “href” attribute of the DIV to an action that will return the form page. So after the page load, the div will request and show the form page asynchronously. In this way, the form submission works in AJAX. But the same page doesn’t work after I click the button, trigger the

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
this way, the form submission works in AJAX. But the same page doesn’t work after I click the button, trigger the JavaScript and return the same form page. The page is shown first without the content in the div(request asynchronously). Then it becomes a blank page and provides a “dojo is not

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Musachy Barroso
var node = dojo.byId(this.targetsArray [i]); >> node.innerHTML = text; >> } >> } >> else { >> var node = dojo.by

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
gt; for( var i=0; i> var node = dojo.byId(this.targetsArray[i]); >> node.innerHTML = text; >> } >> } >> else { >> va

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Dave Newton
; > } > } > else { > var node = dojo.byId(this.targetsArray); > node.innerHTML = text; > } > } > > The onClick event of the button will invoke the > Connect

Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
if(type == "load") { this.setContent(data); } } Connector.prototype.setContent = function(text){ if(this.targetsArray) { if (this.targetsArray instanceof Array){ for( var i=0; ihttp://www.nabble.com/Ajax-form-submission-doesn%2

Re: [S2] Checkbox causes error on form submission.

2007-05-25 Thread WongTseng
It's so strange. If the hidden field is generated to solve the problem of submitting checkboxs' values unchecked , the filed should look like this: By the way, where is the "AsPayor" come from? What's the strategy used by S2 to generate the names of thses hidden fileds? 2007/5/26, Dave Newton <

Re: [S2] Checkbox causes error on form submission.

2007-05-25 Thread Dave Newton
--- Skip Hollowell <[EMAIL PROTECTED]> wrote: > I get the first input, but the second hidden one? > That is obviously where the error is coming from, but > why/how? I do have validate turned on, so is that > how the extra field is getting generated for > checkboxes? > > OK Dave, feel free to

[S2] Checkbox causes error on form submission.

2007-05-25 Thread Skip Hollowell
I am a wee bit confused on this one. I have my Account bean, with a boolean field: private boolean billerSame = false; along with a getter and setter, obviosuly. On my form I have: I submit the form and see this on the console for Tomcat: SEVERE: ParametersInterceptor - [setParameters]: U

Re: [s2] ajax multipart form submission

2007-05-15 Thread Musachy Barroso
We don't have an attribute to specify the "transport" for the the bindArgs. I logged a Jira ticket for it: https://issues.apache.org/struts/browse/WW-1925 thanks for reporting back :) musachy On 5/15/07, jf nuzbit <[EMAIL PROTECTED]> wrote: Here is how to make it work using dojo: The form:

Re: [s2] ajax multipart form submission

2007-05-15 Thread jf nuzbit
Here is how to make it work using dojo: The form: The javascript: function sendIt(){ var bindArgs = { transport: "IframeTransport", formNode: document.getElementById("myform"), mimetype: "text/html", load: function(type, data, evt){ doc

Re: [s2] ajax multipart form submission

2007-05-13 Thread Musachy Barroso
Try to get it to work with dojo first, no struts involved. I think there has been a couple of posts about this in the mailing list. Let us know if you get it to work as it would make a good FAQ :) musachy On 5/13/07, jf nuzbit <[EMAIL PROTECTED]> wrote: Hello, Has anyone managed to get a mult

[s2] ajax multipart form submission

2007-05-13 Thread jf nuzbit
Hello, Has anyone managed to get a multipart/form-data submission working with the ajax theme? This is what I've got so far: ... Which looks like it's almost working but the target div updates with '[object HTMLDocument]' and the action never gets invoked. If i remove the s:file e

Re: Form submission

2007-04-26 Thread Hubert Rabago
.apache.org Subject: RE: Form submission You can try replacing the html:submit with html:button and call your populateAndSubmit() method from the button. -Pushkar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: Form submission

2007-04-25 Thread Krishna, Hari \(FTT-CInternet\)
| Mobile: +91 9884528587 | www.franklintempleton.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:24 AM To: user@struts.apache.org Subject: RE: Form submission You can try replacing the html:submit with html:button and call your

RE: Form submission

2007-04-25 Thread pushkar . p
iling List Subject: RE: Form submission But is this html:submit is the culprit here?? Do I really need to replace this html:submit Regards, I.HariKrishna | Software Engineer | Franklin Templeton International Services (India) Pvt. Ltd. | Franklin Templeton Centre,1st Floor, No.7,Third Cross S

RE: Form submission

2007-04-25 Thread Krishna, Hari \(FTT-CInternet\)
| Tel: +91 44 24407000 | Extn: 17123 | Fax: +91 44 24453661 | Mobile: +91 9884528587 | www.franklintempleton.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:24 AM To: user@struts.apache.org Subject: RE: Form submission You

RE: Form submission

2007-04-25 Thread pushkar . p
, Balanjaneyulu; [EMAIL PROTECTED] Subject: Form submission Hi all, I am facing a peculiar problem with form submission. In my jsp I am using html:submit tag to create a submit button and calling a javascript method populateAndSubmit() which will do a form submission with

Form submission

2007-04-25 Thread Krishna, Hari \(FTT-CInternet\)
Hi all, I am facing a peculiar problem with form submission. In my jsp I am using html:submit tag to create a submit button and calling a javascript method populateAndSubmit() which will do a form submission with document.ChallengeQuestionForm.submit(); Now the issue is this form is

Re: [S2] Form submission/update question...

2007-04-03 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > [... all the info I need ...] You rule! I might update some of those docs, though; even after reading it again it left me puzzled (will probably just put an edited version of your reply). Thanks, and thanks for looking into that href thing. d.

Re: [S2] Form submission/update question...

2007-04-03 Thread Musachy Barroso
at the > fileListDiv updates with: Minor update: ... ... almost works but the div updates itself twice; once immediately and once again after the form submission completes (I assume). d. _

Re: [S2] Form submission/update question...

2007-04-03 Thread Dave Newton
--- Dave Newton <[EMAIL PROTECTED]> wrote: > This is actually "working" except that the > fileListDiv updates with: Minor update: ... ... almost works but the div updates itself twice; once immediately and once again after the form submission co

Re: [S2] Form submission/update question...

2007-04-03 Thread Dave Newton
--- Ian Roughley <[EMAIL PROTECTED]> wrote: > You could try triggering an event topic on the > result page of the form submission, then listening > for that topic in the s:div ajax tag and reload > the list of files. I'm sorry to be dense, but how would that actuall

Re: [S2] Form submission/update question...

2007-04-03 Thread Ian Roughley
You could try triggering an event topic on the result page of the form submission, then listening for that topic in the s:div ajax tag and reload the list of files. I know it would work in WW, haven't looked at the ajax tags since the upgrade to the newest dojo version. /Ian Dave N

[S2] Form submission/update question...

2007-04-03 Thread Dave Newton
I have an with Ajax s with forms. One of the divs is a form with a file upload and an Ajax with a list of files (it has some ordering functionality I wanted to separate out; it will be an Ajax form at some point). What I'd *like* to do is update just the list of files in the (in the one tab) a

Re: form submission problem

2007-02-25 Thread Nuwan Chandrasoma
); currentForm.actionName.value = actionString; alert(currentForm.actionName.value); currentForm.submit(); } Regards, Nuwan. - Original Message - From: "kalyan namburi" <[EMAIL PROTECTED]> To: Sent: Sunday, February 25, 2007 1:05 PM Subject: form submission problem hi, i have

  1   2   >