Hi,

yes, that's what I need too. A click facet with an associated tc:command will 
do. For example:

<tc:sheet id="mySheet"...>
  <f:facet name="click">
      <tc:command ...>
          <tc:attribute name="renderedPartially" value=":myPage:myPanel"/>
      </tc:command>
  </f:facet>
  ...
</tc:sheet>

So I can excute an actionListener, an action or some javascript code (when the 
onclick attribute of tc:command works)
when the the user clicks on a row and reload some region of my page.

The sheetSelectionListener is an other issue. For the sheetSelectionListener a 
change facet with an associated 
tc:command will do. The command is executed when the user changes the selection.

I think the first thing is what most people want. Right?

Regards
Helmut


  ----- Original Message ----- 
  From: Turner, John 
  To: MyFaces Discussion 
  Sent: Wednesday, June 27, 2007 9:57 AM
  Subject: RE: MyFaces Tobago tc:sheet


  Hi Zied,

   

  I would be happy if the row click just triggered a JSF action.  This would 
certainly address my immediate requirement which is the continuation of a 
spring web flow on click of a row.

   

  I'm not sure that I agree that a javascript method callout is also required 
(as you described) as I'm not convinced you would add the 
sheetSelectionListener to a none/multi selection sheet.  You would most 
probably have an event triggered outside the sheet.  In saying this, I'm new 
enough to using Tobago so would not have seen many variations in use of this 
control.

   

  Anyway, I have voted for the JIRA issue below so that hopefully, at least the 
basic selection functionality will be added.  As is noted on the issue, I would 
have thought this essential.

   

  Regards

              John

   


------------------------------------------------------------------------------

  From: Zied Hamdi [mailto:[EMAIL PROTECTED] 
  Sent: 27 June 2007 08:06
  To: MyFaces Discussion
  Subject: Re: MyFaces Tobago tc:sheet

   

  Hello Bernd,

   

  Maybe this needs a little conversation with Helmut and John: 

  We maybe need to have a javascript method (to implement our selves) called on 
the client side (to be notified immediately before the listeners makes a 
request to the server : maybe that returns true if the request has to be made) 
to avoid undesired effects when the user wants to select many row sections. 

  right?

   

  Regards,

  Zied

   

   

  2007/6/26, Bernd Bohmann <[EMAIL PROTECTED]>:

    Hello,

    can you add a comment to the issue
    https://issues.apache.org/jira/browse/TOBAGO-84

    what you expect from a sheetSelectionListener

    Regards

    Bernd

    Helmut Swaczinna wrote:
    > Hi,
    >
    > I had the same problem and found no solution. There's a jira issue for a 
sheetSelectionListener for month. 
    > Don't know when it will be implemented. I helped myself by patching the 
Tobago javascript code for the sheet (dirty).
    >
    > Regards
    > Helmut
    >
    >
    >   ----- Original Message ----- 
    >   From: Turner, John
    >   To: MyFaces Discussion
    >   Sent: Tuesday, June 26, 2007 6:06 PM
    >   Subject: RE: MyFaces Tobago tc:sheet
    >
    >
    >
    >
    >   You kind of lose something whatever way you do it.  You could use a 
single column but then you lose the columns, but your suggestion means if the 
user clicks on another column on the row then nothing happens.  Perhaps there 
is a facet I could use? 
    >
    >
    >
    >
    > 
------------------------------------------------------------------------------
    >
    >   From: Zied Hamdi [mailto:[EMAIL PROTECTED] ]
    >   Sent: 26 June 2007 16:47
    >   To: MyFaces Discussion
    >   Subject: Re: MyFaces Tobago tc:sheet
    >
    >
    >
    >   Hi John,
    >
    >
    >
    >   I use <tc:link> but it's only a cell of a row, the row is selected on 
click. 
    >
    >
    >
    >   Regards,
    >
    >
    >   2007/6/26, Turner, John <[EMAIL PROTECTED]>:
    >
    >
    >
    >   I have a tc:sheet that displays a read only list of results.  I would 
like to perform a submit when the user clicks on a row within the table.  Does 
anyone have an example of this? 
    >
    > --This is a confidential communication and is intended only for the 
addressee indicated in the message (or duly authorised to be responsible for 
the delivery of the message to such person). You are specifically prohibited 
from copying this message or delivering the same, or any part thereof, to any 
other person, whomsoever or howsoever, unless you receive written authorisation 
from us to do.  If you are anyone other than the intended addressee, or person 
duly authorised and responsible for the delivery of this message to the 
intended addressee, you should destroy this message and notify us immediately.  
Please note that we accept no responsibility whatsoever in the event that this 
message or any other email message or any part thereof becomes known or is 
communicated to anyone other than the intended recipient or other person 
authorised in writing by us to receive it, howsoever arising and disclaim all 
liability for any losses or damage which may be sustained by any person 
    as a result thereof. Irish Life Assurance plc is regulated by the Financial 
Regulator. "Irish Life" is a member of the Irish Life and Permanent plc group. 
Irish Life Assurance plc is a company registered in Ireland. Registered office 
is situated at Irish Life Centre, Lower Abbey Street, Dublin 1. Registered 
Number 152576.  
============================================================================== 
    >
    >
    >   --
    >   Zied Hamdi
    >   zatreex.sourceforge.net
    >
    >
    > --
    > This is a confidential communication and is intended only for the 
addressee indicated in the message (or duly authorised to be responsible for 
the delivery of the message to such person). You are specifically prohibited 
from copying this message or delivering the same, or any part thereof, to any 
other person, whomsoever or howsoever, unless you receive written authorisation 
from us to do. 
    >
    > If you are anyone other than the intended addressee, or person duly 
authorised and responsible for the delivery of this message to the intended 
addressee, you should destroy this message and notify us immediately. 
    >
    > Please note that we accept no responsibility whatsoever in the event that 
this message or any other email message or any part thereof becomes known or is 
communicated to anyone other than the intended recipient or other person 
authorised in writing by us to receive it, howsoever arising and disclaim all 
liability for any losses or damage which may be sustained by any person as a 
result thereof. 
    >
    > Irish Life Assurance plc is regulated by the Financial Regulator.
    >
    > "Irish Life" is a member of the Irish Life and Permanent plc group. Irish 
Life Assurance plc is a company registered in Ireland. Registered office is 
situated at Irish Life Centre, Lower Abbey Street, Dublin 1. Registered Number 
152576. 
    >
    >
    > 
==============================================================================
    >
    >




  -- 
  Zied Hamdi
  zatreex.sourceforge.net 


--
This is a confidential communication and is intended only for the addressee 
indicated in the message (or duly authorised to be responsible for the delivery 
of the message to such person). You are specifically prohibited from copying 
this message or delivering the same, or any part thereof, to any other person, 
whomsoever or howsoever, unless you receive written authorisation from us to 
do. 

If you are anyone other than the intended addressee, or person duly authorised 
and responsible for the delivery of this message to the intended addressee, you 
should destroy this message and notify us immediately. 

Please note that we accept no responsibility whatsoever in the event that this 
message or any other email message or any part thereof becomes known or is 
communicated to anyone other than the intended recipient or other person 
authorised in writing by us to receive it, howsoever arising and disclaim all 
liability for any losses or damage which may be sustained by any person as a 
result thereof.

Irish Life Assurance plc is regulated by the Financial Regulator.

"Irish Life" is a member of the Irish Life and Permanent plc group. Irish Life 
Assurance plc is a company registered in Ireland. Registered office is situated 
at Irish Life Centre, Lower Abbey Street, Dublin 1. Registered Number 152576.


==============================================================================

Reply via email to