read: http://jakarta.apache.org/site/mail.html
hint: section on cross posting.

> -----Original Message-----
> From: Sangam Dash [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 5:24 PM
> To: Jetspeed Users List; [EMAIL PROTECTED]
> Subject: Re: Maximize IFramePortlet
>
>
> Hi
>
> I have been using jetspeed since last one month.
> I get a lot of help from u guys so very thankful to you.
> This time i need something like this....
> Please help me out...
> I want to create some default users like anon which i did after logging
> in aas Admin.

> But i need to put a link on my default home page for user anon so that
> the other users like clients or partners when click on that link will go
> to their default pages, but without logging in.

You mean something like this.

http://localhost:8080/jportal/portal/media-type/html/user/turbine/page/defau
lt.psml/

Look at the jslink example. That should give you some ideas.
Here, I set up an jslink example portlet for you, its the second one on the
left:

http://www.bluesunrise.com/jetspeed/portal/media-type/html/language/en/user/
anon/page/default.psml


> I did create clients and partners as guest users so that they dont need
> logging in to the system.
> But i dont understand how should i link them to their default pages?
> like the index.jsp page is the default page for the user anon the same
> way i need to link the user clients to the client.jsp and partners to
> partners.jsp page.
> Can i do that someway you guys know?

The jslink tool can be used to create links from velocity or jsp to other
pages.
Here are some examples:

$jslink.setUser("turbine") # link to the turbine user's home page
$jslink.setGroup("Apache", "news") # link to the apache group, news page
$jslink.setRole("Apache", "news") # link to the apache group, news page
#set ($link1 =
$jslink.setPaneByName($rowLink.Action).addQueryData("ui_rowid",$rowid).addQu
eryData("ui_mode",$rName))
<form
action="$jslink.setPage($browserPage,$browserPane).setAction($formAction).ad
dQueryData("ui_rowid", $ui_rowid).addQueryData("ui_mode", "$ui_mode")"
method="post">

You can also secure these pages so that only users with certain roles can
view the pages





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

Reply via email to