This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 4, 2011, 11:07 AM
3 Posts
topic has been resolvedResolved

Which Button is responsible for the current request?

  • Category: Custom JSF code (Eclipse IDE)
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Button
  • Replies: 1
I would like to find out (in a Java class), which Button is responsible for submitting the current request (before the INVOKE_APPLICATION phase).
 
One approach might be getting the $$xspsubmitid parameter from the request (that contains the client side id for the respective component) and go through the component tree looking for that id, using the method "getClientId".
But is there a nicer way to do this?
Mar 11, 2011, 5:12 PM
41 Posts
Re: Which Button is responsible for the current request?
 Actually, that's precisely what I do; thankfully, component tree iteration is rapid.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal