Return-Path: Delivered-To: apmail-portals-jetspeed-user-archive@www.apache.org Received: (qmail 54530 invoked from network); 15 Apr 2008 16:00:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 16:00:57 -0000 Received: (qmail 48962 invoked by uid 500); 15 Apr 2008 16:00:55 -0000 Delivered-To: apmail-portals-jetspeed-user-archive@portals.apache.org Received: (qmail 48644 invoked by uid 500); 15 Apr 2008 16:00:54 -0000 Mailing-List: contact jetspeed-user-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Users List" Delivered-To: mailing list jetspeed-user@portals.apache.org Received: (qmail 48633 invoked by uid 99); 15 Apr 2008 16:00:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 09:00:54 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of danrolsen@utah.gov designates 168.180.96.58 as permitted sender) Received: from [168.180.96.58] (HELO gwia2.state.ut.us) (168.180.96.58) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 16:00:03 +0000 Received: from STATE-GWIA2-MTA by gwia2.state.ut.us with Novell_GroupWise; Tue, 15 Apr 2008 10:00:19 -0600 Message-Id: <48047C9C.E2C5.0058.0@utah.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Date: Tue, 15 Apr 2008 09:59:57 -0600 From: "Dan Olsen" To: "Jetspeed Users List" Subject: Re: Default Portlet State References: <48037EA7.E2C5.0058.0@utah.gov> <712C73EF-C041-4860-A70A-BC1E6B658F41@bluesunrise.com> <94cd6be60804141716r393abc5j5ec7106a74725ae1@mail.gmail.com> <48046AAD.E2C5.0058.0@utah.gov> <94cd6be60804150748u2940e27dq257038cee0925edc@mail.gmail.com> In-Reply-To: <94cd6be60804150748u2940e27dq257038cee0925edc@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part193058ED.0__=" X-GWPos: 16053970-16054082 X-Virus-Checked: Checked by ClamAV on apache.org --=__Part193058ED.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable The problem for me is that I am using Spring to create my portlets. So the = class pointed to in my portlet.xml file is org.springframework.web.portlet.= DispatcherPortlet. >>> "Andrew Strickland" 4/15/2008 8:48 AM >>> If "*firstView*" is true set window state to minimized and then set "* firstView*" to false, then render...subsequent doViews will check the = value of "*firstView*" (it's now false) and will render with whatever window = state the portal tells it to render with. On Tue, Apr 15, 2008 at 10:43 AM, Dan Olsen wrote: > But won't this solution render it closed every time it renders? It would > make sense if there was a setting for portlets to set the default window > state. > > >>> "Andrew Strickland" 4/14/2008 6:16 PM >>> > He means default to minizmized window state. I've tried to answer this > question twice before...I believe the best possible solution is: > > 1) add an init parameter to your portlet.xml like "firstView" and set it > to > true. In your portlet class's doRender method check the value of the > initParmater. If it's true, set window state to minimized and render...i= f > it's false then do nothing to window state and render. > > Andy > > On Mon, Apr 14, 2008 at 7:11 PM, David Sean Taylor > wrote: > > > > > On Apr 14, 2008, at 2:56 PM, Dan Olsen wrote: > > > > ** High Priority ** > > > > > > I am still not sure how to default all portlets to closed when a = user > > > logs in. I have a demo coming up to show the client what I have done > so far > > > and we would really like to have the portlets defaulting to closed. > Can > > > someone please help me figure this out? > > > > > > I would figured this would be an easy task but I have yet to find = any > > > way to make this happen. I really need to get this figured out so = any > help > > > would be greatly appreciated. > > > > > > > Is this for Jetspeed 1.x ? > > Not sure what you mean by "closed" > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org=20= > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org= =20 > > > > > --=__Part193058ED.0__=--