Portal pages tab internationalization

Hello all,
I noticed that weblogic portal doesn't provide a way (for pages
definition) to dynamically change (once the user is logged on) which
image file to use as the page's tab.
Here's my problem: in "myPortal" there's a requirement for a button
"change language", let's say next to the "logout" button. When the
change language button is pressed I want the page's content and also
the page default image (tab) to switch from english to whatever. These
images file name (e.g. default image name, rollover image name and
selected image name) specify in "myPortal.portal" are fixed within the
XML.
Anyone have a solution to bypass this weblogic constraint so I can
provide a fully internationalized portal ?
Tanks,
Christian
P.S. I can't associate a user with a language at login.

there are a couple of ways...
this is probably the most straight forward
portal supports the ability to have different skin or skeleton files to be used based off of locale. The images or JSPs reside in different directories. Each directory is name of the best match locale.
so you can have
skins/classic/ja/images - for japanese
skins/classic/fr/imagse - for french
you can do this for images, css and JSPs as you may actually whant to change the way text is displayed for each locale.
BTW - to change the actual text to being displayed you should be using a desktop and add localization resources to each page in the admin tools.
Also, by default the localProvider pulls the users prefered locales from the http request as set in the browser. If you want you can have that information come from anywhere (like a drop down list box) by writting you ownr LocalProvider
Chris Jolley
Portal Architect

Similar Messages

  • Unable to remove sub-tab from portal page

    Hi,
    Get the following error when trying to remove a sub-tab from one of our portal pages;
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    Error while deleting page. (WWC-44130)
    An unexpected error occurred: ORA-20100:
    ORA-06512: at "PORTAL.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL.WWV_THINGDB", line 4021
    ORA-01403: no data found
    ORA-01403: no data found (WWC-44082)
    An unexpected error has occurred (WWS-32100)
    ORA-1403: ORA-01403: no data found
    ORA-01403: no data found (WWC-36000)
    Unexpected error encountered in wwsec_api.remove_group_acl (ORA-01403: no data found
    ORA-01403: no data found) (WWC-41417)
    In advanced options for the tab, 'Inherit Access Settings From The Page' is selected.
    Under page access settings, the 'From page template' option is selected.
    Any ideas?
    Cheers,
    Chris

    Please report this problem to Oracle Support. This is not normal behaviour.

  • My portal page will contain two tabs

    Hi,
    I want to do a POC as described below.
    My portal page will contain two tabs say " Hello 1" and "Hello 2 "
    when I will click on " Hello 1" ,It will open an URL iView and for " Hello 2" it will be an MDM Resultset iView.
    Is it possible to create a Page which will have Tabs ?
    Plz share your experience.

    Not without coding your own portal component. Tab navigation is through portal role definition.

  • What is the Web Dynpro tab on the portal page?

    Newbie here...
    I am confused between NDWS and the Web Dynpro tab on the portal page.  As I don't have access to either right now, I need to know what is required by a Portal Content Admin to maintain an application.  The Basis people do the JCO setup.  Those are the only tabs I have seen when using the Web Dynpro tab from the portal, not NDWS.  Seeing as I don't have access to either tool, and I have to ask for what I need and I don't know what I need...  Been there?
    I guess my question is the use of the two tools.
    Thanks,
    Amy Smith
    Haworth, Inc.

    Thanks so much for a quick response!
    So, the Web Dynpro Content Admin is normally a part of the content admin role.  Hmm... I get a "you are not authorized" when I click that tab, even though I can do iViews, etc. and was told I have the content admin role.  So if no one edited the rights of the content admin, I should be able to get into Web Dynpro Content Admin tool.  Is this so?  Is there any special user config, check box, etc in addition to the role?
    Is the Dynpro content admin tool useful for content admins or content developers?
    My Basis person does not want the content admin to be able to change JCO settings.  Is there a way to give the content admin rights to everything in the WDCA   except that? 
    Thanks again.  I am a J2EE developer who volunteered to take content admin and content development roles and am trying to figure out what has been done here and what needs to be done.  On top of that anyone who has been involved claims "I know nothing..."  until I ask specific questions.  It's just hard to know what the specific questions are.
    I know, training...  No money. Sigh...  I am good at doing tutorials and reading manuals and experimenting, however, I need access to the right tools and permissions first.
    Thanks again.
    --Amy Smith   Haworth, Inc.

  • Linking a tab to another portal page

    Hi,
    Several users have wondered if it's possible to link to another portal page by clicking on the tab. So for example, when the user clicks the tab name they will be linked to a specified portal page and not have to click a link from under the tab? Is this possible?
    Thanks

    yes it is, just add an html portlet under the tab with some javscript that redirects to the page you want (document.location.href=http://.....)

  • How Can I Create an Event Link to a Page Tab?

    I have a portlet in one tab that generates an event. I want to be able to send this event to the same page but to another tab where another portlet resides. Here's the code snippet that creates the link. This code is part of a custom JSP tag.
    // Attempt to get access to the portlet render request to determine if we are within a portal context.
    PortletRenderRequest prr = (PortletRenderRequest) pageContext.getRequest().getAttribute(
        HttpCommonConstants.PORTLET_RENDER_REQUEST);
    if (null != prr)
        try
            // Set up the parameters used for the link.
            NameValue[] eventParameters =
                new NameValue("linkUrl", linkUrlParamValue)
            // Construct the link parameter we will be using.
            linkUrl = EventUtils.constructEventLink(prr, "linkClicked", eventParameters, true, true);
        catch (PortletException e)
            // Error processing removed...
    }This code will generate the event correctly and all processing occurs as expected. However, I cannot find a way to force the second tab to display.
    I am able to force the the second tab to be displayed if I use "Direct Access URLs". These links are in the form
    [protocol]://[host]:[port]/pls/portal/url/page/[page_group_root_page_name]/[tab_name]
    But is there a way to create an event link using a specific URL?

    Hi,
    One workaround that i can think of is:
    1. Set the <passAllUrlParams>true</passAllUrlParams> attribute in your provider.xml of the portlet on the target page/tab.(dont forget to refresh the provider)
    2. If you already have the url to the tab, then you just simply construct the form in your previous portlet to post to that url with all the necessary form fields.
    3. Process the request parameters and render the second portlet.
    hope that helps.
    thanks,
    Harsha

  • Refreshing a single portlet rather than the whole portal page

    Ok, here's my situation.
    I have two pdk portlets on my portal that communicate through page parameters. Portlet A has a bunch of search fields, a customer drop-down list, parts drop-down list, division, etc. Portlet B takes those parameters, queries the database, and displays the results. I would like to be able to refresh portlet B without reloading the whole portal page.
    I have onchange events on all of my drop-downs that will do a javascript post back to portal, which will in turn set my page parameters, and I see there is a 'refreshPortlet' function in a javascript file that portal provides that will refresh a single portlet based on a portletReferenceId. It is normally called when a refresh button is clicked in the portlet header, but I don't see any reason I can't call it after my javascript post, that is, if I had the portletReferenceId for the other portlet. I thought about making a hidden html table on the page that, I could fill with the portlet names and ids for each portlet as they load, that way I could reference that list from any portlet. The problem is I can't figure out where the ids are coming from. Based on the code behind the button, the function is looking for something like this 646_701285_646_1_701271, but the closest thing I can come up with is this 676114_POSTCONTENTPORTLET_467414915 which I got from PortletRenderRequest.getPortletInstance().getInstanceName(). As you can see, it's not even close. Does anyone know where the correct id could be coming from? It's got to be available to me somewhere, doesn't it?
    The only other option I can think of to accomplish my goal is to use straight up ajax to display portlet B, but that kind of defeats the purpose of portal doesn't it?
    Any help would be greatly appreciated.
    Thanks,
    Doug

    You can use Ctrl+F4 to close the current tab. I don't think that you can change the Alt+F4 action with Keyconfig.

  • Multiple Portal page loads cause Param to become undefined

    Sirs,
    I am new to this so please bear with me. I was very please to
    get SPRY "tab" and "accordion" panels to work in our PORTAL
    (oracle). The only roadblock I came across is beyond my control.
    The portal pages load twice. I cannot change that. On each page I
    have two "separate" tab panels. I need to reference one tab panel
    on another page and am using using "SpryURLUtils" param object to
    do this. The second portal page load cancels it out and instead,
    the last TABBED panel to load (no matter what ID is referenced on
    it) receives the call and opens that panel instead.
    How can I keep the "?tab=0&panel=1#OPENTHECORRECTPANEL"
    in play when coming from another page? I have tried to use the
    "javascript: undefined" but I am new to Javascript and cannot get
    it to work. (I know enough to understand what is going on but have
    no real experience in creating my own code.) Has anyone else
    experienced this and how have you overcome it.
    Any help would be greatly appreciated.

    Hi, we have the same problem. Our setting with the mdc.host works allready. But we must start the iview directly by url without out the portal around.
    We use this Url:
    https://<portal>/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES://...
    Now we have the problem that the second cookie in the other domain, will not be created?
    Have you any solution?

  • How to upload images to use in portal page

    I need to know how to take an image stored on my hard drive and make it so that it is accessible to be used in my portlets.

    Brent,
    I recommend that you go through the tutorials on the OTN Portal Page to familiarize yourself with content areas and other Portal features. Look under the Documentation tab.
    Regards,
    Jerry
    null

  • Pass a parameter  to a 'portal page'

    I want to pass a parameter to a 'Portal' page. This parameter is a the title of the page. I found that in the page's properties a 'parameter' tab is there where we can add a parameter. But I don't know how the page will read the value of this parameter & display it.
    Thank you for your help.
    Jayasree

    i am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
    I am using the followin url to pass the parent id
    http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223

  • How to get rid of marketing 'Welcome to Portal' page

    When I start Portal after install I get the Welcome to Oracle Portal page with all the marketing stuff. How can I get rid of that and just go to the login screen? I tried to copy the link of the login page once I got there, but that does not work, I get a page cannot be displayed error...
    Thanks!
    Matt
    null

    If you are an administrator you can change the default home page to be the log-in/home page that you have created.
    - On the Administer tab, scroll down to the Services portlet.
    - Click the Global Settings link
    - Set your default home page to be the new log-in/home page that you created.
    - Click Apply.
    Hope this helps.

  • Javascript:void(0) error in portal page

    Hi,
        I am using EP 7.1. IE 6. when i am working in content admin, user admin or system admin some time entire roles are working fine. But in frequent way i am getting error in portal page like JavaScript: void (0) and at the mean time i am unable to work in portal like not able to create users, not able to add iView with page or some tab is not functioning at all.
    Can someone explain me the region, why this error i am getting and how we can resolve this error?
    Thanks,
    Kundan
    Edited by: Kundan 2009 on Mar 17, 2010 11:17 AM

    Hi Kundan,
    Please check with Basis for server session timeout and clear browser cache and temp files
    Also check below thread if it helps :
    http://www.topbits.com/javascript-void-0.html
    [How to enable JavaScript in Internet Explorer|http://www.topbits.com/how-to-enable-javascript.html]
    Hope it helps,
    Regards
    Arun
    Edited by: Arun Jaiswal on Mar 17, 2010 4:15 PM

  • Oracle portal page error.

    Hi!
    When I click on a tab in Oracle Portal page i got the following error:
    - ORA-01403: no data found ORA-20101: ORA-06512: at "DEV_PORTAL.WWPOB_API_PAGE", line 5247 ORA-01403: no data found ORA-01403: no data found.
    In WLS_PORTAL.log fileL do not appear any error message but in the WLS_PORTAL.out i get:
    - ERROR: Repository Gateway error: Database Error: ORA=20001 ORA-20001: Unable to obtain session information from the cookie.
    ORA-06512: at "DEV_PORTAL.WPG_SESSION", line 174
    ORA-06512: at line 32
    I Have installed the 11g version in a Windows Server 2008.
    Anybody knows how can i solve it?
    Regards.

    Dennis
    A general shared_pool_size Q&A is part of the Troubleshooting Guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
    The Configuration Assistant determines the shared pool size from the view v$parameter,
    which lists information about the initialization parameters (populated from init.ora file). If the shared_pool_size value is more than 15728640 (for a default installation), you pass the minimal requirements set by the Portal Installer. Make sure you actually write out all the digits (i.e. 1000000000) and don't use abbreviations (1000M). Currently, the Configuration Assistant does a numeric check against the values that are set and cannot resolve the abbreviate syntax.
    Also try running the sql [select value from v$parameter where name like 'shared_pool_size';] to check if the changes you are making in the init.ora is really getting populated in the v$parameter view. As long as you restart the database once you make the change in init.ora, it should take effect.
    null

  • Public content on secure portal page?

    We have placed public PDF files (read only for public) into a common "documents" portal page, ie. portal/mul/documents. Links on various portal pages reference the docs in this documents page, ie portal/mul/documents/my_august_05.pdf
    A user can modify the URL down to where they can display the "documents" page itself, and a listing of all files on that "documents" page.
    How can we let public view the content of files stored in the "documents" page, but prohibit the public from viewing the listing of the contents of "documents" page itself?
    Thx.

    I don't know if this is exactly the solution you are looking for but I've done something similar in the past where the page and tabbed region where items were published were granted access to group A but some of the items on that page were granted item-level access to both group A and group B. On a totally separate page, a custom search portlet was published that searched the entire page group. Group B could then see the links to the items that they had access to eventhough they could not actually go to the page and tab those items were published on. Does that make sense?

  • Changing the page tab structure in the Dashboard

    Hi,
    In my project we are integrating the dashboards with the web portal. so we need to have the dashboard page tabs as such in the web portal. Can any one please tell me in which xml file we need to make these changes.
    Thanks,
    Kart

    Thanks stijn for your reply..
    Could you please tell me which html file you are referring..
    My requirement is we want only the report alone in obiee format and rest of the things in portal format. ex. in OBIEE we are having page tab in blue colour at the top. In our portal we want to create a box like structure inside that box we need OBIEE report and at the left top corner we need to have the page tab. We planned to remove the page tab from OBIEE and replace it with portal tab strucutre initially but in that case we need to have separate dashboard for each page and it will end up in creating so many dashboards. So we decided to alter the OBIEE tab as per the Portal tab. Our UI team told us that css level changes are not enough, you provide us the path of the xml fiile and we wil take care of altering the OBIEE tabs. So now im searching for the Tab html file.
    I dont think i explained my requirement correctly. Sorry guys...
    Thanks,
    Kart

Maybe you are looking for

  • Solution to ALL Connection Problems

    Hi All, I've been strugling for a very long time with some clients (with connection problems with isa server and other servers). I now finally got them connected! The trick? Use Novell NetDrive to connect to your WebDav or FTP server and map it as a

  • Valuation type value calculated by the system

    Dear Gurus, I have a scenario in which i have two valuation types: Val100% --- which is for external procurement Val50 % - which is for return of material to store with 50% MAP of Val100%. My client requirement is when i enter the return of material

  • Error Referencing Old CIFS Shares

    Previously I used to use CIFS to connect to my shares on my NV+, but I've switched to AFP. For some reason, something in Lion is still trying to get the CIFS shares and so when I open random applications such as Garage Band and others that use the me

  • IMAPMessage is read-only Exception while changing setting the Flag

    Hi, I am getting " IMAPMessage is read-only" Exception while setting the Flag to SEEN/DELETED but the chages are effecting in mail(gmail). below is my code, please help me in this. Session session = Session.getDefaultInstance(props, null);           

  • About commitments on PM (Maintenance) orders and on internal orders

    Hello All, We have activated commitment mgt for PM orders. We are able to see commitments (PR/PO costs) against PM order. However my client wants, if PM order account assignment is internal order or cost center. The same commitments should appear on