<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>how to remove window state</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=39435" />
  <subtitle>how to remove window state</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=39435</id>
  <updated>2026-05-31T19:07:17Z</updated>
  <dc:date>2026-05-31T19:07:17Z</dc:date>
  <entry>
    <title>how to remove window state</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39441" />
    <author>
      <name>Suresh Nimmakayala</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39441</id>
    <updated>2004-11-24T20:19:57Z</updated>
    <published>2004-11-24T20:19:57Z</published>
    <summary type="html">Thank you  mYoung its worked.</summary>
    <dc:creator>Suresh Nimmakayala</dc:creator>
    <dc:date>2004-11-24T20:19:57Z</dc:date>
  </entry>
  <entry>
    <title>how to remove window state</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39439" />
    <author>
      <name>Michael Young</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39439</id>
    <updated>2004-11-23T20:23:09Z</updated>
    <published>2004-11-23T20:23:09Z</published>
    <summary type="html">view_portlet.jsp eventually uses box_top.jsp to render the borders of the portlet.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The easiest and cleanest way to do this to modify box_top-ext.jsp&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I just checked this into CVS.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;box_top.jsp reads in parameters from the jsp:include and decides whether to show the maximize buttons or not.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;so it has references to variables like:&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;portletId&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;stateMax&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;showEditIcon&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;in your box_top-ext.jsp (which is a blank page unless you override), you can do something like&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;if (portletId.equals(&amp;amp;quot;thewideonewithnobuttons&amp;amp;quot;)) {&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;showEditIcon = false;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;....&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;}&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;else if (portletId.equals(&amp;amp;quot;otherones&amp;amp;quot;)) {&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;if (stateMax) {&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;...&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;}&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;else {&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;...&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;}&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;}&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;You should be able to do everything you need from the given variables. If not, let me know and we&amp;amp;#39;ll add other ones to help you display it.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;This way, it&amp;amp;#39;s completely flexible for you and you can use JSP instead of just a XML language. I pondered on modifying liferay-portlet.xml to include this logic, but it&amp;amp;#39;d be much more complicated and less flexible.</summary>
    <dc:creator>Michael Young</dc:creator>
    <dc:date>2004-11-23T20:23:09Z</dc:date>
  </entry>
  <entry>
    <title>how to remove window state</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39437" />
    <author>
      <name>Michael Young</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39437</id>
    <updated>2004-11-23T20:17:41Z</updated>
    <published>2004-11-23T20:17:41Z</published>
    <summary type="html">we do not have an automated way to do that right now, but if you need to disable them then you can override the portlet-default.jsp file which defines these attributes.</summary>
    <dc:creator>Michael Young</dc:creator>
    <dc:date>2004-11-23T20:17:41Z</dc:date>
  </entry>
  <entry>
    <title>how to remove window state</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39434" />
    <author>
      <name>Suresh Nimmakayala</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39434</id>
    <updated>2004-11-23T19:44:04Z</updated>
    <published>2004-11-23T19:44:04Z</published>
    <summary type="html">hi any body have any  idea , not to give the window state options  to the perticular portlet(edit,close,min,max,restore,up,down) absolutely nothing can do abt it by user/poweruser.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;i appreciate if LEP member give me a clue regd this&amp;lt;br /&amp;gt; cheers&amp;lt;br /&amp;gt;thanks in advance.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;</summary>
    <dc:creator>Suresh Nimmakayala</dc:creator>
    <dc:date>2004-11-23T19:44:04Z</dc:date>
  </entry>
</feed>
