PAGE: Can PL/SQL page be posted as portlet?

Is it possible to post a PL/SQL page as a portlet? and how to do it ?

Hi Teku,
You just have a look at this thread, where u can find a solution for your problem.
INSERTING Records into Second table based on First table Primary Key
hope this helps.
Bye,
Srikavi

Similar Messages

  • From my Ipad, when I am in Facebook, I can not hear the videos posted to my FB page...Sounds works on all other apps just not my videos on my FB page.

    From my Ipad, when I am in Facebook, I can not hear the videos posted to my FB page...Sounds works on all other apps just not my videos on my FB page.

    Homesharing has issues that have not been fixed over several versions of itunes and ios.
    Only kind of fix is go back through your library and retag it.

  • Redirect page with POST method in JSTL

    how to redirect page with POST method in JSTL.
    below is the code that i make, but the page redirected with GET method,
    so, the URL shown as http://localhost:8080/tes2/coba2.jsp?nama=saya
    how to hide the parameter, so it didn't show at the URL..??
    anybody help me..??
    server1 -> coba1.jsp
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
    <head>
    <title>coba1</title>
    </head>
    <body>
    <c:url value="http://localhost:8080/tes2/coba2.jsp" var="displayURL">
      <c:param name="nama" value="saya"/>
    </c:url>
    <c:redirect url="${displayURL}"/>
    </body>
    </html>server2->coba2.jsp
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <html>
    <head>
    <title>coba2</title>
    </head>
    <body>
    <c:forEach items="${param}" var="currentParam">
            <li><c:out value="${currentParam.key}" />
                = <c:out value="${currentParam.value}" /></li>
          </c:forEach>
    </body>
    </html>

    There are other two way communications methods as well. One such would be:
    Server1Page1: Take response with parameters.  Use HttpURLConnection to make a request to DataInputServlet
                  on Server2 and send the parameters there with a POST operation
    Server2DataInputServer: Takes request with data in it and starts a new session.  Puts the data into the session and
                  returns the session id to the requester
    Server1Page1: Reads the response from the DataInputServer (the session id) and generates a sendRedirect to
                  Server2's display page using the session id.  Server1Page1 is now done.
    Server2Page1: Gets a request from the client with the session id, and pulls the parameters out of the session.  Then
                  can continue as normal.Server2Page1 can also do a quick refresh to itself not using the session id as well, which will keep the URL visible by the client relatively clean.

  • JSF and ADFBC: How to Run a method every time the page is posted back

    Hi everyone,
    I am using ADFBC and JSF in my project, and there is a page which runs the following logic: The page displays a set of radio options and a submit button. It has a total of 4 options, but they never display all at once. For example, when user enters the page for the first time, only selectItem 1 displays. When it clicks on the submit button, the page is posted back and hides the first select item, showing now the second, and so forth. The steps i did to achieve this are:
    1 - Created a method on the App Module that inserts a row corresponding to the select item choice.
    2 - Created another method that verifies which is the lastly entered row and returns a string containing the relevant attribute, for example, "E".
    3 - Created the methodAction binding to run the insertMethod (1) and retrieveMethod (2).
    4 - Created an invokeMethod executable for the retrieveMethod (2) and set the refresh property to "always".
    5 - Created a variableIterator with a variable to hold the retrieveMethod return, also setting the refresh to "always".
    6 - Lastly, bound the "rendered" attribute of each select item to the variable's value, for example "#{bindings.returnVariable == 'E'}
    When i run the page, the logic works almost fine, except for one detail: When the user clicks the button that calls insertMethod, the page is posted back, and i assume the selectItems should be re-rendered accordingly. Yet, the button click inserts the row in the DB (called insertMethod) but keeps showing the previous radio item. If i restart OC4J, when i enter the page again the radio is now correct, showing the next option.
    Do you know how can i tell the page that the model has been refreshed, so it runs the retrieveMethod again, alters the variable and the radio options without having to leave the page or restarting OC4J?
    Thanks in advance for your help!
    Regards
    Thiago Souza

    Hi all,
    It seems i have figured out the error. It was a logic mistake on my method, ADF was doing the refreshes just fine. There is another little question i wanted to ask now: I need to execute a JSF Navigation Case when the page loads, in order to navigate to another page due to a certain condition. is there any way to run some logic to redirect the request before the page has been rendered, just like the onLoad() javascript event runs on the body every time it gets loaded?
    What i'm trying to do exactly is this: When the login.jspx page runs the "success" navigation case, it goes to "page1.jspx". But before "page1.jspx" is loaded, i need to run an Application Module method to check for a certain situation; if this criteria is not met, i must run "fail" navigation case, from "page1.jspx" to "page2.jspx" without ever displaying page1.jspx.
    Is it clear enough? Can you guys give me some pointers on how to do it?
    Thanks a lot!
    Thiago

  • Portal API's to display "page published as a portlet" using pl/sql

    I have a custom pl/sql portlet that we have developed. We want to programatically display the contents of another portlet which is a "portal page published as a portlet". I know when you have a provider portlet you can simply call it like this:
    portal.provider_name.show();
    But how do you display a page published as a portlet using portal API's?

    Nobody has a clue?

  • User Page, Recent Posts by....

    User Page Recent Posts by priisaz dispays number of times a post is viewed, but when you select View all your posts, it does not. Could this field be added to the all posts view? And should I add this to Ideas page. You may move this there if you wish.
    Thanks

    I'll do some checking on this and get back with you.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution.

  • After 24 hours, my iweb pages finally posted!  Is it me? Iweb? Mobileme?

    After 24 hours, my iweb pages finally posted! Is it me? Iweb? Mobileme? All the above? I'd really like to know before my family kills me for tying up all of our bandwidth for the entire day again. Yes besides taking forever to upload, the process seems to have halted my entire home network.
    I spent an hour on the phone with apple today (103297246) to have tech one say it was mobile me and tech two say it was iweb. I called time warner to see if they had throttled down my internet because I was uploading-LOL getting an answer there.
    I may be the problem. To add my albums to iweb, I just dragged them to an album page on iweb. Here is an example:
    http://web.me.com/tedcarlos/Friends/Friends/Friends.html
    I am wondering if I should have clicked the iweb button to do this when I wanted to take them out of iphoto and put them in iweb? In the past doing this with movies to iDVD has been sooo time consuming I thought dragging would be easier and that iweb would scale them accordingly. Anyone know anything about this?
    Another question I have is about iweb. Why does the thing offer to upload part of your iweb sites at a time, but when it actually begins the process, it appears to upload everything? Apple had no explanation for this except to say they were working on it. Could this be the source of the slowdown?
    Another thought is iweb's interface with mobile me. Could it just be off? Could I just publish my sites to folder and then drag to my idisc? If so does it take everything?
    Any help of thoughts on these subjects would be most appreciated. Thank's
    Theo

    I usually apply some common sense before calling support.
    I also prepare my stuff before publishing it.
    So, after some assumptions and using the calculator:
    418 photos @ 0.350MB a piece = 146MB
    29 movies @ 15MB a piece = 435MB
    Total = 581MB = 0.5GB
    That takes some time. No need for support, just patience.
    Also, it's good practice not to dump everything from the camera straight on the page. Especially AVI movies do not work well in webpages.
    Magic word: iMovie
    Hope this helps.

  • Reload page without posting

     

    Try:
              response.redirect("your_url");
              return;
              Jack
              Robert Jose wrote:
              > Hello
              > Does anyone know of a way to go to another jsp page without posting? I am
              > trying to update (or save) to the database and then reload the page. When I
              > do a forward, I get into a endless loop. Any help would be appreciated.
              >
              > Thanks
              > Rob
              

  • ABAP General forum - 22 pages of posts in one day - wtf ?

    I don't have a project right now, so I was perusing the ABAP forum for whatever looked interesting.
    I noticed 22 pages of posts just today 11 Feb. With 15 posts per page that's 330 post/replies in one day!
    WTF is up with that, a little too crazy isn't it ?

    The turnover in the ABAP Development forums has always been fast (hence also the temptation to duplicate post, instead of following up with more infos from having made some headway on your own while waiting for answers)...
    Since a few days, there has been a steady increase and it is very busy at the moment.
    I am not sure what the equilibrium thread-per-minute rate is before people reach the search-first-coeffecient, but it is approaching hopefully.
    I am trying to look on the bright side of it...
    Cheers,
    Julius

  • Can't us Oracle API on the simple JSP pages added to the portlet........

    Hi,
    I added a jsp page in the portlet which is not a standard page like the default show mode pages. I have added some code which actually access a resource inside the porltet.
    " img src="<%= UrlUtils.constructResourceURL (pReq, HttpPortletRendererUtil .absoluteLink(request, "icon.png")) %> "
    For that you have to add the following two imports in the code
    mport="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    import="oracle.portal.provider.v2.url.UrlUtils"
    This library is available with the JDeveloper and I dont get any error while compiling and even deploying the portlet war file on the applcation server. Strangely the same piece of code shows the image perfectly for the default show page of the portlet but it generates 500 Internal server error for the other simple jsp page I added, which suggests that the server is unable to find the function:
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.portal.provider.v2.url.UrlUtils.constructResourceURL(Unknown Source)
         at _htdocs._elogbooksubsystems._DAQ._jspService(_DAQ.java:54)
         [SRC:/htdocs/elogbooksubsystems/DAQ.jsp:15]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Can anybody help? Is this possible to use oracle api in the pages which are though added to the portlet but not the standard show modes pages?
    Thanking you in anticipation
    Regards,
    Omer Alvi
    Message was edited by:
    user574208
    Message was edited by:
    user574208

    Thanks Nrintala. I tried to work with multipage portlet example provided in the jpdk. In fact I created another portlet with two pages and copied the code of the two pages of the multipage portlet. (Off course I took care of the names and stuff). Later I modified the provider.xml by defining "next_page" parameter. When I viewed my portlet, first page appeared fine but when I click on the link which should show the second page, I got an error which says.
    Error:      Error occurred while rendering portlet - see provider log file for details.
    Do you think I have missed something? I am depoying my war file on the stand alone OC4J and some how I have not been able to find the application.log file in my application inside the application_deployments of the J2EE_HOME. I have pasted the provider.xml file and I would be grateful if you can help.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>false</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>mulitpage</name>
    <title>testing multi page</title>
    <description>My Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <contentType>text/html</contentType>
    <showPage>/htdocs/mulitpage/first.jsp</showPage>
    <pageParameterName>next_page</pageParameterName>
    </renderer>
    </portlet>
    </provider>
    Best regards,
    Omer
    Message was edited by:
    user574208
    Message was edited by:
    user574208

  • After publishing I can no longer see the poster frame on QuickTime

    I cant figure out why after publishing to the web (MobileMe), I can no longer see the poster frame on the QuickTime movie that I made. When I publishing to a folder on the mac to check my results I can see the poster frame, so it is only happening when i am publishing to the web. Does anyone have any idea why this is happening or have a solution?
    Thanks
    Chris

    You cannot delete this icon as its preinstalled on the iPhone. You may have inadvertently moved it to another page or into a folder. I would suggest you look on all the pages and in all folders or alternatively do a search on your iPhone. It will at least tell you if they are still there but unfortunately not where. You could also do a home screen layout reset settings>general>reset>reset home screen layout.

  • How do I a form submit without losing page parametes on other portlets?

    I have a page with several portlets. How can I make one of the portlets do a form submit without losing page parameters in other portlets?
    If I do a submit only the controls in the form I have submitted are passed which means I loose parameters that where passed earlier.
    I looked at the code the portal uses for the next button and I see that it does a POST with the action being the complete current URL with existing parameters. When I do this I cannot access the form variables in my dynamic page.

    There are 3 steps to the balancing act of image weight (file size) vs image quality
    1) image dimensions (on screen height x width measured in pixels is all that counts). Smaller dimensions = smaller file size.
    2) compressed file type (JPEG for photos, PNG or GIF for everything else). Choose the right file type for your image.
    3) quality of the final compressed image - visually comparing the final image for "acceptableness" (less artifacts) vs final file size
    There are plenty of tutorials online
    http://inobscuro.com/tutorials/read/35/
    http://sixrevisions.com/web_design/comprehensive-guide-saving-images-for-web/

  • Can i create a 1mx1m poster using keynote??

    Can i create a 1mx1m poster using keynote??

    I will hazard a guess that (1mx1m) means 1meter?
    Keynote is not a good application to print from, there is no control over scaling in Keynote so a 50cm object will  print much smaller than 50cm.
    Use a graphics or page layout application that can scale to print correctly; Photoshop, Indesign, Pages, there are many others.

  • Can anyone explain how to post the manual entries in BCS?

    Hi All,
    Can anyone explain how to post the manual entries in BCS?

    Dear,
    Depands on posting level.
    There is Manual Posting  under Consolidation Functions.
    Please creat document and task.
    Next you add this task for consolidation monitor. There is "Consolidation Monitor " and you choose Hierarchy task and add your task for manul data.
    In document you kind in mind: choose manula posting !!!!!!!!!!!!!!!!!!!!!  in page tab Propertis under Posting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
    If you would like to entry in posting level 01 or 10, please choose Local currency and trasaction currency +- group currency.
    If you would like to entry in posting level 20 or 30, please choose Group currency.
    In SEM_BCS are posting level is very important. 
    Regards,
    anka

  • How many days old we can see SQL Executions OEM 11g

    one of my technical guy asked me 5 days back sql session information how many days old we can see SQL Executions OEM 11g ..?

    Metric Historical Information will be saved for a year by default.
    Check http://download.oracle.com/docs/cd/E11857_01/em.111/e16790/repository.htm#i1030660
    SQL Statement execution might be analyzed from AWR snapshots using ADDM.
    You can keep AWR Snapshots as long as you like.
    Bare in mind that this will occupy database space.
    From the Database Home page select the Server tab and select the Automatic Workload Repository link to set Snapshot Retention
    Regards
    Rob
    http://oemgc.wordpress.com

Maybe you are looking for

  • Attachments in SSHR - Learner Self Service

    Can the Learners attach any file along with their enrollment into a class? Is this feature available? Only administrators can attach files and post it.

  • Please i need help the forms are not running

    the forms are not running by internet exp and i am trying all of things , then i am working now with Firefox and the problem still running and the error is additional plugins are required to display all the media in this page what can i do to running

  • Using compressor for Studio Pro first  then....

    I wanted to get a jump on the rendering because the titles are not ready yet for the dvd and thought about using Compressor to go ahead and make the files like DSP does .Now if I do that, will DSP recompress those after importing them and will I have

  • Osb-custom xpath function in 11g

    is it possible to place osb-custom.xml in some other locations other than C:\<middlewarehome>\oracle_osb1\config\xpathfunctions and refer it during server startup as we have only read access to oracleOSB1 in production environments???

  • Errors compiling the example.rmi_iiop.ejb.generic_idl example

    Hello, I have WebLogic Server 6.0, jdk1.3, Inprise's Visibroker for C++ 4.0 all on Windows NT. I am following the steps on the examples\rmi_iiop\ejb\generic_idl\package-summary.html page in my weblogic directory. The errors occur at step 3g of the se