How do you submit a page and not change values

2004-02-02 Thread Hunt, Steve
If you use either html:button, html:submit or html:cancel buttons they
generate input type=button html.

So how can you create a screen for example with 1 field and 2 buttons, a
submit and a do Not Submit button, both of which navigate the user to a
results screen?

Regards
Steve


===
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst  Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorised to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How do you submit a page and not change values

2004-02-02 Thread Hunt, Steve
Thanks Claire,
Unfortunately in your example below, any changes made to the page before it
was submitted with the cancel button will actually change the values stored
on the form though.

-Original Message-
From: Claire Wall [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 09:42
To: Struts Users Mailing List
Subject: Re: How do you submit a page and not change values


you can use the html:submit and html:cancel buttons from within a form.
They will both actually submit the form to an action, but it is possible to
capture the 'cancel' event in your action and therefore forward the user to
different places depending upon which one they clicked on.

so, for example, say you had a form with one field called 'name' and two
buttons- one 'cancel' and one 'submit'...

html:form action=/saveDetails

html:text name=DetailsForm property=name/

html:submitSubmit/html:submit
html:cancelCancel/html:cancel

/html:form

in struts-config you define your actions and where you wish to forward to
depending on which button the user clicked on:

  action input=/xxx.jsp name=DetailsForm path=/saveDetails
   scope=request type=xxx.xxx.SaveDetailsAction validate=false
   forward name=success path=/xxx.jsp /
forward name=cancel path=/yyy.jsp /
  /action


and, finally, in your action you can catch the cancel event and forward to
the other place like so:

if(isCancelled(request))
{
return mapping.findForward(cancel);
}

else
{
return mapping.findForward(success);
}



I hope that this answers your question - if not then sorry if i am just
repeating stuff that you already know! :)

regards,
Claire :)

- Original Message -
From: Hunt, Steve [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:06 AM
Subject: How do you submit a page and not change values


 If you use either html:button, html:submit or html:cancel buttons they
 generate input type=button html.

 So how can you create a screen for example with 1 field and 2 buttons, a
 submit and a do Not Submit button, both of which navigate the user to a
 results screen?

 Regards
 Steve


 ===
 This message contains information that may be privileged or confidential
and is the property of the Cap Gemini Ernst  Young Group. It is intended
only for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
 ===


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Validation error messages

2004-02-02 Thread Hunt, Steve
in the resource file where the error message is defined use {0} to
parametize it.
eg
address.invalid=Address {0} is not a valid email address.

When you construct the actionError add the parameter to the constructor ie.
new ActionError(address.invalid, address)

Regards
Steve

-Original Message-
From: Glenn, Scott [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 14:45
To: 'Struts Users Mailing List'
Subject: Validation error messages


I might be missing something obvious here, but is there an easy way to get
the submitted value to become part of the your error message?

So, for example, if the user enters abc in an email field, I'd like a
message saying :-

Address abc is not a valid email address.

I can get this behaviour when I write my own custom validation routines, but
what about the base Struts validation rules ... can they be configured to
display the entered value, as opposed to a string from the AppResources
bindle?

Cheers,

Scott.


 


===
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst  Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorised to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Validation error messages

2004-02-02 Thread Hunt, Steve
Scott,
As long as the error message is set up as I said the validation framework
should put the field name at the start of the message...  But not the value
in the field.

so in your example below you might get an error message like;

Email address is a required field

if

admin.email.user=Email address

To explicitly get the value submitted into the error message I think you'd
have to take a look at the validation framework code and modify that.

Regards
Steve
-Original Message-
From: Glenn, Scott [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 16:30
To: 'Struts Users Mailing List'
Subject: RE: Validation error messages


Thanks Steve, 

That's what I'm doing when I implement my own custom validation routines,
but what about the standard Struts validation rules (which are implemented
declaratively), so you don't explicitly create any ActionError objects?? 

For example, we might have a validation.xml snippet like:-
 
form name=addRecipientForm
  field property=email depends=required, email
arg0 key=admin.email.user/
  /field
/form 

which checks for a mandatory well formatted mail address. If you enter
abc, Struts generates an ActionError object containing:-

Recipient's email address is an invalid e-mail address

(providing you have the following resources

admin.email.pdf=Recipient's email address
errors.email={0} is an invalid e-mail address.

)


So I don't specifically create any ActionError objects . Is there no way
I can declaratively (ie. in the validation.xml) inform the rule that I'd
like the submitted value inserted rather than a textual string from the
AppResources?

Hope that explains the problem a little better

Cheers, 

Scott.





-Original Message-
From: Hunt, Steve [mailto:[EMAIL PROTECTED] 
Sent: 02 February 2004 15:49
To: 'Struts Users Mailing List'
Subject: RE: Validation error messages

in the resource file where the error message is defined use {0} to
parametize it.
eg
address.invalid=Address {0} is not a valid email address.

When you construct the actionError add the parameter to the constructor ie.
new ActionError(address.invalid, address)

Regards
Steve

-Original Message-
From: Glenn, Scott [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 14:45
To: 'Struts Users Mailing List'
Subject: Validation error messages


I might be missing something obvious here, but is there an easy way to get
the submitted value to become part of the your error message?

So, for example, if the user enters abc in an email field, I'd like a
message saying :-

Address abc is not a valid email address.

I can get this behaviour when I write my own custom validation routines, but
what about the base Struts validation rules ... can they be configured to
display the entered value, as opposed to a string from the AppResources
bindle?

Cheers,

Scott.


 


===
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: stop user from clicking the submit button twice

2004-01-30 Thread Hunt, Steve
U can also use the struts token functions to detect when a page has been
submitted twice in the actionclass and not start the processing twice.

-Original Message-
From: Simon McCaughey [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 10:26
To: Struts Users Mailing List
Subject: Re: stop user from clicking the submit button twice


From: Ashish Kulkarni [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 10:30 PM
Subject: stop user from clicking the submit button twice
 Hi
 I have a process which takes about 30 seconds, i want
 to show some kind of image or disable the submit
 button untill the process is complete and tell user
 that the process is running
 How can i do it, i m using struts1.1
 any code example or article will greatly help


You could use some simple JavaScript to disable the button once its been
clicked, or a simple JavaScript function to count the number of clicks and
increment, if count!=1  then pop up an OK dialog saying page processing -
please wait.

If you want to stay away from JS, you could set up your form submit to
redirect to a processing please wait type page, and then do the actual
processing as a submission of that page. Should be fairly simple.

HTH

S.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


===
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst  Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorised to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dealing wiht exception in DispatchAction

2004-01-26 Thread Hunt, Steve
Marco
If these are expected exceptions catch them and forward to a failure page
with whatever actionErrors objects and messages you wish to create.
Or throw them all and handle the different messages in your exceptionHandler
class.

Regards
Steve

-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 16:45
To: 'Struts Users Mailing List'
Subject: Dealing wiht exception in DispatchAction 


Hi all,
I am using a DispatchAction in my application. I have declared
the
Type of the exception that will be raised in case one method raises an
exception..
But I am stuck with the fact that i have, in 4 methods, the same type of
Exception but with different message.
When I declare the exception in struts-config, I can specify only one 
Key ..

And I would need a way to parametrize the message of the exception, or
to
Be able to specify which message to use for different methods.

For example

I have following methods (and associated exceptions)

Create()  / failed to create product

Delete() / failed to delete product

Find()  / product not found


All of those methods raise the same exception (ProductException) but
with different messages.
How can I make so that I can raise same exception, with different
messages, from a dispatch action?

Thanx in advance and regards
marco


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


===
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst  Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorised to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: XML and JSP

2004-01-20 Thread Hunt, Steve
Have a look at XTags, a very powerful way to manipulate xml for display in
jsps.

Regards
Steve

-Original Message-
From: Prashanth.S [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 09:06
To: [EMAIL PROTECTED]
Subject: XML and JSP


Hi all,
can anyone tell me a convinient way to display,add delete elements in a xml
file from jsp???
 
Thanks
prashanth


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


===
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst  Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorised to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: XML and JSP

2004-01-20 Thread Hunt, Steve
It may not do everything you require, but it will certainly start you off.

-Original Message-
From: Prashanth.S [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 11:50
To: Struts Users Mailing List
Subject: RE: XML and JSP


Hi all,
Thanks for the reply...will xtag really help me???i want to do many complex
querying,adding and deleting elements,attributes in xml file...?
Thanks
Prashanth

Hunt, Steve [EMAIL PROTECTED] wrote:
Have a look at XTags, a very powerful way to manipulate xml for display in
jsps.

Regards
Steve

-Original Message-
From: Prashanth.S [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 09:06
To: [EMAIL PROTECTED]
Subject: XML and JSP


Hi all,
can anyone tell me a convinient way to display,add delete elements in a xml
file from jsp???

Thanks
prashanth


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


===
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


begin 600 exclusion.jsp
M/5`('1A9VQI8B!UFD](B]714(M24Y+W-TG5TRUB96%N+G1L9(@')E
M9FEX/2)B96%N(B`E/@T*/5`('1A9VQI8B!UFD](B]714(M24Y+W-TG5T
MRUH=UL+G1L9(@')E9FEX/2)H=UL(B`E/@T*/5`('1A9VQI8B!UFD]
M(B]714(M24Y+WAT86=S+G1L9(@')E9FEX/2)X=%GR(@)3X-CPE0!T
M86=L:6(@=7)I/2(O5T5+4E.1B]C9V5Y+6AT;6PN=QD(B!PF5F:[EMAIL PROTECTED](F-G
M97DB(4^#0H\)4`@%G92!I;7!OG0](F]R9RYD;VTT:BY$;V-U;65N=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z;W1H97)W:7-E/@T*(`@(`@(`@
M(#QT9#XF;F)S#L\+W1D/@T*(`@(`@(`\+WAT86=S.F]T:5R=VES93X-
MB`@(`@(#PO'1A9W,Z8VAO;W-E/@T*(`@(#PO'1A9W,Z9F]R16%C:#X-
MB`@/]TCX-CPO'1A9W,Z9F]R16%C:#X-@T*/]T86)L93X-@T*/'`@
M+SX-@T*/$M+2!$3U]3U)-(TM/@T*/AT;6PZW5B;6ET('-T6QE0VQA
MW,](FUY0G5T=]N(B!PF]P97)T3TB97AC;'5S:6]N7V-H86YG92(^#0H@
M/)E86XZ;65SV%G92!K97D](F)U='1O;BYS879E+F-H86YG92(@+SX-CPO
M:'1M;#IS=6)M:70^#0H\8G(@+SX\8G(@+SX-CQH=UL.G-U8FUI=!S='EL
M94-L87-S/2)M4)U='1O;B(@')O5R='D](F5X8VQUVEO;E]R971UFXB
M/@T*(#QB96%N.FUEW-A9V4@:V5Y/2)B=71T;VXNV%V92YR971UFXB(\^
M#0H\+VAT;6PZW5B;6ET/@T*/)R(\^/)R(\^#0H\:'1M;#IS=6)M:70@
MW1Y;5#;%SSTB;7E=71T;VXB('!R;W!EG1Y/2)E-L=7-I;VY?8V%N
M8V5L(CX-B`\8F5A;CIM97-S86

RE: Disable validator framework

2004-01-16 Thread Hunt, Steve
Mohan,
If you use the html:cancel type of button rather than html:submit the
validation framework is not called.
If you are using client side javascript validation through the framework you
can disable validation of a button by setting the parameter bCancel=true
like this;

html:submit property=methodToCall value=Cancel
onclick=bCancel=true;/

Regards
Steve

-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: 16 January 2004 06:34
To: 'Struts Users Mailing List'
Subject: Disable validator framework


Hi

We are using dispatch action and validator framework. There is a popup
action associated
with one button on the form. When the user clicks on this a particular
method in the action is called but I don't want to validate the ActionForm
because the main form is not submitted. There are other buttons that submit
the form and I need a selective validator framework.

   I know that it is possible if I were to write my own validate() method by
checking a particular value in the form.

   Can I disable the validator similarly ? If this is not possible then I
have to abandon the validator.

Appreciate ideas.
Mohan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


===
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst  Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorised to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Disable validator framework

2004-01-16 Thread Hunt, Steve
you could rewrite it like this

html:cancel
onclick=javascript:window.open('%=request.getContextPath()%/switch.do?pre

fix=/ippage=/enforcement.do?dispatch=prepopulateTask','','width=900,
height=650, left=0, top=0, menubar=no, status=yes,
location=no, toolbar=no,
scrollbars=yes, resizable=yes') Task 
/html:cancel

-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: 16 January 2004 09:28
To: 'Struts Users Mailing List'
Subject: RE: Disable validator framework


Hi,

 What if it is not a 'submit' ?

Mine is like this

input type=button name=Task  class=formbutton
onclick=javascript:window.open('%=request.getContextPath()%/switch.do?pre
fix=/ippage=/enforcement.do?dispatch=prepopulateTask','','width=900,
height=650, left=0, top=0, menubar=no, status=yes, location=no, toolbar=no,
scrollbars=yes, resizable=yes') value=Task/

Thanks
Mohan
-Original Message-
From: Hunt, Steve [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 2:05 PM
To: 'Struts Users Mailing List'
Subject: RE: Disable validator framework


Mohan,
If you use the html:cancel type of button rather than html:submit the
validation framework is not called.
If you are using client side javascript validation through the framework you
can disable validation of a button by setting the parameter bCancel=true
like this;

html:submit property=methodToCall value=Cancel
onclick=bCancel=true;/

Regards
Steve

-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: 16 January 2004 06:34
To: 'Struts Users Mailing List'
Subject: Disable validator framework


Hi

We are using dispatch action and validator framework. There is a popup
action associated
with one button on the form. When the user clicks on this a particular
method in the action is called but I don't want to validate the ActionForm
because the main form is not submitted. There are other buttons that submit
the form and I need a selective validator framework.

   I know that it is possible if I were to write my own validate() method by
checking a particular value in the form.

   Can I disable the validator similarly ? If this is not possible then I
have to abandon the validator.

Appreciate ideas.
Mohan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


===
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
===


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]