[ 
https://issues.apache.org/jira/browse/TOBAGO-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16395353#comment-16395353
 ] 

Henning Noeth commented on TOBAGO-1875:
---------------------------------------

There is no way to get the rownumber as a variable.

But if the section is inside the sheet, you don't need the rownumber.

Example:
{code:xml}<tc:column label="...">
  <tc:section id="section" label="MySection" collapsedMode="hidden">
    <tc:button label="Hide Section">
      <tc:operation for="section" name="hide"/>
      <f:ajax execute="section" render="section"/>
    </tc:button>
  </tc:section>
</tc:column>{code}

> Collapsible Section AJAX-Style doesn't work in <tc:sheet>/<tc:column>
> ---------------------------------------------------------------------
>
>                 Key: TOBAGO-1875
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1875
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.1.0
>            Reporter: Guido Dubois
>            Priority: Major
>
> Exists a way for <tc:sheet> to get the row numbers like in <c:foreach 
> varStatus="..." > to define
> <tc:section id="ajaxSection_[rownumber]" label=""...><br>
>  <f:ajax execute="ajaxSection_[rownumber]" 
> render="ajaxSection_[rownumber]"/><br>
>  <tc:operation name="show" for="ajaxSection_[rownumber]"/>
>  ...
> Perhaps you have an example?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to