How to hide portlet

Hi,
Can someone help me to do this ? :
I've got a two columns layout page P1.
On the left side i have the pageflow portlet A.
On the right side i have the pageflow portlet B.
When i click on page P1, the portlet A display a form and the portlet B is hidden.
When i submit the form (in portlet A), the result appears in portlet A and the portlet B becomes active and displays a form.
When i submit the form (in portlet B) the results appears in portlet A (the portlet B dispalying the previous form).
Thanks for your help.

so you want to hide a portlet.
from a backing file just return false from the preRender() phase
or
call PortletBackingContext.setVisible(false);
you can do this from the current backfing file or from some other portlets backing file by discovering the other portlets baking context via
DesktopBackingContext.getPortletBackingContextRecursive(String instanceLabel)
Chris Jolley
Portal Architect

Similar Messages

  • How to Hide Portlet conditionally

    Hi,
    I have page on which I show 2 portlets A & B.
    Both are page Flow portlets.
    Portlet A has two pages ( Search.jsp and result.jsp)
    When A portlet’s search page is displayed show portlet B .
    But when A portlets result page is displayed don’t show portlet B
    Can we implement this ?
    thanks
    Hitesh

    Thanks Seenu ..
    --Hitesh                                                                                                                                                                                                                                       

  • How to hide the menus in Weblogic Portal?

    I have to develop a page in Weblogic Portal 10.0 that uses a portlet for the UI presentation.
    I have a requirement that the page is hidden by default. When I navigate to the page by selecting a link, I have to display the contents in that page. While displaying I should hide the portal level menus of other books/pages. But I have to display other contents like logo, etc.
    Can some one please help me on how to hide the menus in the selected page?
    Edited by: [email protected] on Apr 19, 2010 3:43 AM

    As a quick and dirty solution i would edit the navigation jsps (singlelevel/multilevel/yourcustom menu jsp) and disable the navigation for all hidden pages.
    Or create a backing file and dynamically change the navigation state on the desktop when the hidden page is requested.
    Or have the page in a different portal file if possible and set the same header and footer there as well.
    Or You could have a look at the detached portlets. These are used as popups often.

  • How can hide parameters in url (calling reports)

    hi,
    in portal i'm running reports.
    report url is like this;
    http://myportal/reports/rwservlet?report=report.rdf&p_userid='||v_userid||'&cmdkey=conn_ybs_1'
    when antone calls report the userid parameter shown in url.
    for example;
    http://myportal/reports/rwservlet?report=report.rdf&p_userid='||65874||'&cmdkey=conn_ybs_1'
    i don't want to show parameters value to users
    how can hide this parameter in url?
    thanks.

    in portlet i get userid
    v_userid := wwctx_api.get_user;
    and use v_userid the following portlet.
    bq. <HTML> \\ <BODY> \\ <ORACLE>declare \\ p_authid varchar2(50); \\ p_personel_turu varchar2(1); \\ v_userid varchar2(10); \\ begin \\ p_authid := wwctx_api.get_user; \\ p_personel_turu := substr(p_authid,1,1); \\ v_userid := substr(p_authid, 2,8); \\ htp.p(' \\ <table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>'); \\ if p_personel_turu = 'I' then \\ htp.p('<td width="100%" bgcolor="#7496ec" align="left">*{size:2}{color:#ffffcc} <img border="0" src="\img\resimler\bullet\bullet.gif" align="middle" width="19" height="19">{color}{size}{font:Verdana}{size:2}{color:#ffffcc}Dört Aylık Vizite Kağıdı{color}{size}{font}*</td> \\ </tr> \\ <tr> \\ <td width="100%" bgcolor="#ffffff">{font:Verdana}{size:1}{color:#006699} İşçi Personel Dört Aylık Vizite Kağıdı{color}{size}{font}'); \\ htp.anchor(curl=>'http://myportal/reports/rwservlet?report=report.rdf&p_userid='||v_userid||'&cmdkey=conn_ybs_1',ctext=>'*{font:Verdana}{size:1}tıklayın.{size}{font}*</td></tr><tr><td width="100%"> </td></tr><tr>',cattributes=>'target="_blank"'); \\ end if; \\ htp.p('</tr></table>'); \\ end; \\ </ORACLE> \\ </BODY> \\ </HTML>

  • Hide portlet in between some date of the month

    Hi all,
    I have a requirement to hide a perticular portlet in between some dates in a month.
    Say I want to show portlet from 1st of month to 15th o the month and hide portlet
    for rest of the month.
    How can I achive this.
    Can I do it through portal admin if yes how?
    Or i will have to do it programatically?
    Any help on this will be highly appreciated
    Thanks in advance
    Manish

    Right now, I don't think the entitlements support this type of
    day-of-month checking functionality directly. However, you can use a
    role and entitlement as part of a solution. You could have a servlet
    filter or your portal's skin's jsp or the portlet's backing file
    initialize a request attribute called DayOfMonth to the numeric day of
    the month from a java.util.Calendar. e,g.:
    request.setAttribute("DayOfMonth",
    new Integer(Calendar.getInstance().get(Calendar.DAY_OF_MONTH)));
    Then, in workshop, create a Request Property Set in data/request. Add a
    single-value, unrestricted Numeric property called DayOfMonth. Save the
    Request Property Set. In the admin portal, create a role whose condition
    checks the request's DayOfMonth property to be greater than or equal to
    1 and less than or equal to 15. Entitle the portlet to that role.
    Greg
    Manish wrote:
    Hi all,
    I have a requirement to hide a perticular portlet in between some dates in a month.
    Say I want to show portlet from 1st of month to 15th o the month and hide portlet
    for rest of the month.
    How can I achive this.
    Can I do it through portal admin if yes how?
    Or i will have to do it programatically?
    Any help on this will be highly appreciated
    Thanks in advance
    Manish

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

  • How to hide some select-option of Logical Database in report?

    How to hide select-option of  Logical Database in report?eg . In Logical Database 'PNP' , my code is 'GET  PERNR' , excute the report , select-screen is displayed . I want to hide some select-options , such as PNPPERNR-LOW .
    Edited by: rongrong wang  on Mar 26, 2008 9:31 AM

    U need to write code in initialization as
    initialization.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW'.
    screen-active = '0'.
    modify screen.
    endif.
    if screen-name = 'PNPPERNR-HIGH'.
    screen-active = '0'.
    modify screen.
    endif.
    endloop.

  • How to hide dynamic parameters values in the URL with Reports 6i

    Hi,
    I want to know a way of hiding the parameters values when asking for a report through the web.
    Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
    Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
    Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
    Is there any solution?
    Thank you.
    Marma Bonfiglio.

    Hi Rakesh,
      I am using BI  7.0
    The last option I have is 'Hide' for 'Calculate single values as' .
    I have the below options  for 'Calculate single values as'
    1. Normalise  according to Next group  level  Resul.
    2. Normalize according to  Overall Result
    3. Rank number
    4.Olympic Rank Number
    5.Maximum
    6. Minimum
    7.Counter for all detailed values
    8.Counter for all detailed values that are non zero
    9.Moving average
    10.Moving average  That is  Not zero ,null or Error
    11. Hide.
    So could you please tell me where i can find 'suppress result' option for the keyfigure .
    Many thanks

  • How to hide a list from SharePoint tree view pro grammatically.

    Hi,
    I have enabled tree view for a SharePoint 2013 site pro grammatically. 
    I want hide some specific lists from that tree view like Documents, Workflow, Task List, Calender
    Lists which are created default when we create a site.
    How could i do that?

    I know how to hide Quick launch and Enable Tree view with properties in C#.
    My question is 
    hide some specific lists from that tree view like Documents,
    Workflow, Task List, Calender
    Lists which are created default when we create a site.

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • How to hide only pause button on toolbar in run time

    hello,
    I had hide all the buttons like run, run continuous, abort vi and others by navigating to VI Properties and unchecking the corresponding options.
    when i run the vi, all becomes hide except pause button and i didn't find any option for hiding it manually as well as programatically.
    can any one tell me how to hide pause button. i have an urgent requirement for same.
    Thanks & Regards,
    Samriddh Sarbalhi
    Solved!
    Go to Solution.

    wprice wrote:
    I just found that the option called "Show Toolbar When Running" is located under VI Properties > Windows Appearance > Customize. I disabled it and it worked. Thanks!
    So, the option I mentioned is still available, but only at a different place.
    I was shocked on seeing your earlier reply, "There is no such option in LabVIEW 9.0 or higher.". 
    - Partha
    LabVIEW - Wires that catch bugs!

  • How to hide Compounding object in report

    Hi friends
    We want to display region in our reports , But when I execute the query region is coming along with county (eg: US/TX , US/CA etc..) ...this is because of country is a compunding object of region...Can any body let me know how to hide country ...We just want to show TX,CA etc..
    regards

    Please search...this has been answered many times here.

  • How to hide Bottom Line in Report ?

    Hi everyone,
    We are working on Reports 11gr2 64-bit.
    In every report, when text is completed on a page, a horizonal line (i.e. bottom line) at the end of the every page is shown and printed unnecessarily.
    But creates problem in printed stationary, specially in Cheque-printing.
    Kindly advise me how to hide this bottom-line, specially in printing.
    Thanks.
    Dev.
    Edited by: ocpdev on Apr 5, 2013 6:29 PM

    HI
    Is these reports are developed on 11g or migrated from earlier version.
    Anyhow, to test it, - create a report from scratch on 11g and run it, Also check the Footer for any Lines on it.
    I hope you can identify the issue by redoing the thing for testing
    Best of luck
    ocpdev wrote:
    Hi everyone,
    We are working on Reports 11gr2 64-bit.
    In every report, when text is completed on a page, a horizonal line (i.e. bottom line) at the end of the every page is shown and printed unnecessarily.
    But creates problem in printed stationary, specially in Cheque-printing.
    Kindly advise me how to hide this bottom-line, specially in printing.
    Thanks.
    Dev.
    Edited by: ocpdev on Apr 5, 2013 6:29 PM

  • How to hide remote IP address in header for roaming users

    Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
    libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009)
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
    Hello everyone,
    We have a new messaging server and have been struggling in our effort to figure out how to hide the remote IP address of users who send email from a remote location. When a roaming user sends out an email from a remote location using SMTP AUTH to authenticate, the messaging server includes the remote ISP's dynamic IP address in the header of the email, which in turn results in some recipient mail servers blocking the mail message as spam. What we want to do is have messaging server rewrite or remove the roaming user's dynamic email address so the header does not reflect a user working remotely. The net effect would be the header not reflecting any external address and the messaging appearing to have originated internally.
    Any assistance on this would be greatly appreciated. Thanks in advance.

    MarketData.com wrote:
    We have a new messaging server and have been struggling in our effort to figure out how to hide the remote IP address of users who send email from a remote location. When a roaming user sends out an email from a remote location using SMTP AUTH to authenticate, the messaging server includes the remote ISP's dynamic IP address in the header of the email, which in turn results in some recipient mail servers blocking the mail message as spam.How often is this occurring (messages being blocked as "spam" due to the content of an existing Received header)?
    What spam software is being used that blocks these messages?
    Very large organisations/ISP's use Sun Messaging Server and this is the first time I have heard of this occurring.
    What we want to do is have messaging server rewrite or remove the roaming user's dynamic email address so the header does not reflect a user working remotely. The net effect would be the header not reflecting any external address and the messaging appearing to have originated internally.Removing the IP address information is going to be extremely difficult. The standards are quite clear that the Received: header should include the IP address information.
    RFC 2821 (SMTP), Section 4.4 Trace Information:
       When an SMTP server receives a message for delivery or further
       processing, it MUST insert trace ("time stamp" or "Received")
       information at the beginning of the message content, as discussed in
       section 4.1.1.4.
       This line MUST be structured as follows:
       -  The FROM field, which MUST be supplied in an SMTP environment,
          SHOULD contain both (1) the name of the source host as presented
          in the EHLO command and (2) an address literal containing the IP
          address of the source, determined from the TCP connection.Regards,
    Shane.

  • How to hide the data in particular table in oracle 10g

    How to hide the data in particular table in oracle 10g
    i want steps

    If its on Report u can  always hide the column - Keyfigure or Selection - Display - Hide......y do u want to have it on the report if it is to be hided in the first place?

Maybe you are looking for

  • Form won't submit, newbie, probably being an idiot

    Probbally being an absolute idiot as completely new to web design, but really stuck, all help hugely appreciated... form on http://www.refuseboredom.com/EasterHolidays.html, form is validating itself but doesnt post?? its supposed to be going to a Fo

  • How to attach and email a text file using UTL_MAIL.SEND_ATTACH_VARCHAR2

    Hi im trying to attach a text file 'sample.txt' located in '\Test_Loc\New_Folder' Here is my code and my OS is Solaris and im using 10g R2 CREATE OR REPLACE procedure test_v2 as Begin UTL_MAIL.SEND_ATTACH_VARCHAR2( sender => '[email protected]', reci

  • Substr and Performance

    Hi I need to use below code in the package select 'x' from gl_Code_combination where segment1=substr('XXXX.XXSC0X.XXXXX1.000.4070.000000.AA01.0000.0',1,4) and segment2 = substr('XXXX.XXSCOX.XXXXX1.000.4070.000000.AA01.0000.0',6,6) in the for loop whe

  • Is there a 64 bit edition of Thunderbird?

    Just wanted to know if there is a 64 bit edition of this product.

  • Low free ram

    Hello everybody! I was wondering if somebody had this problem that i am having (LV 2011 32-bit, 6 gb ram,win7 64-bit) I am using PCL library to acquire the data stream from the Kinect sensor (x,y,z and rgb channels). I am calling this library in my L