You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zied Hamdi <ja...@gmail.com> on 2008/09/05 16:17:31 UTC
[tomahawk][tobago] t:schedule tooltip always displays at coordinates 0,0
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