× 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.



Joe,

Can I get a command line variable from the prerender?

I don't think I can "function onprerender(cno string)"

Think I can only "function onConstruction(cno string)"

Am I wrong?



-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On
Behalf Of Joe Pluta
Sent: Tuesday, March 25, 2008 10:44 AM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Calling EGL app from iseries and
onconstructionfunction

tim wrote:
I am executing a STRPCCMD from my iseries to open a browser window (EGL
app)
passing a command argument.

start http://192.168.1.1:9080/web/web01.faces?c=12345'

The first time I execute the iseries command, the onconstruction get
executed and my variable c is read. Subsequent execution of this command
with different values for variable C don't appear to be executing the
onconstruction function.

I have tried to close the web browser before each call, but that didn't
seem
to help.


I am basically trying to pass a parm to my egl pgm which is loaded in my
onconstruction function. Is there another or better way of doing this?

That's how JavaServer Faces works. The onConstruction event is called
the first time the page is called. If you'd like to do something every
time the page is invoked, you might consider using the onPrerender
function instead.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.