Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Lukas Svoboda
Icefaces autoCompleteEntry position problem
September 28, 2012 3:20 PM
Answer

Lukas Svoboda

Rank: New Member

Posts: 1

Join Date: September 28, 2012

Recent Posts

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" />
Neil Griffin
RE: Icefaces autoCompleteEntry position problem
November 1, 2012 7:43 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2250

Join Date: July 26, 2005

Recent Posts

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.