HOw to maximize a portlet on click of a link.

Hi,
Can some one help me as to how to maximize a portlet on click of a button?
I am calling Page A.jsp to Page B.jsp.
in the .jpf file, in the method which is being used to render Page B.jsp contains
the below mentioned code. Do I have to do something extra or this much code is
enough?
//maximize portlet view
PortletBackingContext context = PortletBackingContext.getPortletBackingContext(super.getRequest());
context.setupStateChangeEvent(WindowCapabilities.MAXIMIZED.getName());
Regards
Rakesh

I think you may have to set the 'Can Maximize' property on the portlet
to 'true'.
JP
Subbu Allamaraju wrote:
That should be enough.
Subbu
Rakesh wrote:
Hi,
Can some one help me as to how to maximize a portlet on click of a
button? I am calling Page A.jsp to Page B.jsp.
in the .jpf file, in the method which is being used to render Page
B.jsp contains
the below mentioned code. Do I have to do something extra or this much
code is
enough?
//maximize portlet view
PortletBackingContext context =
PortletBackingContext.getPortletBackingContext(super.getRequest());
context.setupStateChangeEvent(WindowCapabilities.MAXIMIZED.getName());
Regards
Rakesh

Similar Messages

  • How to refresh a view on click of a link in UI5

    Hi,
    I have created an SAPUI5 application with 1 view (main.view.js) in  Eclipse. I have a link in the view along with some input fields and buttons, on click of the link, I need to refresh view (main.view.js) . Can some one please help me on this?
    Regards,
    Lakshmi

    Hi Dennis,
         Try this link, it may give a tip
                   http://stackoverflow.com/questions/24528806/how-to-reload-a-specific-control-in-sapui5
    Regards
    Jagadish

  • How to Get the value when clicking on the link

    I had a problem with when clicking on the link.
    I need get the link value to the controller when clicking on the link.
    I am displaying the database columns in jsp using repeater in links.
    I am displaying the data like this:
    RED
    BLUE
    GREEN
    these are three links.when clicking on the link RED. RED should go to the controller.
    After getting RED to the controller i will get the RED value from the database.

    my requirement is like that only
    I have just given the example of emp and dept
    emp(empno,zone_group_id,zone_id,deptno,ename,emp_p_ind,last_update_datetime);
    dept_emp(empno,dept_no,loc,dname,sal_emp,grade,last_update_datetime);
    CREATE OR REPLACE VIEW emp_zone AS
    SELECT e.empno,
          (select zone_group_id from price_zone_group where rownum = 1) zone_group_id,
           d.loc zone_id,    
           d.grade,  
           d.last_update_datetime,
      FROM dept_emp d
          emp e
    WHERE d.empno=e.empno
       AND e.emp_p_ind = 'Y'
      WITH READ ONLY;
    Now
    my requirement is to get the data of emp_zone view and needs to store those data into some other temp table
    if any of the above base table got updated deleted or inserted then the view last_updatetime also will get updated but problem is why im not using base table
    direct because it is having huge data and it performance issue .i have to get the value on the basis of view only and using some logic

  • How to open a PDF on click of a link

    Hi All,
    I have a requirement to open a PDF on click of a link on a PG.
    Should I use the Destinaion URL property???
    Where should the PDF be placed on Server???
    like eg. for .gif images we use ........java/oracle/apps/media on server
    Thanks
    Sombit.

    Generally one should use web exposed folders to save custom files like anything under $OA_HTML, can be directly opened as a link in browser. However, in cases the file is saved in a particular location in apllication unix server ,and you have full path to it, you can refer to blog entry to give user the download of file option :
    http://mukx.blogspot.com/2010/01/giving-download-option-to-user-for-file.html
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Open GUI Transaction when clicking in Hyper Link

    Hello All,
    I want to open GUI Transaction  when user will click on Hyper Link created in a particular column in a table view. For that I have created  Transaction Launcher ID using Transaction Launcher  Wizard. Then what will be the next step, i'm not getting. Can anybody help me out on this?
    Thanks in advance,
    Madhusudan

    Hi,
    Here is the sample code:
    DATA: lr_navigation TYPE REF TO if_crm_ui_navigation_service.
    lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
    CHECK lr_navigation IS BOUND.
    lr_navigation->navigate( iv_link_id = 'ZLINKID' ).
    -ASB

  • How to display reports in same portlet when clicked on report links in a menu portlet

    Hi,
    I am not sure what forum I should ask this question. Anyway, I am trying in this forum.
    Let me explain what I trying to do.
    I have reports links as menu item links in a menu. I have published this menu to portal and added it to a page. I can now see the report links. If I now click on the report link, it opens the report in a whole window. How do I open the report in the same portlet? Is this possible to open the report in a different portlet at least?
    Thanks for your help.

    Hi,
    This is part of JPDK. You will have to install it. Which version of portal are you using? You can also try this out using
    URL portlet which is available with webview in 309.
    Thanks,
    Sharmila

  • How to show entire TOC when clicking a CSH link

    I am maintaining 2 separate help projects for 2 separate
    applications. Both use map files and ids to open csh topics. There
    is a main help link in the header of the application that is
    supposed to open the entire help file, including the table of
    contents, with the focus on the first page of the help.
    In the one application, I have the link in the header going
    to the map id for the first page of the help, and the entire help
    file opens, including the TOC. In the other application, I have the
    link in the header going to the map id for the second page of the
    help (the other help project), and instead of the entire help
    opening, I just get the csh page I linked to without the TOC. I
    need the header link to open the entire help. Any suggestions? I
    know that one project is looking for the first page of the help and
    the other project is looking for the second page, but does that
    really make a difference? I remember having this project link to
    the first page before, and the entire help didn't open then either.
    I don't know why it would function differently for the different
    apps/projects, as they are set up identically.
    I hope this makes sense.

    We have had this exact same issue, the TOC sometimes not
    opening when WebHelp is launched from a CSH link. The behavior is
    inconsistent, as you've indicated.
    I've searched and found no solutions, and Adobe appears to
    not recognize it as an issue.
    Frankly, this and a number of other issues we're having are
    leading me to lean towards dropping RH altogether. It is simply too
    buggy.

  • How can i add portlet programetically to a page

    Hi
    I want to create a portlet that contains a list of my portlets so i can place this on a page(by default customization) and all the authorized users can just click on items of this portlet to add this item to their view of the page.
    This is just to avoid the long procedure to add portlet(From clicking on customize link of the page,add portlet button of the region, selecting the portlet....).For end users this may seem difficult.
    If it is possible let me how to remove it programetically.
    thanks in advance
    Abdulla
    null

    Do anybody know a way to achieve this??
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sherry:
    Hi
    I want to create a portlet that contains a list of my portlets so i can place this on a page(by default customization) and all the authorized users can just click on items of this portlet to add this item to their view of the page.
    This is just to avoid the long procedure to add portlet(From clicking on customize link of the page,add portlet button of the region, selecting the portlet....).For end users this may seem difficult.
    If it is possible let me how to remove it programetically.
    thanks in advance
    Abdulla<HR></BLOCKQUOTE>
    null

  • I would like all links to open in the active tab, unless I command-click on the link.

    I've searched for answers to this question, and I was able to adjust the values for preferences in about:config so that all links open in the active tab, but after doing so I am unable to command-click to open a link in a new tab. Is there any way to change certain preferences so that command-clicking will override the browser.link.open_newwindow preferences? Or maybe there's some other way around this?
    This might seem like an odd request, but several sites I use (Tumblr especially) open nearly all links in a new tab by default, and it quickly gets out of hand. A "same-tab unless command-click" configuration would allow me to control where every link opens. Also, I would still like all links from external applications to load in a new tab.
    I'm using Firefox 32.0 on Mac OS X 10.9.4.
    Thanks

    Your request sounds similar to this old thread, except that you want a different setting for the third preference: [https://support.mozilla.org/questions/985943 How do I get when I click on a link it will not open in new tab? I want to open in the same tab where I clicked on that click.]
    (1) In a new tab, type or paste <strong>about:config</strong> and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste <strong>link.o</strong> and pause while the list is filtered.
    (3) Double click these to modify the values as desired:
    <strong>(A) browser.link.open_newwindow</strong>
    3 = divert new window to a new tab (<u>default</u>) (checked*)
    2 = allow link to open a new window (unchecked*)
    '''1 = force new window into same tab'''
    <strong>*</strong> First checkbox in Options &gt; Tabs
    <strong>(B) browser.link.open_newwindow.restriction</strong> - for links in Firefox tabs
    '''0 = apply the setting under (A) to ALL new windows (even script windows)'''
    2 = apply the setting under (A) to normal windows, but NOT to script windows with features (<u>default</u>)
    1 = override the setting under (A) and always use new windows
    <strong>(C) browser.link.open_newwindow.override.external</strong> - for links in other programs
    -1 = apply the setting under (A) to external links (<u>default</u>)
    '''3 = open external links in a <u>new tab</u> in the last active window'''
    2 = open external links in a <u>new window</u>
    1 = open external links in the <u>last active tab</u> replacing the current page
    Does that combination work?

  • Can't figure out how to maximize the space on the page by increasing the column width

    Trouble with pages app:
    can't figure out how to maximize the space on the page by increasing the column width
    I have 3 columns and they have spaces btw them that I cannot close the gap on.

    Whatever the version, you can click on the gutter figure and edit it.
    Click once on the column and a second time on the Gutter measurement.
    Peter

  • How to maximize Windows

    In Safari, I can minimize the size of window by typing Control-M,
    question: how to maximize the window size with keyboard shortcut? I found that clicking the little green button at the upper left corner difficult.

    You can't. No such function in Mac OS.
    Try searching MacUpdate or VersionTracker for a third-party utility.
    Zoom button (green button) toggles between a user set state and the smallest size that completely displays the content of the window.

  • How to maximize blackberry flash memory

    Hİ all,
    how to maximize blackberry flash memory?
    examp: 9000 internal memory 1gb
     but only we can use 256 mb for messages
    best regard
    Blackberry support teams in linkedin ...join
    http://www.linkedin.com/groups?home=&gid=2785187&trk=anet_ug_hm
    For Russian
    http://www.linkedin.com/groups?gid=3183812&trk=anetsrch_name&goback=.gdr_1278482273982_1
    Solved!
    Go to Solution.

    Hello!
    There are three types of potential memory on a BB: 1) Application Memory, 2) Device Memory, and 3) Media/SD Card Memory
    Application Memory -- This is the most crucial; it is the protected (not user accessible), dedicated, and fixed (in size) space that is available as the destination for the installation of applications (plus some application storage, overhead and such). You cannot touch AppMemory. You cannot improve the maximum AppMemory that your BB has. It is what it is. Applications can only install here...there is no option.
    Device Memory -- This is space on your BB that you can touch to store files, pictures, media, etc. Typically, it is not terribly large, but it is available to you.
    SD/Media Card Memory -- This is what it says...your SD card, for you to store files, media, pictures, etc. It can be as large as your BB OS can support...see this KB:
    http://www.blackberry.com/btsc/KB05461
    On some devices/OS levels, you can only see "File Free" (Options > Status), which I think is equivalent to AppMemory. On other devices, you can see all three memory usage levels (Options > Memory). Here are some guidelines to use:
    http://www.blackberry.com/btsc/KB15345
    http://www.blackberry.com/btsc/KB14320
    http://www.blackberry.com/btsc/KB14213
    Lastly, it is always important to properly close applications when you are done with them. Using the Back or the Red key will not do this -- those leave it to the app to decide what to do...and some will leave themselves resident in memory, consuming resources on your BB, slowing the overall performance. Rather, to close an app, press and select "Close" or "Exit"...that will force the application to be closed, freeing up for your new use the resources it was consuming. Some apps will always remain running (typically -- BBMessenger, Browser, Homescreen, Phone, and Messages)...but, you should still close them properly - especially the Browser...if it is left on an active web page, it will not only consume extra resources but battery power as well.
    Further, anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure. Some have taken to doing this on a regular basis as a preventive measure...some as frequently as once per day. Others have obtained the QuickPull app to automate a simulated Batt-Pull.
    Best!
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Firefox has remberd a password to a website ... chessatwork and I get loged in to my main page and when I click on any link it takes me right back to my log in page, where it has it stored.... password and user name,,, whats up and how do I turn that off?

    Firefox has remberd a password to a website ... chessatwork and I get loged in to my main page and when I click on any link it takes me right back to my log in page, where it has it stored.... password and user name,,, whats up and how do I turn that off? chessatwork has ran great for me for many yrs, then one day I down loaded firefox and went to play chess on this site chessatwork.com, well the window popped up asking to remember the log in and pass word and so I said ok, and it did, but now when I click log in and I go to my main page (home) and click on any link, say to play game I return right back to log in

    See http://kb.mozillazine.org/Deleting_autocomplete_entries<br />
    Remove a saved password here: Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    You may also need to remove the cookies from that website.<br />
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • After doing a Google search - when I click on a link it does not take me to the corect website. Instead it always take me to some icity webpage. How do I fix this so that Firefox takes me to the correct website that the Google search found?

    After doing a Google search - when I click on a link it does not take me to the correct website. Instead it always take me to some icity webpage. How do I fix this so that Firefox takes me to the correct website that the Google search found?

    After doing a Google search - when I click on a link it does not take me to the correct website. Instead it always take me to some icity webpage. How do I fix this so that Firefox takes me to the correct website that the Google search found?

  • How do I get firefox to open a new window when i click on a link in a webpage ?

    When I click on a link in a webpage in Firefox, generally it opens the new page in the window i am in (though some times it does not). How do I get it to open a new window (or tab) each time I click a link.
    For example, on www.bbc.co.uk if I click on a link, the new page opens in the same window, if I then click another link in the new window, again, it opens in the same window. To get back to the original window, I have to use the back button twice. Surely there is a setting so that all 3 windows can be open on separate tabs or separate windows.
    I have been to the tabs window in options, but doesn't seem to make a difference.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

Maybe you are looking for