Issue Details (XML | Word | Printable)

Key: MYFACES-1504
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Leonardo Uribe
Reporter: Mario Ivankovits
Votes: 9
Watchers: 8
Operations

If you were logged in you would be able to see more operations.
MyFaces Core

oamSetHiddenInput function missing if ...

Created: 29/Nov/06 12:17 PM   Updated: 12/Aug/08 09:03 PM
Component/s: None
Affects Version/s: 1.1.5-SNAPSHOT
Fix Version/s: 1.1.6

Time Tracking:
Not Specified

Environment: latest myfaces svn head
Issue Links:
Cloners
 

Resolution Date: 03/Mar/08 01:46 PM


 Description  « Hide
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.

Would be great if someone else has some time to fix it.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pawel Czerwinski added a comment - 20/Sep/07 08:08 PM
Can sombody tell what kind of patch is supposedly available? In 1.1.5 the error still remains.

Sandra Martín added a comment - 19/Nov/07 06:56 PM - edited
where is the patch file?? Because in 1.1.5 this error already ocurrs really. Thanks.

Leonardo Uribe added a comment - 03/Mar/08 01:33 PM
Trinidad override HtmlCommandButton and HtmlCommandLink, so the solution for this on trinidad should be a separate issue

Leonardo Uribe added a comment - 03/Mar/08 01:46 PM
fixed at revision 633078