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)

Reply via email to