Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ public final ICompoundRequestMapper getRootRequestMapperAsCompound()
IRequestMapper root = getRootRequestMapper();
if (!(root instanceof ICompoundRequestMapper))
{
root = new SystemMapper(this).add(root);
root = new CompoundRequestMapper().add(root);
setRootRequestMapper(root);
}
return (ICompoundRequestMapper)root;
Expand Down
14 changes: 2 additions & 12 deletions wicket-core/src/main/java/org/apache/wicket/Component.java
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ public final void afterRender()
finally
{
// this flag must always be set to false.
markRendering(false);
setFlag(FLAG_RENDERING, false);
}
}

Expand Down Expand Up @@ -3503,7 +3503,7 @@ private void notifyBehaviorsComponentRendered()
*
* Adds state change to page.
*/
protected final void addStateChange()
protected void addStateChange()
{
checkHierarchyChange(this);
final Page page = findPage();
Expand Down Expand Up @@ -4377,16 +4377,6 @@ public final boolean isEnabledInHierarchy()
setRequestFlag(RFLAG_ENABLED_IN_HIERARCHY_VALUE, state);
return state;
}

/**
* Says if the component is rendering or not checking the corresponding flag.
*
* @return true if this component is rendering, false otherwise.
*/
public final boolean isRendering()
{
return getFlag(FLAG_RENDERING);
}

/**
* Checks whether or not a listener method can be invoked on this component. Usually components
Expand Down
Loading