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.

Similar Messages

  • 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.

  • Wwa_app_module.file_download does not work for public user

    I have a dynamic page that shows images stored in the database using the wwa_app_module.file_download procedure.
    This works fine if I login as the portal user, but if the page is viewed by a public user the image is not shown. I have granted the package to public but this does not help.
    Any ideas?

    Don't use wwa_app_module.file_download procedure in reports yet.
    The best way is to create your own download procedure by copying,pasting and slighty modifying one of the download_x (where x is a number) procedures in a form's package.
    A form's package will have the download_x procedures if the form has intermedia/blob columns.

  • 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;

  • Image retrieval from the database

    Currently running Portal 3.0.6.5.5 on RDBMS 8.1.7, Solaris 2.8.
    I have a table that has a blob column containing an image (jpeg's though I don't think this matters). I have written a PL/SQL portlet to display information, from this table. To display the images I am writing the following html tags :
    <IMG SRC="PORTAL30.wwa_app_module.file_download?p_block=DEFAULT&p_object=IMAGE&p_source=AAAI9YAAEAAAFSyAAS">
    Where IMAGE is the column name and the value in p_source is the rowid. Initially this worked fine, but more now more often then not the page is simply displaying the image area and not the image. The call is working to a certain extent because the image area is the correct size.
    What could be causing this problem?
    For information I am using IE 5.50.4522.1800, if this problem is browser related.
    Thanks

    Currently running Portal 3.0.6.5.5 on RDBMS 8.1.7, Solaris 2.8.
    I have a table that has a blob column containing an image (jpeg's though I don't think this matters). I have written a PL/SQL portlet to display information, from this table. To display the images I am writing the following html tags :
    <IMG SRC="PORTAL30.wwa_app_module.file_download?p_block=DEFAULT&p_object=IMAGE&p_source=AAAI9YAAEAAAFSyAAS">
    Where IMAGE is the column name and the value in p_source is the rowid. Initially this worked fine, but more now more often then not the page is simply displaying the image area and not the image. The call is working to a certain extent because the image area is the correct size.
    What could be causing this problem?
    For information I am using IE 5.50.4522.1800, if this problem is browser related.
    Thanks

  • Problem in Opening of Calendar in portal 3.0.9.8.4 ? -URGENT

    Dear All,
    I have recently applied the above patch(3.0.9.8.4).
    I have my Calendar and its Parameter Page(page based on Procedure) in two Tabs of a page. After selecting the Parameters when I press the button to submit to the Calendar Tab IT DOES NOT GO TO THE CALENDAR TAB AND BLANKS OUT THE PARAMETER TAB. But if I click on the tab of the Calendar it shows it to me the data for the previously selected parameters.After this if I again try from Parameter Tab it transfers smoothly.(i.e. The page transfer does not occur untill the Calendar tab is clicked once !!!)
    IN THE PREVIOUS VERSIONS IT WAS WORKING!!!
    I have tried the page transfer both through 'PORTAL30.WWA_APP_MODULE.SET_TARGET' as well as JavaScript window.location.href methods, but failed.
    Please tell me where the problem is?
    Thanks
    Sanjib

    Thanks for your response
    WWSEC_SSO_ENABLER_PRIVATE.PARSE_URL_COOKIE requires two mandatory input parameters p_listener_token and the encrypted_urlc cookie (Where do I get this from )
    Please clarify or if you have a sample can you send across
    Thanks,
    Sudip

  • 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

  • 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' &#0124; &#0124; E.EVENT_ID &#0124; &#0124; ' 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' &#0124; &#0124; E.EVENT_ID &#0124; &#0124; ' 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' &#0124; &#0124; E.EVENT_ID &#0124; &#0124; ' 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

  • Adding button to report to link to master detail form

    I want to add a button to a report to direct me to a blank master detail form to insert a new record. I have used the following code in the additional PL/SQL code section:
    htp.formopen('PORTAL30.wwa_app_module.new_instance?p_moduleid=1271601405');
    htp.formsubmit('p_request','Create New');
    htp.formClose;
    When I click this I get 'Page Not Found'.
    But if I hit refresh I am directed to the correct form with the same url.
    Any ideas on what the issue is?
    Thanks.

    Hi,
    Check this sample code.
    tables:sscrfields. "Fields on selection screens
    selection-screen function key 1.
    selection-screen function key 2.
    Initialization.
      sscrfields-functxt_01 = 'Report'.
      sscrfields-functxt_02 = 'Exit'.
    at selection-screen.
       if sscrfields-ucomm = 'FC01'.
      perform f_alv_sub.
       elseif sscrfields-ucomm = 'FC02'.
       endif.
    Hope it helps.

  • 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

  • Passing a parameter from one form to another

    Hi
    I'm trying to pass a parameter from one form to another. I've read lots of postings about this, and I have succeeded in calling the second form using code behind one of the existing Portal buttons (insert). Here is the code:
    DECLARE
    pro_id NUMBER;
    pro_link VARCHAR2(1200);
    BEGIN
    pro_id := p_session.get_value_as_number(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_PRO_ID');
    pro_link := portal30.wwv_user_utilities.get_url(
    'CINTRA_APP.PRO_LINK_1',
    'WKG_PRO_ID',pro_id,
    '_WKG_PRO_ID_cond','=');
    PORTAL30.wwa_app_module.set_target(pro_link,'CALL');
    END;
    Trouble is, the parameter does not get passed. This could be because:
    the field I'm trying to populate is based on an LOV ?
    the target form is not set up to receive parameters? (I read this somewhere, but how do you do it?)
    Thanks
    Manfred

    Dear InoL
    My Header Form coding as follows.
    When I press the button to move to the lines the following code executes
    PASSING FORM CODING;
    DECLARE
         pl PARAMLIST := GET_PARAMETER_LIST('PL_AT');
    BEGIN
         IF NOT ID_NULL(pl) THEN
              DESTROY_PARAMETER_LIST(pl);
         END IF;
         pl := CREATE_PARAMETER_LIST('PL_AT');
         ADD_PARAMETER(pl,'P_AT',TEXT_PARAMETER,:HWSI_ASSET_TAG);
         CALL_FORM('E:\IT_SYSTEM\6i\HWDYNAMICINFO.FMX',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY,PL);
    END;
    RECEIVING FORM CODING;
    Written on WHEN_NEW_FORM_INSTANCE
    BEGIN
         IF :PARAMETER.P_AT IS NULL THEN
              GO_ITEM('NZK_HW_DYNAMIC.OS_ASSET_TAG');
              ENTER_QUERY;
         ELSE
              SET_BLOCK_PROPERTY('NZK_HWSTATIC_INFO',DEFAULT_WHERE,'HWSI_ASSET_TAG ='||:parameter.p_at);
             SET_BLOCK_PROPERTY('NZK_HWSTATIC_INFO',DEFAULT_WHERE,'HWSI_ASSET_TAG ='||:parameter.p_at);
              EXECUTE_QUERY;
              GO_ITEM('NZK_HW_DYNAMIC.OS_ASSET_TAG');
         END IF;
    END;
    Created PARAMETER as P_AT, Data Type CHAR, MAX LENGTH 30
    Thank you
    NZK

  • Open Form Based On A Table in same window

    Hi All,
    First to make things clearer I'll explain what I CAN do:
    Create a page which queries a session variable at the start and then
    depending on its value outputs different HTML, but always in the same
    format and more importantly the same window, to keep the look and feel etc...
    I have a link in a page which when clicked opens a form using wwa_app_module.link
    so it auto queries the form. This works fine.
    What I CAN NOT do is:
    The form was created using the "form based on a table wizard" and always opens
    in a new window.
    Can I make the form open in the same window that contains my wwa_app_module.link?
    Is this possible in a newer version that I have (I got Release 1)
    Any Suggestions?
    Cheers,
    Barry

    Firstly thanks Rahul Dubey for responding.
    What I mean by " contains my wwa_app_module.link? " :
    I have a form which contains a link similar to the one below:
    http://xxx.co.uk:8015/pls/pod130/PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1389245486&p_arg_names=EMPNO&
    p_arg_values=7654&p_arg_names=_empno_cond&p_arg_values=%3D%3E
    When I click on this link it opens the form and runs a query automatically.
    The problem is I want to click on the link and have the form appear in the
    same window, not a new one.
    Cheers,
    Barry

  • 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

  • Calling a form in a dynamic page

    Hi all,
    We are using dynamic pages for the creation of custom portlets. We can call a report in html tag by calling report.show procedure. What will I write for calling a form?
    Thanx,
    Gulsah

    Gulsah,
    In the component management screen you can find a URL-style "Run Link" which looks like this:
    PORTAL30.wwa_app_module.new_instance?p_moduleid=1060253649
    Also can put this PLSQL code:
    PORTAL30.wwa_app_module.link (
    p_arg_names => '_moduleid', p_arg_values => '[module id]',
    p_arg_names => '_show_header',p_arg_values => 'YES');
    where [module id] is your form id
    for more information please see the Portal FAQ:
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    Thanks,
    Dmitry

Maybe you are looking for