Fw: Handling errors in customize mode

2004-10-15 Thread OlsonE
Has anyone done this?

Hello -

We are writing a portlet in Jetspeed 1.5 for which we are providing our 
own customizer (provides.customization=true.)  The customizer has a 
number 
of data entry fields, which the user could fill in incorrectly.  We would 

like to validate the entered data in an action method (doUpdate() for 
example,) and return them to the customize screen if there is an error. 
Is 
there a way to return the user to the customize view from your doX() 
methods?  I have tried a number of things... none of which seemed to 
work. 
 This is pretty much a show-stopper for us at the moment... any help 
would 
be greatly appreciated!

Thanks,

Eric Olson

RE: Handling errors in customize mode

2004-10-15 Thread Arthur D'Alessandro III
You can do this if you do not specify an action in your form

form

/form

This way, it posts back to itself (still under buildconfigurecontext), you
can handle the request. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 15, 2004 12:32 PM
To: Jetspeed Users List
Subject: Fw: Handling errors in customize mode

Has anyone done this?

Hello -

We are writing a portlet in Jetspeed 1.5 for which we are providing our 
own customizer (provides.customization=true.)  The customizer has a 
number 
of data entry fields, which the user could fill in incorrectly.  We would 

like to validate the entered data in an action method (doUpdate() for 
example,) and return them to the customize screen if there is an error. 
Is 
there a way to return the user to the customize view from your doX() 
methods?  I have tried a number of things... none of which seemed to 
work. 
 This is pretty much a show-stopper for us at the moment... any help 
would 
be greatly appreciated!

Thanks,

Eric Olson


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



Handling errors in customize mode

2004-10-12 Thread OlsonE
Hello -

We are writing a portlet in Jetspeed 1.5 for which we are providing our 
own customizer (provides.customization=true.)  The customizer has a number 
of data entry fields, which the user could fill in incorrectly.  We would 
like to validate the entered data in an action method (doUpdate() for 
example,) and return them to the customize screen if there is an error. Is 
there a way to return the user to the customize view from your doX() 
methods?  I have tried a number of things... none of which seemed to work. 
 This is pretty much a show-stopper for us at the moment... any help would 
be greatly appreciated!

Thanks,

Eric Olson