package com.teamkonzept.webman.mainint;
import com.teamkonzept.db.*;
import com.teamkonzept.lib.*;
import com.teamkonzept.webman.*;
import com.teamkonzept.web.*;
import com.teamkonzept.webman.db.*;
import com.teamkonzept.webman.mainint.events.*;
/**
provides several Util methods for HTML Frames
*/
public class HTMLUtils implements FrameConstants
{
/**
* fuellt das uebergebene template mit den framesetparams
*
*
* @param
*/
public static void fillFrameSet( TKHTMLTemplate t, String lwidth, String levent, String revent )
{
TKHashtable framePars = new TKHashtable();
framePars.put( "LCOLS", lwidth );
framePars.put( "RCOLS", RIGHT_FRAME_WIDTH );
framePars.put( "FRAMEBORDER", FRAME_BORDER );
framePars.put( "LTARGET", LEFT_TARGET );
framePars.put( "RTARGET", RIGHT_TARGET );
framePars.put( "LEVENT", levent );
framePars.put( "REVENT", revent );
t.set( framePars );
}
}
|