<webwork1 key="select-action" name="Select Project" class="java.lang.Object">
<action name="com.atlassian.cpji.action.SelectTargetProjectAction" alias="SelectTargetProjectAction">
just like this, how could the SelectTargetProjectAction get the content of the a textarea in selectproject.vm.
It seems that the value attribute is not work, using the "value" can only get part of the content.
eh? it doesnt, and you cant, but I think I know where you're going
1) it doesnt: The Action is passed in as a reference TO the velocity template when the Webwork? processor hands off for rendering. The Action does not 'get' the rendered velocity output at any time.
2) it cant: The rendering is piped to the web browser. The client then enters text into a text area at which point the Action is definitely out of the picture.
3) What I think you want to do is inject content into the velocity template FROM the action? this is done with something like:
<textarea id="expectedValue-content" cols="80" rows="30" name="expectedValue" value="$action.getContent()">$!action.getContent()</textarea>
Every team in the world is unique, and so Atlassian believes that each and every team's best way of working needs to be molded to their unique circumstances – ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot