Portlet Mode Problem

Hi All,
Navigating away from a layout, and then later on navigating back will not reset the portlet parameters. (last portlet state is still being displayed)
How to resolve this issue?
Regards,
Gowri.

you should be able to do this through declerative IPC
of course you can do this via the IDE but you can also add it to the .portlet file. Something like this...
<netuix:handleEvent event="onEdit"
fromSelfInstanceOnly="true"
eventLabel="handleOnEditGeneric_el">
<netuix:changeWindowState newState="maximized"/>
</netuix:handleEvent>
Chris Jolley
Portal Architect

Similar Messages

  • Show_tree implementation in portlet mode

    All,
    Any reason why the show_tree mode (in menus) is not implemented in the portlet mode ?
    The javascript menus are quite popular, but in the current version, the show_tree works only in the full page mode.
    sanjay

    Hello,
    Any update on this one? I tried to invoke the
    show_tree procedure by commenting out the show_internal call and replacing it with the show_tree call in show_portlet.
    Looking at the generated HTML, made me realise the problem. It is the same situation as when you try to run a dynamic page in portlet mode. There are multiple html and head and body tags. This causes Netscape and other browsers to display a blank page instead to content.
    Any workarounds ?
    thanks
    Sanjay

  • Report parameters - don't work in portlet mode?

    Hi,
    Portal 3.0.9 on Solaris.
    I've a report created using the wizard, based on two tables.
    On the Customization Form Display Options
    wizard step I've defined a couple of columns I'd like to see on the parameter form / customization screen. When I run the report in traditional (non-portlet) mode, everything works fine. I can pass parameters to it and the records are selected according to the conditions.
    When I run the report in portlet-mode, and click the Customize link, even though the parameter fields appear, they seem not to have any effect. As a result of the Apply button the previously set conditions disappear from the customization screen, when clicking OK, it isn't taken into consideration at all.
    Thanks,
    Peter

    It was a local issue. After having removed and added the component to the page again, everything started to work fine.
    Thanks for all of you who helped me to resolve my issue.
    Peter

  • TLS mode problem

    Hi i am trying to fetch a mail from my Zimbra account. But i am getting the following error.
    What is this TLS mode problem? please help.
    javax.mail.AuthenticationFailedException: only valid after entering TLS mode
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:146)
    at javax.mail.Service.connect(Service.java:297)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:105)
    at FetchMail.receive(FetchMail.java:40)
    at FetchMail.main(FetchMail.java:193)

    Hi i am trying to contact Our Zimbra server to retrieve the mails from Inbox, I used pop3 as protcol .. before but it was throwing an error
    javax.mail.AuthenticationFailedException: only valid after entering TLS mode
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:146)
         at javax.mail.Service.connect(Service.java:297)
         at javax.mail.Service.connect(Service.java:156)
         at SampleZimbraSMTP.postMail(SampleZimbraSMTP.java:44)
         at SampleZimbraSMTP.main(SampleZimbraSMTP.java:22)
    so i changed to pop3s & downloaded new jars. I am pasting the code here
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.mail.Authenticator;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.Multipart;
    import javax.mail.Part;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    public class SampleZimbra {
         public static void main(String args[]){
              try {
                   SampleZimbra zm = new SampleZimbra();
                   zm.postMail();
         catch (Exception e) {
                   e.printStackTrace();
         private boolean debug = false;
         public void postMail() throws Exception {
              Properties props = new Properties();
              Authenticator auth = new ZimbraAuthenticator();
              Session session = Session.getDefaultInstance(props, auth);
              session.setDebug(debug);
              Store store= session.getStore("pop3s");
              store.connect("ip address","username","password");
              Folder folder = store.getFolder("INBOX");
              folder.open(Folder.READ_ONLY);
         // Get directory
         Message message[] = folder.getMessages();
         for (int i=0, n=message.length; i<n; i++) {
         System.out.println(i + ": "
         + message.getFrom()[0]
         + "\t" + message[i].getSubject());
         // Close connection
         folder.close(false);
         store.close();
    class ZimbraAuthenticator extends Authenticator {
         public PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication("username", "password");
    After this code compiles & when i try to run it throw me the following error..
    javax.mail.MessagingException: Connect failed;
    nested exception is:
         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
         at javax.mail.Service.connect(Service.java:275)
         at javax.mail.Service.connect(Service.java:156)
         at SampleZimbraSMTP.postMail(SampleZimbraSMTP.java:44)
         at SampleZimbraSMTP.main(SampleZimbraSMTP.java:22)
    Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
         at java.io.BufferedInputStream.fill(Unknown Source)
         at java.io.BufferedInputStream.read(Unknown Source)
         at java.io.DataInputStream.readLine(Unknown Source)
         at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:347)
         at com.sun.mail.pop3.Protocol.<init>(Protocol.java:91)
         at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
         ... 4 more
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
         at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
         at sun.security.validator.Validator.validate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
         ... 19 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
         at java.security.cert.CertPathBuilder.build(Unknown Source)
         ... 24 more
    Can any one guide me to resolve this....
    Thanks
    Bharathi.
    Message was edited by:
    bharathi

  • Portlet communication problem

    hello
    i am pretty new to portlets
    the problem is that
    i want that i dispaly a list of record in one portlet and if user click on that record then on the next protlet this record is shown.
    this require two portlets
    i followed a lot of links but i dnt get clear understaning about the functions and ipc ie when is processAction() called and when is doedit called etc etc
    can any one give complete example or links or help me how to do tht
    i am working with jsf.

    It seems you are trying Inter Portlet Communication for JSF Portlets. Check this article : http://developers.sun.com/portalserver/reference/techart/ipc.html . This describes InterPortlet Communication that was added as an extension to JSR 168(implemented in OpenPortal Portlet Container 1.0_02).
    Regards,
    Deepak

  • More design mode problems

    I've been down this road before but now it's getting just crazy. I can't get work done if I want to create a simple layout. I've created new workspaces, cleaned, everything I can think of including taking out any third-party components that might possibly be compiled in non 4.5.1 (though they supposedly have).
    I try to create a simple MXML component. If it's based on anything visual (e.g., panel) or if I start with a group and then drag in a panel, I just get the little computer icon with red x on it in design mode with the following errors in the Design Mode Problem panel. I mean, this is just a new, empty component.
    Assets failed to compile. 
    Design Mode is unable to display the document styles, skins, and images because the following assets have failed to compile:Details
    :Unable to resolve resource bundle "components".( - Line:-1)
    Unable to resolve resource bundle "skins".( - Line:-1)
    Unable to resolve resource bundle "core".( - Line:-1)
    Unable to resolve resource bundle "core".( - Line:-1)
    Unable to resolve resource bundle "effects".( - Line:-1)
    Unable to resolve resource bundle "layout".( - Line:-1)
    Unable to resolve resource bundle "styles".( - Line:-1)
    Unable to resolve resource bundle "components".( - Line:-1)
    Unable to resolve resource bundle "core".( - Line:-1)
    Any ideas?

    I thought I had it by deleting a namespace reference; things started to render and all was good for a couple minutes. Then it reverted to the same problem so I'm open to other suggestions.

  • Custom-portlet-mode doesn't show

    All,
    I created a sample JSR 286 portlet and selected to show about mode (keeping view and edit) default. wizard creates a default about.jsp. However when i added another tag for preview, link to pick preview mode doesn't show in the top right corner (view actions menu) of portlet. Any idea what i am doing wrong.
    Thanks,
    Prasad
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>edit</portlet-mode>
    <portlet-mode>about</portlet-mode> <-- works....
    <portlet-mode>preview</portlet-mode> <-- doesn't work
    </supports>
    <custom-portlet-mode>
    <portlet-mode>about</portlet-mode>
    </custom-portlet-mode>
    <custom-portlet-mode>
    <portlet-mode>preview</portlet-mode>
    </custom-portlet-mode>
    Edited by: Prasad on Dec 7, 2012 8:58 AM

    After i de and register again the portlet producer it showed up.
    However the content of this is being displayed in a completely different page. Do you know how i can keep the response within the same portlet.
    thanks,
    Prasad.

  • SOLVED : Lenovo X60 spontaneou​s sleep mode problem.

    The problem is the flat panel screen! (either t-conn board and/or backlight). Viewiz HV121X03-100 Part No. 42T0359 FRU No. 13N7205. LCD : Wistron P/N:60.4Q443.001
    I have 2 identical of Lenovo X60 laptops, with swivel-type-hinge at center. One has this spontaneous sleeping mode problem. I thought it was the Inverter problem - WRONG. Next some say it's the motherboard, CPU fan & heatsink, BIOS updates wrong also. All of these assumptions and theories are wrong diagnosed.
    Solution replace the flat panel screen (very expensive because it has Wacom digitizer glass on top of the screen and board at the bottom.)
    Roan
    Computer Technician
    Chapel Hill, NC

    Hello @Tilia,
    I have read your post on how your notebook computer is experiencing an issue with waking up from sleep mode, and I would be happy to assist you in this matter!
    To further diagnose this issue, I recommend following the steps in this document on Troubleshooting sleep and hibernate issues in Windows 8. This should help configure your power management settings to effectively use sleep mode on your system. 
    Additionally, you can also restore your notebook's default power schemes by following the steps below:
    Step 1. Click the Start button
    Step 2. In the search box, type "Command Prompt"
    Step 3. Right-click Command Prompt
    Step 4. Click Run as administrator
    Step 5. At the command prompt, type powercfg /restoredefaultschemes and press Enter 
    reference: http://superuser.com/questions/669571/windows-8-1-64-bit-power-schemes-gone
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Oracle doc says Custom Portlet Mode are not supported

    Is it true that WebCenter does not support JSR 286 custom portlet modes unless they are predefined Oracle-PDK portlet modes?
    http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_java_adv.htm#BABEAHHD
    "If you are coding portlets to JSR 286, then you can declare custom portlet modes in the portlet.xml file that map to the extended modes offered by PDK-Java, or to accommodate any other functionality you may want to provide."
    "Arbitrary custom modes that a third party or custom portlet producer offers are ignored and therefore not supported."

    WebCenter does not support custom portlet modes. I've tested and answered this.
    Oracle WebCenter supports a fixed set of custom portlet modes defined by oracle. This is bad.
    Custom portlet modes are a JSR 286 standard. How is it possible that WebCenter does not implement it.
    Therefore, it you have a custom portlet mode such as "viewBooksMode", then you must change every mention of it in your project to "about" or "preview" or "help" or "print".

  • Custom portlet mode-config

    In my Portlet class NewsPortlet i am overriding the doDispatch() method of superclass GenericPortlet if the portlet mode is Config. Like this
    public void doDispatch(RenderRequest req, RenderResponse res) throws PortletException, IOException{
    System.out.println("doDispatch");
    if(req.getPortletMode().toString().equalsIgnoreCase("config")){
    doConfig(req,res);
    super.doDispatch(req, res);
    The above porltet is standalone deployable war file.
    This is exactly as per the JSR 168 spec for the custom config mode.
    Do I need to choose some special themes/layout to get the config mode icon on my portlet or do i need to create my custom theme/layout and do it?

    Hello,
    I don't believe custom portlet modes are supported by the current versions of WLP for JSR168 portlets. Is it possible to map your custom mode onto one of the supported modes "edit", "view" or "help"?
    Kevin

  • SWC Load Error - Design Mode Problem

    Hi,
    I'm loading custom .swcs into my Flash Builder (4.5 Burrito) project and I get these errors. These will only appear in design mode (not in source mode) and will not be labelled under the Problems tab, rather the Design Mode Problems tab:
    SWC Load Error
    SWC file failed to load. Any component dependent on this SWC file will not be displayed in the Design Mode.
    The SWC may have failed to load because of: 
    *  Incompatible definitions caused by usage of a different SDK version 
    *  Missing referred class definitions
    I don't think this problem is caused by an SDK incompatibility, as all these swcs have been created under flex 4 and I'm pretty sure under the 4.5 SDK.
    Loading the components contained in these swcs onto my canvas (at design time) will work fine. I'm able to build and run the application without any errors caught by flash builder.
    Any idea how to fix this problem, or what it means?

    SWC Load error indicates that the swc used does not match with the definitions present in design view or with what is present in already loaded other lirbaries.  The issue is reported by the flash loader.  It looks like that, your swc is compiled with a previous version of the sdk and the design view and the related definition correpsonds to another version.
    The incompatability logic is not in DV.  When DV tries to load all the swc details available in the project, the loading fails as the loader reports the issue. There is hardly anything, we can do here from DV.  If the player reports the incompatability issue, the loader is corrupted and all further loading is ignored. So to avoid such issue, DV ignores the failed swc's and tries to proceed.
    If you pass me the swc , I can give the details of the incompatability. Ideally between 4.5 and 4.5.1 there should not have been any incompatability.  However your case shows there is.  You can contact me at [email protected]

  • Java portlet caching problem

    I am facing portlet state problem.
    Problem is below,
    step 1. I opened a page in java portlet, then set some filters for my list boxes and for check boxes, then executed i got all my search results,
    then closed the page.
    step 2. opened page again, which opens in the same portlet as step 1, then this portlet displays the page with results instead of default page
    I tried setting _nfls parameter to false in request URL, but still it is loading the  page with state as in step1.(i'e page with filters set and with results)
    Any suggestions on how to overcome this?

    Raju,
    Hope this thread helps you.
    http://forums.bea.com/bea/message.jspa?messageID=600014822&tstart=0
    Let me know if this works for you.
    Cheers,
    Satish

  • Lock records when in Update Mode / problem with 2 users on 1 document

    Hi,
    when user A updates e.g. a purchase order and user B goes into this purchase order and updates e.g. the remark before user A, then user A cannot save his changes. Imagine user A has put in several new lines and has made several price adjustments, his work will be gone.
    In most cases this should not happen very often, but it could. Since B1 recognizes when another user has updated the document before, it should be possible to solve this situation more convenient (either by lock, saving to a new document, comparing to the old version, etc).
    Thank you
    Sebastian

    Hi Sebastian,
    Your request is understandable. It may not have big problem to change current process by coding. However to lock records whenever in update mode, that could create too many locks. It is basically not good for performance. The trade off may be allowing save as function. However, this may not be a desirable solution for most end users.
    Thanks,
    Gordon

  • K9N PLATINUM(NON SLI) DUAL CHANNEL MODE PROBLEM

    hi
    put a new system together with the following specs:
    amd am2 3800+(2ghz)
    k9n platinum 1.20 bios
    2x512 kingston ddr2(667mhz)
    pci video(yes not pci-e)have not decided which vid card to get yet.
    500w  psu 12v 35a,5v 25a,3.3v 25a
    liteon dvd burner
    seagate 300gb ide  7200/16 meg cache windows xp-pro sp2 with all updates.
    not overclocking or even trying to.
    no sata drives connected.
    has never failed to post,boot windows and no lockups or blue screens.
    ok,i am trying to get the memory to work in dual mode.
    everytime i put the memory in the dual mode slots,the cpu clocks down to 1ghz instead of 2ghz.
    verified by bios,windows and cpu-id
    i have tried different memory(both ddr2 533 and 667)667 installed now.
    also never had any install problems with windows and everything runs fine until i tried dual mode.
    after the cpu clocks down to 1ghz,the only way to get it back to normal is a bios reset( load defaults
    or press red button).
    if i leave the memory as single channel then i have no issues.
    also cpu-id says the chipset for my board is nforce 550,i thought k9n platinum had 570 nforce chipset?
    this might just be a problem with cpu-id though.
    any thoughts on the cpu down clock problem in dual channel mode?
    thanks,jeff

    1 assume you can get into BIOS with 1 stick only?
    Go into the BIOS and manually set the timings and voltage to what your memory manufacturer recommends. Use a 2T command rate and see if it works.
    Try both "sets" of dual channel slots, i.e. the two left slots or the two right slots.

  • Sending a bug report on the OS and a sleep mode problem.

    I find the bug button in Safari really convenient for sending Apple bug reports. And when other applications crash, you usually get an error dialog with a button to send a bug report. But sometimes problems arise that require reporting, but which don't fall in either of these categories. It would be very handy to have a bug "button" for the OS, or perhaps just a menu selection in the Finder menu bar that invokes a bug report dialog box. I know you can dig around and find the URL for Apple's bug report web page, but I am always forgetting it -- I suppose I could just bookmark it, but then I'd just have to dig around in all the bookmarks to find it. Better would be a utility built-in to the OS for sending bug reports (like Safari's). It could also automatically transfer necessary info about the OS rev and such.
    The problem I had was this. I have a script that puts my iMac to sleep. I put the script alias on the task bar and a single click puts the computer to sleep (easier than using the menu). Unfortunately, I sometimes click it by mistake when I am trying to click an adjacent icon in the task bar, and the Mac starts going through its cycle to enter sleep mode and is impervious to anything I do to try and cancel it. I tried pressing the space bar continuously to prevent it from going to sleep, but that did not work. Worse, when it went to sleep and I woke it up again, the task bar would not appear, clicking on app windows did not activate them, Finder menus could not be selected, etc. The cursor would move, but I could not do anything else. (I wish now I had noted if the clock in the menu bar was still advancing, but I didn't think to do that.) I powered down the iMac from the power key and rebooted. Things are working fine now.
    I wanted to send a bug report on this, but realized that unlike Safari, there was no button or menu selection for doing that. So here I am.
    Any suggestions are welcome.
    TIA,
    Drake

    [email protected]
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Comuputer stalls when iPod is plugged in!!!!!!!!!!!!!!

    These updates are driving me CRAZY!!! I should have remember from the last time I went through this -what a peice of JUNK! But it's all I got for now... can someone help me out...Sceneario - 20gb Clickwheel: I have installed the update for iTunes - s

  • Thunderbolt port broken or faulty cable?

    Hello! I have a 27in 2.7 GHz Intel Core i5 mid-2011 iMac. I bought a LaCie 1TB rugged thunderbolt drive a while back and when I went to plug it in, the thunderbolt didn't work (for both ports). I called Apple and they walked me through the steps and

  • POLL: Which Pokemon game are you getting? X or Y?

    I plan on getting both but if I had to choose one then Y. Didn't see any disscussion about new Pokemon so thought I would see what other people are getting. Don't have a 3ds so plan on getting the 3ds xl red Pokemon version since its same price as re

  • No Order Confirmation E-mail

    Hi,  I have not received an order confirmation e-mail for the hard drive I recently purchased. Also, it does not show anything under "Order Status" or "Purchase History." I would greatly appreciate an explanation or assurance that my order went throu

  • Why does my iphone 4 keep rebooting itself uncontrollably

    i left my iphone 4 in my car in sub zero temperatures for a few hours while skiing and when i came back it started acting all weird and refused to turn on. so thinking it was just cold and needed some time to reheat itself, i wernt home and plugged i