callback="#{bean.callbackFunction}"
   
  The bean method is not called. 


Dave <[EMAIL PROTECTED]> wrote:    for <s:submitOnEvent>, in my case, whether 
to submit depends on a bean variable. So I need a "rendered" property.
   
  <h:selectOneMenu .... >
  <s:submitOnEvent for="aButton" event="change" 
rendered="#{bean.submitOnChange}" />
  </h:selectOneMenu>
   
  <h:commandButton id="aButton" .../>
   
  But the <s:submitOnEvent> does not have a rendered property.  It has a 
callback for the purpose. The callback function's signature 
   
  function mySpecialUserCallback(event, srcComponentId, clickComponentId);
   
  How to let the callback function use the backing bean's variable?
   
  If the callback is javascript code, it can serve the purpose
  callback="#{bean.variable? return true: return false}"
   
  Thanks for help
  Dave

   
   
   
    
---------------------------------
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Reply via email to