users@woodstock.java.net

bubble positioning issue

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Thu, 21 Feb 2008 05:59:21 -0800 (PST)

I am using Netbeans 6.0.1 with Woodstock 4.2 build 2

Try this simple JSP:
it is just 2 links and a bubble, where the bubble should appear when the
mouse is over the links.
The bubble appears, but positioning is wrong in the sense that its position
is always the same even if you mouse over the other link

any ideas?

<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document : Page1
    Created on : 21-feb-2008, 14.54.30
    Author : mauro
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8"
pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{Page1.page1}" id="page1">
            <webuijsf:html binding="#{Page1.html1}" id="html1">
                <webuijsf:head binding="#{Page1.head1}" id="head1">
                    <webuijsf:link binding="#{Page1.link1}" id="link1"
url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{Page1.body1}" id="body1"
style="-rave-layout: grid">
                    <webuijsf:form binding="#{Page1.form1}" id="form1">
                        <webuijsf:bubble autoClose="false"
binding="#{Page1.bubble1}" id="bubble1" style="" visible="false">
                            <webuijsf:panelLayout
binding="#{Page1.layoutPanel1}" id="layoutPanel1" style="width: 128px;
height: 128px;"/>
                        </webuijsf:bubble>
                        <webuijsf:hyperlink binding="#{Page1.hyperlink1}"
id="hyperlink1"
                           
onMouseOver="document.getElementById(&quot;form1:bubble1&quot;).open(event)"
style="position: absolute; left: 588px; top: 120px" text="Hyperlink"/>
                        <webuijsf:hyperlink binding="#{Page1.hyperlink2}"
id="hyperlink2"
                           
onMouseOver="document.getElementById(&quot;form1:bubble1&quot;).open(event)"
style="position: absolute; left: 588px; top: 228px" text="Hyperlink"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>

-- 
View this message in context: http://www.nabble.com/bubble-positioning-issue-tp15612011p15612011.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.