Problem in HtmlPanelGroup when using in the form of array

hi
i am working in a jsf project using hibernate and mysql.My problem is in using HtmlPanelGroup.
here HtmlPanelGroup is used as array like
HtmlPanelGroup[] sample;
and faces-config's scope is request.when i process the application,the value of HtmlPanelGroup array is null throwing NullPointerException.but when i change the faces-config scope to session,i got the expected result.Eventhough i got the results in session scope,i need the results using only request scope which is my determined constraint.
In the request scope, the getter method of sample is called,but when i do some data storage,the setter method of sample is not called.i think that is why the data of HtmlPanelGroup have not been got and this threw NullPointerException.is there any solution to call the setter method of HtmlPanelGroup array in request scope and to avoid the NullPointerException?
Thanks
rgds
oasisdeserts

Hi Baluc,
I have been invoking this line throurgh commandButton's action attribute as follow.
<td><h:panelGroup binding="#{partnerDetail.partnerInfo[0]}" />
<h:commandButton type="submit" action="#{partnerDetail.addPartner}" value="Save" />
The Backend method is
Public class Partner{
public String addPartner(){
               try{
PartnerAdditionalPerson     personAdditionalPerson      = new PartnerAdditionalPerson();
String partnerContactPersonName                    = ((HtmlInputText) this.partnerInfo.getChildren().get(1)).getValue().toString();
               String partnerContactPersonEmail                    = ((HtmlInputText) this.partnerInfo[i]
                                                  .getChildren().get(2)).getValue().toString();
                         personAdditionalPerson.setPartner(part);
                         personAdditionalPerson.setPartnerContactPersonName(partnerContactPersonName);
                         personAdditionalPerson.setPartnerContactPersonEmail(partnerContactPersonEmail);
                         session.save(personAdditionalPerson);
               }catch(Exception e){
return "SUCCESS";
what shall i do to save the partnerInfo htmlpanelgroup in data base using request scope?
rgds
oasisdeserts

Similar Messages

  • When using designer the form will not show up.

    When I activate the form designer to make it interactive, it will not show the form except momentatily.  Is ther a way to turn it up? 

    David,
    I responded to the forum but could not figure how to send attachments to you there.   This is another try . 
    I scanned a form to PDF that I want to, make interactive and fillable.  In Adobe Acrobat 7 I clicked on Advanced > Forms> Make form Fillable in Adobe Design. The results is a conversion to an unreadable Form.  Checking the PDF preview tab does not help.  Attached are the Form and the enteractive form. 
    Is there any suggestions as to what I am doing wrong?
    Ed Walsh

  • When attempting to use Lightroom external editor program to edit a photo in Photoshop Elements 10, the photo does not open / appear on photoshop elements screen.  I don't have any problem with this when using Photoshop Elements 6 or Photoshop CS.  I'm usi

    When attempting to use Lightroom external editor program to edit a photo in Photoshop Elements 10, the photo does not open / appear on photoshop elements screen.  I don't have any problem with this when using Photoshop Elements 6 or Photoshop CS.  I'm using a Mac with Mountain Lion OS.  Any solutions?

    Adobe now hides the editor - what looks like it is not - you want the editor hidden in the support folder - see http://forums.adobe.com/message/3955558#3955558 for details
    LN

  • I'm having trouble with the volume of my i phone 4s when using headphones, the sound will only appear when the volume is at its highest, any lower and all I hear is static. Can anyone help me with this problem? Much appreciated.

    Hi, I'm using a white iPhone 4s with 16gb memory and having some problems. Whenever I use earphones the sound will be heated when the volume is at the highest if I turn it down any lower all I hear is static. Can anyone help me with this problem as I would appreciate it much.

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    No data is lost due to a reset.

  • CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there

    CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there a way around this?  Is there a patch to correct it?

    To build CD's???
    What problem does Encore have with DL?
    If DL is not working properly for you the way around this is to export from Premiere to either mpeg2-dvd for DVD or BluRay H.264 for BD-disks and import the files in Encore.

  • How can i turn off all the mails that i recive when use any program form my iPad?

    How can i turn off all the mails that i recive when use any program form my iPad?

    Everytime i use the my ID recive an e Mail to inform me.

  • When on Facebook (for example), Firefox is not allowing me to open pictures; when using apps, the bottom of the screen is missing so cannot utilize the apps. All working on Safari; just downloaded new Firefox 4, so seems to be a problem with this version?

    Question
    When on Facebook (for example), Firefox is not allowing me to open pictures; when using apps, the bottom of the screen is missing so cannot utilize the apps. All working on Safari; just downloaded new Firefox 4, so seems to be a proble

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    See also "Help About".
    *Tap the Alt key or press F10 to show the Menu bar.
    In current Firefox releases (29 and later) the orange Firefox menu button has been replaced by the three-bar Firefox Menu button at the far right end of the Navigation Toolbar and this button is always visible, whether you have the menu bar visible or hidden<br>A consequence of this location is that you no longer can hide the Navigation Toolbar
    *There is a star like button next to the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *If you bookmark a page then "Bookmark This Page" in the Bookmarks menu changes to "Edit This Bookmark"
    *You can make the title bar visible via the "Title Bar" button at the bottom left in the Customize palette window
    It is still possible to have the menu bar visible via the right-click context menu of a toolbar to have menus like the File menu with Print (Ctrl+P) and Print Preview and the Bookmarks menu available.
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox

  • I need to be able to give them a total price calculation when they submit the form. even if im not using credit card as my only payment option.

    i have an online menu - many of my customers pay by check, cash and credit card as well - is there not an option to show those options...  and items vary in price, i need to be able to give them a total price calculation when they submit the form.

    a) No, b)Yes. Firstly, the only payment gateway currently supported from FormsCentral is PayPal. If your customers complete the FormsCentral Form and order 6 of item 1 at one dollar each and 3 of item 2 at two dollars each, when they press 'Continue to Checkout' button, they are transferred to the PayPal Gateway - which will show the Total to Pay. That's no help for your folks wanting to pay by check. Think you may need another solution. Acrobat won't link directly to a Payment Gateway either, without you doing a bit of JavaScript etc.

  • Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been usin

    Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been using adobe forms for 2 years with mass response feedback and have never had this problem.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Closing the Applet when I exit the form

    I am deploying an application on web plataform using Forms Server 6i. I have created my own base.html with a logo and a menu as appropiate. I am using Oracle JInitiator to run the forms. When I run a form, the applet is loaded in a frame created in my base.html. All is working fine, but, when I exit the form, I supposse the applet it's still there, because in the page a gray rectangle still remains. I would like to have a background image in the page, and when I close the form, the applet was unloaded, so I can view the background again. How can I get that.
    Thanks.
    P.D.: Sorry but my english it's not so good.

    Make a new project and import old one into this new one.
    See if you can find a up to date Auto Save.
    Also make a habit of 'Save A Copy' to a different drive after each edit session. Save A Copy does not overwrite after so many times as Auto Save does.

  • Multi-language support for user-specified text strings used in the forms

    multi-language support for user-specified text strings used in the forms
    Instead of creating multiple forms, 1 in each different language, for the same service, is there any workaround?

    Hoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.

  • I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Problem in JDBC , when using LIKE operator. - VERY URGENT

    Problem in JDBC , when using LIKE operator.
    LINE 1 : String temp = "AA";
    LINE 2 : String query = "select * from emp where EMPNAME like '*temp*' ";
    LINE 3 : Staement st = con.createStaement();
    LINE 4 : ResultSet rs = st.executeQuery(query);
    '*' character is not getting evaluated. In MS ACCESS2000 only * is accepted instead of '%'. Moreover in MS ACCESS the like operator has to be used within double quotes as a String. whereas in other databases, it accepts single quotes as a String.
    Ex:
    In MS ACCESS
         select * from emp where ename like "*aa*";
    Other Databases
         select * from emp where ename like '%aa%';
    In my situation iam passing a Variable inside a like operator and '*' is used.
    For the above Scenario, Please help me out.
    If possible Kindly let me know the exact Syntax.
    Please give me the answer as LINE1,LINE2,LINE3,LINE4,
    I have verified in JDBC Spec also, it has been specified to use escape sequence.that too did not work.
    Due to this, My project is in hold for about 4 days. I could not find a suitable solution.
    Please help me out.

    I made a LIKE clause work with M$ Access, using PreparedStatement and the % wildcard:
                escapeStr                   = "%";
                String sql                  = "SELECT USERNAME, PASSWORD FROM USERS WHERE USERNAME LIKE ?";
                PreparedStatement statement = connection.prepareStatement(sql);
                statement.setString(1, ("user" + escapeStr));
                ResultSet resultSet         = statement.executeQuery();
                while (resultSet.next())
                    System.out.println("username: " + resultSet.getObject("USERNAME") + " password: " + resultSet.getObject("PASSWORD"));

  • Problem with SDO_relate when using polygons with holes.

    I'm having a problem with sdo_relate. I'm trying to extract all elements from a point table (bdtq_batim_p) that are inside a specific polygon from another table (SDA_MUNIC_SS). The spatial index for both table have been rebuilt and the data from both table is valid.
    When I do a count on the query, I know the answer should be 1422 elements (Counted in ArcGIS). However, sdo_relate gives a smaller number of elements in the result set.
    The query :
    SELECT count(distinct t.identifiant) FROM bdtq_batim_p t, SDA_MUNIC_SS s WHERE s.mus_co_geo = '48015' and sdo_relate( t.SHAPE,s.SHAPE,'mask=anyinteract querytype=window') = 'TRUE'
    returns 282 elements. The query with mask=inside, SDO_Anyinteract() and SDO_inside() all give the same result.
    I did a test with the following query and the result is 1422 (which is the good result).
    SELECT count(distinct t.identifiant) FROM bdtq_batim_p t, SDA_MUNIC_SS s WHERE s.mus_co_geo = '48015' and SDO_WITHIN_DISTANCE( t.SHAPE,s.SHAPE,'distance=0') = 'TRUE';
    It's important to note that the polygone (from SDA_MUNIC_SS) that is used for this query have holes in it. I have the same problem with all the polygons from the SDA_MUNIC_SS table that have holes in it. For the polygon without holes, the results are the same for the 2 queries.
    My question are :
    Why are the result from the two queries different? A query with a buffer of 0 should always return the same result as a query with Anyinteract.
    Is there a known problem with SDO_RELATE when using a polygon with holes in it?
    Do you have any idea how to solve my problem.

    Since i don't have much control on the version of Oracle and Patches that we use in the system, we used a workaround that detects the polygons with holes and uses the SDO_WITHIN_DISTANCE( t.SHAPE,s.SHAPE,'distance=0') = 'TRUE' operator in those case. We saw a slight decline in performance but it now returns the right results. When the system will be patched, we'll come back to the original version and see if the problem is solved.

  • My form was created by FormsCentral.  I save as a PDF and emailed it to all of my club members.  When they complete the form, save it, and email it back to me, I get a blank form. Why?

    My form was created by FormsCentral.  I save as a PDF and emailed it to all of my club members.  When they complete the form, save it, and email it back to me, I get a blank form. Why?

    If you had iCloud backup turned on, and it made a backup - yes.  If you didn't have iCloud backup turned on - but were using iCloud for Contacts, calendars, etc.  You will get the contacts and calendars, etc back.
    Purchases made with your appleID can be redownloaded as long as they are still available in the iTunes store.
    If you connected your phone to a computer with iTunes, there may be a backup on there as well.

Maybe you are looking for

  • Apache with OracleXE Apex...

    Hi, I installed OracleXE on my laptop. I would be able to go to Start/All Programs/Oracle Database 10g Express Edition/Go To Database Home Page (which is C:\oraclexe\app\oracle\product\10.2.0\server\Database_homepage.url) I had installed my APEX app

  • Ping channel disabled for SFSF sender cc channel

    Hi, I am working with Successfactors Integration.  SF is my sender and 3rd party is my receiver. I just created a communication channel in ID for SFSF adapter and activated. I see the ping channel for this SFSF channel is disabled in CC monitor. and

  • Site Assets Document Library Error

    Hi, After migration from SP 2010 to SP2013, the OOTB SiteAssets was replaced by Site%20Assets. Now Title, Description and Logo is having error. According to ULS log: System.Runtime.InteropServices.COMException: A list, survey, discussion board, or do

  • Computer crashes when using illustrator

    I have Windows Vista, 3 GB of RAM, and am using CS3. There are times when I use certain tools in Illustrator (as well as Photoshop) that will cause my computer to shut down or crash without warning. The tools that seem to trigger this shut down is th

  • Running windows programs on macbook

    I want to run several windows programs on my macbook. One is called Swordsearcher, a Bible program, and the second is Money Matters, a budgeting program. I've heard of x11 and x86, but I don't understand how they work. If I could run those Windows pr