Error at PORTAL30.WWA_APP_MODULE

We are getting the following error when we hit the insert button on a portal form and go to the next form.
Pls. help.
[Thu May  1 09:37:41 2003] [error] mod_plsql: /pls/portal30/!PORTAL30.wwa_app_mo
dule.accept ORA-30625
ORA-30625: method dispatch on NULL SELF argument is disallowed
ORA-06512: at "PORTAL30.WWA_APP_MODULE", line 42
ORA-06512: at "PORTAL30.WWA_APP_MODULE", line 897
ORA-01403: no data found
ORA-06512: at line 8

This probably isn't what you want to hear but this API is not supported. That said, I've heard of people who have successfully implemented file upload using portal.

Similar Messages

  • PORTAL30.wwa_app_module.file_download failed

    I have a table with a blob type, and in a form a File Upload Binary
    I try download documents but sometimes, I have this error
    http://heimdall.gva.es/pls/portal30/PORTAL30.wwa_app_module.file_download?p_block=DEFAULT&p_object=PATH&p_source=AAAHAEAAHAAAFZCAAA
    not meet this component. It happens sometimes.
    How can i do????

    This probably isn't what you want to hear but this API is not supported. That said, I've heard of people who have successfully implemented file upload using portal.

  • Error when pressing a navigation button to another form

    Hi,
    I created a navigation button in a form based on a table by adding the following code in Additional PL/SQL code:
    htp.formopen ('PORTAL30.wwa_app_module.new_instance?p_moduleid=1226442050');
    htp.formsubmit (null,'Form1');
    htp.formclose;
    The button is created, but whenever I press that button I get the following error:
    An unexpected error occurred: ORA-01403: no data found (WWV-16016)
    The Run Link seems to be the problem, however, I don't understand, for I checked it (a couple of times) and it is the correct Run Link.
    Any help would be greatly appreciated.
    Kees Broess

    Hi,
    You should put this code in the "after displaying the page" plsql section. If you put it before this section this error
    will occur.
    Thanks,
    Sharmila

  • Link to Insert Form Error

    I tried to do an URL link to a application form for record insert. The URL link I use is taken from Manage - Call Interface: Show - Example of Call from URL .
    it is something like:
    PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1280392756&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_rowid&p_arg_values=ABCDEFGHIJKLMNOPQR&p_arg_names= USERNAME&p_arg_values=#portal30.wwctx_api.get_user
    But when I used it a a href link from a page, it gives me this error:
    Error: Cannot link to the module: 1469647476 ORA-01410: invalid ROWID (WWV-16062)
    An unexpected error occurred: ORA-01410: invalid ROWID (WWV-16016)
    Can anyone help me?
    Thanks,
    -Sandy

    I have CS5.5 and Acrobat XI.  My customer gave me a pdf with an example of what they were looking for.  On the bottom of the file, there is a small area which says "Click Here" and allows you to browse and insert an image.  There has to be a way to do it, I just don't know how.

  • Error to create link between form and calendar

    I use Portal 3.0.8. I imported tutorial sucessfuly to my database 8.1.7. On step 10 of secetion 3.4.5 on Building Portal documentation. The SQL Query:
    select
    e.event_start_date the_date,
    e.event_title the_name,
    PORTAL30.WWV_APP_MODULE.link?p_arg_names=moduleid&p_arg_values=1185176907&p_arg_names=_event_id_cond&p_arg_values=%3D&p_arg_names=_show_header&p_arg_values=YES' | | E.EVENT_ID | | ' the_date_link, null the_target
    from MY_HLW.HLW_EVENTS e order by 1
    When I press on OK button, I receive following message:
    : Unable to describe SQL statement. Please correct it (WWV-13010)
    Invalid SQL statement: SELECT E.EVENT_START_DATE THE_DATE, E.EVENT_TITLE THE_NAME, PORTAL30.WWV_APP_MODULE.LINK?P_ARG_NAMES=MODULEID&P_ARG_VALUES=1185176907&P_ARG_NAMES=_EVENT_ID_COND&P_ARG_VALUES=D&P_ARG_NAMES=_SHOW_HEADER&P_ARG_VALUES=YES' | | E.EVENT_ID | | ' THE_DATE_LINK, NULL THE_TARGET FROM MY_HLW.HLW_EVENTS E ORDER BY 1 (WWV-13005)
    ORA-01001: invalid cursor (WWV-11230)
    ORA-00911: invalid character (WWV-11230)
    Failed to parse as MY_HLW - SELECT E.EVENT_START_DATE THE_DATE, E.EVENT_TITLE THE_NAME, PORTAL30.WWV_APP_MODULE.LINK?P_ARG_NAMES=MODULEID&P_ARG_VALUES=1185176907&P_ARG_NAMES=_EVENT_ID_COND&P_ARG_VALUES=D&P_ARG_NAMES=_SHOW_HEADER&P_ARG_VALUES=YES' | | E.EVENT_ID | | ' THE_DATE_LINK, NULL THE_TARGET FROM MY_HLW.HLW_EVENTS E ORDER BY 1 (WWV-08300)
    Syntax is exactly same as documentation, the only different is Demeschema, eventFormID.

    Here's the code that works. The tutorial's syntax is incorrect. To
    bad the old forum's weren't available. Remember the leading ' and look at the
    syntax, you have to identify the column - &p_arg_names=jbrevnt_event_id and then the condition
    &p_arg_names=_jbrevnt_event_id_cond&p_arg_values=%3D'
    select
    e.jbrevnt_event_start_date the_date,
    e.jbrevnt_event_title the_name,
    'PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1706939281&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=jbrevnt_event_id&p_arg_values='||E.JBREVNT_EVENT_ID||'&p_arg_names=_jbrevnt_event_id_cond&p_arg_values=%3D' the_name_link,
    null the_date_link,
    null the_target
    from jobbank.jbrevnt e
    order by 1

  • How to open a form based on the the parameter in another Form

    I created a button in a form (FORM1). By clicking this button, I want to open another form (FORM2) based on the a value of one key field in this form(FORM1). Both forms have the same key field.
    So, I wrote the following codes behind the PL/SQL Button Event Handler of the custom event for the button that I created in FORM1.
    v_inventory_num:=p_session.get_value_as_NUMBER(
    p_block_name => "_master_block",
    p_attribute_name => 'A_INVENTORY_NUM',
    p_index => 1
    if v_inventory_num is not null then
    portal30.wwa_app_module.set_target('/pls/portal30/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=5958032800&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=A_INVENTORY_NUM&p_arg_values='||v_inventory_num,'CALL');
    end if;
    end;
    I could not open the FORM2 by clicking the button on FORM1.
    However,I can open the FORM2 by click the button by using the following code.
    portal30.wwa_app_module.set_target('/pls/portal30/PORTAL30.wwa_app_module.new_instance?p_moduleid=5958032800','CALL');
    How could I pass the parameter in FORM1 into FORM2 and when the FORM2 is opened if has already been queried with the passed parameter?
    Your help would be highly appreciated!
    Jeffrey Wei Ye

    Hi:
    Thank you for reply to my question.
    I have tried your codes and apply them the following the form. However, I always got the following error:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    My codes is:
    declare
    request_no number;
    blk varchar2(30) := 'DEFAULT';
    l_url varchar2(4000);
    begin
    request_no := p_session.get_value_as_NuMBER(
    p_block_name => blk,
    p_attribute_name => 'A_WORK_REQUEST_ID');
    l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
    portal30.wwa_app_module.set_target(l_url,'call');
    end;
    then,
    I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
    e.g.
    l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
    portal30.wwa_app_module.set_target(l_url,'call');
    However, I still get the error message as below:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    Your help would be highly appreciated.
    Wei Ye

  • How to display an image in a report ?

    I put the following code into the PLSQL - section <after header is shown>:
    declare
    v_str varchar2(2000);
    v_rowid varchar2(200);
    begin
    select ROWID into v_rowid from mytable where id=1;
    v_str:=htf.img(curl=>'http://rdspc23/pls/portal30/PORTAL30.wwa_app_module.file_download?p_block=DEFAULT&p_object=BILD&p_source='&#0124; &#0124;PORTAL30.wwv_htf.url_encode(v_rowid));
    htp.p(v_str);
    end;
    (This code is extracted from a form and inserted in my report.)
    If the image is in the browser-cache i can see the image and everything works properly. If the image is not in cache then there is only a broken link.
    When i try the link in a separate browser window the folloing error message appears:
    No data returned from stored procedure
    The PL/SQL gateway invoked a stored procedure as part of processing the URL but the procedure returned no data.
    What can i do to insert an image in a report.
    Are there any documentation for the plsql-packages which portal is using ?

    I tried it doing it this way and it worked -
    1. copy the image into the directory aliased in 9iAS configuration file as '/images/'.
    2. In the PL/SQL code section after header, I write the following code -
    begin
    htp.p('<img src="/images/pobexp.gif"/>');
    end;

  • How to generate a form based on PL/SQL-procedures instead of tables?

    Hi all,
    I'm trying to generate a form based on a package, which has procedures for insert/update/delete/select. In Forms, this is no problem. It is unclear to me how to do this in Oracle Designer (10g). Online Help of Designer doesn't clear things up a lot, it seems I have to generate a table API and a module component API. But when I do this, these are generated as file and no definitions are created in Designer. So what do I base my block on?
    Can somebody assist me in this?
    Kind regards,
    Ronald

    Hi:
    Thank you for reply to my question.
    I have tried your codes and apply them the following the form. However, I always got the following error:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    My codes is:
    declare
    request_no number;
    blk varchar2(30) := 'DEFAULT';
    l_url varchar2(4000);
    begin
    request_no := p_session.get_value_as_NuMBER(
    p_block_name => blk,
    p_attribute_name => 'A_WORK_REQUEST_ID');
    l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
    portal30.wwa_app_module.set_target(l_url,'call');
    end;
    then,
    I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
    e.g.
    l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
    portal30.wwa_app_module.set_target(l_url,'call');
    However, I still get the error message as below:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    Your help would be highly appreciated.
    Wei Ye

  • JS alert in PL/SQL on Update

    Hello there,
    I'm trying to make one of my forms work a bit better by adding a javascript alert message to a conditional PL/SQL statement on the Update action of a submit button, rather than sending the user to an error page.
    Here's the code that I'm currently using:
    declare
    l_ordr_date DATE;
    l_ship_date DATE;
    l_url VARCHAR2(250);
    begin
    l_ordr_date := p_session.get_value_as_DATE(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_DATE_OF_ORDER');
    l_ship_date := p_session.get_value_as_DATE(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_DATE_SHIPPED');
    if l_ship_date >= l_ordr_date then
         doUpdate;
         l_url := 'portal30.home';     
         portal30.wwa_app_module.set_target(l_url, 'CALL');
    else
         l_url := 'POS.INVALID_SHIPDATE_DYN.show';
         portal30.wwa_app_module.set_target(l_url, 'CALL');
    end if;
    end;
    Within the 'else' actions, I'd like to remove what I have and just have an alert window open to tell the user to fix the problem. I've tried to use the htp.p tag, but no luck.
    Any help/suggestions would be greatly appreciated.
    Thx!

    Hi Joshua,
    I do not think that you can put the javascript in the else section where you wish it to be as that is the code which will get executed at the server side ans therefore there will be no use of javascript there.
    I will explain you how to use javascript in the form and then I'll explain you what I ment by "l_form variable" in my earlier code.
    see there are two aspect of javascripting
    1)
    You should be able to write javascript into the form.For doing that what you can do is that write a simple javascript like this,
    in the additional pl/sql block "before displaying the ...".
    htp.p('
    <script>
    function myFunc()
    alert("hello world");
    </script>
    2)You should bea ble to invoke this function based on some event say button click.For that yo uhave to include a call like this from the button (or any event for that matter).
    myFunc();return;
    Now second part for you question.
    "I don't know what the "var l_form = ele.form;" is supposed to do nor do I know why you have 2 extra "}"s below that " ?
    Those 2 } were a mistake as it was just a code to give u a feeling of how to put javascript in the form.The purpose of the var l_form =ele.form;
    was to get the form object and then iterate along it to get the value of your text fields(or any element) from which you wish to get the values for comparsion.
    Now after getting the form object what you have to do is something like this.
    //this is your logical block for javascript.
    var l_DATE_OF_ORDER;
    var l_DATE_SHIPPED;
    for (var i = 0; i < l_form.length ; i++){  //itereate trough all the elements.
    if (l_form.elements.name == "<YOUR FORN NAME>.DEFAULT.A_DATE_OF_ORDER.01"){
    l_DATE_OF_ORDER = l_form.elements[i].value;
    if (l_form.elements[i].name == "<YOUR FORN NAME>.DEFAULT.A_DATE_SHIPPED.01"){
    l_DATE_SHIPPED = l_form.elements[i].value;
    //once you get both the values compare and get the control back into the
    return;//do not submit the form and let the user fill the new date then if the condition is full fill then only let it be submitted for the update.
    Please aply this as per your actual requirement.
    Hope this helps.
    rahul

  • Deployment of portal Application

    [email protected]
    Hi Kirit
    Let me introduce myself to you. I am venu working for AT&T broadband in Java applications. I am recently asked to
    build an application using Oracle 9i Portal. The application scenario will be like this.
    1. A login form is to be created with username and password.Upon succesful login it should lead to a search form
    that requires some inputs from users.(in OnSuccess method of the form we have used
    call("http://opalws2.tci.com/pls/portal30/PORTAL30.wwa_app_module.show?p_sessionid=602"). We don't know what this
    p_sessionid and it is being incremented everytime we access the application. This works fine for my one login session.
    If I logout and login again and try to access the above it gives an error saying that ERROR_ORA-01403 Nodata Found.
    After this I have to invoke the search form and then note the session id and then change the code in the Login form
    with new session id and run it again, then it works fine).
    2. The search form is built on a procedure and in that procedure we are calling a report( based on SQL query) by .
    passing the search criteria as parameters. Upon submission a report is generated.(This portion is working fine.I
    don't know if there are any hick ups in this matter.)
    3. The Report has some oracle portal links on some of the columns which lead to the forms created on corresponding
    database tables. This form will be used by the end user for any modifications.( Though the session ID of this
    form is changing everytime it is internally picked up and I am not facing any porblem in displaying it.)
    So the issues of my concern are
    1. How can I make this application available to all the end users so that nobody is bothered about this p_sessionid.
    It should be as such any authorized portal user(Our company's end user) should be able to access this application like
    accessing any other web site.
    2. How to deploy this on our servers where our company website and the database resides.
    3. I want to print the screen details of the last form using a Print button. How I can put a print button there
    and how can I print the screen details.
    Sorry to bother you.
    Kindly help me in this matter.
    Thanks
    venu

    Venu,
    1.& 2. These questions have been covered in Portal FAQ:
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm
    Topics:
    "How do I call a form in insert mode and pass it default values?"
    and
    "How do I call a form and pass it a query condition to be automatically executed?"
    and many, many posts in this forum, please search through the archive.
    3. Look at these posts:
    http://technet.oracle.com:89/ubb/Forum81/HTML/000214.html
    http://technet.oracle.com:89/ubb/Forum81/HTML/000646.html
    Thanks,
    Dmitry

  • Advanced Development Techniques for Oracle Portal Components

    Hello friends,
    I have the following problem. I have a report and a form (on a
    view) in the same page, and when I select an item of the report
    the form is refreshed with the values associated to the selected
    item. The problem is that it makes it with delay, the first
    selection doesn't show anything and the remaining sample the
    data of the previous selection.
    This application has been developed as Ken Atkins explains in
    its document "Advanced Development Techniques for Oracle Portal
    Components."
    Oracle Portal Version: 3.0.9.8.0
    Thanks in advance.
    This is my code:
    -- REPORT --
    SELECT '<A HREF="http://mipc/portal30/
    ALFONSO.refrescar_contenido?
    p_variable=nombre_preferencia&p_variable_valor='||nombre_preferen
    cia||'&p_pagina=61">'||Preferencias||'</A>' nombre_link
    FROM ALFONSO.PREFERENCIAS
    -- PROCEDURE TO REFRESH THE PAGE --
    CREATE OR REPLACE PROCEDURE refrescar_contenido(p_varible IN
    VARCHAR2,
              p_variable_valor IN varchar2,p_pagina IN
    VARCHAR2) IS
    v_Sesion portal30.wwsto_api_session;
    BEGIN
    v_Sesion := portal30.wwsto_api_session.load_session
    ('CONTEXT','SESS_EMP');
    v_Sesion.set_attribute(p_varible, p_variable_valor);
    v_Sesion.save_session;
    owa_util.redirect_url('http://mipc/servlet/page?
    pageid='||ppagina||chr(38)||'_dad=portal30'||chr(38)
    ||'_schema=PORTAL30'||chr(38)||'_mode=3');
    END;
    -- FORM --
    -- ... BEFORE DISPLAYING THE PAGE
    alfonso.consulta_preferencia(p_session);
    -- PROCEDURE consulta_preferencia --
    CREATE OR REPLACE PROCEDURE consulta_preferencia(p_session in
    out PORTAL30.wwa_api_module_session) IS
    v_RowID VARCHAR2(100);
    v_Session portal30.wwsto_api_session;
    v_nombre VARCHAR2(40);
    BEGIN
    v_Session := portal30.wwsto_api_session.load_session
    ('CONTEXT','SESS_EMP');
    v_nombre := v_Session.get_attribute_as_varchar2
    ('nombre_preferencia');
    IF v_nombre IS NOT NULL THEN
    BEGIN
         SELECT rowidtochar(rowid) INTO v_RowID
         FROM ALFONSO.VISTAPREFERENCIAS
         WHERE nombre_preferencia = v_nombre;
    -- VISTAPREFERENCIAS it is the view in which the form is
    based.
    END;
    -- Tell the component that the query is coming from a link,
    and that the rowid
    -- is being used to query the correct context record.
    p_session.set_value (p_block_name=>'DEFAULT',
    p_attribute_name=>'_CALLED_FROM_LINK'
                   ,p_value=>'ROWID');
    -- Pass the rowid of the context record to query.
    p_session.set_value (p_block_name=>'DEFAULT',
    p_attribute_name=> '_ROWID'
                   ,p_value=> v_RowID);
    -- Now do the actual query, using the query button
    processing in the target module
    portal30.wwa_api_module_event.do_event
    ('DEFAULT','QUERY_TOP',1,'ON_CLICK',True,'',p_session);
    -- Save the session information, which includes the
    p_session.save_session;
    END IF;
    END;
    /

    You can make the report with a procedure from which you may call to a form by means of a link. It is a possibility, no??
    It is better a example:
    TABLE A
    campo1 VARCHAR2 (20)
    campo2 VARCHAR2 (20)
    CREATE OR REPLACE PROCEDURE REPORT IS
    v_cursor NUMBER;
    sentencia VARCHAR2(200);
    vnumfilas NUMBER;
    rowid_pref VARCHAR2(18);
    v_campo1 <schemaname>.A.campo1%TYPE;
    v_campo2 <schemaname>.A.campo2%TYPE;
    BEGIN
         htp.p('<HTML>');
         htp.p('<HEAD>');
         htp.p('</HEAD>');
         htp.p('<BODY>');
              sentencia := 'SELECT rowidtochar(rowid), campo1, campo2 FROM A';
              DBMS_SQL.PARSE(v_cursor,sentencia,DBMS_SQL.V7);
              DBMS_SQL.DEFINE_COLUMN(v_cursor,1,rowid_pref,18);
              DBMS_SQL.DEFINE_COLUMN(v_cursor,2,v_campo1,20);
              DBMS_SQL.DEFINE_COLUMN(v_cursor,3,v_campo2,20);
              vnumfilas := DBMS_SQL.EXECUTE(v_cursor);
              LOOP
              IF DBMS_SQL.FETCH_ROWS(v_cursor)=0 THEN
                        EXIT;
              END IF;
              DBMS_SQL.COLUMN_VALUE(v_cursor,1,rowid_pref);
              DBMS_SQL.COLUMN_VALUE(v_cursor,2,v_campo1);
              DBMS_SQL.COLUMN_VALUE(v_cursor,2,campo2);
              v_link := '<A href="PORTAL30.wwa_app_module.link?p_arg_names=_moduleid'||chr(38)||'p_arg_values=<form's moduleid>'||chr(38)||'p_arg_names=_rowid'||chr(38)||'p_arg_values='||rowid_pref||chr(34)||'>'||campo1||'</A> '||campo2||' <BR>';
                   htp.p(v_link);
                END LOOP;
         htp.p('</BODY>');
         htp.p('</HTML>');
    END;
    the form has to be based on the table A.
    I dont know if this example has errors, but have you the idea??
    I hope it helps you out.
    (Excuse my english)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Syntax for calling a form & passing a query condition

    I have a stored PL/SQL procedure where I am attempting to link to a master detail form from a button created in the procedure. The procedure is called from a form based on a table.
    I want to pass an id from the first form to the second when the user clicks the button and have that id bring up the master record in the calling form (query condition to be automatically executed).
    I am using the Portal technical FAQ 10.10 as a reference. However, I must be off in the syntax. Here's what I have:
    objectId - contains id from calling form
    OBJECT_ID - column name in called MD form
    elsif (button = 'Subject Matters') then
    PORTAL30.wwa_app_module.link(
    p_arg_names =>
    PORTAL30.wwv_standard_util.string_to_table2('_moduleid:_show_header:OBJECT_ID:_OBJECT_ID_cond'),
    p_arg_values =>
    PORTAL30.wwv_standard_util.string_to_table2('2215270925:YES:'&#0124; &#0124;to_char(objectID)&#0124; &#0124;':%3D'));
    The best I get is the id passed and the called form opened in INSERT mode.
    I have been playing with this for days!
    If anyone spots the error in my code and could point it out, I'd greatly appreciate it.
    Regards,
    Judy

    try this
    String b = (String)am.invokeMethod("getValue", params);
    Thanks,
    Prasanna

  • User self registration  - session problem?

    I have created a form which lets users register by themselves.
    The form calls a stored procedure which creates the user - sofar
    everything works ok. At the very end of the procedure I want to
    automatically login the user and direct him to the main page.
    That fails with a 'Page not found' error in the browser.
    i have done a lot of debugging and everything looks ok, the user
    is created. I can log in as the new user if I close the browser
    and restart it. I suspect I loose the session because the
    procedure that creates the user uses a set_context call to be
    able to work:
    portal30.wwctx_api.set_context(p_user_name
    => 'PORTAL30',
    p_password
    => 'PORTAL30');
    foo := wwsec_api.add_portal_user(p_user_name =>
    username,
    p_first_name =>
    first_name,
    p_last_name =>
    last_name,
    p_work_phone =>
    phone,
    p_organization =>
    organization,
    p_db_user => null,
    p_portal_user
    => 'Y');
    portal30.wwctx_api.clear_context;
    (I have a clear_context which I hoped should take me back to the
    original session)
    At the very end of the registration procedure I call the login
    function to log in the user:
    portal30.wwptl_login.login_url(ssousername =>
    username,
    password => password,
    p_requested_url =>
    url,
    p_cancel_url
    => 'http://myserver.com/');
    The browser is taken to this URL:
    http://myserver.com/pls/portal30/!
    PORTAL30.wwa_app_module.accept
    and the following error message is shown in the browser:
    Page Not Found...
    Anyone got any idea what might be the problem and what to do
    about it, or how to debug it???

    I managed to grant execute on the package using SQL/Plus as you
    suggested - but I'm still having problems. Using the following
    code:
    portal30.wwctx_api.set_context(p_user_name => 'PORTAL30',
         p_password => 'PORTAL30');
    my_special_procedure;
    portal30.wwctx_api.clear_context;
    -- Create a new session for the user
    portal30.WWCTX_SSO.clear_sso_session(sess_id);
    v_sess_id := portal30.WWCTX_SSO.set_sso_session(
    p_user_name => username,
    p_db_user => username,
    p_nls_language => 'us',
    p_http_language => 'en',
    p_nls_territory => null,
    p_trans_language => null,
    p_start_time => sysdate,
    p_active => 1,
    p_ip_address => v_ip_address,
    p_id => null,
    p_is_logged_on => false);
    No luck - no pages can be viewed. Have to restart the browser to
    get back to portal.
    I've also played around with some other functions in the
    WWCTX_SSO package, like create_session, but still no luck.

  • Downloading BLOBs in a report

    I tried to put a link to a downloadable column on a table ( a blob ) on a report.
    If you insert an element and then you try to list it in the report, the link works, and you download the file you entered. Buty if you close your session, and reopen it... at the time you try to download the file you get and error
    Tue, 17 Apr 2001 13:54:41 GMT
    ORA-01403: no data found
    ORA-06512: at "PORTAL30.WWA_API_MODULE_STACK", line 124
    ORA-06512: at "PORTAL30.WWA_APP_MODULE", line 1495
    ORA-06512: at "TDCINTRANET.FILE_DOWNLOAD", line 13
    ORA-06512: at line 8
    DAD name: portal30
    PROCEDURE : TDCINTRANET.file_download
    URL : http://debian.netjuice-network.com:7777/pls/portal30/TDCINTRANET.file_download?p_block=DEFAULT&p_object=DATA&p_ID=Unai%20Mantenimiento
    PARAMETERS :
    ============
    p_block:
    DEFAULT
    p_object:
    DATA
    p_ID:
    Unai Mantenimiento
    When you UPDLOADED a file in the same session, everything works fine for all the blobs in the table.... but if you DON't UPLOAD anything in the same session.... portal crashes the way I showed....
    Any advice?
    null

    Unai,
    1. Oracle Portal does support (in both forms and reports) interMedia object types for audio, video and image documents. So, if your table contains ORDIMAGE, ORDAUDIO or ORDVIDEO columns they will be recognized when you build a form or report on that table. interMedia provides better control over those types of documents than standard BLOBs.
    2. The APIs of WWA_APP_MODULE are internal forms APIs and should not be called directly by user code.
    3. If you looked at the generated forms package, you probably have an idea how to download a BLOB data, here is an example to replace the code you have:
    procedure download_1
    p_rowid in varchar2
    is
    l_size integer;
    l_blob blob;
    l_tmpblob blob;
    l_mimetype varchar2(4000);
    l_rowid urowid;
    begin
    htp.init;
    l_rowid := p_rowid;
    SELECT MY_BLOB
    INTO l_blob
    FROM SCOTT.EMP1B
    WHERE ROWID = l_rowid;
    l_size := dbms_lob.getlength(l_blob);
    dbms_lob.createtemporary(l_tmpblob,true);
    dbms_lob.copy(l_tmpblob,l_blob,l_size,1,1);
    owa_util.mime_header('image/gif', false,null);
    htp.p('Content-length: '&#0124; &#0124; l_size);
    htp.p('Pragma: no-cache');
    htp.p('Cache-Control: no-cache');
    htp.p('Expires: Thu, 01 Jan 1970 12:00:00 GMT');
    owa_util.http_header_close;
    wpg_docload.download_file(l_tmpblob);
    dbms_lob.freetemporary(l_tmpblob);
    exception
    when others then
    owa_util.mime_header('text/html', false);
    htp.p('Content-length: 0');
    owa_util.http_header_close;
    end download_1;
    Hope this will help.
    Thanks,
    Dmitry
    null

  • Advanced Portal Tutorial - Calendar

    I've got the calendar working fine, and the form working fine from Chapter Two. When I try and click on the link for the event I get an error stating "No data returned from sotred procedure." - Below is the URL that is called from the link:
    http://ontfpr04/pls/portal30/portal30.wwa_app_module.link?p_arg_names=moduleid&p_arg_values=1163584721&p_arg_names=_event_id_cond&p_arg_values=%3D&p_arg_names=_show_header&p_arg_va lues=YES1000

    Nicola
    Can you clarify the version of Portal you're using ? What are the errors you receive when running the calendar ?
    Meantime, I've ameded your SQL slightly, see below:
    select
    e.event_start_date the_date,
    e.event_title the_name,
    null the_date_link,
    portal30.wwa_app_module.link?p_arg_names=moduleid&p_arg_
    values=1282568810&p_arg_names=_event_id_cond&p_arg_values=%3D&p_arg_names=_show_header&p_arg_
    values=YES1000 the_name_link,
    null the_target
    from my_hlw.hlw_events e
    order by 1
    Can you also check that you have:
    1 Changed <PORTAL_SCHEMA> to the schema in which Oracle Portal is installed.
    2 Changed "MODULE_ID" to the module ID of the request form
    Can you arrange to post the error message you receive and I'll take a further look.
    Thanks
    Darren

Maybe you are looking for

  • How to set a template to multiple pages

    Hello, I'm using Oracle Portal 10.1.2.0.2 and I've created a hiearchy of pages and a template with regions for banner, navigation portlet and content area and I want to set up this template to multiple pages. Manually and uncomfortably, I can edit my

  • Invoice correction request (net value not updating)

    Hi guys, I have a problem when creating an Invoice correction request (RK). When I change the Target quantity in the item (L2N), the Net value is not updated. So I have to go to Conditions and Carry out new pricing. Any idea to fix this. Best regards

  • 16/9 slide show

    I am trying to produce a wmv file to show on a 16/9 HD TV. All my pictures are resized to 16/9, but even when I use a personnalized format for the output (1920*1080), the pictures are first resized in a 4/3 dia (black stripes on top and bottom) and t

  • I want my iDVD!

    I purchased a mac mini in January and after uploading and editing some video using iMovie, imagine my disappointment when I learned I don't have iDVD.  I don't want to purchase or download some other software.  I read where someone believe apple disc

  • Shared memory problem - memory leak?

    I've got the following error after calling a stored procedure about 26000 times. Does this mean Oracle 8.1.6 Thin Driver has memory leak in CallableStatement? Thanks. ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN che