Details
-
Type:
Bug
-
Status:
Open
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Similar Issues:
Description
In Liferay 6 EE we are developing a small portlet that should do some Icefaces2 (version 2.0.2) + liferay-faces-portal magic in order to create a (dynamically expandable) form that edits some table data. One attribute of the model is rich text, so we decided to use liferay-ui:input-editor for that. The xhtml code looks something like this
<!-- let's race -->
<ice:panelSeries var="carList" value="#
">
<ice:form id="carForm">
<input type="hidden" value="#
" />
<ice:panelGrid columns="2" width="100%">
<ice:outputText value="#
" />
<ice:inputText id="car-name" required="true" value="#
" />
<ice:outputText value="#
" />
<liferay-ui:input-editor id="carpurpose" value="#
" />
<h:message for="description" />
...
The libs in the project are
alloyfaces-1.0.1.0.jar
ice-atl-portlet-service.jar
icefaces2Test-portlet-service.jar
icefaces-compat.jar
icefaces.jar
jboss-el-2.0.0.GA.jar
jsf-api.jar
jsf-impl.jar
liferayfaces-6.0.0.0.jar
portletfaces-bridge-2.0.0.jar
Now the problem is when this portlet is deployed, the form will get the right values from the backing bean (which in turn gets it from the model), but there is an error in the resulting html that will render liferay-ui:input-editor with an empty value. The textarea field generated has an incomplete id, something like A5505:j_idt5:... instead of the correct A5505:j_idt5:0:...
Funny thing is that once the form is posted, correct html will be generated
I don't think there's anything wrong on the code side, is this a known bug?
