Displaying different content on Maximize of Portlet

Hi,
Is there a way by which i can display different content on Maximize event of a portlet than the one displayed in the normal portlet.
saw one <render:jspContentUri> taglib which promises to do that. but it only maximizes the existing content and does not change it.
Any help in this regard would be appreciated.
thanx in advance
Gaurang

Anyone know how to do this on a PageFlow portlet?
"Chris Jolley" <[email protected]> wrote:
>
I assume you are using a regular JSP portlet...
put a backing file on the portlet (backing files are just java classes
that extend
AbstractJSPBacking, see "backing file" property in IDE)
public boolean preRender(HttpServletRequest request, HttpServletResponse
response)
PortletBackingContext pbc = PortletBackingContext.getPortletBackingContext(request);
WindowState ws = pbc.getWindowState();
if (ws.getName().equals("maximized"))
JspContentContext jcc JspContentContext getJspContentContext(request);
jcc.setContentUri("/mynew.jsp");
Note: you can put backing files on the Portlet and the JSpContent elements.
I'm
not sure if the IDE supports both of these. You may have to crack open
the .portlet
file and add the backing file to the JSPContent element.
<netuix:jspContent backingFile="comn.somecompany.yourBackingFile" contentUri="/portlets/myportlet.jsp"/>
Gaurang <[email protected]> wrote:
Hi,
Is there a way by which i can display different content on Maximizeevent
of a portlet than the one displayed in the normal portlet.
saw one <render:jspContentUri> taglib which promises to do that. but
it only maximizes the existing content and does not change it.
Any help in this regard would be appreciated.
thanx in advance
Gaurang

Similar Messages

  • Drop Down Menu on Page to Display Different Content

    I need to put a drop down menu into a page. People would be able to select form the menu and get different content on the page. These would not be links to other pages.
    I do not want the menu items to be links to other pages, but separate content all on the same page. Kind of like a anchor, but instead of all the text being displayed at once the text only displays when chosen from the drop down.

    You could also use jQuery to show/hide divs.
    http://jsfiddle.net/MdSTW/14/
    http://jsfiddle.net/NancyO/nFPuW/
    Nancy O.

  • Displaying content item -(IContentItem) in portlet using Content Server API

    Hi,
    I am using the latest Content server API in my remote server to get the published content items. I have to display the content item in the JSP portlet.
    So how to display the content item in the portlet, if you have the IContentItem Object retrieved from the content server ? Is there any mechanism to get the HTML code/JSP code that corresponds to the IContentItem object?(All the content item will be an html or jsp )
    Currently we are extracting the publish url and opening an http connection to retrieve the html, which is not a good solution if you have mutiple portlets in the same page. So please suggest how can I display the content item (IContentItem Object) in the portlet.?

    Hi Anand,
    I am facing the same problem on IBM WebSphere Portal 5.1.
    Did you find a solution to your problem ?
    Thanks
    Ganesh

  • Does not display all content after first loading of page

    Hello all,
    I am having quite strange problem which is hard for me to figure out.
    I have 8 buttons on my web site. Each button will display different content. My page is: www.itconnect.co.nz
    When you go to my page first time, by default "Design & Software" button will be active. Here when you look on first photo you can see that the bottom part is missing - logos.
    However when i click again on "Design & Software" button the missing content will appear.
    What could be the problem ?
    Thank you to everyone who would like to help.

    I am little confused as i don't use flash - only for the Captcha.
    The way i did is:
    <div class="sp">
        <div class="tabs">
                    <span class="repairs">Repairs</span><span class="design">Design & Software</span>
                   <span class="security">Security</span><span class="networking">Home Networking</span>
                    <span class="communication">Communications</span><span class="cloud">Cloud Solutions</span>
                    <span class="maintenance">Maintenance</span><span class="remote">Remote Support</span>
          </div>
          <div class="panel_container">
                    <div class="panels">
                                    <div class="panel repairs">
                                                    <div class="panel_content">                       
                                                                    HERE GOEST THE CONTENT
                                                     </div>
                                    </div>
    <div class="panel design">
                                    <div class="panel_content">
                                                                    HERE GOES THE CONTENT
                                                    </div>   
                                    </div>
                                    AND SO ON FOR THE OTHER PANELS
                        </div>
    </div>
    </div>
    For my CSS I have:
    .sp {
                    width: 960px;
                    position: absolute;
                    margin-top: 0px;
                    margin-right: 0px;
                    margin-bottom: 10px;
                    margin-left: 0px;
    .sp .tabs {
                    width: 41%;
                    float: left;
                    height: 450px;
                    display: table-column;
    .sp .panel_container {
                    width: 58%;
                    float: right;
                    overflow: hidden;
                    position: relative;
    And for the animation I use JavaScript.
    Thanks in advance

  • Load different content in same page

    Hello,
    I am putting together a css site and have my css file working
    and an html file that sets up my page how I would like. however I
    don't have the nav bar working in an ideal fashion. Is it possible
    to have different content load into the content area of my one html
    file based on user nav menu selection? If it is not already clear,
    I am new to this and any help is truly appreciated. Thank you,
    John
    btw,I am using CS4 design premium.

    It's a bad idea for all the reasons we have already
    mentioned.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gnticf$6mk$[email protected]..
    > Hey John,
    >
    > You can have nav links display different content in body
    all in one page
    > with
    > spry.
    >
    > Check out this for demos:
    >
    >
    >
    http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.ht
    > ml
    >
    > You can also use SpryURLUtils.js to allow users to
    bookmark individual
    > links
    > that are all located in one page.
    >
    > If spry dataset is received through
    dynamically-generated xml from a
    > database
    > you can also setup a database-driven mirror of the pages
    that can be
    > crawled by
    > search engines since no javascript is used in php
    version of site. For
    > instance you can have index.php that retrieves dynamic
    xml dataset using
    > spry
    > to display pages and you can have index2.php that uses
    php MySQL with url
    > parameters ti display content through article id like
    index2.php?id=1,
    > index2.php?id=2, index2.php?id=3, etc. on the index2.php
    version you can
    > have
    > a javascript that redirects javascript users to
    index.php and keeps
    > non-javascript users on index2.php
    >
    > Bottom line is it *can be done with bookmarks and search
    crawl ability but
    > it
    > takes a little work and ingenuity. Question really
    should be whether the
    > effort is worth it to you or not...
    >
    > Hope that helps.
    >

  • Load different content by date

    I need to show "Animation 1" once a day, then show "Animation
    2".
    This is what I have so far, but it doesn't seem to work. Any
    ideas?

    It's a bad idea for all the reasons we have already
    mentioned.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gnticf$6mk$[email protected]..
    > Hey John,
    >
    > You can have nav links display different content in body
    all in one page
    > with
    > spry.
    >
    > Check out this for demos:
    >
    >
    >
    http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.ht
    > ml
    >
    > You can also use SpryURLUtils.js to allow users to
    bookmark individual
    > links
    > that are all located in one page.
    >
    > If spry dataset is received through
    dynamically-generated xml from a
    > database
    > you can also setup a database-driven mirror of the pages
    that can be
    > crawled by
    > search engines since no javascript is used in php
    version of site. For
    > instance you can have index.php that retrieves dynamic
    xml dataset using
    > spry
    > to display pages and you can have index2.php that uses
    php MySQL with url
    > parameters ti display content through article id like
    index2.php?id=1,
    > index2.php?id=2, index2.php?id=3, etc. on the index2.php
    version you can
    > have
    > a javascript that redirects javascript users to
    index.php and keeps
    > non-javascript users on index2.php
    >
    > Bottom line is it *can be done with bookmarks and search
    crawl ability but
    > it
    > takes a little work and ingenuity. Question really
    should be whether the
    > effort is worth it to you or not...
    >
    > Hope that helps.
    >

  • Display different portal page or portlet depend on user's

    can I display different portal page or portlet depend on user's
    profile,such as: if user's gender is male, display a portal
    page named "malePortal",if the user's gender is female, display
    a portal page named "femalePortal"

    This can be accomplished by using Entitlements Segments.
    You can define them in EBCC. you will have to define a user profile which
    will contain user information (like gender).
    Once you have two segments defined, you can use portal administration site
    to configure entitlements for pages and portlets.
    Regards
    Mike
    "Joshua Davies" <[email protected]> wrote in message
    news:3d1c78cb$[email protected]..
    >
    "xxxx" <[email protected]> wrote:
    can I display different portal page or portlet depend on user's
    profile,such as: if user's gender is male, display a portal
    page named "malePortal",if the user's gender is female, display
    a portal page named "femalePortal"If it has to be a portlet, you'll have to create a custom web flow thatstarts with
    a custom IP class. If you just want to show different content based on auser profile
    value, take a look at "Content Selectors" in EBCC; this sounds like aneasier way
    to get where you're trying to go.
    I don't think there's a way to display different portal pages/portalsbased on user's
    profile settings.

  • How to display the content of a region on a different page

    Hello,
    Does anyone knows how to display the content of a region on an other page. I try to make page that displays content that resides somewhere else in my portal, so I can give a summarization of some hot topics. I really want to display the whole content of some regions (not a display with custom search).
    Thanks a lot,
    Hans

    Set that page as portlet, include it in a region in another page and in the edit defaults decide which regions you want to display.
    Mere.

  • How to display different headings in list form using "hide content" in SPD 2010

    I built a custom list form in SPD, and applied conditional formatting in some rows
    Now I like to display different headings (above the 1st row of the form), based on the same condition:
    e.g. when Status=available, display the heading "SIGN OUT"  (as the item is available for sign-out)
    when Status=on-loan, display the heading "SIGN IN" (as the item can be signed in)
    right now I put the two different heading in two lines in the heading space: 
    SIGN OUT
    SIGN IN
    I tried following and it works for this part:
    select the text SIGN IN
    select "create' in "Conditional formatting" pane
    select Hide Content
    Set: Status=available
    click OK
    Then the "SIGN IN" text disappeard.
    But how can I set another conditional formatting to show only "SIGN IN" when Status=on loan?

    Hi,
    If you like to show "sign out" when status=available and show "sign in" when status=on-loan.
    Please try modify the Conditional Formating rule as below:
    Select the text SIGN IN, show content, status not equals available
    Select the text SIGN OUT, show content, status not equals on-loan
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How can I display UTF-8 content in a struts portlet

    How can I display UTF-8 (with English and Traditional Chinese mixed characters) content in a struts portlet?
    Version used
    Oracle Portal 10g Release 1 (9.0.4) on Linux
    Portal language support: English only
    Many thanks !!!

    You can utilize multi-lingual support in your Struts portlets, as described in the Portal Developer's Guide.
    Peter

  • Use JSP to display different web contents with same HTML style?

    I am very new to jsp. what i wanna do is to use jsp to link with the database containing different contents to display in a same xsl style. any advice will be much appreciated.

    You can do anything in jsp that you can with html, javaScript, xhtml, xsl, there is no difference, just write your xsl the same as you would for a static page.

  • Displaying the contents of an array of objects

    Hello All,
    My Java teacher gave us a challenge and I'm stumped. The teacher wants us to display the contents of the array in the main menthod. The original code is as follows:
    public class TestObjects
         public static void main ( String args[] )
              Thing[] thingArray = { new Thing(4), new Thing(7) };
    }I understand that the elements of the array are objects, and each one has a value assigned to it. The following code was my first attempt at a solution:
    public class TestObjects
         public static void main ( String args[] )
              Thing[] thingArray = { new Thing(4), new Thing(7) };
                                    for ( int i = 0; i < thingArray.length; i++)
                                       System.out.println( thingArray );                         
    }To which I'm given what amounts to garbage output. I learned from reading about that output that its basically displaying the memory location of the array, and the the contents of the array. There was mention of overriding or bypassing a method in System.out.println, but I don't believe that we're that far advanced yet. Any thoughts? I know I have to get at the data fields in the objects of the array, but i'm not having an easy time figuring it out. Thanks very much in advance!

    robrom78 wrote:
    public class TestObjects
         public static void main ( String args[] )
              Thing[] thingArray = { new Thing(4), new Thing(7) };
    for ( int i = 0; i < thingArray.length; i++)
    System.out.println( thingArray );                         
    Note that you're trying to print the entire array at every loop iteration. That's probably not what you meant to do.
    You probably meant to do something more like
                                 System.out.println( thingArray[i] );Also, note that the java.util.Arrays class has a toString method that might be useful.
    To which I'm given what amounts to garbage output. It's not garbage. It's the default output to toString() for arrays, which is in fact the toString() defined for java.lang.Object (and inherited by arrays).
    I learned from reading about that output that its basically displaying the memory location of the array, and the the contents of the array.It displays a default result that is vaguely related to the memory, but probably shouldn't be thought of us such. Think of it as identifying the type of object, and a value that differentiates it from other objects of the same type.
    By the way I assume you mean "+not+ the contents of the array" above. If so, that is correct.
    There was mention of overriding or bypassing a method in System.out.println, but I don't believe that we're that far advanced yet. Any thoughts? No, you don't override a method in println; actually methods don't contain other methods directly. You probably do need to override toString in Thing.
    I know I have to get at the data fields in the objects of the array, but i'm not having an easy time figuring it out. You can get to the individual objects in the array just by dereferencing it, as I showed you above.
    But I suspect that won't be sufficient. Most likely, Thing doesn't have a toString method defined. This means that you'll end up with very similar output, but it will say "Thing" instead of "[Thing" and the numbers to the right of the "@" will be different.
    You'll need to override the toString() method in Thing to get the output you want.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I display all content (graphics)

    On Skynet (United airlines employee website), when I try to look at the "seat selection" window, it displayes only numbers, it does not display a graphic of the cabin (seats). How can I display all content?

    You can see that it is a font issue by the appearance of the little boxes with the hex code of the characters that Firefox displays when there is no font that covers this Unicode range. You might see a different character in case you would have a font that maps this font.

  • Problems displaying mailbox content in Lion Mail

    OK I give up, and need help.  I have 10.7.3 installed on a late 2011 Macbook Pro 13" with 8gb of ram, running Mail 5.2.
    I have tons of mail in various mailboxes, like 38 different mailboxes, with 39 sets of rules.  Some folders have 2000+ messages, but most have a couple of hundred in each with my inbox having about 200.  The issue is when I launch mail, and click on a mailbox, it can take up to a minute and a half to display the content.  Then I click on a different mailbox, it takes another minute or so.  Finally, I click on the previous displayed mailbox, and even though the data had populated a short time ago, it takes up to another minute and a half to display anything.  Originally I did an upgrade to Lion when it first came out from snow leopard, subsequently, I did a clean install on my 15" 2007 MBP with 3gb of ram, and it did not help.  I have been having this issue since the upgrade when Lion came out.  Then in February of 2012, my son went to basic training for the Army, and I took his 13" MBP to use.  I swapped hard drives, did an erase and reformatted with my drive (Hybrid 500gb SSD/regular SATA Drive) and did a clean install on my sons MBP, used the time machine to migrate all the data back over, and the problem continued.  I waited for the indexing to stop thinking that would fix the issue when done, but nope.  I have been a mac user since the early 80's and had an Apple IIe, so I feel a little defeated with this, but I have no idea what to do. Some of the things I have tried:
    1.  Repair permissions
    2.  Reinstall Lion again (not clean)
    3.  Deleted preferences, reindexed mbox files and data.
    4.  Clean Install of Lion and migrate.
    5.  I give up...
    Bill

    It does not solve the problem, but may help for a future upgrade. I have been playing around with this, and note that if I select one storage folder for sent messages on my MAC, then select "classic layout" in the Mail preferences, then delete the field "From" from visualisation while leaving "To", then revert back to new layout (i.e. un-select classic layout, the messages are displayed as I'd like them to, i.e. with the "To" field.
    BUT as soon as I click again on any other folder, say "Inbox" and then come back to the storage folder, the "From" field is there again and I only can see myself as the sender....

  • Displaying a Content Area using custom code

    Hello list,
    Is it possible to display the contents of
    a content area as a custom portlet so that I
    don't have to expose the content area as a
    portlet and I can add custom formatting etc ?
    Any tips ?
    Sanjay

    A number of SQL views are provided for retrieving information
    from content areas. These views are documented in the PDK. For
    folders, use the view WWSBR_ALL_FOLDERS.
    Regards,
    Jerry

Maybe you are looking for

  • Any Recommendations will be appreciated!

    I am looking for some over-the-ear headphones that fit into the iphone plug, (the 5 sets I have dont fit into it.) I would love a wireless, bluetooth pair, but dont know if they exist. Can anyone recommend their headphones that they use with their ip

  • Help to Compile the B1DE Source Code

    Hi Experts, I downloaded the B1DE 2.1 for 2007A source code. I need a template for SAP Wizard Installer for VS2010, Can you please help me on how to recompile the B1AddOnInstallerNETWizard so that i can have a new template for VS2010 for B1DE. Thanks

  • Stuck on album art

    here is a true story about me and my ipod: once upon a time, a girl went for a run. She took her iPod with her. When she stopped at an intersection, she looked at the album art of a new song. When she pressed the center button the album art went a wa

  • How to turn off #items on folders on desktop OSX 10.7

    I'm trying to tidy up my desktop which has multiple folders on it. How do I turn off the # of items on each folder on the desktop?

  • MY SPELL CHECH DOESN'T WORK!!

    I'M LOST I ASKED A QUESTION TO A MS TECH. AN WOUND UP IN THIS PLACE??? I NEED A TECH. TO FIX MY SPELL CHECK. I'M 80 YRS OLD AND DON'T KNOW ALL THIS FANCY STUFF. THANKS