I'm using Quipukit 1.4.1 and myfaces 1.1. I have a treetable with a commandButton at the bottom of a form. For some reason the action is not being called.
Here's my form:
<f:view>
<h:form id="treeForm">
<h:messages />
<q:treeTable id="tradeTreeTable" var="detail" expansionState="#{TableModel.forumTreeTableExpansionState}" preloadedNodes="all">
<q:dynamicTreeStructure nodeChildren="#{TableModel.nodeChildren}" nodeHasChildren="#{TableModel.nodeHasChildren}"
nodeKey="#{detail.id}"/>
<q:treeColumn id="PlanID" >
<f:facet name="header">
<h:outputText value="Plan ID"/>
</f:facet>
<h:outputText value="#{detail.planId}"/>
</q:treeColumn>
<q:column id="category" style="width: 120px;">
<f:facet name="header">
<h:outputText value="Category"/>
</f:facet>
<h:outputText value="#{detail.categoryId}"/>
</q:column>
<q:column id="amount" style="width: 120px;">
<f:facet name="header">
<h:outputText value="Amount"/>
</f:facet>
<h:outputText value="#{detail.amount}">
<f:convertNumber/>
</h:outputText>
</q:column>
</q:treeTable>
<h:commandButton id="save" action="#{TableModel.saveData}" value="Save"/>
</h:form>
</f:view>
I'll attach the full jsp and my web.xml. Thanks!
-Mike S
Hello Mike,
Unfortunately, we were unable to reproduce the problem you described. Have you tried to remove the TreeTable from the page? Does the problem still persist? Can you please provide us with a test application, so we can reproduce the problem?
Regards,
Tatyana
Hi Tatyana,
I can't reproduce this problem, either, so I think it must have been s omething with my environment. Sorry!