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/12 07:29:39 UTC

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

    [ https://issues.apache.org/struts/browse/WW-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43186#action_43186 ] 

Wes Wannemacher commented on WW-2441:
-------------------------------------

Unless anyone objects, I am going to remove the section on Static Fields.

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