> 
> Is anyone using frames with Turbine?  Will frames work with Turbine?
> 

Yes,

public class FrameScreen extends Screen
{
    public ConcreteElement build( RunData data ) throws Exception
    {
        FrameSetDocument fsdoc = new FrameSetDocument();
        
        // Set the Title tag of the page
        fsdoc.appendTitle("Title");
        
        fsdoc.getFrameSet()
            .setRows("65, *")
            .addElement(
                new Frame()
                .setSrc( new DynamicURI(data, "SomeScreen").toString() )
                .setName("top_nav")
                .setScrolling(Frame.no)
                .setMarginHeight(0)
                .setMarginWidth(0)
            )
            .addElement(
                new Frame()
                .setSrc("http://www.foo.com/some_other_sites_content.html")
                .setName("content")
                .setScrolling(Frame.auto)
                .setMarginHeight(0)
                .setMarginWidth(0)
            );
        fsdoc.getFrameSet().addAttribute("frameborder", "1");
        
        data.res.setContentType( data.contentType );        
        data.getOut().write( fsdoc.toString() ); 
        return null;
    }
    
    public String getLayout(RunData data)
    {
        return null;
    }
}



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to