Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.ftlines.wicketsource;
 
 
Sticks the wicket component name into an html attribute on the tag, which makes it easier to find using the Firebug or Chrome Dev Tools "Inspect Element" menu item. This outputs more than just container classes (such as panels); it also tags images, labels, and links. Some of that is noise but some may be useful in locating a component in the source.

Author(s):
Jenny Brown
Creates a visitor
		 = new AttributeModifier("wicketSource"new SourceModel());
	}

Attaches the attribute modifier to each component being rendered.
	public void onBeforeRender(Component component)
	{
	}
New to GrepCode? Check out our FAQ X