Title: How to set up transformer parameters from model?

Try:

 

this.getCtx().setTransformParam(“string”, “string”);

 

http://mav.sourceforge.net/api/org/infohazard/maverick/ctl/Throwaway2.html

 

3jeff

 

-----Original Message-----
From: Eder, Warren CONT [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 1:54 PM
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] How to set up transformer parameters from model?

 

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

Reply via email to