struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Dynamic Results
Date Fri, 15 Feb 2008 02:12:35 GMT
        <action name="chart" class="actions.ChartAction">
            <result type="chart">
                <param name="height">${height}</param>
                <param name="width">${width}</param>

I double checked my configuration and I have

itJustHappens="true"  :)

It seems very odd that OGNL tried issuing chart.setHeight("${height}")

Caused by: java.lang.NoSuchMethodException: setHeight(java.lang.String)
2008-02-14 17:44:53,229Caught OgnlException while setting property 'height'
on type 'org.apache.struts2.dispatcher.ChartResult'.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message