|
Re: Automation RIO: prefilling creation dialog [message #1017072 is a reply to message #1016955] |
Fri, 08 March 2013 20:36 |
Michael Fiedler Messages: 15 Registered: September 2012 |
Junior Member |
|
|
Hi Martin - the Automation sample might not be following the specs perfectly. The way it works right now is
- client does a GET on /creator (AutomationRequest.autoRequestCreator() ) which creates a list of plans and passes it to the client in /web/autorequest_creator.jsp for user plan selection
- when the user selects a plan autorequest_creator.jsp does another GET on AutomationRequest.autoRequestCreator(), this time providing the planId as a request param - this drives pre-fill of the request parameters
- once the user provides the parameters autorequest_creator.jsp and clicks Submit, index.jsp's create() method is called to POST the creation data to AutomationRequest.createHtmlAutoRequest()
I'll open a Bugzilla to have the pre-fill behavior follow the core spec better. Hope this helps - let me know if additional clarification is needed.
Regards,
Mike
|
|
|
Powered by
FUDForum. Page generated in 0.03768 seconds