This content has been marked as final.
Show 3 replies
-
1. Re: rich:simpleTogglePanel question
ilya_shaikovsky May 16, 2007 6:16 AM (in response to icai)I write a very simple example putting ajax switched simpletogglepanel inside one of the columns and its works fine for me.
Specify your case more clearly and may be share sources please. -
2. Re: rich:simpleTogglePanel question
icai May 16, 2007 3:21 PM (in response to icai)I am trying to put entire rich:datatable inside rich:simpleTogglePanel.
<rich:simpleTogglePanel switchType="ajax" label="Opportunities" > <rich:dataTable cellpadding="0" cellspacing="0" width="100%" border="0" id="transtable" binding = "#{backing_CustSearchBean.transtable}" onRowMouseOver="saveref(this);onOver('#{backing_CustSearchBean.transtable.rowIndex+1}');" rendered="#{backing_CustSearchBean.strrendered == 'true'}" onRowMouseOut="onOut('#{backing_CustSearchBean.transtable.rowIndex+1}');" headerClass="bluebar" var="oppList" value="#{processScope.oppAllData}" style="margin-top: 5px; cursor: pointer;overflow: auto;" styleClass = "dt_normal" rowClasses="searchcusttoprow,searchcustrows" ajaxKeys="#{backing_CustSearchBean.ajaxSet}" onRowClick="showOppSelected('#{oppList.opp_id}','#{backing_CustSearchBean.transtable.rowIndex+1}');showAllWheel('rtform:form2:transwheel');" columnClasses="searchcustcols,searchcustmidcols,searchcustcols,searchcustmidcols,searchcustcols,searchcustmidcols" > <h:inputHidden value="#{backing_CustSearchBean.transtable.rowIndex+1}"/> <rich:column> <h:outputText value="#{oppList.web_order_number}" style="margin-left: 5px;"/> </rich:column> <rich:column> <h:outputText value="#{oppList.opp_status_descr}" style="margin-left: 5px;"/> </rich:column> <rich:column> <h:outputText value="#{oppList.opp_name}" style="margin-left: 5px;"/> </rich:column> <rich:column> <h:outputText value="#{oppList.opp_id}" style="margin-left: 5px;"/> </rich:column> <rich:column> <h:outputText value="#{oppList.order_total}" style="margin-left: 5px;"/> </rich:column> <rich:column> <h:outputText value="#{oppList.created_agent}" style="margin-left: 5px;"/> </rich:column> <rich:column> <h:outputText value="#{oppList.created_date}" style="margin-left: 5px;"/> </rich:column> </rich:dataTable> </rich:simpleTogglePanel>
but it doesnt work.
Am I doing something wrong? -
3. Re: rich:simpleTogglePanel question
ilya_shaikovsky May 17, 2007 6:22 AM (in response to icai)Still can't reproduce. I'm using latest snapshot. panel toggles fine for me.