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,
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
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
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:
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
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 . . .
---
() 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'
> >
: 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
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
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
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
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
--- 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
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
.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
| 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
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
| 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
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,
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
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
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
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.
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
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
25 matches
Mail list logo