I want to set a Template Layout for a particular Screen that is differant
from the Default Layout Template. The only way I could see to do it was
through the TemplateInfo Object in RunData. The existing setLayout() and
getLayout() in RunData give the VelocityECSLayout. I added to RunData the
method;

        
    /**
     * Modifies the Layout Template for the Screen.
     *
     * @param layout A layout template.
     */
    public void setLayoutTemplate(String layout)
    {
        getTemplateInfo().setLayoutTemplate(layout);
    }
    


So that a Template Layout could be specified in the Velocity Screen with;

    $data.setLayoutTemplate("/NoLayout.vm") 

Any objections to that method being added to RunData?





Cameron Riley


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