[
https://issues.apache.org/jira/browse/TOBAGO-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555283#action_12555283
]
Helmut Swaczinna commented on TOBAGO-553:
-----------------------------------------
The tc:columnEvent stil does not work (with 1.0.14 snapshot). This is my jsp
code:
<tc:sheet id="testTable"
columns="80px;80px"
showHeader="true"
showRowRange="none"
showPageRange="none"
showDirectLinks="none"
first="0"
selectable="none"
state="#{controller.sheetState}"
var="row"
value="#{controller.list1}">
<tc:columnEvent event="click" >
<tc:command
onclick="alert('Hallo')"
action="#{controller.anotherAction}">
</tc:command>
</tc:columnEvent>
<tc:column label="Column 1">
<tc:out id="column1"
value="#{row.column1}"/>
</tc:column>
<tc:column label="Column 2">
<tc:out id="column2"
value="#{row.column2}"/>
</tc:column>
</tc:sheet>
The action is not called and there's no javascript alert in the generated HTML.
Is there a working example in the demo?
> Support for click and dblClick action in the sheet
> --------------------------------------------------
>
> Key: TOBAGO-553
> URL: https://issues.apache.org/jira/browse/TOBAGO-553
> Project: MyFaces Tobago
> Issue Type: Improvement
> Components: Core, Themes
> Reporter: Bernd Bohmann
> Assignee: Bernd Bohmann
> Fix For: 1.0.13
>
>
> similar to tc:columnSelector you can define a columnEvent tag for direct
> selection
> <tc:sheet >
> <tc:columnEvent event="click" >
> <tc:command action="#{controller.editAddress}" />
> </tc:columnEvent>
> <tc:sheet >
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.