How to change portlet preferences

Can somebody tell me how can I change some prefrences that are defined in portlet.xml. So that if the user update this preferece it will be updated for all the portlet instances for that user. For example
<preference>
<name>Pref</name>
<value>something</value>
</preference>
here the value is something for every instance of that portlet. However I want to know if there is any way that this could be modified at user level and when the user change it to somethingelse this value will show on every portlet instance for that specific user. In IBM websphere this can be done using the <config-param> tag instead of preference.

Hi Neeraj,
We have a requirement to set the portlet preferences for al the users.
Based on the solution you gave, I set preference value in config mode and those preferences value are set for all the users.
I succusfully implemented edit_config mode on Oracle Portal and I shared my code snippets at
http://wsrp-jsr168.blogspot.com/
I hope this is very helpful.
--Somesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to change printer preferences for HP envy 4500 using Google Chromebook HP pavilion 14

    I want to know how to change printer preferences for HP envy 4500 using Google Chromebook HP pavilion 14?
    This question was solved.
    View Solution.

     Hi chefcorbin,
    Welcome to the HP Support forums.  I understand that you would like to learn how to change the printer preferences using your Chromebook.
    I have included a link to Google support on printing a page with Chrome and it lists the print settings that you can adjust.
    Google Chrome Help - Print a Page
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • How to change "Portlet" Regions type alignment?

    how can I change the alignment in the region with portlets?
    *** In regions with items type ,inedit settings its possible to change the alignment..
    How can i do that to portlet-regions?
    thanks

    Hi Neeraj,
    We have a requirement to set the portlet preferences for al the users.
    Based on the solution you gave, I set preference value in config mode and those preferences value are set for all the users.
    I succusfully implemented edit_config mode on Oracle Portal and I shared my code snippets at
    http://wsrp-jsr168.blogspot.com/
    I hope this is very helpful.
    --Somesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to change the preference color settings ?

    Hi.
    I use a script for converting images but I can not change the color preferences in Photoshop to set a default if the RGB images of departure does not. How to change the color settings ?
    Pls help.
    Thx.

    This tech note:
    http://docs.info.apple.com/article.html?artnum=305634
    says that to change your outgoing server settings you
    go to Settings/Mail, and then "in the Outgoing Mail
    Server (SMTP) Host Name" you make your changes. There
    is no such field, not even under Advanced. How do you
    change the outgoing server and its settings, without
    having to set up a whole new email account?
    There is on MY iPhone!
    BUT it is only available for POP accounts!
    ajm

  • How to retain portlet preferences when undeploying application

    Hi,
    we have a requirement where we configure portlet preferences for each portlet instance in a page through admin console.
    we use these preference values to retrieve content from VCR and display in portlet jsp.
    The problem here is when we undeploy application and install it again all the preferences configured in the admin console will vanish.
    Is there any way to retain these values even when we undeploy application.
    Thanks

    Hello,
    There are two ways you could do this: put the preference values in your .portlet files or use the propagation tool to move the customized portlet instances to your new deployment.
    Putting the preference values in your .portlet file can't be done from the administration tools-- it must be done from the IDE or manually editing the files-- so I'm guessing it would not solve your problem.
    For more information on using the propagation tool, see:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/propTool.html
    Kevin

  • How to change system preferences programatically, 10.5 issue

    I know about the "preferences" api. Like SCPreferencesCreate(NULL, CFSTR("SomeName"), NULL);
    and get value and all the rest.
    In fact, I know how to read all the preferences.
    The problem is changing them. I do not care which one, any of them. You see, these are on "const" or non-mutable. So you are going through a dictionary and want to add a value. So you use CFDictionaryAddValue(..).
    On 10.4, this is fine. On 10.5 is crashes with an error (the newer XCode is much nicer) saying I am trying to add a mutable value to a non-mutable collection. So any CFDictionary is non-mutable. I can create a mutable copy, and do whatever I want, but I can't save the changes into the original preferences file because its non-mutable. Now I can of course create a non-mutable value, like a CFArray or whatever, but the CFDictionaryAddValue(..) only takes Mutable items.
    This seems to be a catch-22 situation.

    The problem was this. You would Start with PrefGetValue getting "A", but needing to change "C"
    A
    --B
    ----C
    So you can get and set A, but it is C that needs to be altered.
    I figured it out and it was a solution I kind of suspected, but didn't want to deal with, because what if you wanted something really deep like H or Z or whatever.
    What you do is Get A, make a mutable copy of A. Then get B (from mutable A) and make a mutable copy of that, and repeat until you were at the thing you wanted to change. Then you change it, then rebuild the dictionary structure in reverse. SetValue C, then Set mutable B's value to Mutable C's value, then set Mutable A's value to Mutable B's value, and finally use SetPref using Mutable A instead of the original A.
    Apparently 10.4 didn't consider the prefs non-mutable so everything had worked, and under 10.5, they are non-mutable and you crash if you try and change it.

  • How to change language/Preferences will not load up

    I open iTunes and the main tabs are in chinese (which i cannot read at all) I looked on the apple website and it tells me to go to preferences and to change language there but when i preferences (which i think it is preferenses because it's in chinese and theres a (p) next to the chinese) It does not open up the box it should do. Someone help?

    Go to Application Definition -> Globalization. There you can define how to derive the language.
    I also recommend the appropriate chapter in the Application Builder Users Guide.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to change internet preferences to allow pop ups in a particular URL?

    How to enable pop ups in a specific URL site on the internet using SAFARI (so that it's statements in my account online can be viewed and printed)?  I am advised by the financial entity that pop ups need to be allowed on their web site.

    Gail, later last night I did find an article through Apple's online support that I have copied below to get to the pop- up subdirectory via clicking in sequence on Safari/preferences/security. So, I agree that I can find no way in Safari to block or unblock specific web site pop-ups, but this does block/unblock in general.
    Support
    Safari 6 (OS X Mountain Lion): Block pop-ups and unnecessary content
    You can set Safari to prevent webpages from displaying pop-up windows or loading time-consuming content that may be unnecessary.
    Unfortunately, many beneficial features use the same technology as ads and other content you might not want to see. So if you block pop-up windows or other web content, you might also block the animation and interactivity that make webpages interesting.
    Block pop-ups on webpages
    Open Safari if it is not already open.
    Choose Safari > Preferences, and then click Security.
    Turn on “Block pop-up windows.”
    Blocking pop-up windows stops only those windows that appear when you open or close a page. It does not block pop-up windows that open when you click a link.
    If you block pop-up windows, you might miss important information for a webpage. For example, a website that provides services to you might use a pop-up window to request your user name.
    Block unnecessary webpage content
    Open Safari if it is not already open.
    Choose Safari > Preferences, and then click Security.
    In the “Web content” section, select or deselect types of content you want to block or enable. For an explanation of the options, click the Help button (looks like a question mark).
    Last Modified: Aug 14, 2012
    Article: PH11946
    Views: 92535
    Related Articles
    OS X Mountain Lion: Guard your privacy
    Safari 6 ( OS X Mountain Lion ): Why block pop -up windows?
    Safari 5.1 (OS X Lion): Block pop-ups on webpages

  • How to change Portlet Theme from JSP or Java on fly?

    Is it possible?
    For exmaple by using PortletBackingContext or thomething..
    Thanks

    Please ask this question in the WebLogic Portal forum:
    WebLogic Portal

  • How to change the Hello Portlet in Jetspeed2 Demo

    hi ppl,
    I am having a big problem..
    I can't change the portlet title, hello portlet, in the jetspeed 2 demo.
    The strange things is that i am able to change the title of the pickANumber portlet.
    @ Portlet.xml
    <portlet id="PickANumberPortlet">
    <init-param>
    <name>ViewPage</name>
    <value>/WEB-INF/demo/simple/PickANumber.jsp</value>
    </init-param>
    <init-param>
    <name>HelpPage</name>
    <value>/WEB-INF/demo/simple/PickANumberHelp.jsp</value>
    </init-param>
    <init-param>
    <name>EditPage</name>
    <value>/WEB-INF/demo/simple/PickANumberEdit.jsp</value>
    </init-param>
    <portlet-name>PickANumberPortlet</portlet-name>
    <display-name>Pick a number game</display-name>
    <portlet-class>org.apache.jetspeed.demo.simple.PickANumberPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    <portlet-mode>HELP</portlet-mode>
    <portlet-mode>EDIT</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <supported-locale>fr</supported-locale>
    <supported-locale>ja</supported-locale>
    <resource-bundle>org.apache.jetspeed.demo.simple.resources.PickANumberResources</resource-bundle>
    <portlet-info>
    <title>Change TITLE</title>
    </portlet-info>
    <portlet-preferences>
    <preference>
    <name>TopRange</name>
    <value>100</value>
    </preference>
    </portlet-preferences>
    </portlet>
    See.. i just replace that data in the portel-info/title.. and it changes the title in the pickANumber portlet change..
    But strange! i can't do the same way for the hello portlet
    Can someone tell me how to change the title in the hello portlet...
    Pls help.. i am running out of time!

    The hello portlet uses the title string in property file, thus you may need to modify the file "demo\WEB-INF\classes\org\apache\jetspeed\portlet\helloworld\resources\HelloWorldResources_en.properties" to change its title.

  • How to find & change stoke preference

    How to find and change stoke preference = null by default for active document,  when doing manual no documents open.
    Thanks
    Simon

    Tom Wolsky wrote:
    You can't change the timebase of a project once there is video in it. Make a new custom project at the right frame rate and copy from the old project and paste into the new one.
    Ok noted with thanks, Tom

  • How to change Refresh Time in  a Discoverer Portlet?

    Hi,
    I have added a discoverer portlet to my main portal page. The minimum refresh time for the discoverer page i could set is 1 hour. Is there any way i could change it to 1 min as this is getting real time data in the database which i would like to display immediately.
    Any help/suggestion is most welcome. Thanks in advance.
    Regards
    Goutam

    Hi, i have the same problem.
    i have searched both metalink and here but found nothing .. doesnt anybody know how to change the discoverer portlets refresh time interval anything other than 1 hour,1day,1week etc. (they are the only options available)
    Any help would be appreciated.

  • How do I change print preferences to print in black/white by default instead of color

    how do I change print preferences to print in black/white by default instead of color

    When you try to print, use COMMAND P, it should bring up a window similar to this you can select the preset there. It shoud remember the preset after.

  • Does anyone know how to change where incoming (via mail) calendar requests go on my MacBook? Mine insist on going to Entourage, which I don't use any more. I've tried setting the default calendar in iCal preferences. Doesn't help. Bugs me. Can you help?

    Does anyone know how to change where incoming (via mail) calendar requests go on my MacBook? Mine insist on going to Entourage, which I don't use any more. I've tried setting the default calendar in iCal preferences. Doesn't help. Bugs me. Can you help?

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • How to change login portlet message

    how to change the login message on the login portlet "Welcome to your Portal" to custom message ?
    thanks in advance

    String customization is well explained in the ALUI dev documentation, at:
    http://edocs.bea.com/alui/devdoc/docs60/Customizing_the_Portal_UI/Using_String_Replacement/plumtreedevdoc_customizing_stringreplacement_intro.htm
    Fabien

Maybe you are looking for