From as portlet.....It's Urgent!!!!!!!!!!!!!!!!!!!!!!

Hi
I have a form developed in JDeveloper using JClient Object. I want to put this form on my portal page as a portlet. Is it possible to do. Can anyone please help me.It's Urgent.
Thanks
Ash

Hi Ramesh,
Thanks for your reply.
I just wanted to know that can I enable those options for RosettaNet 01.10 as well because it is mentioned on the B2B console itself to not to do so.
Thanks & Regards,
Anuj Dwivedi

Similar Messages

  • File Not found error when calling Form Post Method to a JSP from JSP Portlet

    I have built a set of JSP forms using post method to call other JSPs. Normally, the code looks like
    <form name="MyForm" action="MyJsp.jsp" method="post">
    I migrated the calling form containing this code to a portlet, but not the MyJsp.jsp. When I submit the form, I get a file not found in Jserv.log
    Exception:javax.servlet.ServletException: java.io.FileNotFoundException: D:\servlet\RegisterCompany.jsp (The system cannot find the file specified)
    [14/06/2001 13:59:59:679 PDT] JspServlet: unable to dispatch to requested page: Exception:javax.servlet.ServletException: java.io.FileNotFoundException: d:\oracle\isuites\apache\apache\MyJsp.jsp (The system cannot find the file specified)
    I notice that launching the calling jsp from a portlet, my opriginal context that uses ../Apache/Apache/htdocs is not being searched for the JSp. Why is this? Moreover, I try to set up an Alias in httpd.conf file to the this director and use it with the jsp in the action tag, but still get an error that my jsp servlets/Myjsp can't be found. Why is it insiting on looking at servlets context instead of htdocs.
    I have none of these issues outside of Portal30 using IAS.
    regard

    Initially, I couldn't do this unless I moved tghe jsp's up to the root directory of IAS, i.e ../Apache/Apache. Nomrally, htdocs is my doc directory for IAS. I could not do http:\\myUrl\htdocs\myJsp. If I tgried this, I got an error in Apache error logg that said can't find file ..\htdocs\htdocs\MyJsp.jsp.
    If I just tried the the URL http:\\myUrl\MyJsp.jsp with Jsp file in htdocs, I would get an error in the Jserve log that file d:\oracle\isuites\apache\apache\MyJsp.jsp could not be found. Once I moved the file MyJsp to Apache/Apache directory, it could be found using http:\\myUrl\MyJsp.jsp. Later, I delted these files and kept the ones in htdocs and they continued to work.
    I'm confused why launching pages through portal isn't consistant with Apache Standards. Where is the documentation that tells me how to configure context and aliases for pages launched from portal pages?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sue Vickers ([email protected]):
    David,
    Passing information using Portal is different than just using Apache/Jserv. Does it work in portal if you use the absolute path?
    <form name="MyForm" action="http://host.domain/MyJSP.jsp" method="post">
    Portal will not be on the same relative path as your Apache, so you may need to adjust your action somehow.
    Thanks,
    Sue<HR></BLOCKQUOTE>
    null

  • How can I redirect to an URL from a portlet?

    I'm using Bea Workshop 8.1 and trying to perform a redirect from inside a portlet
    using HTTPServletResponse.sendRedirect(String url)... but nothing happens ((
    I tryed the same trick with a simple JSP, and that's ok, but portal pages obviously
    catch the redirect somehow.
    Please could you tell the correct way of redirecting the whole browser to another
    page from inside portlets?
    Thanks!!!

    Backing files is an option. If you need to do it from the controller, you
    could use the Forward object. The forward object constructor can take a URL
    object as a parameter. This should do the trick.
    Regards,
    Kunal
    "Panji Aryaputra" <[email protected]> wrote in message
    news:[email protected]..
    Hi, you have to use backing file to get what you want. In my case, I am
    using a page backing file. Perhaps a portlet backing file can do thatalso.
    Cmiiw, the redirect header makes the page redirected only if the httpheader
    has not been sent to client. In your case, the header has been sent (i.e.
    the portal header.jsp has been displayed, etc). So the header need to be
    sent before anything else sent to client browser. This is where thebacking
    file comes handy.
    hth
    panji.a
    "A Hagen" <[email protected]> wrote in message
    news:[email protected]..
    I'm using Bea Workshop 8.1 and trying to perform a redirect from inside
    a
    portlet
    using HTTPServletResponse.sendRedirect(String url)... but nothing
    happens
    I tryed the same trick with a simple JSP, and that's ok, but portal
    pages
    obviously
    catch the redirect somehow.
    Please could you tell the correct way of redirecting the whole browser
    to
    another
    page from inside portlets?
    Thanks!!!

  • How can I pass information from one portlet to another?

    First, some background...
    I am using Portal 5.0.2 and developing portlets using JSP/Java on a remote server.
    I need to pass information from a portlet on pageA to another portlet on pageB, but I can't do it using the traditional methods, such as query string, session, cookies, etc. due to either portal framework limitations or because of functional constraints (basically, a user will not necessarily be logged in to the portal, but he can view anything available to the GUEST user). Here are the different ways I've considered using to save state and their limitations:
    Query string: can't use this because portlets on remote servers don't have access to it
    Cookies: if user disables cookies, code will not function properly
    Session variables: limited to one user's connection with one portlet (i.e., can't access a session variable set in portletA from portletB)
    Application variables: because the user may not be logged in, I have no way of uniquely naming variables, which is a necessity in order to maintain state for EACH user
    User Settings: again, the user may not be logged in, so I can't use these
    PCC: can't access client-side variables because server-side JSP executes first
    Are my assumptions above correct? Has anyone had any success using one of these methods given the same constraints, or does anyone have an alternative solution? I'd certainly appreciate any help anyone could provide.
    Thanks,
    Jose

    One possibility would be to use a Login PEI to set a unique UserInfo Name/Value for the user. I think in 5.0 each guest session is unique, so would have unique UserInfo. Then you could pass this value to your portlet (by specifying it in the web service) and use it as a key into a Application-scoped hashmap where you store your info. In other words, your Application variables option, but you have a way of uniquely naming your variables via PEI-set UserInfo.

  • File download from a portletized ADF app running in webcenter spaces.

    Hi,
    I am having trouble downloading non static files from a portletized(with ADFPortletBridge) ADF application running as a portlet producer in Webcenter spaces .
    This is my scenario :
    Jdev : 11.1.1.3
    Webcenter : 11.1.1
    The ADF app has a query page, that uses the af:query component to do a query and display results on a table. This table data need to be exported as a file with some changes like splitting address to component city and state columns .
    The ADF app makes use of af:filedownloadlistener to get this(HTML formatted file with an .xls ext is our current preference to get it to open in excel, but could be anything) done . The ADF app works just fine, but as section 30.2.5.5 in the web center dev guide points out http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_bridge.htm#CACBHDEF
    > The <af.fileDownloadActionListener> component is not supported.
    The actual behavior however is that the export happens when triggered, but the component keep serving up the same file it created the first time it got invoked every subsequent time. The same file is served even across sessions.
    The alternatives I've considered so far are :
    1. <af:exportCollectionActionListener> - Exports what you see on the UI table. Would not work for us, because our exported data is different than whats on screen. (eg: whole addresses are displayed as a single column, but broken down as component city and state columns in exported data )
    UPDATE : <af:exportCollectionActionListener> exhibits the same behavior as <af.fileDownloadActionListener> in a portlet environment. The first time after deployment it works, and every subsequent time (across sessions) it serves up the same file it first generated.
    2. redirect to a servlet - admittedly half baked idea - fiire an action that will generate the report, then put it in sessionScope , redirect to a servlet that would pick up the report from session and stream it to the user by setting the servlet's response content type. Very unsure if this would fly in a portlet environment (sorry, I'm new to portlets) and even if it does, section 30.2.5.2 in the web center dev guide says :
    Do not redirect or forward a request within your JSP. JSR 168 only supports requestDispatcher.include(). The use of httpServletResponse.sendRedirect() or requestDispatcher.forward() results in exceptions and errors. Am I overlooking some feature that would let me do this or whats the recommended method to achieve this functionality of exporting a file generated at run-time in a portlet environment ?
    Edited by: Jeevan Joseph on Oct 14, 2010 1:02 PM

    I'm facing the same problem. Do you have any news on this issue?

  • Need to remove the "customize" from a portlet

    Hi Everyone,
    Hoping someone can help with this...
    I would like to remove the "customize" link from the portlet header. There are no user servicable parts inside when the portlet appears, it has essentially all it needs to function properly.
    Can I make a PL/SQL call before the page is rendered to disable this?
    Is there an example somewhere I have not yet found?

    I'm sorry most of these options won't help.
    1) Header will disappear altogether, Including title.
    2) The same problem
    3) If you don't give Edit privileges to a folder you still will be able to customize the portlet.
    4) Can work, but it is very time consuming to create a portlet with the same functionality as the folder portlet. I heard that this will be solved anyway in future releases.
    Another option is giving the header (customize) text the same color as the background (using page style). But this option also has disadvantages.
    a. You will still be able to click on customize (although you cannot see the text)
    b. In some browser you still see the underline.
    Regards,
    Bram
    null

  • Call a servlet from Faces Portlet in Websphere

    Hi All,
    I have created a JSR-168 Faces Portlet project and using RAD(IDE) and WebSphere Portal server.
    I want to call a servlet from my jsf portlet.But i do not know where to place my servlet in the project directory.And how to invoke a call to my servlet from my portlet.
    Please help me find an answer.
    Best Regards,
    Pallavi

    hi Pallavi,
    Yes you can do that, what you have to do is you can get the ExternalFacesContext and forward your request to the servlet, you have entry for your servlet in web.xml...
    I am sure about it but you can try this
    Hope it will work.
    Surya

  • How to make a redirect without auto-redirect from the portlet "edit" mode?

    How to make a redirect without auto-redirect from the portlet "edit" mode?
    I use some sofisticated customizing with server-side validation of the form data. I want to redirect to the page of the portlet "show" mode and to the "edit" mode depending on the validation results. How can I do it?

    Heay.....this worked for me.
    I am able to change the mode programatically from edit to show.
    HttpPortletRendererUtil.handleEditAction(portletRenderRequest,"OK");
    I removed Apply , OK and Cancel buttons and applied my own Submit and Back button in Personalize mode and then change the mode to show on click of Back button using the above mentioned statement.
    Thanks
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail&#12288;&#65316;&#65359;&#65364;&#12288;&#65315;&#65359;&#65357;

  • Calling a snapshot query from a portlet?

    From a portlet, I want to be able to use the EDK to get the results of a snapshot query and display these results in my own manner. Any ideas on how to do this? Looking in the nDocs, I can't seem to find any class in the Plumtree.Remote.PRC namespace to assist with this.
    Thanks in advance,
    Dan.

    First - I have to say I love the direction Plumtree is going with their products. I don't want to stuff below to be perceived as whining - just portraying our needs. The more I learn about 5.x the more impressed I am. That said...
    We'd be very interested in this as well. Part of our 4.5 WS -> 5.x upgrade analysis exposed some of the differences in publications and snapshot queries. Having a portlet interface into snapshot query properties/presentation would be really nice in addressing things the user community will see as "losses" in functionality. Some of the things our business analysts are concerned about:
    Maximum 10 items in a snapshot query: snapshot queries are a great way to surface data from a complex/distributed taxonomy. The 10 item limit make this more difficult.Multi-column display: The staff want to be able to control the # columns used to present the snapshot results.Porlet per snapshot query: The staff would like to be able to present multiple snapshot queries in a single portlet.General snapshot API: I could actually see this being pretty powerful in providing a way to leverage snapshots to provide "in context" results within a portlet. The reason I like it over a general search API is I can allow an admin to change the search attributes otuside of the code.Eric

  • Looking for resource: accessing session info from JPS portlets

    Hi! The Portal Developer's Guide 10g Release 10.1.4, section 7.2.5 shows how to access session information from PDK portlets. I'm looking for information (tutorials, books) on how to do this from JPS portlets in the Oracle Portal environment.
    Thx!

    If u are using JSPProvider, then for getting the Session variable, peruse the below points:
    JSPProvider p=(JSPProvider)pageContext.getAttribute("JSPProvider");
    Session ses=p.getSession();

  • I have lost my iphone 4 just an hour ago... i need to delete my personal photos from it. PLease help urgently.. Thanks

    I have lost my iphone 4 just an hour ago... i need to delete my personal photos from it. PLease help urgently.. Thanks

    If you had find my iphone enabled follow the steps in the article below:
    http://support.apple.com/kb/ph2701

  • Writing Cookie from a Portlet

    Hi,
    I am unable to write a cookie from a portlet. From the portlet JSP I am
    writing the cookie to response object and the cookie is not getting to the
    client.
    So How can I write a client-side cookie from a portlet JSP?
    Thanks
    Regards,
    UDay

    Uday,
    The portal page is composed of many JSPs originating from portal.jsp. Portlets
    are ultimately included via a <jsp:include> tag. This is what the JSP spec says
    about <jsp:include>
    "An included page only has access to the JspWriter object and it cannot set headers.
    This precludes invoking methods like setCookie(). A request-time Exception will
    be raised if this constraint is not satisfied. The constraint is equivalent to
    the one imposed on the include() method of the RequestDispatcher class."
    You will need to set your cookie from portal.jsp.
    PJL
    "Uday Tangs" <[email protected]> wrote:
    Hi,
    I am unable to write a cookie from a portlet. From the portlet JSP I
    am
    writing the cookie to response object and the cookie is not getting to
    the
    client.
    So How can I write a client-side cookie from a portlet JSP?
    Thanks
    Regards,
    UDay

  • URGENT:How to pass parameter to page from java portlet

    Hi,
    All i need to do is to pass a parameter from my custom java portlet to an omniportlet. Is it achievable? If so, please point me direction!
    Thanks,
    Ceren

    Hmm yeah or else you could use java.net.URLEncoder.encode(String s) to encode it automatically.
    (java.net.URLDecoder.decode(String s) decodes btw)

  • How to add a new user property and then retrieve it  from a portlet

    Trying to add a user property and then retrieve it form a remote web service?
    Add a user property and map it
    1. Create a property2. Go to Global Object Property Map3. Go to users, edit and select the new property.4. Go to User Profile Manager5. For portlets, go to the "Position Information" section and add it. (for the purpose of this test, add it to the profile section as well)6. Under the "User Profile Manager" go to the "User Information - Property Map" step in the wizard and 7. Go to the "User Information Attribute" and add the property.8. Click on the pencil to the right of it and give it a name (The name is what's going to appear in the list of user information under the portlet web service)9. Click finish10. Now create/edit the web service for the portlet from which you want to displays user properties. 11. Under the "User Information", click "add existing user Info" and select the property you want.12. From the portal toolbar, edit the user profile under "My Account" and then "Edit user Profile" and give the new property a value. 13. Test code below: ================================in C# IPortletContext context = PortletContextFactory.CreatePortletContext(Request,Response);IPortletRequest portletRequest = context.GetRequest();System.Collections.IDictionary UserInfoVariables = portletRequest.GetSettingCollection(SettingType.UserInfo);System.Collections.IDictionaryEnumerator UserInfo = UserInfoVariables.GetEnumerator();
    while(UserInfo.MoveNext()){   //to display in a listbox   ListBox1.ClearSelection();   ListBox1.Items.Add(UserInfo.Key.ToString() + ": " + UserInfo.Value);}===========================in ASP: <%Dim objSettings, dUserInfo, sEmpIDSet objSettings = Server.CreateObject("GSServices.Settings") ' get the user info settings, get employee ID from user infoSet dUserInfo = objSettings.GetUserInfoSettings
    for each item in dUserInfo response.Write "<BR>" & item & ": " & dUserInfo(item)next%>

    IPortletContext portletContext = PortletContextFactory.createPortletContext(req, res);
    IPortletRequest portletReq = portletContext.getRequest();
    String value = portletReq.getSettingValue(SettingType.Portlet,settingName);

  • Getting the username from a portlet

    Hi,
    I have a new installation of Portal 10.1.4 and I'm trying to write a portlet that has access to the username from within a JSP. I am trying renderRequest.getRemoteUser() and renderRequest.getUserPrincipal().getName() and both return the username with brackets and a number inside, for example "MCOARR[1]". What I really want is the uid from LDAP.
    Looking in the directory server my user is mcoarr (or more specifically, both the uid and cn attributes are set to "mcoarr").
    How do I get just the username?
    Thanks,
    Matt

    Yeah, I had to do that too (the text munging stuff). Unfortunately, Oracle Portal doesn't seem to be following the WSRP spec on getting user attributes. There is a whole section in the spec about how to map user attributes in your portlet.xml and then get them in a portlet by doing stuff like:
    Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
    String givenName = (userInfo!=null) ? (String) userInfo.get(“user.name.given”) : “”;
    String lastName = (userInfo!=null) ? (String) userInfo.get(“user.name.family”) : “”;
    This is how it works in uPortal, Liferay and other portals we tried. I don't know why Oracle portal has been through two revs of WSRP support and hasn't got this right yet.
    -Mike

Maybe you are looking for

  • Formatting a PC-formatted External Hard Drive to work in Mac OS

    So I have a 300 gig external hard drive formatted for Windows XP with NTFS. I recently got a Macbook Pro and as it stands in Mac OS X the hard drive is read only. I can copy files from the hard drive to my Mac, but I can't edit files on the external

  • Paid/Credited field in A/R Invoice

    Hi All, I have some doubt regarding the field 'Paid/Credited' appeared exactly below 'Total' in A/R Invoice form. If that field contains some value, it means there should be some incoming payment/ Credit memo fired against that Invoice. the invoice i

  • Profit center group wise balance sheet and trading account report req

    Hi. We are using Profit ceter accounting for one of our clients.its ECC 6.0 therefore New GL is activated. FSV is not configured. Now I want to get the reports - Profit center group wise balance sheet and trading a/c. Can anyone help me in this regar

  • Restore new ipod with old ipod data

    I think my ipod is probably toast (unless some genius responds to my last post and solves my problem). If I have to get a new ipod, does anyone know if I can restore the data from my dead one to the new one?

  • How to get Tomcat project path?

    For example i have a project ...webapps/pranas How with servlet get this path or how get servlet path?