[ 
http://issues.apache.org/jira/browse/TOMAHAWK-713?page=comments#action_12441271 
] 
            
Jeff Bischoff commented on TOMAHAWK-713:
----------------------------------------

If the rendering of the form input is supposed to be at the end of the form, 
why is it showing up early? Even in the latest build it shows up in the wrong 
place.

http://example.irian.at/example-simple-20061010/autoscroll.jsf

View the generated source on that. You get the oam submit javascripts just 
before the first commandLInk, and the autoscroll just after:

<tr><td><script type="text/javascript"><!--

        function oamSetHiddenInput(formname, name, value)
        {
        ...
        }
        
        function oamSubmitForm(formName, linkId, target, params)
        {
        ...
        }
        
//--></script><a href="#" onclick="return 
oamSubmitForm('_idJsp0','_idJsp0:_idJsp5:0:_idJsp7');" 
id="_idJsp0:_idJsp5:0:_idJsp7">0. Click me!</a>
<input type="hidden" name="autoScroll" />
</td></tr>

> Auto Scroll silently fails on Core 1.1.4 and Tomahawk nightly
> -------------------------------------------------------------
>
>                 Key: TOMAHAWK-713
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-713
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: MyFaces Core 1.1.4 and Tomahawk nightlies (dated 
> 2006-09-26 or 2006-09-27)
> Tested in Firefox and Internet Explorer browsers
>            Reporter: Jeff Bischoff
>         Attachments: simple.war, simple2.war
>
>
> When using MyFaces Core 1.1.4 and the latest Tomahawk nightlies (dated 
> 2006-09-26 or 2006-09-27), the Auto Scroll functionality fails. There is no 
> error message in the application logs nor in javascript console. This is 
> presumably related to the javascript changes made to ensure compatibility 
> with the RI. This is a major bug, since latest Tomahawk should be compatible 
> with the Core 1.1.4 release.
> This breakage can be observed simply by taking the latest tomahawk-examples 
> nightly download, and substituting in the Core 1.1.4 jars. I will attach such 
> an example.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to