Bartek Robert wrote:
Hello
I have problems with integration of struts application within Liferay using struts bridge.
...

It
works like this - User have to login (/Login). If everything is ok than
the system checks what materials are available for this user(/GetUOLs)
and he gets a choice which course he wants to start (/getuols.jsp) Than
the approperiate data is shown to him (/LoginCourse ->
/PlayerWelcome ->player.jsp).

player.jsp looks like this:

<%@ taglib uri="http://portals.apache.org/bridges/struts/tags-portlet-html"; 
prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>

<%= request.getAttribute("displayHTML") %>

Eveything
work fine till this point. After the course is presented to user he has
a possibility to choose different activties but after clicking at the
name of one of them nothing changes on the screen and the url in
browser is cut from:
http://localhost:8080/liferay/c/portal/layout?p_l_id=PRI.15.1&p_p_id=sled2_WAR_sled2&p_p_action=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_pos=0&p_p_col_count=1&_sled2_WAR_sled2__spage=%2FLoginCourse.do&_sled2_WAR_sled2__sorig=%2FGetUOLs.do

to

http://localhost:8080/liferay/c/portal/layout?p_l_id=PRI.15.1

When
I run it as web application everything works fine. Maybe someone could
help because Im fighting with it for a quite long time?

Can you show the part from (I think) player.jsp which renders these activity 
links, and what output is generated for them?
Also useful is to configure commons-logging/log4j on DEBUG level for both the Struts Bridge (org.apache.portals.bridges.struts.*) and Struts itself to be able to track down the exact interaction flow.

Ate

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to