Hi Leo I am not entirely sure but as far as I can remember the input calendar basically does some offset calculation to determine the position, as far as I recall this is due to the fact that it needs an outer form to submit its values. Now given all the browser quirks in the past this offset calculation might fail in complex css scenarios on some browsers.

Unless things have changed this might be the issue here.

Werner



Am 17.03.11 19:40, schrieb Leonardo Uribe:
Hi

That is something new. I have never seen that before. Maybe some css
configuration affects the div or the calendar, so maybe you need to
create a custom theme for the calendar so you can override the default
values where the popup appear.

The properties to do that are styleLocation, javascriptLocation and
imageLocation (in tomahawk for jsf 2.0 there is also styleLibrary,
javascriptLibrary and imageLibrary).

regards,

Leonardo

2011/3/17 emerson<echofloripa.y...@gmail.com>:
We changed the template of the page, and afterwards the calendar popup
started to appear away from the button.

The component configuration is:

<t:inputCalendar value="#{ConsultaDiarioForm.dataInicio}"
renderPopupButtonAsImage="true" renderAsPopup="true"
popupWeekString="Semana" size="10"    popupTodayString="Hoje é"
id="dataInicio" popupDateFormat="dd/MM/yyyy" alt="Digite a data
inicial para pesquisar" title="Digite a data inicial para pesquisar">
</t:inputCalendar>

The imagens of the before/After

Before:
https://picasaweb.google.com/lh/photo/H9ML-JtAIzj-5mXeunEM7SyftixIMAaR_uGG46TnU-0?feat=directlink

After:
https://picasaweb.google.com/lh/photo/-S1izZxddwHVR0EVg362TiyftixIMAaR_uGG46TnU-0?feat=directlink

I would like to highlight that when using firebug, it shows in the div
tag that wraps the calendar a fixed posiition by top and left style
attributes. We dont know however where this is set.

Any ideas?




Reply via email to