myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zied Hamdi" <javaha...@gmail.com>
Subject [tomahawk][tobago] t:schedule tooltip always displays at coordinates 0,0
Date Fri, 05 Sep 2008 14:17:31 GMT
Hi,

I included a  t:schedule inside tobago layouting panels. Everything works
fine but the tooltip which displays at the top left corner (see image).

Is there an intention to make both projects compatible so that I post it as
bug?

This is a minor bug, but any help will be appreciated.

Here's my code:
<!--
  schedule : ScheduleManager
  controller : controller.selectEntryCmd
-->
<tc:panel
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:t="http://myfaces.apache.org/tomahawk"
    xmlns:tc="http://myfaces.apache.org/tobago/component"
    xmlns:tx="http://myfaces.apache.org/tobago/extension"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    id="schedulePanel">

    <f:facet name="layout">
        <tc:gridLayout rows="fixed;*" />
    </f:facet>

    <tc:panel>
        <f:facet name="layout">
            <tc:gridLayout
                marginRight="0px"
                marginLeft="10px"
                columns="7*;9*" />
        </f:facet>

        <tc:panel>
            <f:facet name="layout">
                <tc:gridLayout
                    columns="18px;18px;140px;fixed"
                    marginRight="15px" />
            </f:facet>

            <tc:link
                image="icons/e_back.gif"
                action="#{schedule.back}">
                <tc:attribute
                    name="renderedPartially"
                    value="schedulePanel" />
            </tc:link>
            <tc:link
                image="icons/e_forward.gif"
                action="#{schedule.next}">
                <tc:attribute
                    name="renderedPartially"
                    value="schedulePanel" />
            </tc:link>
            <tc:label value="#{schedule.currentState}" />
            <tc:link
                image="icons/elcl16/select_next.gif"
                action="#{schedule.today}"
                tip="#{i18n.today}">
                <tc:attribute
                    name="renderedPartially"
                    value="schedulePanel" />
            </tc:link>
        </tc:panel>

        <tc:selectOneRadio
            value="#{schedule.mode}"
            inline="true"
            id="selectMode">
            <tc:selectItems value="#{schedule.modes}" />
            <f:facet name="click">
                <tc:command>
                    <tc:attribute
                        name="renderedPartially"
                        value="schedulePanel" />
                </tc:command>
            </f:facet>
        </tc:selectOneRadio>
    </tc:panel>

    <t:schedule
        id="schedule"
        value="#{schedule.model}"
        action="#{controller.selectEntryCmd}"
        rendered="true"
        tooltip="true"
        entryRenderer="#{schedule.renderer}"
        headerDateFormat="EEE dd"
        hourNotation="24"
        splitWeekend="false"/>

</tc:panel>

-- 
Zied Hamdi
www.into-i.fr
(previously in 2003)
zatreex.sf.net

Mime
View raw message