Autoscrolling stealing onclicks
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Autoscrolling stealing onclicks  XML
Forum Index -> General Help
Author Message
ksfiles

Joined: 02/09/2010 00:18:02
Messages: 2
Offline


I have a large panelSeries in the following layout:

<ice:form>
<ice:panelSeries>
<ice:panelSeries>
<ice:commandLink action="#mybean.go">
<ice:commandLink action="#mybean.go">
[...]
<ice:commandLink action="#mybean.go">
</ice:panelSeries>
</ice:panelSeries>
</ice:form>

I have lots of rows in the panelSeries, and when I click on a commandLink near the top of the panel, it follows the link just fine.

However, if I scroll down a page and click a commandLink, instead of following the link, IceFaces just scrolls the page back to the top of the form, and apparently stops event propagation.

I've tried replacing the commandLinks with outputLinks, and even anchors, but it always steals my mouseclicks. Is this some feature trying to reset the user scroll position? How can I disable it?
ksfiles

Joined: 02/09/2010 00:18:02
Messages: 2
Offline


OK, so the crux of the issue turns out to be the part I left out. I also have a set of radio buttons (using <ice:selectOneRadio>) at the top of the panelSeries. These seem to be causing the focus problems.

Removing the radio buttons made the commandLink issue go away.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team