Thank you Danny. We really appreciate the effort.

Govind

-----Original Message-----
From: Danny Robinson (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 3:11 PM
To: Rangasamy, Govindarajan
Subject: [jira] Updated: (ADFFACES-186) autoSubmit functionality in tr:table is 
missing after removing tableSelectMany and tableSelectOne


     [ 
https://issues.apache.org/jira/browse/ADFFACES-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Robinson updated ADFFACES-186:
------------------------------------

    Attachment: TableAutoSubmit.patch

This tiny patch should enable autoSubmit within single and multi select tables. 
 It simply adds the attribute back into the table component, and removes the 
overridden isAutoSubmit() method from the renderer.  Using the 
table_selection.jspx as a test harness the following changes enable this 
behavior:

Create a new event method in your backing bean (I just duplicated the one in 
TableBean.java and changed the parameter type) e.g.

public void performReport(SelectionEvent action) {...}

Add the following to the main table:

id="theTable"
selectionListener="#{tableActions.performReport}"
autoSubmit="true" 
 
Add the following to another area of the page that displays the selected row(s)

partialTriggers="theTable" 

> autoSubmit functionality in tr:table is missing after removing 
> tableSelectMany and tableSelectOne
> -------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-186
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-186
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>         Environment: trinidad m1
>            Reporter: Govind Rangasamy
>         Attachments: TableAutoSubmit.patch
>
>
> <tr:table>
> <f:facet name="selection">
>              <af:tableSelectOne autosubmit="true">
>            </af:tableSelectOne>
>         </f:facet>
>  </tr:table>
> Now in the current form, we only have
> <tr:table rowSelection="single">
> </tr:table>

-- 
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