myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McCrady, Paul \(ITTD Retail Stores\)" <Paul.McCr...@LloydsTSB.co.uk>
Subject Action button method binding
Date Wed, 12 Nov 2008 11:34:34 GMT
Anyone seen any instances where a method binding from an action button
stops getting invoked?

 

e.g.  consider the following code snippet

 

<script>

                        

                        function x() {                              

 
document.getElementById("y").click();


            

                        }

 

                        </script>

 

                        <tr:panelHorizontalLayout halign="end">

                                    <tr:panelButtonBar>

                                                <tr:commandButton id="y"
action="#{bean.mymethod}"></tr:commandButton>

                                    </tr:panelButtonBar>

                        </tr:panelHorizontalLayout>

 

We can call function x and have mymethod on bean getting called and
working fine but all of a sudden this stops working.

 

We believe the button is still being clicked as we can here it on the
pc.

 

 



This e-mail is only for the above addressees.  It may contain confidential or privileged information.
 If you are not an addressee you must not copy, distribute, disclose or use any of the information
in it or any attachments.  If you have received it in error please notify the sender and delete
it immediately.

Lloyds TSB Bank plc.  Registered Office: 25 Gresham Street, London EC2V 7HN.  Registered in
England and Wales, number 2065.  Telephone: 020 7626 1500.
Lloyds TSB Scotland plc.  Registered Office: Henry Duncan House, 120 George Street, Edinburgh
EH2 4LH.  Registered in Scotland, number 95237.  Telephone: 0131 225 4555.
Cheltenham & Gloucester plc.  Registered Office: Barnett Way, Gloucester GL4 3RL.  Registered
in England and Wales, number 2299428.  Telephone: 01452 372372.
Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc.

Lloyds TSB Bank plc, Lloyds TSB Scotland plc and Cheltenham & Gloucester plc are authorised
and regulated by the Financial Services Authority.  

Lloyds TSB Group plc.  Registered Office: Henry Duncan House, 120 George Street, Edinburgh
EH2 4LH.  Registered in Scotland, number 95000.  Telephone: 0131 225 4555.
Lloyds TSB Group plc is a signatory to the Banking Codes.

Telephone calls may be monitored or recorded.


Mime
View raw message