I'm using a WebMacroOnlyLayout to render frames on
my pages. I need to set a value in the frameset-based
layout using a WebMacro variable. This is what the files
look like:

  app/templates/layouts/index.wm
  WEB-INF/classes/modules/layouts/Index.class

The class in Index.class looks like this:

  public class Index extends WebMacroOnlyLayout
  {
      public void doBuild( RunData data ) throws Exception
      {
          WebContext context = getContext( data );
          context.put("inqacc", "Consulta de Cuenta");
          super.doBuild(data);
      }
  }

Am I correct in assuming the class in Index.class
will be automatically called when processing index.wm?
I can't seem to make the "inqacc" variable be a valid
reference in index.wm, and started wondering whether
this automatic processing of classes is also true for
layouts as it is for screens.

Thanks,


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to