[Opensource] Getting form fields

Ali Ghadiri ali_gholi_ir at yahoo.com
Fri Apr 18 12:49:47 PDT 2003


Hi all,

I have a problem in getting response object. I have a transition in one of my program states and it returns to itself. My state name is processCosumedFuel and here is the transition part of this state (takes place by transition button):

 Transition placeOrder = new Transition("processConsumedFuel", "Next", getClass().getName());

 placeOrder.addParam("state", "processConsumedFuel");

 placeOrder.addParam("nextRetrieve", nextRetrieve);

response.addTransition(placeOrder);

I have a form before this state and I don't have its fields when I come back to this state again (I get them by response.getFormCache). I want to have them when I come back to this state and I don’t want to add all of them (there are so many) to my request object. How can I do that in other ways? (It would be better if I don’t have to add another state.)

p.s. I examined both ‘setControllerResponse(response)’ of transition object and setObjectParameter("response",response) of request object but nothing happened.(I’m using expresso 4.)

Thanks for your help.


Amir Ali Ghadiri
B->


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030418/bf71f01d/attachment-0002.htm


More information about the Opensource mailing list