RE: How to set up transformer parameters from model?

"Eder, Warren CONT" <[email protected]> Mon, 5 Jan 2004 15:54:19 -0600
Newsgroups gmane.comp.web.maverick.general
Message-ID <1D11A56F83F83F4E8461A883E84EC28F548604@NAEANWOREX06VA.nadsusea.nads.navy.mil>
When I call ControllerContext it tells me it is private.  I guess I could put it in the same package as MaverickContext but seems there should be another way.  The error message is listed below.
 
Error(49,10): variable controllerCtx has private access in class org.infohazard.maverick.ctl.Throwaway2
 
My cal; looks like
 
    this.controllerCtx.setTransformParam("string", "string");


-----Original Message-----
From: Schnitzer, Jeff [mailto:[email protected]]
Sent: Monday, January 05, 2004 15:19
To: [email protected]
Subject: RE: [Mav-user] How to set up transformer parameters from model?



Sorry, I don't understand - why can't you call ControllerContext.setTransformParam()?

 

Jeff

 

-----Original Message-----
From: Eder, Warren CONT [mailto:[email protected]] 
Sent: Monday, January 05, 2004 12:00 PM
To: [email protected]
Subject: [Mav-user] How to set up transformer parameters from model?

 

I have parameters that I want to pass to the stylesheet to build information dynamically.  In Oracle I use setParam on the XSLProcessor.  The MaverickContext has a setTransformParam but ControllerCTX is not accessable from my model code.

Is ther a dynamic way to pass the parameters to the Transformer from the controller object? 

Warren Eder 
504-697-3324 

Thank you