You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andrei Chiritescu (JIRA)" <ta...@jakarta.apache.org> on 2005/11/28 09:17:40 UTC
[jira] Created: (TAPESTRY-776) Problems using beta13 portlets with jboss-portal
Problems using beta13 portlets with jboss-portal
------------------------------------------------
Key: TAPESTRY-776
URL: http://issues.apache.org/jira/browse/TAPESTRY-776
Project: Tapestry
Type: Bug
Components: Portlet
Versions: 4.0
Environment: java 1.5.0_05
jboss 4.0.3
jboss-portal-2.0.1RC1
tapestry 4 beta13
Reporter: Andrei Chiritescu
I have provided a war file that needs to be deployed on a jboss server with jboss-portal.
It seems that the links are not rendered correctly(and there may be other thing as well). Clicking on a link just displays the same page instead of redirecting to the targeted page.
This is the behavior that I encountered using beta13.If i replace the beta13 libraries with beta11 everything seems to work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Updated: (TAPESTRY-776) Problems using beta13 portlets with jboss-portal
Posted by "Andrei Chiritescu (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-776?page=all ]
Andrei Chiritescu updated TAPESTRY-776:
---------------------------------------
Attachment: SimplePortlet.war
Attached the portlet war. It has the beta13 jar included.
> Problems using beta13 portlets with jboss-portal
> ------------------------------------------------
>
> Key: TAPESTRY-776
> URL: http://issues.apache.org/jira/browse/TAPESTRY-776
> Project: Tapestry
> Type: Bug
> Components: Portlet
> Versions: 4.0
> Environment: java 1.5.0_05
> jboss 4.0.3
> jboss-portal-2.0.1RC1
> tapestry 4 beta13
> Reporter: Andrei Chiritescu
> Attachments: SimplePortlet.war
>
> I have provided a war file that needs to be deployed on a jboss server with jboss-portal.
> It seems that the links are not rendered correctly(and there may be other thing as well). Clicking on a link just displays the same page instead of redirecting to the targeted page.
> This is the behavior that I encountered using beta13.If i replace the beta13 libraries with beta11 everything seems to work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Commented: (TAPESTRY-776) Problems using beta13 portlets with jboss-portal
Posted by "Andrei Chiritescu (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-776?page=comments#action_12358611 ]
Andrei Chiritescu commented on TAPESTRY-776:
--------------------------------------------
Forgot to mention that I have the same problems even if I use beta12.
> Problems using beta13 portlets with jboss-portal
> ------------------------------------------------
>
> Key: TAPESTRY-776
> URL: http://issues.apache.org/jira/browse/TAPESTRY-776
> Project: Tapestry
> Type: Bug
> Components: Portlet
> Versions: 4.0
> Environment: java 1.5.0_05
> jboss 4.0.3
> jboss-portal-2.0.1RC1
> tapestry 4 beta13
> Reporter: Andrei Chiritescu
> Attachments: SimplePortlet.war
>
> I have provided a war file that needs to be deployed on a jboss server with jboss-portal.
> It seems that the links are not rendered correctly(and there may be other thing as well). Clicking on a link just displays the same page instead of redirecting to the targeted page.
> This is the behavior that I encountered using beta13.If i replace the beta13 libraries with beta11 everything seems to work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Closed: (TAPESTRY-776) URLs for portlet links and forms are null
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-776?page=all ]
Howard M. Lewis Ship closed TAPESTRY-776:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
> URLs for portlet links and forms are null
> -----------------------------------------
>
> Key: TAPESTRY-776
> URL: http://issues.apache.org/jira/browse/TAPESTRY-776
> Project: Tapestry
> Type: Bug
> Components: Portlet
> Versions: 4.0
> Environment: java 1.5.0_05
> jboss 4.0.3
> jboss-portal-2.0.1RC1
> tapestry 4 beta13
> Reporter: Andrei Chiritescu
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
> Attachments: SimplePortlet.war
>
> I have provided a war file that needs to be deployed on a jboss server with jboss-portal.
> It seems that the links are not rendered correctly(and there may be other thing as well). Clicking on a link just displays the same page instead of redirecting to the targeted page.
> This is the behavior that I encountered using beta13.If i replace the beta13 libraries with beta11 everything seems to work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Commented: (TAPESTRY-776) Problems using beta13 portlets with jboss-portal
Posted by "Raphael Jean (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-776?page=comments#action_12358640 ]
Raphael Jean commented on TAPESTRY-776:
---------------------------------------
It looks like the method org.apache.tapestry.portlet.PortletLink.getURL(String, String, int, String, boolean) is not implemented. It should be something like:
public String getURL(String scheme, String server, int port, String anchor, boolean includeParameters)
{
try {
if ("https".equals(scheme))
_portletURL.setSecure(true);
else if ("http".equals(scheme))
_portletURL.setSecure(false);
} catch (PortletSecurityException e) {
throw new ApplicationRuntimeException("Error setting portlet URL scheme: " + e.getMessage());
}
return getURL(anchor, includeParameters);
}
Also, the service name is missing from generated URLs. The method org.apache.tapestry.portlet.PortletLinkFactoryImpl.constructLink(IEngineService, boolean, Map, boolean) also needs to be patched:
public ILink constructLink(IEngineService service, boolean post, Map parameters, boolean stateful)
{
+ Defense.notNull(service, "service");
Defense.notNull(parameters, "parameters");
+ String serviceName = service.getName();
+
+ if (serviceName == null)
+ throw new ApplicationRuntimeException("The service name is null. Engine services must implement method getServiceName() and return a non-null value.");
+ parameters.put(ServiceConstants.SERVICE, serviceName);
squeezeServiceParameters(parameters);
PortletURL url = _renderResponse.createActionURL();
return new PortletLink(_requestCycle, url, new QueryParameterMap(parameters), stateful);
}
> Problems using beta13 portlets with jboss-portal
> ------------------------------------------------
>
> Key: TAPESTRY-776
> URL: http://issues.apache.org/jira/browse/TAPESTRY-776
> Project: Tapestry
> Type: Bug
> Components: Portlet
> Versions: 4.0
> Environment: java 1.5.0_05
> jboss 4.0.3
> jboss-portal-2.0.1RC1
> tapestry 4 beta13
> Reporter: Andrei Chiritescu
> Attachments: SimplePortlet.war
>
> I have provided a war file that needs to be deployed on a jboss server with jboss-portal.
> It seems that the links are not rendered correctly(and there may be other thing as well). Clicking on a link just displays the same page instead of redirecting to the targeted page.
> This is the behavior that I encountered using beta13.If i replace the beta13 libraries with beta11 everything seems to work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Updated: (TAPESTRY-776) URLs for portlet links and forms are null
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-776?page=all ]
Howard M. Lewis Ship updated TAPESTRY-776:
------------------------------------------
Summary: URLs for portlet links and forms are null (was: Problems using beta13 portlets with jboss-portal)
Assign To: Howard M. Lewis Ship
> URLs for portlet links and forms are null
> -----------------------------------------
>
> Key: TAPESTRY-776
> URL: http://issues.apache.org/jira/browse/TAPESTRY-776
> Project: Tapestry
> Type: Bug
> Components: Portlet
> Versions: 4.0
> Environment: java 1.5.0_05
> jboss 4.0.3
> jboss-portal-2.0.1RC1
> tapestry 4 beta13
> Reporter: Andrei Chiritescu
> Assignee: Howard M. Lewis Ship
> Attachments: SimplePortlet.war
>
> I have provided a war file that needs to be deployed on a jboss server with jboss-portal.
> It seems that the links are not rendered correctly(and there may be other thing as well). Clicking on a link just displays the same page instead of redirecting to the targeted page.
> This is the behavior that I encountered using beta13.If i replace the beta13 libraries with beta11 everything seems to work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org