[ 
https://issues.apache.org/jira/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828701#action_12828701
 ] 

John Krueger commented on WW-2754:
----------------------------------

I also noticed that the class, InjectedObjectContainer, is not checked in.  
This is referenced in the struts-plugin.xml and is needed for the GxpResult to 
have access to the value stack.

In case it helps here is the xml from the version of the struts-plugin.xml that 
I am using.  It has been modified to reflect the new package names.  I assume 
this goes in ../src/main/resources like it is in other plugins.  I use ant 
instead of maven so I don't know if anything in the pom needs to change.


<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
        "http://struts.apache.org/dtds/struts-2.0.dtd";>

<struts>
    <bean type="org.apache.struts2.views.gxp.inject.InjectedObjectContainer" 
class="org.apache.struts2.views.gxp.inject.InjectedObjectContainer" 
static="true" /> 
    <package name="gxp-default" extends="struts-default">
        <result-types>
            <result-type name="gxp" 
class="org.apache.struts2.views.gxp.GxpResult"/>
        </result-types>
    </package>
</struts>



Thanks,
John

> Source code for GXP result 
> ---------------------------
>
>                 Key: WW-2754
>                 URL: https://issues.apache.org/jira/browse/WW-2754
>             Project: Struts 2
>          Issue Type: Temp
>          Components: "New" API
>            Reporter: musachy
>            Assignee: Lukasz Lenart
>             Fix For: 2.2.0
>
>         Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, 
> struts-gxp-plugin.zip, struts-gxp-plugin.zip, struts-gxp-plugin.zip, 
> struts-gxp-plugin.zip, struts2-gxp-demo.zip
>
>
> Thanks to the google and the GXP guys for sending us the code

-- 
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