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



Feb 22, 2011, 6:43 AM
33 Posts

Driving dialogs from within JAVA bean

  • Category: APIs
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Java Beans
  • Replies: 2
I would like to develop my own workflow-type application framework. I'm currently trying to drive UI dialogues from within the JAVA bean. So far I've been only able to inject a single UIComponents to a document tree at a time but it would be quite tedious job to create the complete dialog. Thus I'm thinking about injecting the whole custom control instead, to make the development more efficient but I failed (neither documentation nor examples are available).
Based on the information published on Nathan Freeman's blog >> http://ntf.gbs.com/nathan/escape.nsf/d6plinks/NTFN-82A6TA (item# 2) it seems that it should be somehow possible but I failed to make it work.
Any idea how to achieve that?
Mar 1, 2011, 1:23 AM
25 Posts
Re: Driving dialogs from within JAVA bean
 I'm not sure if you can inject components from a Java Bean, but I do know you can inject components from SSJS. As for handling dialogs, you may want to make your dialogs dijit/component driven. With a custom dijit this will allow you quite a bit of flexibility in handling the presentation of the dialog and by making a component with it's own renderer you can control the content of the dialog.
 
For injecting components via SSJS see my post here http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?documentId=B1192058B062B07A8525783C006270C2&action=openDocument
Mar 30, 2011, 12:22 PM
57 Posts
Re: Driving dialogs from within JAVA bean
Both SSJS and java Beans access the same API, there is no difference

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