CLONE -oamSetHiddenInput function missing if ...

Details

Type: Bug

Status:Closed

Priority: Major

Resolution:
Duplicate

Affects Version/s:1.1.5-SNAPSHOT

Fix Version/s:
None

Component/s:
None

Labels:

None

Environment:

latest myfaces svn head

Description

a) ... there is only a commandButton on the form (not commandLinks)
... which is not necessarily a problem as normally such a form do not require these functions, BUT when you have enabled the auto_scroll feature things getting worse. Then something like
oamSetHiddenInput('_idJsp29','autoScroll',getScrolling())
will be rendered and then the oamSetHiddenInput function is missing.

b) ... you are using the adf form
in HtmlLinkRendererBase you'll see that renderFormSubmitScriptIfNecessary will not be called if the link is used within an adf form, then again the autoScroll feature is broken and a javascript error will be shown.