[ 
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 ' @[EMAIL 
> PROTECTED]()' 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.

Reply via email to