× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Tim - see the following blog entry I posted on the EGL Cafe a few weeks
ago:

http://www-949.ibm.com/software/rational/cafe/blogs/egl-rich-web/2008/12/30/keeping-rui-handlers-simple-and-independent

Thanks,

Will Smythe
Product Line Manager
Host Integration, HATS, Rational Business Developer, and EGL
IBM Rational Software, RTP, NC
919.254.8771
smythew@xxxxxxxxxx

Visit the EGL Cafe - http://www.ibm.com/rational/eglcafe




|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|"tim" <tim2006@xxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|"'EGL on and around the IBM i'" <egl-i@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|01/22/2009 02:38 PM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: [EGL-i] embeddedHandler question |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|egl-i-bounces@xxxxxxxxxxxx |
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Thanks Saul. I didn't see that.

Would you happen to have a sample of how this would be used? I have a
current richui project with multi .egl source members all using RUIHandler
types. Is this a good practice, or should I utilize the other rich ui
handler in the same source member? I don't see any suggests or reasons for
use.



-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [?mailto:egl-i-bounces@xxxxxxxxxxxx] On
Behalf Of Saul Margolis
Sent: Thursday, January 22, 2009 2:07 PM
To: egl-i@xxxxxxxxxxxx
Cc: egl-i-bounces@xxxxxxxxxxxx
Subject: Re: [EGL-i] embeddedHandler question

Tim,

There is no embeddedHandler part. Rather, a topic describes use of a
variable (named embeddedHandler in the example). That variable is based
on another Rich UI handler.

Here is the most recent content, from
http://www.ibm.com/software/rational/cafe/docs/DOC-2689, .

Regards, Saul Ben Margolis


***********************

You can use multiple Rich UI handler parts to compose a single
application. However, we do not mean to say that you embed one handler
part in another. Instead, the handler part declares variables that are
each based on another handler part. A variable based on an Rich UI handler
part is called an embedded handler, as in the following example:

embeddedHandler AnotherHandlerPart{}; // declared Rich UI handler
(based on part
AnotherHandlerPart)
The embedding Rich UI handler can access the global widgets and public
functions declared in an embedded Rich UI handler. In particular, the
embedding handler can add widgets to its own initialUI and children
arrays. Also, you can embed a handler that invokes services or otherwise
handles business processing. A reasonable practice is to use one handler
to present the UI and to use other handlers to oversee the backend,
business processing.
You access widgets and functions with a dot syntax. In the following
outline, the Handler part AnotherHandlerPart is assumed to have declared a
button named itsButton, which is attached to the DOM tree only when that
button is included in the initialUI array of the embedding handler:

handler SimpleHandler type RUIHandler { initialUI = [
embeddedHandler.itsButton ] }
embeddedHandler AnotherHandlerPart{};
end
Similarly, you can add an embedded widget to a children array.
You can access a function or property in an embedded widget by extending
the a dot syntax. For example, the following statement retrieves the
displayed text of the embedded Button itsButton:

myString STRING = embeddedHandler.itsButton.text;
The initialUI array of the embedded handler has no effect at run time.
That array is used only when the embedded handler is the basis of a Rich
UI application and is not embedded at all.






egl-i-request@xxxxxxxxxxxx
Sent by: egl-i-bounces@xxxxxxxxxxxx
01/22/2009 01:00 PM
Please respond to
egl-i@xxxxxxxxxxxx


To
egl-i@xxxxxxxxxxxx
cc

Subject
EGL-i Digest, Vol 2, Issue 6






Send EGL-i mailing list submissions to
egl-i@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/egl-i
or, via email, send a message with subject or body 'help' to
egl-i-request@xxxxxxxxxxxx

You can reach the person managing the list at
egl-i-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of EGL-i digest..."


Today's Topics:

1. embeddedHandler question (tim)


----------------------------------------------------------------------

message: 1
date: Thu, 22 Jan 2009 11:17:40 -0500
from: "tim" <tim2006@xxxxxxxxxxx>
subject: [EGL-i] embeddedHandler question

Has anyone used this part yet. Im looking for a why and how on this. I am
creating rui projects with multi RUIHandler's. Should I be using the
embeddedhandler instead?







------------------------------

_______________________________________________
EGL-i mailing list
EGL-i@xxxxxxxxxxxx
http://lists.midrange.com/mailman/listinfo/egl-i


End of EGL-i Digest, Vol 2, Issue 6
***********************************

--
This is the EGL on and around the IBM i (EGL-i) mailing list
To post a message email: EGL-i@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/egl-i
or email: EGL-i-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/egl-i..

--
This is the EGL on and around the IBM i (EGL-i) mailing list
To post a message email: EGL-i@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/egl-i
or email: EGL-i-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/egl-i..

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.