You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/05/16 18:29:00 UTC

[jira] [Commented] (WW-5307) Confusing documentation about ognl

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

Lukasz Lenart commented on WW-5307:
-----------------------------------

What about just throwing this page out and redirecting to [https://github.com/orphan-oss/ognl/blob/master/docs/LanguageGuide.md] ?

The Apache Commons OGNL is not the one used by Struts

> Confusing documentation about ognl
> ----------------------------------
>
>                 Key: WW-5307
>                 URL: https://issues.apache.org/jira/browse/WW-5307
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: nikos dimitrakas
>            Priority: Major
>             Fix For: 6.2.0
>
>
> The documentation at [https://struts.apache.org/tag-developers/ognl] seems to confuse selection and projection. There is no example of projection and the examples of the three types of selection are called projection. 
> The documentation at [https://commons.apache.org/proper/commons-ognl/language-guide.html] is correct and shows projection correctly in one section with the example listeners.\{delegate} and shows selection with examples in a separate section immediately after the projection section. Selection and projection are also separately explained in the table in the appendix at the bottom of the same page.
> Perhaps the documentation of struts should have a link to the documentation of ognl instead of having its own examples. Or if there should be examples in the struts documentation, there should be examples for both projection and selection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)