H:inputtext not working with multiple forms in JSF2.2

h:inputText is not working in the latest JSF2.2 with multiple forms. I have 2 forms
form1 have: one command button and one input text
form2 has: one input text and one output label
on click of command button in form1, i am rendering the form2(both outputlabel and input text).
but only output label is rendered properly with correct values (corresponding getter method gets called and value is displaying) but the input text is not calling the corresponding getter method hence showing null.
Note: we noticed this issue only if we use multiple forms, within single form its working fine. also it worked fine in JSF2.0
Version used: JSF api - 2.2 (com.sun.faces) JSF impl - 2.2 (com.sun.faces)
let me know if anyone have solution to handle this.
the forms are not nested and both the beans are in View scope.  
<h:form id="form1" prependId="false">
<a4j:commandLink id="actionEdit" title="Click" action="#{bean.action}" 
render="paymentInstructionDetail" styleClass="iconLarge edit" />
</h:form>
<h:form id="form2" prependId="false">
  <a4j:outputPanel ajaxRendered="true" id="paymentInstructionDetail">
  <h:inputText value="#{bean1.amount}" id="sample"/>
  <h:outputLabel value="#{bean1.amount}" id="sampleLabel"/>
 </a4j:outputPanel>
</h:form>

Your link doesn't work. Do you mind reporting it?

Similar Messages

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

  • Why is scrolling not working with multiple youtube embeds layed out vertically in a stack on one page?

    Why is scrolling not working with multiple youtube embeds layed out in a stack on one page?

    Hi ,  
      This is a sort of performance issue , because your program takes more than the max time set for the program to execute in foreground.
    There are many stuff in program which will hamper your performance.
    I will list down a few
    1. SELECT *
    FROM konp
    INTO CORRESPONDING FIELDS OF TABLE konp_itab
    FOR ALL ENTRIES IN a363_itab
    WHERE knumh EQ a363_itab-knumh
    in this statement you are using for all entries a363_itab , but before this statement you are not checking if the table has any entry or not , please do remember that for all entries has this characterstic , that if you internal table does not contain any record , then all the records are selected from the database table. So in this case if you table a363_itab is empty , so what you want is no data must be seelcted from table konp , but what will happen is all the records in KONP will be seelcted.
    2. While retreiving data you are using seelct * even though you do not require all the fields , an example is
    <b>SELECT *
    FROM mkpf
    INTO CORRESPONDING FIELDS OF TABLE mkpf_itab
    FOR ALL ENTRIES IN mseg_itab
    WHERE mblnr EQ mseg_itab-mblnr.</b>
    in this your internal table contains only 2 fields
    <b>mblnr LIKE mkpf-mblnr, "Number of Material Document
    bldat LIKE mkpf-bldat, "Document Date in Document</b> , but to get these 2 fields you are selecting all the fields of the table.
    3. In select you are using into corresponding fields of table , it is not a good practice., so please avoidd it.
    Please understand that you must try to reduce the access to your database tables and try to keep it minimal , because this same thing may happen becasue data in DEV is very less compared to the volume of data in production , so a program working in DEV will take much more time in PRD if not written properly and may result in timeouts , as in your case.
    Please try to make chanegs to the prorgam and see if it works.
    In case you have more queries , please do revert back.
    Regards
    Arun
    *Reward points if replay is helpful

  • Web Report not working with parameter form

    Hi,
    I have a report which has got a parameter form. This report is
    running fine in client/server environment. But when I deploy the
    same report on web (CGI) using PARAMFORM=YES, I am getting the
    parameter form and after pressing the SUBMIT button I am getting
    a blank report under the following two cases even though I have
    data for that query:
    CASE1: <input type="hidden" name="desformat" value="html">
    then I am getting the report with no data retrieved.
    CASE2: <input type="hidden" name="desformat" value="pdf">
    then I am getting completely blank report (no logo, no column
    titles, etc.)
    See the HTML code below. Remember, the same thing is running
    fine in client/server environment. Moreover, if I make a HTML-
    coded form for the report then everything on the client's
    browser is running fine. But this is not what we want, 'coz we
    are running the "BEFORE PARAMETER FORM" trigger in the report.
    So, should I conclude that web-reports does not work with the
    parameter forms?? Is it a bug???
    Regards
    Moiz
    ----------HTML Code------------------
    <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    bin/rwcgi60.exe">
    Select the Weekend Date for which you would like to see your
    Timesheet report
    <input type="hidden" name="server" value="repserver">
    <input type="hidden" name="report" value="timesheet.rdf">
    <input type="hidden" name="userid" value="696122/696122@ors">
    <input type="hidden" name="destype" value="cache">
    <input type="hidden" name="desformat" value="html">
    <input type="hidden" name="paramform" value = "yes">
    <input type="submit" value="Run Report">
    </p>
    </form>
    -------HTML Code END------------------
    null

    No pal, that's not the problem. The problem lies with the
    "BEFORE PARAMETER FORM" report trigger on the web. Check this
    out on ur report server and u will understand my problem.
    Moiz
    Ramonito Te (guest) wrote:
    : I think the cause is the missing question mark after
    rwcgi60.exe.
    : Anyway here is my html file that runs under cgi. Hope this
    helps.
    : <HTML>
    : <!--Form Action is RWCGI60 URL-->
    : <FORM METHOD=POST
    : ACTION="http://ntserver1/ows-bin/rwcgi60.exe?" METHOD="POST">
    : <!--Parameters not exposed to user are hidden-->
    : <INPUT name=server type=hidden value="ReportsServer">
    : <INPUT name=paramform type=hidden value="yes">
    : <CENTER><H1>Set Reports Multi-tier Server Parameters </H1>
    Report Name: <INPUT name=report type=text value="c:
    : \orant\webdemo\deptemp.rdf">
    : Database Connection: <INPUT name=userid type=text
    : value="scott/tiger@orcl81">
    : <INPUT name=destype type=hidden value="cache">
    : Output Format: <SELECT name=desformat> <OPTION value=HTMLCSS
    : selected> HTMLCSS <OPTION
    : alue=PDF> PDF </SELECT>
    : <HR><INPUT type=submit value="Run Report!">
    : </CENTER> </FORM> </HTML>
    : lue="Run Report!">
    : </CENTER> </FORM> </HTML>
    : M. Moizuddin (guest) wrote:
    : : Hi,
    : : I have a report which has got a parameter form. This report
    : is
    : : running fine in client/server environment. But when I deploy
    : the
    : : same report on web (CGI) using PARAMFORM=YES, I am getting
    the
    : : parameter form and after pressing the SUBMIT button I am
    : getting
    : : a blank report under the following two cases even though I
    : have
    : : data for that query:
    : : CASE1: <input type="hidden" name="desformat" value="html">
    : : then I am getting the report with no data retrieved.
    : : CASE2: <input type="hidden" name="desformat" value="pdf">
    : : then I am getting completely blank report (no logo, no
    column
    : : titles, etc.)
    : : See the HTML code below. Remember, the same thing is running
    : : fine in client/server environment. Moreover, if I make a
    HTML-
    : : coded form for the report then everything on the client's
    : : browser is running fine. But this is not what we want, 'coz
    we
    : : are running the "BEFORE PARAMETER FORM" trigger in the
    report.
    : : So, should I conclude that web-reports does not work with
    the
    : : parameter forms?? Is it a bug???
    : : Regards
    : : Moiz
    : : ----------HTML Code------------------
    : : <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    : : bin/rwcgi60.exe">
    : : Select the Weekend Date for which you would like to see your
    : : Timesheet report
    : : <input type="hidden" name="server" value="repserver">
    : : <input type="hidden" name="report" value="timesheet.rdf">
    : : <input type="hidden" name="userid" value="696122/696122@ors">
    : : <input type="hidden" name="destype" value="cache">
    : : <input type="hidden" name="desformat" value="html">
    : : <input type="hidden" name="paramform" value = "yes">
    : : <input type="submit" value="Run Report">
    : : </p>
    : : </form>
    : : -------HTML Code END------------------
    null

  • Search not working with multiple select in dropdown field

    Hello,
    Please first visit below site for searching form on left side.
    http://diventarepartner.unicaimmobili.com/home-page_copy_dynamic
    There is a field called Tipologia which is dropdown menu with checkbox (multiple select). Choose more than one checkbox and its automatic append with comma in text field which is customized using javascript. Now then if you submit button then its not working as our products.
    Now for this there is a custom field in admin in web apps items. This field is same for all items and values are different for all items like that which you can see above dropdown checkboxes value.
    Now my question Is it possible that for that one field in admin which has different value for different items and when i search from website and checked that cehck boxes and it search for all different items ??
    For example in admin suppose 2 items which has different value for that one field. Suppose one has value called Appartamento and other is Villa. Now from search form which is on website, that dropdown checkboxes, if i select these two values (Appartamento and Villa) from these and then search, it will display that both items from web apps ???
    Is it possible ??? Can you help me for this ???
    Waiting for reply. Thanks in advance.

    Your link doesn't work. Do you mind reporting it?

  • cfselect not working with flash form

    I have searched the forum and google to find a solution -
    I've tried what's been suggested (ie - mappings of /CFIDE, adding
    /CFIDE to the site root, etc.) nothing has worked. This is only
    happening in my production boxes (two identical setups, running in
    parallel) -
    The form loads, but any options I define inside
    <cfselect> will not show.. here's the basic code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <cfform name="theForm" format="Flash" width="300"
    height="200" accessible="yes">
    <cfselect label="Type: " name="feedbackType" width="200"
    enabled="yes" required="yes">
    <option value="">Select</option>
    <option value="WEB">Our Website</option>
    <option value="ACCOUNT">Your Account</option>
    <option value="COMPLAINT">A Complaint</option>
    <option value="GENERAL">General Comment</option>
    <option value="OTHER">Other</option>
    </cfselect>
    </cfform>
    </body>
    </html>
    Same code works on my localhost (development box) - so I'm
    sure it's some setting I'm missing or messed up in the production
    servers. I have checked the IIS settings as well as the mappings in
    CF admin, both have /CFIDE defined. I've even added a mapping to
    the /CFIDE within the site root.
    I'm currently running CFMX 7.0.2 on Server 2003 with IIS 6
    Please help!!

    More info...
    When I call the page locally...
    http://flush/testFlash.cfm
    the form works perfectly.
    but when I call the page using the domain...
    http://www.mydomain.com/testFlash.cfm
    the <cfselect> will not work.

  • Phpvirtualbox not working with multiple servers

    Hi,
    I have been working on phpvirtual box 4.1-7 for quite some time now. I was initially using it in windows 7 but when I wanted to access multiple serves through it, it did not work. Later I shifted to ubuntu and here also when i want to work using multiple servers it is not working. The error shown is "error connecting to vboxweb srvice". Even if i specify the ip address of the same host(i.e.localhost not 127.0.0.1 but 192.168.*.*) it shows the same error.
    Pleas eadvise as to what I could be doing wrong. I am using ubuntu natty.

    Hi,
    thanks for the reply. I am running the vboxwebsrv otherwise the phpvirtual box will not run at all right? And I am trying this on windows 7 also. Right now it is working if I run two or more instances on localhost as different users with different port but it does not work if i specify some ip. And the error is always could not connect.

  • Network Locations not working with Multiple SSIDs

    I've had a MacBookPro 15 for three years.  Started with 10.5 and upgraded to 10.6.  I just received a new MacBookPro 15 with Lion 10.7.
    The Issue:
    On 10.5 and 10.6 I use multiple network locaitons.  One for work, one for Home and one for Roaming.  I have a "Work" SSID at work and at Home.  I also have a "Home" SSID at home.
    So basically, when I'm home I can select "work" to be on my hardware VPN router and connect directly to the office.  Then, when I'm not working, I can switch to the "home" location and automatically connect to my home network and not have big brother watching me surf the web.
    In 10.7 this no longer works.  All of the WIFI settings are them same in both locations.  When I'm on "home" I add the SSID for home and it connects.  I then turn off the wifi and switch locations (same as I do in 10.6).  Then I turn WIFI back on, and it connects to my home SSID.  I go to the wireless settings, and add the work SSID and delete the home SSID.  I shut off wireless, change back to home and turn it back on.  I go to wireless settings, and the only SSID is the one I added under the work location.
    Has anyone else seen this change in behavior?
    Dan

    I prefer to continue the way I've been using it for 3 years rather than switch now.  The work location has the WIFI adapter as primary so that the default gateway is the wifi network even if I have a network cable plugged in.  This allows me to use my "work" network, but I can still share content with my local home network and also print to my local printer (not on my work network).
    So, this solution really doesn't work for me.  And yes, I know you can only connect to one at a time, but  again, those are not the only settings that I change when switching locations.  Those are the only settings that are broken.
    Dan

  • Queries not working with multiple bind position variables?

    still need help here - can anyone provide any direction?
    (note: this is a follow-up from prior topic, " How to use JDBC Positional Binding Style & ExecuteWithParams?")
    I created two simple view objects off of the same entity
    object to perform this test:
    #1 - ViewObject with one bind position variable - where clause: where id > ?
    #2 - ViewObject with two bind position variables - where clause: where id > ? and id < ?
    I created two separate .jspx pages, view1.jspx (one input field) and view2.jspx (two input fields), for each view object by dragging ExecuteWithParams operation onto the JSF page.
    The .jspx page with one input field works (returns result sets.) The view2.jspx page with two input fields does not work - the query does not return any result sets (no errors produced, it just does not return any rows) - I've tested my query outside of jdeveloper and it works fine. I also tried switching my inputs to make sure I did not have an illogical query (i.e., id >100 and id< 1).
    Is there anything different / extra I need to do to use two bind position variables?
    Everything in this simple test was identical except for using 2 input variables versus 1.
    Technology stack is: jdeveloper 10.1.3, jsf/ADF BC, mySQL 5.01
    Message was edited by:
    javaX

    Using the where clause: "where id > ? and id < ?” for the 2 input variables, I get the same result - no row results returned (though query works outside the browser.)
    Interestingly, I modified the where clause to “where between ? and ?”, and then used values of ‘1’ and ‘100’ to test. Using the BC4J tester, the query gave back a single row with id = 100 (should have brought back 100 rows because there are 100 records with id’s 1-100.) So I got it to return something, but not the right results. This makes me believe that a different query is being sent to MySQL other than what I'm expecting from what is shown in the SQL Statement of the View Object..
    Is there anyway to view what SQL statement is actually being sent to the database using the BC4J tester? Also, could this be an issue related to the mySQL connector drivers and JDeveloper? I’m using mysql-connector-java=3.1.11-bin.jar (10/10/2005)? First though, if I could see what query is actually being sent, this may help me to debug and figure out the problem.

  • OO ALV hotspot creation not working with Multiple Methods.

    Hi,
    I create a Test Report for Hotspot creation - It works. Code is  as -->
    class my_event_handler definition.
      public section.
      methods :
      handle_hotspot_click for event hotspot_click of cl_gui_alv_grid importing e_row.
      endclass.
      class my_event_handler implementation.
        method handle_double_click.
          read table itab index e_row-index into wa.
          if sy-subrc = 0.
           set PARAMETER ID 'ANR' FIELD order
    call transaction IW33.         
    endif.
      endclass.
    BUT - When I take multiple methods in PUBLIC SECTION. & Call it from START-OF-SELECTION the HotSpot is NOT WORKING
    CLASS get_details DEFINITION.
      PUBLIC SECTION.
        METHODS:  data_gathering,
                  display_alv.
                  handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid IMPORTING e_row .
      PRIVATE SECTION.
        CLASS-METHODS: get_data,
                       merge_data,
                       set_header IMPORTING er_table TYPE REF TO cl_salv_table,
                       set_coloum IMPORTING pr_columns TYPE REF TO cl_salv_columns_table.
    ENDCLASS.       
    CLASS IMPLEMENTATION - IS SAME AS ABOVE.
    START-OF-SELECTION.
      CREATE OBJECT lr_details.
      lr_details->data_gathering( ).
      IF gi_final IS NOT INITIAL.
        lr_details->display_alv( ).
    *    lr_details->handle_hotspot_click( EXPORTING row = ?  ).  " What to take?
      ELSE.
        MESSAGE 'No Data for the Selection Critaria' TYPE 'S' DISPLAY LIKE 'E'.
      ENDIF.
    How get Hotspot in this Case, Do I need to take the Method in START-OF-SELECTION ?
    if YES - then what to Export ? If NO - then how to create Hotspot in this case?

    Thanks Neil. Now it's working.
    For this One line clue - I really searched a lot.
    Thank you so much.
    If checking this link For Reference -->
    Search 'SET HANDLER' in Google for sample programs.
    * Before Class Defination
    CLASS get_details DEFINITION DEFERRED.
    DATA: event_receiver1  TYPE REF TO get_details,
    * At the End of Method display_alv (Check question for Methods)
    CREATE OBJECT event_receiver1.
    SET HANDLER event_receiver1->handle_hotspot_click FOR ALL INSTANCES.

  • ALinks not working with multiple subhelpsets

    Greetings,
    We are developing a help directory structure where our master helpset resides at the top, and then there are several subdirectories (sometimes multiple levels) that contain subhelpsets and the actual help content. We are using OHJ 4.2.1.
    Three of the four subhelpsets listed in our master helpset have defined associative links (alinks) in link files similar to...
    <linkitem topic="Test-2">
    <linkentry target="xyzacXX2" text="Whatever" />
    </linkitem>
    The problem is that only the alinks defined in the last subhelpset in our master helpset is listed when the user clicks on the links. We've tried re-arranging the order of the subhelpsets in the master helpset file, and it is always the last subhelpset's alinks that are displayed.
    Is there a problem with alinks and multiple subhelpsets? Do we need to add additional information to the master helpset file? In the documentation, it mentions the optional class parameter in the <linkref> element. Would the class parameter help in this situation.
    thanks,
    Elizabeth Dyer.

    Hi, Elizabeth. I see the problem you're talking about and concluded that merging associative links between subhelpsets is not supported. Whether it should be supported is somewhat debatable, but the easy workaround is to use an associative links file with your master helpset. This link file would just include all the associative links you define in your subhelpsets. Something like the below ought to work.
    - Ryan
    <link version="1.0">
    <linkitem topic="Test-1">
    <linkentry target="nnmacX1" text="Chapter Template" />
    <linkentry target="fwHOHtoc" text="Table of Contents" />
    <linkentry target="fwGSoptUser" text="Setting User Options" />
    </linkitem>
    <linkitem topic="Test-2">
    <linkentry target="nnmacXX2" text="Whatever" />
    <linkentry target="fwHOHsearch" text="Full-Text Search" />
    <linkentry target="fwGSoptPortal" text="Setting Portal Options" />
    </linkitem>
    </link>

  • Why does Flash not work with multiple user-accounts on a single PC?

    Running XP-Professional (MediaCenter), SP3 and using IE 8, NIS 2010 (disabled during the installation of FP), 3 different user accounts on a single PC
    As user A (admin) installed FP ver.  10.0.45.2, and it works fine under the admin account, however, when logging-on as user B.  FP is not recognized (?) and user B is asked to intall FP agian, however, the installation fails.
    After removing the FP installation (as being user A) and then install FP as user B (who has also admin rights) , FP works fine for user B, however for user A, FP is not installed/recoginzed (?), and user A is being asked to install FP, however that installation the fails, and so on and so on , . . . . .
    Any suggestion to resolve this irritating behaviour?

    Hi busy, there is a thread that discusses this very issue with links, that includes screenshots which  you may find helpful.
    http://forums.adobe.com/thread/584941?tstart=0
    Regards,
    eidnolb

  • Adobe Reader XI not working with SBA forms in FF and Chrome

    So I am having this issue when I try to open an SBA form in chrome or FF where it will not open first try and I have to refresh the page untill it opens. IE on the other hand does not give me this problem, but I don't want to recommend my custoemrs use IE.
    As a side note SBA forms have to be vied with Adobe so I have already disable Chromes pdf viewer and all other pdf viewers except adobe.
    Please help!
    -edit
    Adobe Read XI version 11.0.06
    Chrome = 32.0.1700.107 m
    IE = 11
    FF = 26. currently updating will check with new version

    I do not use Chrome, so I can't advise you about that.
    But Firefox also uses its own PDF viewer, not the Adobe PDF plugin.  See http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • JavaBean not working with Oracle Forms (URGENT)

    I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from the form to the bean and get a parameter back to the form from the Javabean. The bean is called on the when-button-pressed event of a form button. The problem is, the form doesnt seem to invoke the bean at all. There seems to be no communcation between the form and the bean at runtime on-click of the form button other that all the messages in the form procedure being displayed.
    The event code for the button is,
    Declare
    setNewMsg varchar2(2000) := 'Hello World';
    getData varchar2(2000);
    BeanHdl Item;
    Begin
    BeanHdl := find_item('Block3.MYBEAN');
    If NOT ID_NULL(BeanHdl) Then
              Message('Before Set');
              SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
              Message('Before Get');
              getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
              SYNCHRONIZE;
              Message(getData);
              Message('After Get');
              Message(' ');
    Else
              Message('The ID is null');
              Message(' ');
    End If;
    END;
    The javabean code is,
    package oracle.forms.beans;
    import java.awt.*;
    import java.io.*;
    import java.beans.*;
    import oracle.forms.ui.*;
    import oracle.forms.properties.*;
    import oracle.forms.handler.*;
    import oracle.ewt.lwAWT.*;
    public class SimpleTestBean extends VBean { 
    public static final ID SETMESSAGE = ID.registerProperty("setMessage");
    public static final ID GETMESSAGE = ID.registerProperty("getMessage");
    private String msg = "";
    public String newMessage() {
         return msg;
    public Object getProperty(ID id) { 
         try { 
              if (id == GETMESSAGE) { 
                   return newMessage();
    return super.getProperty(id);
    catch (Exception e) { 
         e.printStackTrace();
    return null;
    public boolean setProperty(ID id, Object value) { 
         try { 
              if (id == SETMESSAGE) { 
              msg = (String) value;
    return super.setProperty(id, value);
    catch (Exception e) { 
         e.printStackTrace();
    return false;
    Thanks

    Hi,
         I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from Oracle Form(Ver 6i) to the java bean and get a parameter back to the form. The Javabean is called on "When-Button-Pressed" event of a Form button. The problem is, Form doesn't seem to invoke the bean at all. There seems to be no communication between the Oracle Form and the Javabean at runtime.
         On-click of the Form button though all test messages in the Form trigger are being displayed (Even message before and after the Set_Custom_Property & Get_Custome_Property). The only issue is the Form variable doesn't show the returned value from the bean. So the big question is - Whether the bean is invoked at all or not.
         If YES then how to check it and if NO then how to communicate with the bean from Oracle Form. I am attaching the code of Javabean and trigger code.
    Thanks & Regards
    NOTE : All the ClassPath for the JavaBean has been set properly and the Form is also recognizing the Implementation Class for the Javabean.
         The Trigger Code is,
         --- This code is written on When-Button-Pressed trigger of Form button.
         --- The form also contains the bean area "MYBEAN", which i have referred in the code.
         Declare
              setNewMsg varchar2(2000) := 'Hello World';
              getData varchar2(2000);
              BeanHdl Item;
         Begin
         BeanHdl := find_item('Block3.MYBEAN');
         If NOT ID_NULL(BeanHdl) Then
              Message('Before Set');
              SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
              Message('Before Get');
              getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
              SYNCHRONIZE;
              Message(getData);
              Message('After Get');
              Message(' ');
         Else
              Message('The ID is null');
              Message(' ');
         End If;
         END;
    The Bean Code is,
         package oracle.forms.beans;
         import java.awt.*;
         import java.io.*;
         import java.beans.*;
         import oracle.forms.ui.*;
         import oracle.forms.properties.*;
         import oracle.forms.handler.*;
         import oracle.ewt.lwAWT.*;
         public class SimpleTestBean extends VBean { 
         public static final ID SETMESSAGE = ID.registerProperty("setMessage");
         public static final ID GETMESSAGE = ID.registerProperty("getMessage");
         private String msg = "";
         public String newMessage() {
              return msg;
         public Object getProperty(ID id) { 
              try { 
                   if (id == GETMESSAGE) { 
                        return newMessage();
    return super.getProperty(id);
         catch (Exception e) { 
              e.printStackTrace();
              return null;
         public boolean setProperty(ID id, Object value) { 
              try { 
              if (id == SETMESSAGE) { 
              msg = (String) value;
    return super.setProperty(id, value);
         catch (Exception e) { 
              e.printStackTrace();
              return false;
    ------------------------------------------------------------------------------------------

  • Clear cache for items not working with multiple items

    APEX 4.0, 11g. I've made a session state process that clears cache for items (item_1, item_2, item_3) but I keep getting an error "Unexpected error, unable to find item name at application or page level" I have now created 3 session state processes, each with one page item in it, and it works fine but as soon as I try to put more than one item in the process field, separated by commas, I get this error. Is there some other setting I have to change to make it accept multiple values in this field?

    No, I wasn't using the parenthesis... just the items separated by a comma.
    I don't want to clear the cache for all page items, just these 3. It works okay in 3 separate clear cache for item processes, just thought it was odd that I can't put all three items into one process separated by commas.

Maybe you are looking for

  • Need Java api for .class file comparison....

    Hi all, In .net one CecilAssemblyAnalyzer api is der it analyze the two version of .net applic in offline mode (pick .exe and .dll files) n forms tree structure and den copares both tree n get the changed function.. i need same type api in Java... Th

  • How to transaport the calendar from DEV to Prod in sap?

    Hi, We are trying to transport the Holiday Calendar from Golden client to Production but when we are generating a request number system comes up with the message "All public holidays, public holiday and factory calendars will be transported. All publ

  • There is a constant pop up message of "Photos are being imported to the photo library."

    I cannot close my iPhoto or import any new photos. There is a constant pop up message of "Photos are being imported to the photo library." However, I am NOT importing anything to the library. This is very frustrating. I cannot force quit. I even trie

  • Tablespace Complete Restore problem.

    Hi Team, I am working on the Oracle 9i tablespace backup & restore operation. For backup I am using the following script. run BACKUP TABLESPACE 'CWMLITE' INCLUDE CURRENT CONTROLFILE FORMAT 'C:\BK\CWMLITE_%d_01'; BACKUP TABLESPACE 'DRSYS' INCLUDE CURR

  • How to update costing under the Organization defination

    dear, We are on testing face, we have to update around 100 cost cener throug api but it's now being executed and raise an error. What is the value to be passed for p_cost_allocation_id ? ora-20001 hr_7220_invalid_primary_key pay_cost_allocation_api.U