On Fri, May 26, 2000 at 12:34:15PM -0400, Chris Kimpton wrote:
> > ParamterParser pp
> > pp.getString("selection", selection)
> > pp.getString("name", name)
> > if selectbox.equals("Partner")
> > ScreenLoader.getInstance().eval(data, "Partner")
> > //I want to pass the "name" field to this screen!
> > else
> > do stuff for the other selections selections.
>
> Assuming that pp is retrieved from data, then you can do the same
>pp.getString("name",name) in the screen module to get the parameter that was passed.
Chris is right - just get it from the RunData. There's no overhead worth
worrying about.
It looks to me like the code above wants to be in an Action, and rather
than explicityly evaluating the screen you want to have the action
select a screen. I do this a lot, have links that don't explicitylyt
specify a screen but leave it to the action to decide.
-
Sean Legassick
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]