No the page is contained in a hidden iframe

What's a conversion failure and what could cause it.

-----Original Message-----
From: Simon Kitching [mailto:[EMAIL PROTECTED] 
Sent: 12 November 2008 11:39
To: MyFaces Discussion
Subject: Re: Action button method binding

McCrady, Paul (ITTD Retail Stores) schrieb:
>
> 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.
>
The usual cause is a validation or conversion failure. Have you got an
h:messages tag in your page so that you can see any error messages that
may be generated?

Regards, Simon

-- 
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)



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.

Reply via email to