You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by at...@apache.org on 2007/06/14 17:36:51 UTC
svn commit: r547284 -
/incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
Author: ate
Date: Thu Jun 14 08:36:50 2007
New Revision: 547284
URL: http://svn.apache.org/viewvc?view=rev&rev=547284
Log:
WICKET-650: New Wicket Portlet support: use a RenderContext for abstracted url generation, writing header response and namespacing
- proper namespacing Component.getMarkupId()
See: https://issues.apache.org/jira/browse/WICKET-650#action_12504782
Modified:
incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
Modified: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java?view=diff&rev=547284&r1=547283&r2=547284
==============================================================================
--- incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java (original)
+++ incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java Thu Jun 14 08:36:50 2007
@@ -1206,7 +1206,7 @@
+ "to find the page it is supposed to operate in before you can call "
+ "this method (Component#getMarkupId)");
}
- markupId = getId() + page.getAutoIndex();
+ markupId = RenderContext.get().encodeMarkupId(getId() + page.getAutoIndex());
setMetaData(MARKUP_ID_KEY, markupId);
}
return markupId;