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" in the s:head tag,

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
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 the web server. Below there are snippets from some of the configuration files. dwr.xml:

RE: form submission doesn't work with ajax theme

2007-12-29 Thread Martin Gainty
JVM? TC version? Struts version? implemented DWR? pleas display servlet configurationalso it would be helpful to see contents of dwr.xml display the contents of JS functions available athttp://localhost:8080/[YOUR-WEBAPP]/dwr/ This troubleshhooting page may help somewhat with possible environm

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://struts.apache

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 > think ActionSupport was only appropriate > for f

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 emphasis on "*processes*" above

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
You can try replacing the html:submit with html:button and call your populateAndSubmit() method from the button. -Pushkar. -Original Message- From: Krishna, Hari (FTT-CInternet) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:14 AM To: Struts Users Mailing List Cc: Amara,

Re: form submission problem

2007-02-25 Thread Nuwan Chandrasoma
hi, i think the error is in your javascript, is there a form field called actionName in your form?, try altering your javasript like this and see function doSubmit(actionString){ alert(actionString); currentForm = document.forms[0]; alert(currentForm); alert(currentForm.actionName); currentFor

Re: form submission problem in struts2 (release 2.0.5) j4

2007-02-13 Thread serhat tanrikut
Hi Ian, I put the Logon_* in Because First a welcome page is displayed with the link ">Sign On and then validation is passed for the first time because input method does not have any validation effect.When sign on link clicked ,login.jsp is displayed. I have removed all the _* configura

Re: form submission problem in struts2 (release 2.0.5) j4

2007-02-13 Thread Ian Roughley
I would create a constructor in the action, and place a breakpoint/logging statement in there to make sure the correct action is beng called. In the HTML you have: So the action should be /Logon.action, but your configuration is: Which would seen to imply that the action attribute in the

RE: Form submission and javascript

2004-12-13 Thread David Bolsover
Ryan It is interesting that you should be working on this.. I have a similar requirement - I need to forward to a NAMED page once my action has completed - I do not know which page prior to form submittal. from what I have read so far, there is no 'struts' solution - you have to use Javascript.

Re: Form submission and javascript

2004-12-13 Thread fzlists
If I'm understanding your question properly, the easiest way is just to add the attribute target="_new" in your tag. I don't know how that translates to the Struts tag as I tend to not use Struts tags, but for a plain-jane tag, it should get the job done. I have heard that the target attrib

Re: Form submission and javascript

2004-12-13 Thread Daniel H A Lima
Hi Ryan. Have you tried Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', document.forms[0], 'myChildWindow',200, 400) instead of Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', 'this.form', 'myChildWindow',200, 400) ? I think that the property "form" is only