[ 
https://issues.apache.org/jira/browse/OFBIZ-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983046#action_12983046
 ] 

Jacques Le Roux commented on OFBIZ-1319:
----------------------------------------

Adrian, I guess you already read my comments about that in the related tasks I 
just closed. But for those interesed and record fo the future here is a summary:

There are 444 calls of <a href="javascript: in FTL files. Not all are mandatory 
(for instance you don't need a lookup to fill a field, same for calendar). But 
I doubt that in certain cases you can seriously do it without lookups for 
instance. For security reasons there are 248 actions which needs javascript: in 
FTL files (ie javascript is mandatory for those actions to work). Just look for 
<a href="javascript:document. in *.ftl...

There are 1353 occurences of the word javascript at all in FTL files, 343 in 
XML files but I think it's rarely mandatory there.

So I really think it's now wishful thinking to hope using OFBIz w/out js 
enabled, 248 impossible and needed actions can't be forgotten. See OFBIZ-2330 
to know more...


> Split javascript files to have more generic ones includ-able in all screens, 
> and the more specific ones included more locally
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1319
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> From a David's E. Jones comment on ML :
> Weshould split up javascript files to have the more generic ones includ-able 
> in all screens, and the more specific ones (like the toggle* and selectAll* 
> methods in there) into a file that can be included more locally. 

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