You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wes Wannemacher (JIRA)" <ji...@apache.org> on 2008/02/16 16:38:39 UTC

[jira] Resolved: (WW-2441) interactive demo gives bad instructions

     [ https://issues.apache.org/struts/browse/WW-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher resolved WW-2441.
---------------------------------

    Resolution: Fixed
      Assignee: Wes Wannemacher

took out the offending page and moved the others to preserve the sequence. Also updated the count in index.jsp.

> interactive demo gives bad instructions
> ---------------------------------------
>
>                 Key: WW-2441
>                 URL: https://issues.apache.org/struts/browse/WW-2441
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.1.x
>         Environment: any
>            Reporter: Wes Wannemacher
>            Assignee: Wes Wannemacher
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> While running the interactive demo in the struts2-showcase, the section entitled - "Static fields" instructs the user to enter ' @org.apache.struts2.showcase.action.ExampleAction@getCurrentDate()' into the OGNL console. This returns 'null' though because static methods are not allowed. The fix would either be to allow static methods using the configuration 'struts.ognl.allowStaticMethodAccess' constant, or to take this section out if we are discouraging calling static methods.

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