You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ozgur Balsoy <ba...@grids.ucs.indiana.edu> on 2002/07/19 22:26:42 UTC

panes by name

Does accessing panes by name work? I have tried something like 
/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and 
Tomcat 4.0.4.

Is this wrong way to use it? JetspeedLink class generate URI as such.

Ozgur


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: panes by name

Posted by Ozgur Balsoy <ba...@grids.ucs.indiana.edu>.
I use the customizer to add panes. The names look fine.

For example, shouldn't these take you RSS pane directly?

http://www.bluesunrise.com/jetspeed/portal/user/anon/page/default.psml/js_panename/RSS
http://www.bluesunrise.com/jetspeed/portal/js_panename/RSS

Ozgur

David Sean Taylor wrote:

> js_panename is correct
> Make sure that that 'Home' is the name of the pane as in
> 
>         <entry id='402' parent="Home" />
> 
> 
> 
>>-----Original Message-----
>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>Sent: Friday, July 19, 2002 1:27 PM
>>To: Jetspeed Users List
>>Subject: panes by name
>>
>>
>>Does accessing panes by name work? I have tried something like 
>>/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and 
>>Tomcat 4.0.4.
>>
>>Is this wrong way to use it? JetspeedLink class generate URI as such.
>>
>>Ozgur
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail: 
>><ma...@jakarta.apache.org>
>>
>>
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: panes by name

Posted by Ozgur Balsoy <ba...@grids.ucs.indiana.edu>.
Thanks for the great work you're doing. I'll try to finde where the 
problems are.

Ozgur

David Sean Taylor wrote:

> Ozgur,
> 
> I am (painfully) aware of the bug with the highlighting.
> Its on my todo list, patches welcome :)
> 
> 
>>Also, it would be very nice if the customizer assigned the name
>>attribute along with the ID.
>>
> 
> Yes, ok, will add that to the todo list too
> 
> Right now Im trying to figure out what the hell is going on with all this
> hardcoding for WML customization.
> Im trying to customize a 3rd media type, but this AutoProfile code is very
> keen on only supporting 2 mediatypes.
> 
> David
> 
> 
>>-----Original Message-----
>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>Sent: Friday, July 19, 2002 5:36 PM
>>To: Jetspeed Users List
>>Subject: Re: panes by name
>>
>>
>>David,
>>This works fine but I guess there is a small bug there. When I access
>>the pane with its name while on another pane, the pane's name is not
>>highlighted but the content comes right. To see this first click on the
>>first link, and then the second. Check if the RSS pane's name is
>>highlighted.
>>
>>http://montblanc.ucs.indiana.edu:8080/jetspeed/portal/user/anon/pa
>>ge/default.psml/js_pane/Home+Page
>>http://montblanc.ucs.indiana.edu:8080/jetspeed/portal/user/anon/pa
>>ge/default.psml/js_panename/RSS
>>
>>psml/user/anon/html/en/default.psml:
>>   <portlets id="Home Page" name="Home Page">
>>...
>>   <portlets id="RSS" name="RSS">
>>...
>>
>>Also, it would be very nice if the customizer assigned the name
>>attribute along with the ID.
>>
>>Thanks for the help.
>>Ozgur
>>
>>David Sean Taylor wrote:
>>
>>
>>>I see its a tab, not a menu. My mistake.
>>>Try this:
>>>
>>>        <portlets id='Home' name='Home'>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>>>Sent: Friday, July 19, 2002 3:58 PM
>>>>To: Jetspeed Users List
>>>>Subject: Re: panes by name
>>>>
>>>>
>>>>David,
>>>>This is a sample pane entry from a psml. The pane's name is "Home Page."
>>>>Where can we define panes as you have suggested?
>>>>Ozgur
>>>>
>>>>  <portlets>
>>>>    <controller name="RowController">
>>>>      <parameter name="sizes" value="66%,34%"/>
>>>>    </controller>
>>>>
>>>>    <metainfo>
>>>>      <title>Home Page</title>
>>>>    </metainfo>
>>>>
>>>>    <portlets>
>>>>      <entry parent="JetspeedContent"/>
>>>>    </portlets>
>>>>
>>>>    <portlets>
>>>>      <entry parent="Jetspeed"/>
>>>>      <entry parent="Welcome"/>
>>>>    </portlets>
>>>>
>>>>  </portlets>
>>>>
>>>>
>>>>David Sean Taylor wrote:
>>>>
>>>>
>>>>
>>>>>js_panename is correct
>>>>>Make sure that that 'Home' is the name of the pane as in
>>>>>
>>>>>       <entry id='402' parent="Home" />
>>>>>
>>>>>
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>>>>>Sent: Friday, July 19, 2002 1:27 PM
>>>>>>To: Jetspeed Users List
>>>>>>Subject: panes by name
>>>>>>
>>>>>>
>>>>>>Does accessing panes by name work? I have tried something like
>>>>>>/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and
>>>>>>Tomcat 4.0.4.
>>>>>>
>>>>>>Is this wrong way to use it? JetspeedLink class generate URI as such.
>>>>>>
>>>>>>Ozgur
>>>>>>
>>>>>>
>>>>>>--
>>>>>>To unsubscribe, e-mail:
>>>>>><ma...@jakarta.apache.org>
>>>>>>For additional commands, e-mail:
>>>>>><ma...@jakarta.apache.org>
>>>>>>
>>>>>>
>>>>>--
>>>>>To unsubscribe, e-mail:
>>>>>
>>>>>
>>><ma...@jakarta.apache.org>
>>>
>>>>For additional commands, e-mail:
>>>>
>>>>
>>><ma...@jakarta.apache.org>
>>>
>>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><ma...@jakarta.apache.org>
>>>For additional commands, e-mail:
>>><ma...@jakarta.apache.org>
>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
> <ma...@jakarta.apache.org>
> 
>>For additional commands, e-mail:
>>
> <ma...@jakarta.apache.org>
> 
>>
>>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: panes by name

Posted by David Sean Taylor <da...@bluesunrise.com>.
Ozgur,

I am (painfully) aware of the bug with the highlighting.
Its on my todo list, patches welcome :)

> Also, it would be very nice if the customizer assigned the name
> attribute along with the ID.

Yes, ok, will add that to the todo list too

Right now Im trying to figure out what the hell is going on with all this
hardcoding for WML customization.
Im trying to customize a 3rd media type, but this AutoProfile code is very
keen on only supporting 2 mediatypes.

David

> -----Original Message-----
> From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
> Sent: Friday, July 19, 2002 5:36 PM
> To: Jetspeed Users List
> Subject: Re: panes by name
>
>
> David,
> This works fine but I guess there is a small bug there. When I access
> the pane with its name while on another pane, the pane's name is not
> highlighted but the content comes right. To see this first click on the
> first link, and then the second. Check if the RSS pane's name is
> highlighted.
>
> http://montblanc.ucs.indiana.edu:8080/jetspeed/portal/user/anon/pa
> ge/default.psml/js_pane/Home+Page
> http://montblanc.ucs.indiana.edu:8080/jetspeed/portal/user/anon/pa
> ge/default.psml/js_panename/RSS
>
> psml/user/anon/html/en/default.psml:
>    <portlets id="Home Page" name="Home Page">
> ...
>    <portlets id="RSS" name="RSS">
> ...
>
> Also, it would be very nice if the customizer assigned the name
> attribute along with the ID.
>
> Thanks for the help.
> Ozgur
>
> David Sean Taylor wrote:
>
> > I see its a tab, not a menu. My mistake.
> > Try this:
> >
> >         <portlets id='Home' name='Home'>
> >
> >
> >>-----Original Message-----
> >>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
> >>Sent: Friday, July 19, 2002 3:58 PM
> >>To: Jetspeed Users List
> >>Subject: Re: panes by name
> >>
> >>
> >>David,
> >>This is a sample pane entry from a psml. The pane's name is "Home Page."
> >>Where can we define panes as you have suggested?
> >>Ozgur
> >>
> >>   <portlets>
> >>     <controller name="RowController">
> >>       <parameter name="sizes" value="66%,34%"/>
> >>     </controller>
> >>
> >>     <metainfo>
> >>       <title>Home Page</title>
> >>     </metainfo>
> >>
> >>     <portlets>
> >>       <entry parent="JetspeedContent"/>
> >>     </portlets>
> >>
> >>     <portlets>
> >>       <entry parent="Jetspeed"/>
> >>       <entry parent="Welcome"/>
> >>     </portlets>
> >>
> >>   </portlets>
> >>
> >>
> >>David Sean Taylor wrote:
> >>
> >>
> >>>js_panename is correct
> >>>Make sure that that 'Home' is the name of the pane as in
> >>>
> >>>        <entry id='402' parent="Home" />
> >>>
> >>>
> >>>
> >>>>-----Original Message-----
> >>>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
> >>>>Sent: Friday, July 19, 2002 1:27 PM
> >>>>To: Jetspeed Users List
> >>>>Subject: panes by name
> >>>>
> >>>>
> >>>>Does accessing panes by name work? I have tried something like
> >>>>/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and
> >>>>Tomcat 4.0.4.
> >>>>
> >>>>Is this wrong way to use it? JetspeedLink class generate URI as such.
> >>>>
> >>>>Ozgur
> >>>>
> >>>>
> >>>>--
> >>>>To unsubscribe, e-mail:
> >>>><ma...@jakarta.apache.org>
> >>>>For additional commands, e-mail:
> >>>><ma...@jakarta.apache.org>
> >>>>
> >>>>
> >>>
> >>>--
> >>>To unsubscribe, e-mail:
> >>>
> > <ma...@jakarta.apache.org>
> >
> >>For additional commands, e-mail:
> >>
> > <ma...@jakarta.apache.org>
> >
> >>
> >>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: panes by name

Posted by Ozgur Balsoy <ba...@grids.ucs.indiana.edu>.
David,
This works fine but I guess there is a small bug there. When I access 
the pane with its name while on another pane, the pane's name is not 
highlighted but the content comes right. To see this first click on the 
first link, and then the second. Check if the RSS pane's name is 
highlighted.

http://montblanc.ucs.indiana.edu:8080/jetspeed/portal/user/anon/page/default.psml/js_pane/Home+Page
http://montblanc.ucs.indiana.edu:8080/jetspeed/portal/user/anon/page/default.psml/js_panename/RSS

psml/user/anon/html/en/default.psml:
   <portlets id="Home Page" name="Home Page">
...
   <portlets id="RSS" name="RSS">
...

Also, it would be very nice if the customizer assigned the name 
attribute along with the ID.

Thanks for the help.
Ozgur

David Sean Taylor wrote:

> I see its a tab, not a menu. My mistake.
> Try this:
> 
>         <portlets id='Home' name='Home'>
> 
> 
>>-----Original Message-----
>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>Sent: Friday, July 19, 2002 3:58 PM
>>To: Jetspeed Users List
>>Subject: Re: panes by name
>>
>>
>>David,
>>This is a sample pane entry from a psml. The pane's name is "Home Page."
>>Where can we define panes as you have suggested?
>>Ozgur
>>
>>   <portlets>
>>     <controller name="RowController">
>>       <parameter name="sizes" value="66%,34%"/>
>>     </controller>
>>
>>     <metainfo>
>>       <title>Home Page</title>
>>     </metainfo>
>>
>>     <portlets>
>>       <entry parent="JetspeedContent"/>
>>     </portlets>
>>
>>     <portlets>
>>       <entry parent="Jetspeed"/>
>>       <entry parent="Welcome"/>
>>     </portlets>
>>
>>   </portlets>
>>
>>
>>David Sean Taylor wrote:
>>
>>
>>>js_panename is correct
>>>Make sure that that 'Home' is the name of the pane as in
>>>
>>>        <entry id='402' parent="Home" />
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>>>Sent: Friday, July 19, 2002 1:27 PM
>>>>To: Jetspeed Users List
>>>>Subject: panes by name
>>>>
>>>>
>>>>Does accessing panes by name work? I have tried something like
>>>>/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and
>>>>Tomcat 4.0.4.
>>>>
>>>>Is this wrong way to use it? JetspeedLink class generate URI as such.
>>>>
>>>>Ozgur
>>>>
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>><ma...@jakarta.apache.org>
>>>>For additional commands, e-mail:
>>>><ma...@jakarta.apache.org>
>>>>
>>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
> <ma...@jakarta.apache.org>
> 
>>For additional commands, e-mail:
>>
> <ma...@jakarta.apache.org>
> 
>>
>>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: panes by name

Posted by David Sean Taylor <da...@bluesunrise.com>.
I see its a tab, not a menu. My mistake.
Try this:

        <portlets id='Home' name='Home'>


> -----Original Message-----
> From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
> Sent: Friday, July 19, 2002 3:58 PM
> To: Jetspeed Users List
> Subject: Re: panes by name
>
>
> David,
> This is a sample pane entry from a psml. The pane's name is "Home Page."
> Where can we define panes as you have suggested?
> Ozgur
>
>    <portlets>
>      <controller name="RowController">
>        <parameter name="sizes" value="66%,34%"/>
>      </controller>
>
>      <metainfo>
>        <title>Home Page</title>
>      </metainfo>
>
>      <portlets>
>        <entry parent="JetspeedContent"/>
>      </portlets>
>
>      <portlets>
>        <entry parent="Jetspeed"/>
>        <entry parent="Welcome"/>
>      </portlets>
>
>    </portlets>
>
>
> David Sean Taylor wrote:
>
> > js_panename is correct
> > Make sure that that 'Home' is the name of the pane as in
> >
> >         <entry id='402' parent="Home" />
> >
> >
> >
> >>-----Original Message-----
> >>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
> >>Sent: Friday, July 19, 2002 1:27 PM
> >>To: Jetspeed Users List
> >>Subject: panes by name
> >>
> >>
> >>Does accessing panes by name work? I have tried something like
> >>/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and
> >>Tomcat 4.0.4.
> >>
> >>Is this wrong way to use it? JetspeedLink class generate URI as such.
> >>
> >>Ozgur
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >><ma...@jakarta.apache.org>
> >>For additional commands, e-mail:
> >><ma...@jakarta.apache.org>
> >>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: panes by name

Posted by Ozgur Balsoy <ba...@grids.ucs.indiana.edu>.
David,
This is a sample pane entry from a psml. The pane's name is "Home Page."
Where can we define panes as you have suggested?
Ozgur

   <portlets>
     <controller name="RowController">
       <parameter name="sizes" value="66%,34%"/>
     </controller>

     <metainfo>
       <title>Home Page</title>
     </metainfo>

     <portlets>
       <entry parent="JetspeedContent"/>
     </portlets>

     <portlets>
       <entry parent="Jetspeed"/>
       <entry parent="Welcome"/>
     </portlets>

   </portlets>


David Sean Taylor wrote:

> js_panename is correct
> Make sure that that 'Home' is the name of the pane as in
> 
>         <entry id='402' parent="Home" />
> 
> 
> 
>>-----Original Message-----
>>From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
>>Sent: Friday, July 19, 2002 1:27 PM
>>To: Jetspeed Users List
>>Subject: panes by name
>>
>>
>>Does accessing panes by name work? I have tried something like 
>>/jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and 
>>Tomcat 4.0.4.
>>
>>Is this wrong way to use it? JetspeedLink class generate URI as such.
>>
>>Ozgur
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail: 
>><ma...@jakarta.apache.org>
>>
>>
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: panes by name

Posted by David Sean Taylor <da...@bluesunrise.com>.
js_panename is correct
Make sure that that 'Home' is the name of the pane as in

        <entry id='402' parent="Home" />



> -----Original Message-----
> From: Ozgur Balsoy [mailto:balsoy@grids.ucs.indiana.edu]
> Sent: Friday, July 19, 2002 1:27 PM
> To: Jetspeed Users List
> Subject: panes by name
> 
> 
> Does accessing panes by name work? I have tried something like 
> /jetspeed/portal/js_panename/Home and it didn't work with JS 1.4b1 and 
> Tomcat 4.0.4.
> 
> Is this wrong way to use it? JetspeedLink class generate URI as such.
> 
> Ozgur
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>