[seam-commits] Seam SVN: r8190 - trunk/src/wicket/org/jboss/seam/wicket.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed May 14 09:54:54 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-05-14 09:54:54 -0400 (Wed, 14 May 2008)
New Revision: 8190
Removed:
trunk/src/wicket/org/jboss/seam/wicket/SeamLink.java
Log:
Not needed after JBSEAM-2782
Deleted: trunk/src/wicket/org/jboss/seam/wicket/SeamLink.java
===================================================================
--- trunk/src/wicket/org/jboss/seam/wicket/SeamLink.java 2008-05-14 13:52:15 UTC (rev 8189)
+++ trunk/src/wicket/org/jboss/seam/wicket/SeamLink.java 2008-05-14 13:54:54 UTC (rev 8190)
@@ -1,47 +0,0 @@
-package org.jboss.seam.wicket;
-
-import org.apache.wicket.markup.html.link.ILinkListener;
-import org.apache.wicket.markup.html.link.Link;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.util.value.ValueMap;
-import org.jboss.seam.core.Conversation;
-import org.jboss.seam.core.Manager;
-
-/**
- * A SeamLink is like a Wicket Link, but will propagate the conversation
- *
- * This will probably be replaced in the future
- *
- * @author pmuir
- *
- */
-public abstract class SeamLink extends Link
-{
-
- public SeamLink(String id)
- {
- super(id);
- }
-
- public SeamLink(String id, IModel model)
- {
- super(id, model);
- }
-
- @Override
- protected CharSequence getURL()
- {
- return getRequestCycle().urlFor(this, ILinkListener.INTERFACE, getParameterMap());
- }
-
- private ValueMap getParameterMap()
- {
- ValueMap valueMap = new ValueMap();
- if (Conversation.instance().isLongRunning())
- {
- valueMap.add(Manager.instance().getConversationIdParameter(), Conversation.instance().getId());
- }
- return valueMap;
- }
-
-}
More information about the seam-commits
mailing list