[
https://issues.apache.org/jira/browse/MYFACES-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844671#comment-17844671
]
Werner Punz commented on MYFACES-4378:
--------------------------------------
yes the resource part is definitely wrong here... not sure why this is done
both ways.. eval suffices to get the script executed, resource is for appending
new resources (aka script links, css links etc...) not adding putting scripts
as CDATA blocks...
Eval is clearly stated being for script blocks which needs separate evaluation!
I nevertheless will check our resource section what it does just in case to
make sure that we do not get double includes in...
> onloadScript not rendering with non ajax command button if jstl type tag c:if
> is present on the page
> ----------------------------------------------------------------------------------------------------
>
> Key: MYFACES-4378
> URL: https://issues.apache.org/jira/browse/MYFACES-4378
> Project: MyFaces Core
> Issue Type: Task
> Affects Versions: 2.3.10, 2.3-next-M8, 4.0.2, 4.1.0-RC1
> Reporter: Thomas Andraschko
> Assignee: Thomas Andraschko
> Priority: Minor
> Attachments: pf-11780.zip, test.7z
>
>
> See https://github.com/omnifaces/omnifaces/issues/366
--
This message was sent by Atlassian Jira
(v8.20.10#820010)