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



Try the onPreRenderFunction that might help in your case

handler test1 type JSFHandler
{onConstructionFunction = onConstruction,
view = "test1.jsp", onPreRenderFunction = preRender,
viewRootVar = viewRoot}

function preRender()

end


Here is some more info about these functions

onConstruction
For session scope pages** (see notes) This function is executed
the first time the page (managed bean) is loaded from the
server. It is not executed when a form is submitted.
For request scope pages** (see notes) This function is also
executed upon every form submit (unless there is a validation
error)
onPreRender
For both session and request scope pages this function is
executed after onConstruction() ? if specified - and then upon
every form submit (unless there is a validation error) BEFORE
the page is rendered. It is typically used to do things such
as refresh JSFHandler variables.
onPostRender
For both session and request scope pages this function is
executed after onConstruction(), after onPreRender() ? if
specified ? and then upon every form submit (even if there is
a validation error) AFTER the page is Rendered. It is
typically used to do things such as save variable values to
session, etc.

Claus Weiss Visual AD tools, email: weiss@xxxxxxxxxx
Dept XF6 IBM Canada Lab tie 313-3987 Phone(905)413-3987 FAX(905)413-4850
Greetings from Toronto
Rational Software System i - Ecosystem Team



"tim"
<tim2006@comcast.
net> To
Sent by: "'Websphere Development Studio
wdsci-l-bounces@m Client for iSeries'"
idrange.com <wdsci-l@xxxxxxxxxxxx>
cc

03/25/2008 10:41 Subject
AM [WDSCI-L] Calling EGL app from
iseries and onconstruction function

Please respond to
Websphere
Development
Studio Client for
iSeries
<wdsci-l@midrange
.com>






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?





--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



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.