org.apache.wicket.portlet
Class MarkupIdPrepender

java.lang.Object
  extended by org.apache.wicket.portlet.MarkupIdPrepender
All Implemented Interfaces:
IComponentInitializationListener

public class MarkupIdPrepender
extends Object
implements IComponentInitializationListener

If the markup id is not defined directly on the component tag, it prepends the portlet namespace to the Wicket generated markup id.

Author:
Peter Pastrnak

Constructor Summary
MarkupIdPrepender()
           
 
Method Summary
 String getPrefix()
           
 void onInitialize(Component component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkupIdPrepender

public MarkupIdPrepender()
Method Detail

getPrefix

public String getPrefix()

onInitialize

public void onInitialize(Component component)
Specified by:
onInitialize in interface IComponentInitializationListener


Copyright © 2015. All Rights Reserved.