webscript java backed and presentation

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2013 09:37 AM
Hi everybody,
I have a javabacked webscript that executes some issues and return values, as well i have a presentation webscript that contains a form and i need to put those values into it.
How can i pass values from webscript to another ?
Thank you for your time.
I have a javabacked webscript that executes some issues and return values, as well i have a presentation webscript that contains a form and i need to put those values into it.
How can i pass values from webscript to another ?
Thank you for your time.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2013 10:07 AM
Hi,
your Java-backed webscript controller should have as view (of the Model-Viev-Control pattern) a ftl file that contains the form to be submitted to another webscript that would manipulate data.
So I think you don't need to pass (in the strict meaning of the term) values from one webscript to another, but you should follow a fair MVC pattern flow.
Regards,
Andrea
your Java-backed webscript controller should have as view (of the Model-Viev-Control pattern) a ftl file that contains the form to be submitted to another webscript that would manipulate data.
So I think you don't need to pass (in the strict meaning of the term) values from one webscript to another, but you should follow a fair MVC pattern flow.
Regards,
Andrea

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2013 11:20 AM
Thanks for responding ANDREA.
Is there a tutorial that exlpain how this works, i mean( the form to be submitted to another webscript)?
Can you please give an example?
Is there a tutorial that exlpain how this works, i mean( the form to be submitted to another webscript)?
Can you please give an example?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2013 11:26 AM
Hi,
you can find more info here:
http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples
http://wiki.alfresco.com/wiki/Web_Scripts_Examples
and also a cool tutorial by jpotts http://ecmarchitect.com/images/articles/alfresco-webscripts/web-script-article.pdf
Regards,
Andrea
you can find more info here:
http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples
http://wiki.alfresco.com/wiki/Web_Scripts_Examples
and also a cool tutorial by jpotts http://ecmarchitect.com/images/articles/alfresco-webscripts/web-script-article.pdf
Regards,
Andrea
