You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "michele trarantino (JIRA)" <de...@myfaces.apache.org> on 2007/07/20 14:48:06 UTC
[jira] Created: (TOMAHAWK-1062) InputTextArea doesn't work properly
inside facet DetailStamp
InputTextArea doesn't work properly inside facet DetailStamp
------------------------------------------------------------
Key: TOMAHAWK-1062
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1062
Project: MyFaces Tomahawk
Issue Type: Bug
Affects Versions: 1.1.6
Environment: OS: windows xp prof.
BROWSER: firefox , ie7
AS: JBOSS 4.0.4 GA EJB3.0 RC8
Reporter: michele trarantino
I use a inputTextarea inside a datailStamp in each row of a dataTable.
When I edit the value of a inputTextarea and I show the detailStamp of another row I get the same value of the edited one.
This happends for every rows.
Follow the sample code of my dataTable:
<t:dataTable styleClass="dataTable" style="margin: 10px;"
value="#{TaskManagerBean.tasks}" var="task"
id="data"
rows="20"
rowClasses="odd, even"
preserveDataModel="false"
preserveSort="true"
varDetailToggler="detailToggler"
renderedIfEmpty="false">
........
<h:column>
<f:facet name="header">
<h:outputText value="DETAILS" />
</f:facet>
<h:commandLink rendered="#{detailToggler.currentDetailExpanded}" action="#{detailToggler.toggleDetail}">
<h:outputText value="Hide" />
</h:commandLink>
<h:commandLink rendered="#{!detailToggler.currentDetailExpanded}" action="#{detailToggler.toggleDetail}">
<h:outputText value="Show" />
</h:commandLink>
</h:column>
<f:facet name="detailStamp">
<t:panelGroup layout="block">
.........
<t:panelGroup>
<t:outputText style="text-align:left;" value="info Wet"/>
<t:htmlTag value="br"></t:htmlTag>
<t:inputTextarea id="textarea" style="width:400px;height:200px;" value="#{task.infoWet}"/>
<t:htmlTag value="br"></t:htmlTag>
<t:commandButton value="Save" action="#{TaskManagerBean.saveInfoWet}">
<t:updateActionListener property="#{TaskManagerBean.selectedTask}" value="#{task}" />
</t:commandButton>
</t:panelGroup>
..........
</t:panelGroup>
</f:facet>
..........
</t:dataTable>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.