In the WLP 8.1.x version of the netui-data taglib, there were <netui-data:declareControl> and <netui-data:callControl> tags for making a control method call from a JSP. The Beehive 1.0.x netui-data taglib has neither tag; however, the documentation seems to hint that it is possible to call a control using the <netui-data:callMethod> tag. The API doc actually refers to a "controlId" attribute that does not actually seem to be a part of the tag interface. See: http://beehive.apache.org/docs/1.0.2/netui/apidocs/taglib/beehive.apache.org/netui/tags-databinding-1.0/callMethod.html Is it possible to make a call to a custom control (which in turn calls an EJB control and the Portal Caching framework) from a JSP in a Beehive pageflow? Will the control be executed in a control container so that the EJB control actually works? If so, could someone provide some sample code for my use case? From the JSP, I would like to call the getOrganizations() method on a custom control called com.mycustomer.control.ListCacheControl, returning the java.util.List result in a pageContext variable called "orgs". The result would then be used as the optionsDataSource for a <netui:select> tag. My incorrect attempts: <netui-data:callMethod object="${pageFlow.listCacheControl}" resultId="orgs" method="getOrganizations"></netui-data:callMethod> // ListCacheControl exposed as a public pageFlow attribute - I don't like this
<netui-data:callMethod object="com.mycustomer.control.ListCacheControl" resultId="orgs" method="getOrganizations"></netui-data:callMethod> Thanks, Scott _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
