I think I confused the issue.
That should work unless there is a bug, but I don't think it's the best
place to do it.
Do you have a news.psml in your user's psml directory?

Anyway, you may have uncovered a problem in home.vm regarding using
different pages...

> -----Original Message-----
> From: Burmeister, Mark [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 21, 2002 10:48 AM
> To: 'Jetspeed Users List'
> Subject: RE: jetspeed.getPane("news")
> 
> 
> David,
> My home .vm file looks like this
> #if ($data.User.hasLoggedIn())
> #if ($data.getSession().getAttribute("ACCEPTED"))
>   $data.setMode("default")
>   $jetspeed.getPane("default")  
> #else
> 
> 
> What I want to do is show a portlet in this section.
> I am not sure what the code is to add a portlet into this 
> section. What is the velocity code to add a portlet
> $jetspeed.getPane("news")
> Obviously I was wrong..
> 
> 
> 
> <b>$l10n.TEXT_HERE</b><br>
>   <form name="Form" method="POST" action="$link" 
> onsubmit="return false;">
>     <input type="checkbox" id="LegalText" value="true"/>
>     <input type="hidden" name="username" 
> value="$data.getUser().getUserName()"/>
>     <input type="submit" value="I Agree" 
> onclick="acceptLegalText('$l10n.LEGAL_PROMPT_AGREE');" />
>     <input name="$jlink.ActionKey" type="hidden" 
> value="$config.getString("action.legalText")" />
>   </form>
> #end
> #else
> $data.setMode("default")
> $jetspeed.getPane("default")
> #end
> 
> 
> Thanks again for your help...
> Mark
> 
> 
> 
> 
> -----Original Message-----
> From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 21, 2002 1:18 PM
> To: 'Jetspeed Users List'
> Subject: RE: jetspeed.getPane("news")
> 
> 
> Panes are not pages. You can encode the news page as, 
> assuming its for your current user as:
> 
> $jlink.addPathInfo("page", "news")
> 
> 
> 
> > -----Original Message-----
> > From: Burmeister, Mark [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 21, 2002 9:56 AM
> > To: 'Jetspeed Users List'
> > Subject: jetspeed.getPane("news")
> > 
> > 
> > Does this feature work? Version 1.3.2a
> > I have been trying to add a pane to one of my .vm files and
> > all i get is the default pane. jetspeed.getPane("news"), I 
> > have the news psml file in every directory possible but it 
> > never picks it up. Am I doing something wrong or does this 
> > not work for anything but default? Please advise. Thanks Mark
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 



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

Reply via email to