Re: Extra row appear in my jsp page after the Submit button is pressed

2018-03-12 Thread albert kao
Problem is fixed. Thanks! On Mon, Mar 12, 2018 at 1:36 AM, Yasser Zamani wrote: > > > On 3/12/2018 6:03 AM, albert kao wrote: > >> name="persons[%{#stat.count}].name"/> > > I guess using #stat.index (instead of #stat.count) solves this issue. > Count will be 1,2 and 3 but Index w

Re: Extra row appear in my jsp page after the Submit button is pressed

2018-03-11 Thread Yasser Zamani
On 3/12/2018 6:03 AM, albert kao wrote: >name="persons[%{#stat.count}].name"/> I guess using #stat.index (instead of #stat.count) solves this issue. Count will be 1,2 and 3 but Index will be 0,1 and 2 which is same as that index that java uses. Regards.

Extra row appear in my jsp page after the Submit button is pressed

2018-03-11 Thread albert kao
I am debugging my test program. When my test page http://localhost:8080/Struts2Example/updatePerson appeared in the browser, it displayed A B C in its own textfield and a Submit button, which is expected. However, after I edited the textfields and pressed the Submit button. The following appeared

Re: struts 1.2 html:select and submit button

2011-07-06 Thread hijayanth
Hi, Can you please let how did you address your requirement of having multiple action classes? Thanks and regards, jayanth -- View this message in context: http://struts.1045723.n5.nabble.com/struts-1-2-html-select-and-submit-button-tp3477760p4558693.html Sent from the Struts - User mailing

Re: form action is not calling while click on submit button: Struts2.0

2011-04-14 Thread Mohamed SIDI
Message- > From: Dave Newton [mailto:davelnew...@gmail.com] > Sent: Wednesday, April 13, 2011 10:45 AM > To: Struts Users Mailing List > Subject: Re: form action is not calling while click on submit button: > Struts2.0 > > Probably that whole tags-being-interpreted-as-tags

Re: form action is not calling while click on submit button: Struts2.0

2011-04-14 Thread arun
" " -- View this message in context: http://struts.1045723.n5.nabble.com/form-action-is-not-calling-while-click-on-submit-button-Struts2-0-tp4292686p4302460.html Sent from the Struts - User mailing list archive at Nabble.com.

RE: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Biesbrock, Kevin
on is not calling while click on submit button: Struts2.0 Probably that whole tags-being-interpreted-as-tags this in HTML emails, which is why plain-text emails are better for lists. Dave On Wed, Apr 13, 2011 at 10:15 AM, Biesbrock, Kevin wrote: > That's strange.  Why doesn't the

Re: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Brian Thompson
lto:arunnh...@gmail.com] > > Sent: Wednesday, April 13, 2011 12:45 AM > > To: user@struts.apache.org > > Subject: Re: form action is not calling while click on submit button: > > Struts2.0 > > > > hi Dave, > > > > Here is the code : > > >

Re: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Dave Newton
the nabble site? > > > Beez > > -Original Message- > From: arun [mailto:arunnh...@gmail.com] > Sent: Wednesday, April 13, 2011 12:45 AM > To: user@struts.apache.org > Subject: Re: form action is not calling while click on submit button: &g

Re: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Mohamed SIDI
y, April 13, 2011 12:45 AM > To: user@struts.apache.org > Subject: Re: form action is not calling while click on submit button: > Struts2.0 > > hi Dave, > > Here is the code : > > > > > > > > > -- > View this message in context: > http://struts

RE: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Biesbrock, Kevin
hile click on submit button: Struts2.0 hi Dave, Here is the code : -- View this message in context: http://struts.1045723.n5.nabble.com/form-action-is-not-calling-while-cli ck-on-submit-button-Struts2-0-tp4292686p4299769.html Sent from the Struts - User mailing list archive at

Re: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread arun
hi Dave, Here is the code : -- View this message in context: http://struts.1045723.n5.nabble.com/form-action-is-not-calling-while-click-on-submit-button-Struts2-0-tp4292686p4299769.html Sent from the Struts - User mailing list archive at Nabble.com

Re: form action is not calling while click on submit button: Struts2.0

2011-04-12 Thread Dave Newton
that when i'm defining action like in above code, its not called > on clicking submit button. > > But when same action is called by defining the action with submit button > like : > > > its been called successfully... > > > so any help from you guys:) > thanks in a

form action is not calling while click on submit button: Struts2.0

2011-04-11 Thread arun
hi, i'm facing a problem in action calling. Enviroment: 1. apache-tomcat-6.0.18 2. Struts2.0 here is the JSP form code: Problem is that when i'm defining action like in above code, its not called on clicking submit button. But when same action is called by defining the a

Struts 2.2 submit button method

2011-03-22 Thread styl9090
: /pages/input_page.jsp /pages/page_2.jsp Is anything changed in this regard in struts 2.2? I could not figure it out. Please help. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-2-2-submit-button-method-tp4257124p4257124

Re: Struts 2.2 submit button method

2011-03-22 Thread styl9090
I figured this out by changing struts.enable.DynamicMethodInvocation parameter value to True in struts.xml. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-2-2-submit-button-method-tp4257124p4257527.html Sent from the Struts - User mailing list archive at Nabble.com

set submit button focus

2009-09-28 Thread fea jabi
Have couple of submit buttons in my JSP All of them have the property as "method". When I try to set the focus for the html:form. how do I set to the focus to a certain submit button. I tried the above. we;ll it did not work. How to do this? your help is a

Problems, using submit button with individual confirm popUp

2009-09-17 Thread GernotB
ent of the submit button. That just works fine but the problem is, that the button executes instantly his integrated submit() function. I can see my confirm popUp but it disapears instantly. I tried to use html:button instead of html:submit. That also works just fine but I have not found any poss

Re: submit button

2009-09-15 Thread Dale Newfield
fea jabi wrote: may I know what the javascript will be? add an onclick on the button that adds the parameter you want. Or just set a name on the submit button so that "Add+Employee" will be sent if that button is pressed, and teach the action to decipher all the i18n versions of t

RE: submit button

2009-09-15 Thread fea jabi
may I know what the javascript will be? > Date: Tue, 15 Sep 2009 11:59:20 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: submit button > > fea jabi wrote: > > have a submit button which has the value of "Add Employee" &

Re: submit button

2009-09-15 Thread Dale Newfield
fea jabi wrote: have a submit button which has the value of "Add Employee" Add Employee but when submitted I want the property to be set to another value "add" in the request action="add" How can this be done? Withou

submit button

2009-09-15 Thread fea jabi
have a submit button which has the value of "Add Employee" Add Employee but when submitted I want the property to be set to another value "add" in the request action="add" How can this be done? Thanks.

Re: How to pass "id" to any method by means of and submit button?

2009-07-30 Thread Paweł Wielgus
nd want to handle following problem: > > I am listing all the invoice items via in my > invoiceList.jsp. Beside each invoice line, there is a checkbox, which I want > to use as following: User clicks on any checkbox to select the appropriate > invoice item beside it, and after clicking on t

How to pass "id" to any method by means of and submit button?

2009-07-30 Thread bilgerkan
, and after clicking on the submit button at the bottom, the id of the selected invoice shoould be transferred to InvoiceEditAction.editInvoice() method. But I get following error message unfortunately: javax.servlet.ServletException: java.lang.NumberFormatException: For input string: "" So

Re: bull info in a disbled submit button

2009-04-28 Thread elyes sallem
it is a ToolTip Regards Elyes 2009/4/28 Dave Newton > elyes sallem wrote: > >> i wanna display a bull info once the user put the cursor on the button >> here is the button declaration >> valider >> any one has an idea? >> > > I'm not sure what "bull info" is, but there are any number of > Java

Re: bull info in a disbled submit button

2009-04-28 Thread Dave Newton
elyes sallem wrote: i wanna display a bull info once the user put the cursor on the button here is the button declaration valider any one has an idea? I'm not sure what "bull info" is, but there are any number of JavaScript-based tooltip-type libraries available that can be used with any fra

bull info in a disbled submit button

2009-04-28 Thread elyes sallem
Hello, i wanna display a bull info once the user put the cursor on the button here is the button declaration valider any one has an idea? Thanks Regards

Re: submitting a form without a submit button ajax-style

2009-02-12 Thread mitch gorman
Musachy Barroso wrote: > 2.1.6 is GA :) > DOH! hadn't checked in a while, obviously... - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread Dave Newton
mitch gorman wrote: i have looked at the docs and drooled over the bind tag quite a bit... unfortunately, we're staying with the GA release, leaving me in 2.0.x land. bind would've taken care of *so* many of the little gotchas i've run into... is there any ETA for a GA v2.1.x (or, if yo

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread Musachy Barroso
2.1.6 is GA :) musachy On Wed, Feb 11, 2009 at 3:35 PM, mitch gorman wrote: > Musachy Barroso wrote: >> What you are looking for is the "bind" tag. Check: >> >> http://struts.apache.org/2.x/docs/bind.html >> >> in your example: >> >> >> >> > id="statusCheckbox"/> >> >> > showLoading

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread mitch gorman
Musachy Barroso wrote: > What you are looking for is the "bind" tag. Check: > > http://struts.apache.org/2.x/docs/bind.html > > in your example: > > > > id="statusCheckbox"/> > > showLoadingText="false" formId="myStatusForm"/> > > Look at the docs, the "bind" tag can do a few other t

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread Musachy Barroso
> I'm trying to find a way to submit a form ajax-style without a submit button > (Without a page reload). > > Is it possible at all? Google has been to no avail :( > > > the Form: > > > > onclick=&quo

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread mitch gorman
Felipe Fraga wrote: > Hello, > > Using Struts 2 built-in dojo, you could just: > > function submitForm(namespace, action, formName, targetDivName) { > var theForm = dojo.byId( formName ); > //remove initial slash > var theUrl = namespace.substring(1,namespace.length) + "/" + actio

RE: submitting a form without a submit button ajax-style

2009-02-11 Thread ulf n
thanks a bunch! I'll try it out :) cheers, Ulf > Date: Wed, 11 Feb 2009 17:51:56 + > Subject: Re: submitting a form without a submit button ajax-style > From: felipefr...@gmail.com > To: user@struts.apache.org > > Hello, > > Using Struts 2 built-in dojo,

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread Musachy Barroso
Ulf> Date: Wed, 11 Feb 2009 08:37:06 -0500> From: mgor...@shadowtv.biz> To: > user@struts.apache.org> Subject: Re: submitting a form without a submit > button ajax-style> > ulf n wrote:> > the Form:> >> > action="MyAction"

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread Felipe Fraga
Hello, Using Struts 2 built-in dojo, you could just: function submitForm(namespace, action, formName, targetDivName) { var theForm = dojo.byId( formName ); //remove initial slash var theUrl = namespace.substring(1,namespace.length) + "/" + action + ".action"; dojo.

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread mitch gorman
ulf n wrote: > Thanks for all the input on this one! > > alas the form.submit(), causes a reload of the page :( > doh! okay, so the issue is, you need the 'targets=""' attribute, but unfortunately for you, s:select doesn't have that bad boy. what i think you'll need to do, to get ar

RE: submitting a form without a submit button ajax-style

2009-02-11 Thread ulf n
Thanks for all the input on this one! alas the form.submit(), causes a reload of the page :( thanks, Ulf> Date: Wed, 11 Feb 2009 08:37:06 -0500> From: mgor...@shadowtv.biz> To: user@struts.apache.org> Subject: Re: submitting a form without a submit button ajax-style> > u

Re: submitting a form without a submit button ajax-style

2009-02-11 Thread mitch gorman
ulf n wrote: > the Form: > > > >onclick="javascript:someHowSubmitTheFormWithoutReload();"> > > the modified form: the javascript: function submitForm(id) { var form = document.getElementById(id); form.submit(); }

Re: submitting a form without a submit button ajax-style

2009-02-10 Thread Wes Wannemacher
est. > > Cheers, > Sonny > > On Tue, Feb 10, 2009 at 10:52 PM, ulf n wrote: > > Hi! all > > > > I'm trying to find a way to submit a form ajax-style without a submit > > button (Without a page reload). TIA > > Ulf > If you're a JQuery fan, I

Re: submitting a form without a submit button ajax-style

2009-02-10 Thread Sonny Gill
i! all > > I'm trying to find a way to submit a form ajax-style without a submit button > (Without a page reload). > TIA > Ulf - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additiona

submitting a form without a submit button ajax-style

2009-02-10 Thread ulf n
Hi! all I'm trying to find a way to submit a form ajax-style without a submit button (Without a page reload). Is it possible at all? Google has been to no avail :( the Form: TIA Ulf _

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread Antonio Petrelli
2008/10/4 ujulu <[EMAIL PROTECTED]>: > hopefully this one displays correctly; the html is parsed even if I haven't > checked it. (Preview shows me correctly; but the output is wrong ;-) Sorry I have not been clear. Your code is formatted correctly, it is the code itself that is wrong. is not clos

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-1.2.8%3A-Submit-Button-and-HTML-Link-on-the-

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-1.2.8%3A-Submit-Button-and-HTML-Link-on-the-same-page-problem-

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-1.2.8%3A-Submit-Button-and-HTML-Link-on-the-same-page-problem-tp19812419p19

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread Antonio Petrelli
2008/10/4 ujulu <[EMAIL PROTECTED]>: > > Sorry, it is automatically formatted; here is it again: So it is wrong on purpose, so what exactly is this? > get PDF doc here Antonio - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
ot; > name="beanName" > scope="session" > validate="false" > parameter="backButton"> > > > 3. Everything works fine until the user i

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread Antonio Petrelli
2008/10/4 ujulu <[EMAIL PROTECTED]>: > > > get PDF doc here > > > lastPage > Can you post the correct code? There is obviously a typo in your cut'n'paste. Antonio - To unsubscribe, e-

Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
: 3. Everything works fine until the user is directed to the above JSP page. When the user is in this page and clicks on the submit button the user will be taken to the last page without any problem. But if the link is clicked first a new popup window will be opened where a

Re: Submit button with no form

2008-09-12 Thread oscar perez
another alternative would be to use a normal anchor tag and via CSS to make it look like a button.. On Wed, Sep 10, 2008 at 3:47 PM, Dan <[EMAIL PROTECTED]> wrote: > Lukasz Lenart escribió: > >> As Don said, implement small form, only with submit button and you >> wouldn&

Re: Submit button with no form

2008-09-10 Thread Dan
Lukasz Lenart escribió: As Don said, implement small form, only with submit button and you wouldn't have to use JavaScript. Regards OK, I´ll try to do it Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Submit button with no form

2008-09-08 Thread Lukasz Lenart
As Don said, implement small form, only with submit button and you wouldn't have to use JavaScript. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Submit button with no form

2008-09-08 Thread paul wisehart
Dan wrote: Is there any other option instead of using Javascript? I have googled but didnt find any answers. flash ? maybe some applet trickery? what's wrong with a form? --paul - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Submit button with no form

2008-09-08 Thread Dan
Lukasz Lenart escribió: Hi, You can use JavaScript and onclick event: Regards Hi, Is there any other option instead of using Javascript? I have googled but didnt find any answers. Thanks in advance, - To unsubscrib

Re: Submit button with no form

2008-09-07 Thread Lukasz Lenart
Hi, You can use JavaScript and onclick event: Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Submit button with no form

2008-09-05 Thread danipruebas
Hi, How can I render a button in a jsp page to call an action directly with no form? I just want to call an action from a button in a jsp page, no links. I will use Dispatch_Action so how should I name it in the strus-config file? I understand Dispatch Action theory ;) Any ideas would be apprec

Re: struts 1.2 html:select and submit button

2008-03-18 Thread Antonio Petrelli
2008/3/18, Sonu S <[EMAIL PROTECTED]>: > 1) there is one submit button on that page and one action is associated with > that submit button. i can call the associated action class once the user > finish the form and click the submit button. When user select from list i > ne

Re: struts 1.2 html:select and submit button

2008-03-17 Thread Sudhan Maharjan
ds on same page.) I need to know two > things: > > 1) there is one submit button on that page and one action is associated > with > that submit button. i can call the associated action class once the user > finish the form and click the submit button. When user select from list i >

struts 1.2 html:select and submit button

2008-03-17 Thread Sonu S
w two things: 1) there is one submit button on that page and one action is associated with that submit button. i can call the associated action class once the user finish the form and click the submit button. When user select from list i need to call another action class. I want to know how to

setting dynamic dispatch action from submit button with custom ActionMapper

2008-01-24 Thread neha bhatt
"pagedSearching" method in MyCustomActionMapper. Can any one help? Thanks Neha Bhatt -- View this message in context: http://www.nabble.com/setting-dynamic-dispatch-action-from-submit-button-with-custom-ActionMapper-tp15062866p15062866.html Sent from the Struts - User mailing list archive at

Re: [S2] Complex submit button issue

2007-11-28 Thread Eric Martin
Looks like this is a previously reported issue that was "fixed": https://issues.apache.org/struts/browse/WW-1677 However, I'm using 2.0.11 and it is still not working. Thanks, Eric Eric Martin wrote: > > I'm using the css_xhtml theme and trying to create a su

[S2] Complex submit button issue

2007-11-28 Thread Eric Martin
I'm using the css_xhtml theme and trying to create a submit button that outputs something like: ${ctx}/images/tick.png Save I would expect something like this to work: ${ctx}/images/tick.png Save But it outputs (formatted): <img src="/core/images/tick.png"

Re: Submit button property in ajax not sends value to action.

2007-11-01 Thread Musachy Barroso
Fixed on 2.1: https://issues.apache.org/struts/browse/WW-1930 musachy On 11/1/07, Vinicius Medeiros Peretti <[EMAIL PROTECTED]> wrote: > Thanks very much, this is the way! > But I think that the property of submit button should be posted. > > Thanks, > > Viniciu

Re: Submit button property in ajax not sends value to action.

2007-11-01 Thread Vinicius Medeiros Peretti
Thanks very much, this is the way! But I think that the property of submit button should be posted. Thanks, Vinicius Jeromy Evans wrote: I've read somewhere, but can't find the reference, that you're correct that dojo doesn't post the value of the submit button with XHR.

Re: Submit button property in ajax not sends value to action.

2007-10-31 Thread Jeromy Evans
I've read somewhere, but can't find the reference, that you're correct that dojo doesn't post the value of the submit button with XHR. Instead, I always post to different methods in the action - one for each submit button. eg. action="SomeActionMetho

Submit button property in ajax not sends value to action.

2007-10-31 Thread Vinicius Medeiros Peretti
When I submit a form, in a div using theme="ajax", the value of property of submit button not goes to Action. E.g. name="valueButton" theme="ajax" targets="%{target}" value="other"/> If I c

Re: S2 Cannot get Submit button body to render as label...

2007-09-27 Thread Laurie Harper
Doh, my bad :-( I guess I was reading too fast (or with my eyes closed perhaps?...) Re-reading what you're doing, I'd say this is either a bug or a design limitation. It's probably worth a Jira ticket either way. L. billgloff wrote: Laurie, As you can see above in my sample code, I am alread

Re: S2 Cannot get Submit button body to render as label...

2007-09-26 Thread billgloff
'type' attribute to 'button', as listed in the tag docs > [1]. > > L. > > [1] http://struts.apache.org/2.x/docs/submit.html > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For

Re: S2 Cannot get Submit button body to render as label...

2007-09-25 Thread Dave Newton
Laurie Harper <[EMAIL PROTECTED]> wrote: > billgloff wrote: >> > If you want a button element, set 's 'type' > attribute to 'button', as listed in the tag docs Er... d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: S2 Cannot get Submit button body to render as label...

2007-09-25 Thread Laurie Harper
billgloff wrote: Using the button element in normal HTML you can do the following: Save which gives you an icon along with the label on the button itself. When I attempt to try the same thing using S2 tags e.g.

S2 Cannot get Submit button body to render as label...

2007-09-25 Thread billgloff
ny text in the tag body gets pushed out to the front of the tag. Thanks for any help on this! -- View this message in context: http://www.nabble.com/S2-Cannot-get-Submit-button-body-to-render-as-label...-tf4517335.html#a12885678 Sent from the Struts - User mailing list archive at Nabble.com

S2 Cannot get Submit button body to render as label...

2007-09-25 Thread billgloff
ny text in the tag body gets pushed out to the front of the tag. Thanks for any help on this! -- View this message in context: http://www.nabble.com/S2-Cannot-get-Submit-button-body-to-render-as-label...-tf4517330.html#a12885672 Sent from the Struts - User mailing list archive at Nabble.com

Re: [S2] Validation depending on which submit button was pressed

2007-08-17 Thread Sandro Giessl
Hi! method="..." is exactly what I have been looking for. Sorry for disturbing the list, I didn't expect it to be that easy. :) Thanks! Sandro On Friday 17 August 2007 14:22:57 j alex wrote: > Assuming that Add, Back , Fwd are different methods in the same > Action, you could use s:submit meth

Re: [S2] Validation depending on which submit button was pressed

2007-08-17 Thread Sandro Giessl
Hi! method="..." is exactly what I have been looking for. Sorry for disturbing the list, I didn't expect it to be that easy. :) Thanks! Sandro On Friday 17 August 2007 14:22:57 j alex wrote: > Assuming that Add, Back , Fwd are different methods in the same > Action, you could use s:submit meth

Re: [S2] Validation depending on which submit button was pressed

2007-08-17 Thread j alex
Assuming that Add, Back , Fwd are different methods in the same Action, you could use s:submit method="Add" to post to Add method, and define the validations for that method using annotation . I havent tried if the non-field level validators get executed at this point On 8/17/07, Sandro Giessl <

[S2] Validation depending on which submit button was pressed

2007-08-17 Thread Sandro Giessl
Hi, I have one form which submits data to one action. However there are different s:submit-buttons in the form (Add Row, Back, Forward). Full validation should only happen if "Forward" has been clicked. The other buttons should only validate some non-required field formats (Int-Validator, ...).

Re: Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined

2007-08-08 Thread rrecoba
Thanks for your help. I don´t understand your answer, can you explain me with more detail? mihel wrote: > > rrecoba wrote: >> i have an ajax submit button that replaces the div specified by the >> targets >> attribute with the result from an action, and the result r

Re: Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined

2007-08-07 Thread Oleg Mikheev
rrecoba wrote: i have an ajax submit button that replaces the div specified by the targets attribute with the result from an action, and the result returned by the action has some javascript to be executed that uses the document.getElementById(). I´ve read that this is a known issue (WW-1951

Re: Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined

2007-08-07 Thread Oleg Mikheev
rrecoba wrote: i have an ajax submit button that replaces the div specified by the targets attribute with the result from an action, and the result returned by the action has some javascript to be executed that uses the document.getElementById(). I´ve read that this is a known issue (WW-1951

Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined

2007-08-07 Thread rrecoba
i have an ajax submit button that replaces the div specified by the targets attribute with the result from an action, and the result returned by the action has some javascript to be executed that uses the document.getElementById(). I´ve read that this is a known issue (WW-1951) that will be

RE: disable submit button

2007-07-05 Thread Hoying, Ken
@struts.apache.org Subject: disable submit button I would like to know how to disable submit button when using AJAX theme. below is the code I am using But it does not seems to work... Could anyone help me on this -- View this message in context: http://www.nabble.com/disable-submit-button-tf4030977

disable submit button

2007-07-05 Thread banurekha
I would like to know how to disable submit button when using AJAX theme. below is the code I am using But it does not seems to work... Could anyone help me on this -- View this message in context: http://www.nabble.com/disable-submit-button-tf4030977.html#a11450471 Sent from the

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-15 Thread yitzle
I've seen websites that have an submit onclick script that disables the submit button. You may want to consider that approach. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-15 Thread Paolo Beccari
- Original Message - From: "sudeepj2ee" <[EMAIL PROTECTED]> To: Sent: Friday, June 15, 2007 6:51 AM Subject: In struts 2 can we stop form submiting twice when submit button is pressd more than once > > Hi > > Is there a way out in struts 2 as in struts1.2

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread Strut_developer
> configuration. >> >> >> >> sudeepj2ee wrote: >>> >>> Hi >>> >>> Is there a way out in struts 2 as in struts1.2 for not submitting the >>> form twice even is the submit button >>> is pressed more than once. >>&

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread sudeepj2ee
> >> Is there a way out in struts 2 as in struts1.2 for not submitting the >> form twice even is the submit button >> is pressed more than once. >> >> Your reply will be welcomed >> >> sudeep srivastava >> [EMAIL PROTECTED] >> > >

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread Strut_developer
Please use TokenInterceptor; you need to configure it in you action configuration. sudeepj2ee wrote: > > Hi > > Is there a way out in struts 2 as in struts1.2 for not submitting the form > twice even is the submit button > is pressed more than once. > > You

In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread sudeepj2ee
Hi Is there a way out in struts 2 as in struts1.2 for not submitting the form twice even is the submit button is pressed more than once. Your reply will be welcomed sudeep srivastava [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/In-struts-2-can-we-stop-form

Re: calling a struts action classes without pressing the submit button in a page

2007-06-09 Thread Mansour
santhu123 wrote: how can i call a struts action classes without pressing the submit button in a page Can you give more details? example ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: calling a struts action classes without pressing the submit button in a page

2007-06-09 Thread Dave Newton
--- santhu123 <[EMAIL PROTECTED]> wrote: > how can i call a struts action classes without > pressing the submit button in a page I'm not sure what you want to do. Any URL can be mapped to a Struts action. Are you talking about calling a class method fr

calling a struts action classes without pressing the submit button in a page

2007-06-09 Thread santhu123
how can i call a struts action classes without pressing the submit button in a page -- View this message in context: http://www.nabble.com/calling-a-struts-action-classes-without-pressing-the-submit-button-in-a-page-tf3894117.html#a11039629 Sent from the Struts - User mailing list archive at

Re: [s2] how to get "onclick" working with ajax themed submit button

2007-05-28 Thread Jeromy Evans
x-themed submit button to submit a form. We now need to add an "onclick" trigger to call some javascript before it submits. However, the javascript never seems to be called when using the ajax theme on the submit button. Is there a way to trigger an "onclick" javascript event with

[s2] how to get "onclick" working with ajax themed submit button

2007-05-28 Thread Jason Wyatt
Hi, We're using an ajax-themed submit button to submit a form. We now need to add an "onclick" trigger to call some javascript before it submits. However, the javascript never seems to be called when using the ajax theme on the submit button. Is there a way to trigger an "

How to disable a submit button with ajax

2007-04-26 Thread King, Leon C
Hi all, I have a non-ajax button that I want to disable when my 'ajax' autocompleter(s) change values. (I DIDN'T go with the 'ajax' submit button because it doesn't work with IE 6) How would I do this? Is this even

Re: [s2]theme="ajax" for form/submit button

2007-04-24 Thread Musachy Barroso
ver I cannot get the rigyht syntax to substitue the correct string. > > > > > > I think that it would work both ways.. But I would prefer to get the > > > ajax/targets working. > > > > > > Harring > > > > > > On

Re: [s2]theme="ajax" for form/submit button

2007-04-24 Thread Harring Figueiredo
; > this > > > will run: > > > > > > dojo.byId("id").innerHTML = text; > > > > > > try updating the div content like that, and see what happens. This is > a > > > dumb > > > question, but are you using the same id for mo

Re: [s2]theme="ajax" for form/submit button

2007-04-24 Thread Musachy Barroso
umb > > question, but are you using the same id for more than one div? > > > > musachy > > > > On 4/24/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: > > > > > > Folks, > > > > > > I have a form with a submit button as follow

Re: [s2]theme="ajax" for form/submit button

2007-04-24 Thread Harring Figueiredo
question, but are you using the same id for more than one div? > > musachy > > On 4/24/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: > > > > Folks, > > > > I have a form with a submit button as follows > > > > > > > >

Re: [s2]theme="ajax" for form/submit button

2007-04-24 Thread Musachy Barroso
for more than one div? > > musachy > > On 4/24/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: > > > > Folks, > > > > I have a form with a submit button as follows > > > > > > > > > > /> > > >

  1   2   >