Foren

Portlet Behavior

yliu88 yliu88, geändert vor 19 Jahren.

Portlet Behavior

Junior Member Beiträge: 26 Beitrittsdatum: 15.11.04 Neueste Beiträge
HI,<br /><br />I have a question on how to control the behavior of a portlet. When clicking links in a portlet, it automatically maxmize itself so that on the screen there is only one portlet. WHere can I control the behavior so that it stays on its own default window? How do I change this behavior in the code? <br /><br />Thanks,
Brett Randall, geändert vor 19 Jahren.

Portlet Behavior

Liferay Legend Beiträge: 1254 Beitrittsdatum: 18.08.04 Neueste Beiträge
Yuo can use PortletURL.setWindowState() or set the windowState attribute on an actionURL or renderURL tag.
afattahi afattahi, geändert vor 19 Jahren.

Portlet Behavior

Junior Member Beiträge: 68 Beitrittsdatum: 16.12.04 Neueste Beiträge
Hi,<br /><br />Is it work for links that are in an IFrames too? We have some ASP pages that are shown in portal by using IFrame. for example is there is a first.asp page which has a link to second.asp page can you use some thing like this<br /><br />&lt;a href=&quot;second.asp?setState=Max&gt; <br />We can not use java or it tags on our IIS machine. <!--emo&emoticon--><img src='@theme_images_path@/emotions/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo--> <br /><br /><br />Regards,<br />alireza Fattahi
Brett Randall, geändert vor 19 Jahren.

Portlet Behavior

Liferay Legend Beiträge: 1254 Beitrittsdatum: 18.08.04 Neueste Beiträge
Using IFrame to access content is a different thing altogether, so no, using portlet tags will not work for you (unless you write your own portlet to control the window state).
afattahi afattahi, geändert vor 19 Jahren.

Portlet Behavior

Junior Member Beiträge: 68 Beitrittsdatum: 16.12.04 Neueste Beiträge
How about webproxy, imagine the same situation, will it work<br /><br />Thanks