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

Similar Messages

  • 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.

  • 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".

  • 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

  • Hiding Customized fields through Config - T88M

    Hi,
    My system parameter is : ECC 6.0.
    As per requirement in my project, I have customized IT7 and added a new field - Annual Time . I am populating that field by default using some logic which wrote in the PBO of the newly created module pool and everything is working fine !!
    Query :
    Business wants this field to be displayed only for Ausy employees and not for Indonesian employees AND they want this to be done through config only. How can I do that ?
    What I have tried :
    I can very well go to the PBO and hide this screen reading the WERKS from PA1 for that employee but this is not what is reqd.
    They require to hide this using Infotype screen modification.
    When I go to SM30 and maintain the Infotype screen modification view : V_T88M and give the newly created module pool name : ZMPA0007 ...it doesnt list down the new;y created fields in this screen !! :-s
    So my query is - Is T88M can Only be used to hude standard fields and Not custom fields ?? If it can be used for custom fields also, please let me know how can I see my field there in the list ??
    Note : After creating the new field in PM01, I have assigned it to the standard MP00007 screen 2000. So now for all employees this std screen is getting displayed and also my little field at the end.
    I tried to modify the feature for this std screen and then I tried to create a new variable based on WERKS and assign some other screen 3000 for all employees and 2000 only for Indonesian employees, but it is not working ... at all the times the screen 2000 with my newly added field is getting displayed.
    What am I doing wrong or what do I need to do extra ?? or is it not possible to hide custom fields through Config I have to do it using coding only ??
    Experts, please put some light !!
    Many Thanks,
    Cheers.

    Hi Sourav,
    In table T588M create two entries for MP000700 with different variable key say according to the molga of the country one aus(xx) and other bagladesh(yy).
    Now make the field visible/invisible depending on the country req.
    Now go inside the entry, click on feature and give feature name as P0007. Now change the feature according and return the variable key what you assigned to the module pool.
    Take the help of functional people to change the feature.
    Br/Manas

  • Can I make custom blend modes with Pixel Bender 3d?

    So it seems PixelBender does not work in GPU mode, which is essential in iOS.
    I want to create a custom blend mode for adobe air in iOS and was wondering if it is possible with Pixel Bender 3d.

    for the mesh, hexagon is actually better than photoshop. Since it can create the actual mesh. Though, you can import the mesh into photoshop so you can see it while you paint the texture.
    The 3d creation portion of photoshop is still a bit limiting. (But my experience stops with CS5. I have not tried CS6 yet, so impovement could have been made)
    The issue I have with hexagon is the amount of bugs in it. I prefer a more robust and more expensive alternative. But thats me
    A free alternative is Blender. But I find the UI a bit outdated and hard to grasp. But again, thats me.
    Generate your UV maps as you normally would then load them into photoshop and get painting. You may like other texture generating apps to go along with photoshop. Genetica is great for making tileable textures.

  • How to run SPAU & Custom Objects Mod

    Hi
    I am new to upgrade , Can anyone guide me how to run
    SPAU & Custom Objects Mod
    Thanks
    Parin
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Oct 30, 2011 10:41 AM

    Hi Ramana,
    what kind of report you want to  execute? the report is Executable Report or Modulepool prog. ??
    if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
    Why you want to run it in background with transaction code if you have this options?
    Regards,
    Sunil kairam.

  • 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

  • Custom p13n-cache-config.xml

    Trying to implement 5.1 P13N CacheProvider SPI Implementation from link:
    http://docs.oracle.com/cd/E24290_01/coh.371/e22621/wlportal.htm#CHDIFHCD
    In step 2: The p13n-cache-config.xml has been updated with the <default-provider-id>com.tangosol.coherence.weblogic</default-provider-id> line.
    Question:
    How can a custom p13n-cache-config.xml be loaded using a -D command?
    Edited by: user734247 on May 1, 2013 1:28 PM

    Hi,
    The p13n-cache-config.xml needs to changed in each of your WLP application's META-INF directory. Coherence does not need this file but rather the provider configuration in file makes Portal application to start using coherence for p13 caching.
    HTH
    Regards,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Granting Access in custom portlets

    Hi,
    I'm deploing some portlets using PLSQL. Those portlets work's fine. Now i want to grant restricted access to this portlets. The best i can do is function is_runnable return false to users that i don't want to show my portlet.
    Example:
    if wwctx_api.get_userid!= 'PORTAL30' then return false;
    else return true;
    end if;
    Can i use portal funcionality of grant access to, by example applications components or pages or content areas to restric access to my portlets ?
    Thanks
    Pedro Ribeiro

    I realize that this is an old thread, but on the chance there are others like me looking into how to restrict access to custom porlets, I thought I would venture a reply.
    I looked at the current online docs for for Portal Security Services. If you have a need to get down in the weeds these docs will show you what you need to know. But there is a very SIMPLE way to restrict access to your new portlet.
    After you have your new PL/SQL or JAVA porlet in place, just create a new Portal Page using the wizard. Make it a plain page, no banner. Add your custom portlet to the new page. Then PUBLISH THIS NEW PAGE AS A PORTLET. Instead of adding your original portlet to other pages, add this "wrapper page" instead. You can use the grant access tab for the wrapper page to restrict access of the portlet to specific users and groups.
    pmw

  • Adding a change password link in a custom portlet

    Hi,
    Does anyone know how to add a change password link in a custom portlet? the custom nav UI we have does not show the my account link, we want to hide this complexity for external users, but we still want them to be able to change their password.
    I am expirimenting with using the following link, which seems to work fine, but was wondering if there was a more elegant way to do it using pt: tags?
    <pt:transformer pt:fixurl="off" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>Change]http://servername/portal/server.pt?space=ChangePassword&&control=EditorStart&editorType=10">ChangePassword</a><pt:transformer pt:fixurl="on" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>
    Thanks

    Hrm... this does get ugly... This has come up a few times w/ our users as well, so I am definitely interested in seeing what can be done.
    I don't see any sort of pre-built tag to let you access this directly. To your point, I only found the general account editing / access link - not one directly to password reset.
    Couple of questions / notes
    I tried your option and while it works, I'm concerned by the redirect back to the account page. That seems to violate your requirements on hiding the account options info. When the user hits finish / cancel they're taken to the main "My Account" page.Have you considered securing the other activity spaces so they're not visible from the "My Account" page? Then you could use the built-in tags. Not ideal, I know, but if you're going to be routed back to that screen anyway once you finish/cancel your password change...Have you considered just writing the password reset funtionality into your app? I did this a while back and it was actually pretty simple. Then you can have complete control over the behavior.How I wrote password reset...
    You know the userid in this case, so things are MUCH easier (no need to search to find the specific user)Assumption: users are stored in the plumtree database auth sourceUse the native API (com.plumtree.server). I don't know if you need to impersonate a full admin or not... my code doesGet a handle on the userReset the password with the "SetPassword" methodStore the changeSemi-functional code below - note how you'd never want to store your admin userid / password in here like this (or have it blank...)
    '//create an admin connection Dim ptAdminSession As IPTSession = New Session ptAdminSession.Connect("administrator", "", Nothing)
    Dim sNewPassword As String = ""
    '//start user impersonation Dim ptUserSessionTemp As IPTSession = ptAdminSession.ImpersonateUser(iUserID)
    '//open the user for editing Dim oUser As IPTUser = ptAdminSession.GetUsers().Open(iUserID, True)
    '//reset the password oUser.SetPassword(sNewPassword)
    '//mungle with server context Dim mySC As IPTServerContext = oUser.GetInterfaces("IPTServerContext") mySC.Store() mySC.UnlockObject()

  • RV042 - Does it support Mode Config?

    Hello,
    I have a question regarding the RV042 and its IP-Sec capabilities.
    Does it support "Mode Config", an IP-Sec extension.
    If yes, is it documented somewhere?
    Regards,
    Daniel

    No, the rv042 does not support mode config.  That is for the cisco enterprise edition routers, with the command line configuration.

  • Custom Portlet Banner

    I want to be able to assign custom portlet banners to certain portlets. has anyone done this before of are there any examples of this around?

    Randy,
    What do you mean by "portlet banner"? The tiny bar above each portlet? You can disable portlet titlebars and then display anything you like in the portlet, including a banner. Or are you talking about header portlets? You can use Content Server's "branding" feature to allow a single portlet to be used in multiple locations - on the subportal for mypages, or on a community - and manage its content from content server separately, using PT_ tags (which are dynamic) to control some aspects of the portlet's content while still making it easy to manage. Finally, you can serve up a header portlet from a JSP / ASP page and make it fully dynamic.
    - David

  • CUSTOM PORTLET HEADER/FOOTER

    I need to create custom portlet containers, with custom header, footer and border.(Specifically I need rounded edges without the border.) The portal style editor supports header customization only, which is not enough in my case. Is my path to follow to create my own ContainerRenderer (subclassing DefaultContainerRenderer) and to overwrite renderShowHeader() and renderShowFooter() to staisfy my needs? If I do this, how would I render the minimize, customize, etc links in my own header? If I have third party portlets, I can set their providers to use my container renderer, but I am not sure about the effects of it (eg: the third party provider can't use custom containerrenderer). What other restirictions do I introduce with this solution? Are there any other ways to get the same effect?

    Jens is referring to the PL/SQL API
    PORTAL.WW_PRO_API_PROVIDER.PORTLET_RUNTIME_RECORD
    <P> /**
    <BR> * A record structure containing the details for a portlet during runtime.
    <BR> *
    <BR> * A portlet_runtime_record structure is passed to the show_portlet
    <BR> * procedure of provider implementations.
    <BR> *
    <BR> * The provider should set the values for caching_key, caching_period,
    <BR> * caching_level and caching_invalidation in the show_portlet procedure
    <BR> * if caching is enabled for the portlet.
    <BR> *
    <BR> * @field portlet_template a string, representing the HTML to render the
    <BR> * portlet's custom header and footer. The format
    <BR> * is as follows:<br>
    <BR> * <header> #body# <footer><br>
    <BR> * This field is available with Oracle9<i>i</i>AS
    <BR> * Portal 9.0.2 or later.
    <P> procedure show
    p_portlet_record in out portal.wwpro_api_provider.portlet_runtime_record
    <P>Personally, I haven't been able to get it to work either.
    <P>Thanks,
    <P>Roark

  • Configure JTA Via Silent Mode Config Wizard?

    In WebLogic 8.1, can JTA (in particular, TimeoutSeconds) be configured from a silent
    mode configuration wizard script? What expression do you use to get your paws
    on the JTA object? Thanks in advance.

    JTA is currently not a configurable object type in the 8.1 silent mode config wiz. It
    will be in 8.1 SP3.
    Dave Muirhead wrote:
    In WebLogic 8.1, can JTA (in particular, TimeoutSeconds) be configured from a silent
    mode configuration wizard script? What expression do you use to get your paws
    on the JTA object? Thanks in advance.

Maybe you are looking for

  • Itunes will not download on my Windows 8 laptop

    About half a year ago I bought a Dell Inspiron laptop with Windows 8 pre-installed onto it.  I downloaded Itunes with no problem almost immediatly when I got it.  I have an Iphone 4, and have had it for 2 years, without any problems with Itunes. When

  • Can data be restored, if BB Protect is wiped from a stolen phone???? HELP!!!

    Lost or Stolen BlackBerry -- What to do to retrieve data?  Hello, I have a problem that goes a step further--my BB had BB Protect installed, but no password protection, when someone stole my phone. The carrier tells me that whomever has it has "wiped

  • Error in loading workflow status page

    Hi,  In workflow process , In one place i have a step - In stage D if task is  rejected the task it needs to go to stage C. Its able to move to stage C , I get a mail,but the workflow stage status is not loading. It shows error . For most of the sta

  • Bold text does not display in internet browsers

    I am working on editing a website for a client that I did not originally create so I am having trouble trying to figure out what the previous designer did. I need to make certain text within paragraphs bold, which I normally do by inserting <b> </b>

  • Not much information from jwsc

    I am using jwsc to build my weblogic 10 artifacts. jwsc also compiles the files. It is giving me an error: UILD FAILED C:\bea10\user_projects\Sept23workspace\BVoIPServicesWeb\build.xml:91: weblogic.wsee.tools.jws.build.CompileException: Error compili