Foren

Icefaces autoCompleteEntry position problem

Lukas Svoboda, geändert vor 11 Jahren.

Icefaces autoCompleteEntry position problem

New Member Beitrag: 1 Beitrittsdatum: 28.09.12 Neueste Beiträge
Hello I am beginner at Liferay CSS and basicaly at everything so I would like say sorry for stupid question's. I have set up JSF portlet with ICEfaces and if I use autoCompleteEntry ace component dialog is not positioned correctly. I don't know what I made wrong and I can't figure it out. Only think what I discovered is that autocompleteentry.js is setting the dialog's position to absolute. If I change it to fixed it is right where it should be. Theres faces-jquery function offset() that returns offset of input against html document but the dropdown is positioned against portlet. I am totally stuck. I decided to ask before I make some dirty hack emoticon. Other ace components that I have used so far was working well. Thanks for any advice.

<ace:autoCompleteEntry listVar="country"
listValue="#{addressSystemBean.countryList}" id="country"
filterBy="#{country}"
value="#{customerDetailModelBean.customer.address.country}">
<f:facet name="row">
<h:outputText value="#{country}" />
</f:facet>
</ace:autoCompleteEntry>
<h:message id="countryMsg" for="country" />
thumbnail
Neil Griffin, geändert vor 11 Jahren.

RE: Icefaces autoCompleteEntry position problem

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
This looks like a CSS bug when ICEfaces is used in a portlet environment. I would recommend that you create an issue in the ICEsoft issue tracker for ICEfaces.