Javascript1.2 used in portlet

The URL-based portlet page uses javascript1.2.
When the page is accessed from a browser directly, the action link looks as follows:
Item<font class="folderLink"> </font>          
But when the page is access through the portal, then the action becomes:
<SCRIPT Language="JavaScript1.1" >
function submitURL2906(url)
document.urlservices_parameter_form_2906.p_3627_1_68721.value=url;
document.urlservices_parameter_form_2906.submit();
</SCRIPT>
Resources<font class="folderLink"> </font>          
The portal is using javascript1.1. Are 1.1 and 1.2 compatible within a page?
Also, it looks like the portal has to wrap around the action item with the submitURL2906 function. But the single quotes placement are wrong. Is this a bug or not?

URLServices also has a feature called "SelectiveInlineRendering"
through which we can control which links need to be rendered inline.
New tags introduced for this purpose :
a) hrefFieldName - optional tag. Can be used to specify href attribute name to be looked for disabling inline rendering.
Default value is "id".
b) disableInlineRenderingID - value for the above attribute.
Example :
hrefFieldName = ID & disableInlineRenderingID = type
<filter class=" oracle.portal.provider.v1.http.SelectiveRenderingFilter>
<disableInlineRenderingID>1</disableInlineRenderingID>
<hrefFieldName>type</hrefFieldName>
</filter>
HRefs of type <pre><a href="http://www.yahoo.com" type="1"></pre>Link to Yahoo</a>
will not be rendered inline.
If you don't have the latest version of URLServices, then please
make sure that it is >= 0.9.5 version.
Hope it helps.
-aMJAD.

Similar Messages

  • Want to use IMAP portlet in my portal page

    i try to make my page support sending and receiving mails for my company,i try to use IMAP portlet,And when i make an external application to connect to mail server the following message appear
    Login Failed: Failed to authenticate the user with the credentials supplied.
    and i am sure that i supply the server name and username and password correctly.
    any one can help my to solve this problem
    thanks.

    Since this forum is generally for the public, and not really handled by Apple officialy, I think it is best for you to contact iTS on this matter.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Can I import HTMLs from inside the project and use as portlet page ?

    As you know, I am using Java Studio Creator 2 Update 1 for my current portal project. I have created JSR-168 JSF Portlet Project for my portlet development.
    As I have some html pages ready for my development,
    Can I import HTMLs from inside the project and use as portlet page for my project?
    I did the followings steps:
    1: In side the project - File -> Add Existing Item -> Web Page ( imported test.html page from my local folder)
    2: Let it convert some of the tags for me ( so now it becomes - �test.jsp� )
    3: Set it to initial view.
    4. A default portlet page � newPortletPage.jsp is still there with no initial view.
    Now after doing this, No Visual Designer and Properties window available to for that �test.jsp� page. Though it allowed me to �build� the project successfully.
    When I build and run the portlet application, got the error message �Error occurred in portlet!� on Pluto Portal. Please advice.

    You do not open fcpproject files. You don't double click or anything else. The files have to be in the correct folder structure in the Final Cut Projects folder and the application opens them automatically. Can you post screen shots of the Final Cut Projects folder and its location.

  • How to display current user using HTML portlet

    Hello,
    Is it possible to show any text such as Greeting, Current User (ex, Hello, Kevin) using HTML portlet. Can I use <oracle></oracle> tags to get the current user from the API?
    Please suggest me.
    Thanks,
    Satish

    Thanks for your suggestion. There is also another way for this:
    In a Portal text field (CMS item) you can type
    #USER# to display the username of the authentificated user or
    #USER.FULLNAME# to display the full name.
    Thanks,
    Satish

  • Error message when Using SMS portlet

    Hi all
    I'm using OracleAS Portal 10.1.4. I downloaded OracleAS SMTP Portlet from oracle web site http://www.oracle.com/technology/products/ias/portal/point_downloads.html
    and i read the Release Notes to install it.
    After installation of SMS portlet , I come to test sending SMS. The portlet is displayed correctly ,but write the SMS message and press "SEND" button, the following error message is displayed
    "ProviderSession not initialized or is lost, Please logout & login again or set login frequencyas always "
    Is there any one tried using this portlet before?
    And is any one has an idea about the reason of this error?
    Please help
    Thanks in advance

    While registering your (Java) provider, you can set the login frequency for the provider (User/Session Information on the connection tab when editing the provider). Check if you have set the provider Login Frequency to once per user session.
    Thanks,
    EJ

  • Problem with the nodes in Oracle Portal using JPDK Portlets

    Here in Production environment we have 2 different Portal Servers
    Even if logged in with the node 'b' then also the images path showing path from node 'a' only.
    Note:
    The thing is both the Portal servers are sharing the common portal repository.
    We are using JPDK Portlets with Oracle Appserver

    Does anyone know how to modify an existing report with sub labels within the main report? I am trying to resize one of the labels.
    O'Neil

  • How to use standalone portlets in weblogic 8.1

    I have a pageflow that is pretty simple.
    It begins by forwarding the user to index.jsp that contains a hyperlinked list of available reports.
    When the user clicks on one of the hyperlinked reports, I would like it to forward to an action that initializes that report which in turn forwards to a jsp that opens a new popup window without any look and feel (just a plain white window) and renders the report inside of that window. I would like all of my previously set pageFlow variables to be available within that window.
    From what I have gathered this is called a "standalone" portlet and there is a jsp tag and also a java class that can be used to accomplish this.
    However, I have not had luck with either of these. When I used the JSP tag it opens the portlet in a new window without the look and feel as expected, but the portlet state is "reset", all page flow variables are reset, and the pop up window restarts at the "begin" action and re-displays the hyperlinked list of available reports. When I try to use the StandalonePortletURL class I get a Null Pointer Exception whenever I try to create the URL like this StandalonePortletURL.createStandalonePortletURL(getRequest(), getResponse()).
    The only work-around I have found is to first set the variables I need access to in the session and then manually redirect to the JSP outside of the page flow. When I do this I lose all access to the pageFlow variables so I have to refer back to the session to access the variables I need. This works but seems really sloppy and cumbersome.
    Appreciate any help. Thanks.
    Edited by: user6093557 on Mar 5, 2011 12:58 PM

    Did you manage to get this working?
    If yes ... what did you do?
    I am having the same problem implementing commons-logging with log4j

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • Is it possible to use a portlet backing file on the dvt_enabler portlet?

    We currently have a 9.2 portal with a simple login form portlet that uses a backing file to do much security checking, authentication against ActiveDir, etc. Our requirement is to convert to WLP 10.3 using the DVT enabler portlet or something like it for login (because DVT/DISC is to be turned on for the portal). will it be possible to specify that backing file against the DVT enabler portlet?

    I'm not sure using the DVT enabler portlet will do what you want. It basically just specifies the render dependencies to bring in the dojo and dvt javascript libraries. It doesn't provide any login support itself; the javascript it brings responds to the logged-in state of the user (accessed via DISC), so something else is required to login the user.
    Greg

  • Blank content area using navbar portlet

    Hi, using portal 3.0.9.8.2 win2000
    I have a content area where 2 groups have the same rights (view rights on sublevel folders) I have the navigation bar, consisting of the available categories, posted as portlet as well as a few subfolders.
    both roles can view and navigate the folder portlets perfectly from their respective pages. the navbar is displayed for both groups as well.
    But for one group when clicking on a category in the navbar it opens the content area, the navbar is displayed but the contentarea itself remains blank.
    To check I created another navbar displaying a list of folders: same result.
    I deleted the group from the administer tab, recreated it and set access rights all over again within the content area for that group: same result
    please help: this is driving me nuts

    Try, to use Item Type URL like /pls/portal30/portal30_DEMO.TASK_HOME.SHOW, it's not good but work.
    null

  • Query- IPC using JSF Portlets in WebLogic Portal

    The question is how to pass data when doing InterPortlet Communication using Local JSF portlets in Weblogic Portal.
    I will eloborate on the particular scenario we have below.
    Two JSF portlets are build (both are not using Java Page Flows). The first porltet has a table of data. When the user clicks on one of the items in the table (which is coded using <h:commandLink/> option), the second portlet should show some details on the item clicked.
    For example:
    If there is a list of books in first portlet, when clicking on one of the book name, the details of book should come up in the second portlet.
    To achieve this, faces event was enabled in first portlet with requestAttrPersistence option set to session.
    For example :
    <netuix:content>
    <netuix:facesContent contentUri="/bookList.faces" requestAttrPersistence="session">
    <netuix:facesEvents>
    <netuix:facesEvent action="/bookDetails.faces" eventName="bookDetailEvent"/>
    </netuix:facesEvents>
    </netuix:facesContent>
    </netuix:content>
    The second portlet was configured to handle faces events, particularly the bookDetailEvent.
    Example:
    <netuix:handleFacesEvent eventLabel="handleFacesEvent1" eventName="bookDetailEvent" fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionLabels="JSFPortlet_1" sourceDefinitionWildcard="this">
    <netuix:invokeFacesAction action="/bookDetails.faces"/>
    </netuix:handleFacesEvent>
    Going by this method, how can we find the particular book whose detail has to be shown? As in JSF, we dont directly access the request attributes, what is the ideal way to pass data from one page to other?
    Please help on this.

    i am also having the same problem.I tried by passing _nfls=false but it didn't work.Can you suuggest where do i need to set this or any other parametrs such as this programmatically?                                                                                                                                                                                                                                                                                                                                                                           

  • Load Balancing Portal that uses JPDK portlets

    We are having the following Portal architecture :
    -Browser
    -Firewall
    -Load Balancers
    -Multiple 9iAS middle-tiers (2)
    -DB Server
    We are using Web Providers registered with Portal which calls JPDK portlets.
    We have registered the Web Provider url's, but of course had to
    enter a URL to point to the location of the provider.xml. If we enter the URL specifying a particular 9iAS middle-tier hostname, all requests for the provider from any of the middle-tiers are routed through the one 9iAS server, which places a heavy load on this server.
    Requirement : We want to specify the location of the provider.xml as local to the particular 9iAS server and so call the portlet from the same server, which will spread the load.
    What would be the best way to achieve this ?

    Hi,
    You can very well provide the URL of 'Load balancer' while registering the WebProvider, provided it meets the following condition :
    Condition : For example, your middle-tiers are named 'machineA' & 'machineB'. Your loadbalancer's name being 'loadbalancer'. Say, a user wants to access a file by name 'test.html' which exists in both machineA & machineB and is identical. Let http://machineA/test.html & http://machineB/test.html be the URLS for accessing it.
    The user should get the output after specifying the loadbalancer's name in the place of the 'serverA' or serverB.
    Something like, http://loadbalancer/test.html
    If the condition is satisified, you can register the webprovider with Loadbalancer's URL.
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Using Bookmarks portlet

    Is there someone who knows where I could find a bookmark portlet with Portal4.0
    or have been able to use the bookmark portlet given with bea sample Portal that
    I am unable to use with Portal 4.0 ?
    Thank you

    Sorry, but this is a database issue.
    You should post it with detailed information to other forum!
    General Database Discussions

  • Single Worksheet Viewer used in portlets shows data only in English

    Hi all,
    We have a problem with Discoverer portlets displaying data only in English:
    Our MOLAP cubes contain data in English and in Bulgarian. We have two public connections - one set to EN and the second to BG language.
    Into the portal we have two pages - first one contains Discoverer List of Worksheets and Discoverer Single Worksheet portlets, both using the EN connection, second page is similar but using the BG connection.
    When we open a worksheet from a portlet set to BG it always shows the data in EN. Same worksheet when opened from the stand-alone Viewer shows the data correctly.
    We found a Metalink note 395836.1 which says that Oracle have implemented a Single Worksheet Viewer since version 10.1.2 that is used in Discoverer portlets instead of the standard Viewer. There is also an explanation how to revert to the standard Viewer but only for the public users to the portal. We tested it and it works but we need it for the users that log into the portal.
    That makes us thing that the problem is related to this Single Worksheet Viewer.
    Has anyone fased this problem? Any ideas how to solve it?
    Regards,

    Hi,
    I opened a SR in Metalink and the answer from the support team is:
    "When the user "creates" the Disco Portlet, the language defined in the
    browser, in this case English, will be the language used when
    displaying the data in the SSO portlets.
    And the workaround someone to be able to publish the portlet in different language is to change the default browser language to the desired language before publishing the portlet. We tested it as follows:
    1. Changed the browser language to Bulgarian - for IE (Tools - Internet Options - General tab - Languages button), for Firefox (Tools - Options - Content - Languages area - Choose button)
    2. Added portlet to the page which is using the public connection set to Bulgarian language.
    3. After publishing the portlet, the data appears in Bulgarian.
    Tested with both Discoverer Worksheet and Discoverer List of Worksheets portlets and it WORKS for the both.
    The inconvenience is that if you are working with multiple languages you have to be careful which language is set in the browser when you publish a portlet and you have to switch between the different languages. There is no possibility to change the language after the portlet is published - it will open always in the initial language.
    I thing that such an important limitation should be included in the Discoverer official documentation.
    Regards,

  • Anyone using Java Portlet Tools?

    Is anyone using the Java Portlet Tools to develop portlets?
    You can read about it here:
    http://dev2dev.bea.com/pub/a/2006/05/java-portlet-tools.html
    I was told by BEA that this is unsupported but I don't think thats going to be a problem.
    If you are not using this then how do you build portlets in java without resorting to scriptlet code?

    Thanks for the reply Chris.
    It looks like the portlet tools does 3 things:
    1 - filters content like the DotNet WCC http module to make existing apps behave when run inside the portal
    2 - drops a bean in the request automatically for you so that you can access portlet functionality on the jsp with JSTL and no scriptlet code
    3 - gives you some custom tags to read and write session prefs and publish and subscribe to events without javascript
    Items 2 and 3 are very desirable to me for new portlet development.
    So who is using this toolkit and are you using it with JSF or Struts or just straight JSP?

Maybe you are looking for