[
https://issues.apache.org/jira/browse/MYFACES-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-4034.
-------------------------------------
Resolution: Fixed
Assignee: Leonardo Uribe
Fix Version/s: 2.2.10
It was a bit tricky to solve, but after checking the svn log, I have found the
script /_impl/_util/_OamSubmit.js was removed from the compilation step in
MYFACES-3621. The issue is only in 2.2 branch.
Since the line was on 2.1.x branch, I just restored the missing line.
> submitForm() not defined for myfaces.JSF_JS_MODE 'minimal-modern'
> -----------------------------------------------------------------
>
> Key: MYFACES-4034
> URL: https://issues.apache.org/jira/browse/MYFACES-4034
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.9
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 2.2.10
>
>
> Taken from stackoverflow:
> http://stackoverflow.com/questions/34270601/submitform-not-defined-for-myfaces-jsf-js-mode-minimal-modern
> I tried to set up a simple JSF 2.2 application using MyFaces 2.2.8. Since
> MyFaces has some context parameters that I never used before, I tried to get
> familiar with those.
> So I got to use org.apache.myfaces.JSF_JS_MODE for the first time and ran
> into problems with h:commandLink. The commandLink is trying to call
> myfaces.oam.submitForm() which is not defined if I set the mode to
> minimal-modern. If I set the mode to minimal or normal it works.
> It looks like a valid bug, worth to take a look.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)