[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645500#action_12645500
 ] 

kart edited comment on TOMAHAWK-1369 at 11/18/08 11:54 AM:
----------------------------------------------------------------

Is there any other work around other than enclosing the data table in <h:form> 
? 

      was (Author: kart):
    Is there any other work around other than enclosing the data table in 
<h:form> ? The reason  I ask this is that I have this scenario :

I have two jsps: A.jsp, B.jsp  

B.jsp is inside A.jsp what I mean by that is B.jsp is a Tab and displays a list 
of items. Since A.jsp has a <h:form> enclosing its components ( where B.jsp is 
a tab) , how can I have another <h:form> in B.jsp ? Is there a way to reference 
the <h:form> of A.jsp in B.jsp .?
  
> Tomahwak 1.1.7's   t:dataTable gives me a form.elements[name]=='undefined' 
> when accessing t:commandSortHeader
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1369
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1369
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>         Environment: Tomcat 6.0
> JSF 1.1
> Tomahawk 1.1.7
> Internet Explorer 
> Windows
>            Reporter: kartvaths
>
> I have an issue when i click a header of a column .
> Code snippet :
> <t:dataTable id="List"
> var="item"
> value="#{controllerBean}"
> styleClass="dataTable" 
> sortColumn="#{controllerBean.sortColumn}" 
> sortAscending="#{controllerBean.ascending}">
> <t:column >
> <f:facet name="header">
> <t:commandSortHeader columnName="fromDt" arrow="true">
> <h:outputText value="From Date" /> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{item.fromDt}"/>
> </t:column>
> when I click the From Date  header in my jsp i get the following runtime 
> error, which when i say i want to debug on IE it breaks at this point
> form.elements[name]=='undefined' in the  function oamSetHiddenInput(formname, 
> name, value)
> I think it is a bug, could you guys please help out?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to