[ 
https://issues.apache.org/struts/browse/WW-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41701
 ] 

sutter2k commented on WW-2079:
------------------------------

Doesn't not work depending if source actions are from freemarker or velocity.
I don't think this was ever closed properly.

---> works

                <action name="newsList" class="newsListAction">
                        <result name="success" >/vm/newsList.jsp</result>
                </action>

no worky ----> content returned to the top of page, not decorated

                <action name="newsListFree" class="newsListAction">
                        <result name="success" 
type="freemarker">/vm/newsList.ftl</result>
                </action>

no worky --> no content returned at all
                <action name="newsListVelo" class="newsListAction">
                        <result name="success" 
type="velocity">/vm/newsList.vm</result>
                </action>

assume the following view snippet is used.
                        <td valign="top" width="255px">
                        <page:applyDecorator name="panel" title="Static Inline 
stuff">
                                <s:action name="newsList" executeResult="true" 
/>
                        </page:applyDecorator>
                        
                        <page:applyDecorator name="panel" title="Static Inline 
stuff">
                         Velocity here  <s:action name="newsListVelo" 
executeResult="true" />
                        </page:applyDecorator>
                        
                        <page:applyDecorator name="panel" title="Static Inline 
stuff">
                                Free marker <s:action name="newsListFree" 
executeResult="true" />
                        </page:applyDecorator>
        </td>

> CLONE -Problem with SiteMesh tags and ww:action
> -----------------------------------------------
>
>                 Key: WW-2079
>                 URL: https://issues.apache.org/struts/browse/WW-2079
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>            Reporter: sutter2k
>            Assignee: Patrick Lightbody
>
> http://forums.opensymphony.com/thread.jspa?threadID=9236&tstart=0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to