Alrighty, I figured it out. Clean and very simple (let me know if there's a
better way to do this):
package com.*******.web.dashboard;
import org.wicketstuff.dojo.markup.html.floatingpane.DojoFloatingPane;
import org.wicketstuff.dojo.widgets.StyleAttribute;
public class DashboardPane extends DojoFloatingPane {
protected static final long serialVersionUID = 1L;
private final static String LEFT = "left";
private final static String TOP = "top";
private String left = "0px";
private String top = "0px";
public DashboardPane( String id )
{
super(id);
}
public final void setLeft(String left)
{
this.left = left;
}
public final void setTop(String top)
{
this.top = top;
}
protected void onStyleAttribute(StyleAttribute styleAttribute)
{
styleAttribute.put(LEFT, left);
styleAttribute.put(TOP, top);
}
}
--
View this message in context:
http://www.nabble.com/wicket-dojo-StylingWebMarkupContainer---StyleAttribute-tf4099879.html#a11662481
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user