PLSQL portlet Post problem...Help

Hi,
I have a plsql portlet. I am displaying a form using the the builtin's htp and owa. I have now to post the form(call another procedure within the same package), I am unable to get the right URL. How do I get the correct portlet URL? I have tried using the portlet_runtime_record, but no success. If someone has faced the same issue, I could use their help
Thanks in advance
Sam

Sam,
Make sure the portlet package is public.
i.e. grant execute on abc_portlet_pkg to public;
Then your FORM tag should look like this:
htp.p('<form name="MyForm" '||
'method="post" '||
'action="schema.abc_portlet_pkg.post_data">');
Best to put your post routine (i.e. "post_data") in the same package (i.e. "abc_portlet_pkg") as your portlet code.
Then, in the "post_data" routine, make a call to your api package to do dml operation and at the end do this:
owa_util.redirect_url(p_page_url);
Note:
p_page_url should be passed as a HIDDEN field after the FORM tag.
i.e.
htp.p('<input type="hidden" '||
'name="p_page_url" '||
'value="'||p_portlet_record.page_url||'">');
I personally do not like to use anything in the web toolkit except "htp.p" but that is a matter of preference.
Hope this helps.
Eric

Similar Messages

  • Helloworld plsql portlet installing problem

    hi
    i read "database provider starter examples" document.here is the link
    "http://otn.oracle.com/products/iportal/files/pdk105ea/plsql/starter/installing.starter.html"
    i follow instructions.
    -i login my system "sys/change_on_install as sysdba" via sqlplus
    -i create starter user
    -give permissions
    -i login "portal30/portal30 as sysdba"
    here i dont know schema where my portal is installed.i just interpreted.how can i learn it?
    -"@provsyns.sql starter" here.i took errors.if you examine provsyns.sql.this code creates synonyms for plsql APIs.its ok.but when this codes tries to give "execute" permissions it gives this error " package or body etc. doesnot exist"
    problem is.it creates synonyms.but cant give execute permissions.because it cant find packages which it created synonyms them.
    how can i solve this problem
    best regards

    Hi.
    Your problem as I percieve it is probably due to the fact that portal is installed in a schema other than the default schema.
    Let me answer this question by asking you a question first. While installing portal did you accept the default schema, or did you specify a different schema?
    If you had accepted the default schema while installing portal, then portal will be installed in the following schema by default.
    Portal 309 : portal30
    Portal 902 : portal
    If you had specified a different schema while installation, you run the following query which will return you all the schemas, from which you will have to identify the schema in which portal is installed.
    select username from all_users;
    Hope this helps.
    Thanks,
    Ashish.

  • Form is not working of multiple form check boxs, source posted. HELP.

    Form is not working of multiple form check boxs, source posted. HELP.
    I'm trying to have golive form be able to check one, two or all of the options in Graphics field.
    As is it will only post results from the last checked box.
    Here's the page
    http://www.perfection-press.com/Pages/ContactForm.html
    Here's where source in golive has scanning,design,filesupplied.
    [code removed to fix forum topic display]

    Since the checkboxes all have the same name, the values are over-writing each other when being passed to the PHP script. The best way to fix that is to add a pair of empty square [] brackets after the checkbox names, so make the names "graphics[]" instead of "graphics". That tells PHP that the values are being passed as a list (an array) instead of a single value. As long as your processing script knows what to do from there (and it does), should solve the problem.
    By the way, I noticed that two of the checkboxes were named "graphics" and the other was "graphic" (singular). You'll want to fix that too so they're all the same.

  • When posting for Help on Network Magic Please Include

    Hi All,
    When posting for help on these forums include:
    Your Network Magic Version installed: 4.6.7324.0
    The type of connection to the Internet, like DSL, Cable, or Verizon FIOS Internet Connection.
    The Brand of Modem and its Model Number the router is connected to.
    The Brand, Model, Hardware Revision of your Router and include the Firmware Version: D-Link DI-624 Rev. C Firmware 2.70
    The Method of connection your problem computer has to the Router: Wired or Wireless.
    The Connection in use on the problem computer: Ethernet Port is a PCI Adapter Card, A D-Link DWL-G520 Rev. B
    Operating system and version and Service Pack Level, if any. Ex. Windows XP Professional x64 Edition Service Pack 1
    Software Firewall in use: McAfee Personal Firewall 9.0.136 Build
    Also if any Anti-Virus Program or Spyware Program is actively protecting your computer. (Some Programs like Spybot does cause problems, not being able to go to specific sites.)
    Include your location in the post or fill out your Profile for this forum and include the location. (Reason: Not all Routers from a given manufacturer are available everywhere.)
    Post the link to your Router Model, if an off-brand Router or not found in the USA on the Manufacturer's USA's Website. (Why? Posters helping each other, aren't working for Pure Networks or Network Magic, so make it easier on the posters helping on.)
    And any other information you think is important if answering your own post, and the nature of the problem, itself.
    By posting all this information, you can hopefully get help from someone that has the same equipment that you have and theirs is working. Not everyone has the same equipment.
    thecreator - Running Network Magic version -5.5..9195.0-Pure0 on Windows XP Home Edition SP 3
    Running Network Magic version -5.5.9195.0-Pure0 on Wireless Computer with McAfee Personal Firewall Build 11.5.131 Wireless Computer has D-Link DWA-552 connecting to D-Link DIR-655 A3 Router.

    mhchiang,
    If you have multiple systems that all show the same symptoms,
    then it is probably not a problem in the computers.
    You may need to investigate the rest of your network hardware
    and your campus network software.
    Your campus network administrators may have made some recent changes.
    Ethernet switches may have power supply problems, or they're getting old.
    Firewall software may heve had recent changes to its configuration.
    If the cabling goes over long distances, from building to building,
    there may be damage to wiring.

  • Portlet communication problem

    hello
    i am pretty new to portlets
    the problem is that
    i want that i dispaly a list of record in one portlet and if user click on that record then on the next protlet this record is shown.
    this require two portlets
    i followed a lot of links but i dnt get clear understaning about the functions and ipc ie when is processAction() called and when is doedit called etc etc
    can any one give complete example or links or help me how to do tht
    i am working with jsf.

    It seems you are trying Inter Portlet Communication for JSF Portlets. Check this article : http://developers.sun.com/portalserver/reference/techart/ipc.html . This describes InterPortlet Communication that was added as an extension to JSR 168(implemented in OpenPortal Portlet Container 1.0_02).
    Regards,
    Deepak

  • Camera (focus) problem - help?

    Duplicate post, please see: Camera (focus) problem - help?
    Message was edited by: Admin Moderator

    Warranty is valid only in country of original purchase. You have to return
    the iPhone to the US for evaluation. Either you return it personally or send
    it to a friend/relative/co-worker in the US to take into Apple. Apple will not
    accept international shipments for evaluation nor will Apple ship out of the
    country after repair/replacement.
    Have you tried the standard trouble shooting steps: restart, restore, restore
    as new iPhone?

  • Alternative to posting problem reports via OSS?

    Sometimes I find problems with SAP software, like the RFC library, that I'd like to be able to report, however I'm not always in a position to do so, as I may not be working at a client site at the time (and it would not be appropriate to log the problem under their installation).
    What is needed, IMO, is a way to log these problems without the formality surrounding OSS and SAPnet.  I imagine this would be important too for those coming into SAP for the first time from the Java side.
    Perhaps the easiest way would be to mark a forum posting as a problem report, similar to the way it can be marked as a question.  This would then allow for highlighting to forum members from SAP who could decide whether the problem warranted escalation.
    Cheers,
    Scott

    Hi Scott,
    i agree. There should be a possibility to create a linkage between OSS notes and SDN postings in some cases, because (besides or in addition what you've already said):
    1. Problems which are reported to OSS might already have been resolved in SDN and vice versa. A common knowledge repository would be very helpful for both parties, i guess. In my opinion it's easier (and cheaper) to <b>verify</b> a possible solution published already in SDN than finding/creating a new one for OSS.
    2. IMHO it's probable that a steadily increasing number of "productive versions users" of arbitrary SAP software components will start to post problems and possible bugs at the SDN forums in the near future. It's absolutely ok to redirect them to the OSS, since this is the official place to report and handle such issues.
    But it should be possible for example to add a link referring the "SDN problem thread" to the customer message(s). The support team could then post the SAP notes number as a reply to the thread as soon as a solution is available. Otherwise, if people aren't gentle enough to return to the forums and publish the problem solution, it's not easy to find the official answer, since nobody knows how to search for the corresponding note to get reliable search results. If the problem description of the note doesn't repeat parts of the question text in SDN, you are lost.
    3. Resulting from 2., more and more "information leaks" will arise in the SDN forums. But i dare to argue that people will return asking the same question(s) over and over again, if there's enough interest, until "somebody" is lucky enough to find the solution in the OSS and post the notes number. Why not "automate" this?
    Just to clarify:
    I do <b>not</b> want to have the OSS team bypassed, this is definitely wrong from my point of view.
    Cheers,
    Stefan

  • N86 8GB -persistent problems -help required

    I bought N86 yesterday.this phone hangs/freezes at almost anytime--while setting time, while typing the name of new contact, while renaming a music file,while using maps zoom in and zoom out,camera refuses open for hours together,opening the slide just befor typing something.I don't understand --DOES NOKIA EVER CHECK THE STABILITY OF ITS MODELS BEFORE RELEASING??????????. My old grandpa of nseries -N90 even to this date woks great wiithout a hitch!!!!!!!!!!!!!!!!!!!!!!. Hope does look into this!!!!!!!!!!!!!

    Try to reinstall the firmware through NSU but it will reduce the freezing issue wont wipe out it completely. I am also facing the similar problem on N86 which I bought in Mumbai, India on 11th July. I have reinstalled the firmware which is 10.086 as only this is available in India on NSU. And my freezing problem reduced a lot. But still not completely gone. I am gonna ask for replacement from the distributor for my N86.
    Please click on Kudos at upper right corner, If you think my post is helpful to you.

  • Java portlet caching problem

    I am facing portlet state problem.
    Problem is below,
    step 1. I opened a page in java portlet, then set some filters for my list boxes and for check boxes, then executed i got all my search results,
    then closed the page.
    step 2. opened page again, which opens in the same portlet as step 1, then this portlet displays the page with results instead of default page
    I tried setting _nfls parameter to false in request URL, but still it is loading the  page with state as in step1.(i'e page with filters set and with results)
    Any suggestions on how to overcome this?

    Raju,
    Hope this thread helps you.
    http://forums.bea.com/bea/message.jspa?messageID=600014822&tstart=0
    Let me know if this works for you.
    Cheers,
    Satish

  • Portlet repository problem

    hello
    i have suceesfully created a provider and its relative portlets. i can edit the provider with portal, but i can't see it in the portlet repository even when refreshing it.
    does anybody knows why?
    thanks

    I have the same problem
    I am using portal 3.0.6 on windows NT
    I added the protlet provider successfully
    but can not see it in portlet repository
    even if I refreshed the portlet repository
    please help !!
    null

  • My daughter has just bought me an iPad 2 from Dubai and set it all up for me but unfortunately the iMessage function doesn't seem to work. We keep getting messages,when trying to activate it, that there is a network connection problem - help!

    My daughter has just bought me an iPad 2 from Dubai and set it all up for me but unfortunately the iMessage function doesn't seem to work. We keep getting messages,when trying to activate it, that there is a network connection problem - help!

    Thank you both for your responses but my daughter was reassured by the salesman in the iStyle store (official Apple store in the UAE) that iMessages would work but conceded that FaceTime wouldn't. My iTunes account is registered in the uk and my daughter's iPhone has iMessages even though she bought it (and uses it) in Dubai. Can anyone else throw any light on this?

  • I couldn't log into my apple account on my iPad, then i couldn't unlock it resulting in it being disabled, however it's the same as my iPhones password, I then called apple, i was hung up on twice and they said it will cost £70 to fix THEIR problem, help?

    I couldn't log into my apple account on my iPad, then i couldn't unlock it resulting in it being disabled, however it's the same as my iPhones password, I then called apple, i was hung up on twice and they said it will cost £70 to fix THEIR problem, help?

    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup).
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.
    You may have to force iPad/iPod into Recovery Mode
    http://support.apple.com/kb/ht4097

  • IPad syncing problem - HELP!

    iPad sync problem - HELP!  I keep getting this message "...cannot be synced because there is not enough free space to hold all of the items in the iTunes library (additional ...space needed)"  and yet I seem to have plenty of space on the iPad.  This just started today.  I even tried deleting some things to make even more room, but it didn't help.  Any ideas??? 
    I was thinking of restoring, but I've never done it...  should I? 
    thank you!

    Hello florafromnv,
    Welcome to Apple Support Communities.
    The following article addresses how to resolve the issues related to this message:
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/TS1503
    Regards,
    Jeff D.

  • MOVED: KT333 Ultra; fuzzy logic, 1.6xp overclocking problem help !!!!!

    This topic has been moved to Overclockers & Modding Corner.
    KT333 Ultra; fuzzy logic, 1.6xp overclocking problem help !!!!!

    Not that I am an expert o/c but here are some thoughts on the matter.
    My comments are based on my experiences of the KT3 Ultra2 which is basically the same as the Ultra version.
    This mobo does not have the ability to lock the PCI/AGP bus freely from the FSB. However, it does have dividers. At 133 a 1/4 divider kicks in. Above 152FSB the 1/5 divider works, so that at 166 the PCI & AGP buses will be back in sync. If you are o/c your cpu, don't go from 133 to 145, etc since you will be running the PCI/AGP buses further out of whack. Just go to either the mid 150's or to 166 in one jump. The other problem / issue relates to your cpu. From what you say you have one of the old Palominos which are not great o/c's. I would personally o/c your cpu from the BIOS rather than 'Fluffy Logic' which I would tend to stay away from. 
    With a 166FSB cpu a very stable o/c would be 175-177 beyond 180 gets decidedly tricky.
    Hope this helps

  • Itunes keeps closing as soon as i open it and states 'windows has detected a problem' HELP!!!!

    Help!! Itunes keeps closing straight away and message states 'windows has detected a problem' HELP ASAP PLEASE!!!!

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    tt2

Maybe you are looking for