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 David Sean Taylor <da...@bluesunrise.com> on 2005/01/14 20:37:19 UTC

Re: Hide Panes in JetSpeed

Carlos Torres wrote:
> Hello people, I need to hide the Pane Tab in jetspeed, for example, I have an application with only one pane, "Home", and I'd like to hide this pane and let the screen clean. Anybody has how to make it?
> 
> Thank you very much
> 
> regards,
>  
>        Carlos Torres
> 

Assume you are speaking of Jetspeed-1
Try this:

         <entry id='327' parent="UserForm">
             <parameter name="_menustate" value="closed"/>
         </entry>





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Hide Panes in JetSpeed

Posted by Carlos Torres <ct...@mcn.com.br>.
I saw the example and put this in my psml file:

    <control name="TabControl"/>
    <controller name="TabController"/>
    <portlets id="P-fe8d2567cb-10000">
        <metainfo>
            <title>Home</title>
        </metainfo>
        <security-ref parent="owner-only"/>
        <layout position="0" size="-1"/>
        <controller name="OneColumn"/>
        <entry id="P-fe970bb29e-10000" parent="CATPortlet">
            <layout position="-1" size="-1">
                <property name="column" value="0"/>
                <property name="row" value="0"/>
            </layout>
            <parameter name="MCN" value="teste CAT MCN"/>
            <parameter name="_display" value="normal"/>
            <parameter name="_menustate" value="closed"/>
            <parameter name="_showtitlebar" value="true"/>
        </entry>
    </portlets>

The difference between the example and mine is the controll and controller.
In the example is used this:
<portlets id="302">
 <metainfo>
  <title>User & Security</title>
 </metainfo>
 <security-ref parent="admin-only" />
 <layout position="1" size="-1" />

 <control name="MenuControl" />
 <controller name="CardPortletController">

  <property name="parameter" value="select-panel" />
 </controller>
 <metainfo>
  <title>Security</title>
 </metainfo>
 <entry id="327" parent="UserForm">
  <parameter name="_menustate" value="closed" />
 </entry>
 <entry id="328" parent="RoleForm">
  <parameter name="_menustate" value="closed" />
 </entry>
 .
 .
 .

Could be it the problem that I can't make the Tab Button desappear?
Thanks

----- Original Message ----- 
From: "David Sean Taylor" <da...@bluesunrise.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Friday, January 14, 2005 5:57 PM
Subject: Re: Hide Panes in JetSpeed


> Carlos Torres wrote:
> > I'm using Jetspeed 1.5 and it didn't work.
> > I think I didn't explain very well. I'd like to hide only the "tab
button"
> > not the panel properly.
> >
>
> Yes that is how it works
> Look at the Security Admin portlets in the 1.5 distribution for an example
>
> >
> > ----- Original Message ----- 
> > From: "David Sean Taylor" <da...@bluesunrise.com>
> > To: "Jetspeed Users List" <je...@jakarta.apache.org>
> > Sent: Friday, January 14, 2005 4:37 PM
> > Subject: Re: Hide Panes in JetSpeed
> >
> >
> >
> >>Carlos Torres wrote:
> >>
> >>>Hello people, I need to hide the Pane Tab in jetspeed, for example, I
> >
> > have an application with only one pane, "Home", and I'd like to hide
this
> > pane and let the screen clean. Anybody has how to make it?
> >
> >>>Thank you very much
> >>>
> >>>regards,
> >>>
> >>>       Carlos Torres
> >>>
> >>
> >>Assume you are speaking of Jetspeed-1
> >>Try this:
> >>
> >>         <entry id='327' parent="UserForm">
> >>             <parameter name="_menustate" value="closed"/>
> >>         </entry>
> >>
> >>
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >>
> >>
> >>
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Hide Panes in JetSpeed

Posted by David Sean Taylor <da...@bluesunrise.com>.
Carlos Torres wrote:
> I'm using Jetspeed 1.5 and it didn't work.
> I think I didn't explain very well. I'd like to hide only the "tab button"
> not the panel properly.
> 

Yes that is how it works
Look at the Security Admin portlets in the 1.5 distribution for an example

> 
> ----- Original Message ----- 
> From: "David Sean Taylor" <da...@bluesunrise.com>
> To: "Jetspeed Users List" <je...@jakarta.apache.org>
> Sent: Friday, January 14, 2005 4:37 PM
> Subject: Re: Hide Panes in JetSpeed
> 
> 
> 
>>Carlos Torres wrote:
>>
>>>Hello people, I need to hide the Pane Tab in jetspeed, for example, I
> 
> have an application with only one pane, "Home", and I'd like to hide this
> pane and let the screen clean. Anybody has how to make it?
> 
>>>Thank you very much
>>>
>>>regards,
>>>
>>>       Carlos Torres
>>>
>>
>>Assume you are speaking of Jetspeed-1
>>Try this:
>>
>>         <entry id='327' parent="UserForm">
>>             <parameter name="_menustate" value="closed"/>
>>         </entry>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Hide Panes in JetSpeed

Posted by Carlos Torres <ct...@mcn.com.br>.
I'm using Jetspeed 1.5 and it didn't work.
I think I didn't explain very well. I'd like to hide only the "tab button"
not the panel properly.


----- Original Message ----- 
From: "David Sean Taylor" <da...@bluesunrise.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Friday, January 14, 2005 4:37 PM
Subject: Re: Hide Panes in JetSpeed


> Carlos Torres wrote:
> > Hello people, I need to hide the Pane Tab in jetspeed, for example, I
have an application with only one pane, "Home", and I'd like to hide this
pane and let the screen clean. Anybody has how to make it?
> >
> > Thank you very much
> >
> > regards,
> >
> >        Carlos Torres
> >
>
> Assume you are speaking of Jetspeed-1
> Try this:
>
>          <entry id='327' parent="UserForm">
>              <parameter name="_menustate" value="closed"/>
>          </entry>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org