Please Help me to solve this issue

Hi,
i am using JSF and Hibernate . and i want to pass some data from Jsf to data base... i hardcoded that and tried .. data is sending and retriving database side(model ) fine. my problem is the data from JSF is not passing to the bean.. i am new to JSF and i will summarize my procedure here
1. i have two text boxes and a button inside my <h:form> once a button clicked the values of the text fields must send to java bean(it is not happening it seems). i added my code section below
<h:form>
<some static values here >
<table cellpadding=1 cellspacing=0 border=0 rules=none bordercolor=e0e0e0 width=99%>
<tr bgcolor="ffffff">
<td width="150" valign=top bgcolor="ffffff" nowrap><font style="COLOR: 000000; FONT: 8pt/11pt verdana"><h:outputText value="#{labels.newVatRate}"/>:</td>
<td valign=top bgcolor="ffffff" nowrap><font style="COLOR: 000000; FONT: 8pt/11pt verdana">
<h:inputText styleClass="TextField" id="vatRateName" size="25" value="#{vatRates.vatRateName}"/><h:outputText value="Rate"/><h:inputText styleClass="TextField" id="rate" size="25" value="#{vatRates.rate}"/> <h:commandButton id="vatRatesSave" value="Add" action="#{vatRates.save}"></h:commandButton>
</td>
</tr></table>
here save is a method in bean and rate abd vatRateName are strings inside bean
my faces config is as like this
<managed-bean>
<description>
Agency Information
</description>
<managed-bean-name>vatRates</managed-bean-name>
<managed-bean-class>com.easymodelling.entity.VatRates</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
please resopnd this and help me

Hi,
thank u for your quick reply...
i tried the way u said .. then it is not calling bean .. so do u know what may be the problem? for getting faces i did the following steps
1. create a jsp page with jsf functionality
2. create a bean
3. edited faces config by adding the managed bean
is there any thing more required ?
then is there any good ide (light weight) for jsf ?

Similar Messages

  • TS1363 My iPod Nano 7th Generation couldn't be detected by iTunes when I plugged in. I tried resolving the issue by uninstalling the iTunes and then install it back again but yet still the same problem exist. Can you please help me to solve this issue?

    My iPod Nano 7th Generation couldn't be detected by iTunes when I plugged in. I tried resolving the issue by uninstalling the iTunes and then install it back again but yet still the same problem exist. Can you please help me to solve this issue? I have already updated to the latest version of iTunes on my Windows 8 and I cannot synchronize my iPod for the time being. Please do help me to solve this problem. Thank You.

    uninstall all iTunes,5 programes,this worked for me after reinstall them

  • Please Help me in solving this issue. i am a newbie to coldfusion

    i want to use a single home page where i will show a form (which is in another file) to user to upload a file,after uploading (action file result) i want to show result of upload also on the same page.
    these are my three files:
    1. index.cfm
    <!-- start -->
    <html>
    <head>
    <title>HomePage</title>
    <cfajaximport tags="CFFORM">
    </head>
    <body>
    <cfdiv id="Main" style="width:1000px; height:600px" >
            <cfdiv id="Options" style=" width:100%;height:20%" >
                Welcome Admin, <a href="javascript:ColdFusion.navigate('FileUpload.cfm','Content')" class="settings">Update  </a><a href="#" class="logout">Logout</a>
            </cfdiv>
            <cfdiv id="Content" style=" width:100%;height:80%">
    <h2>Here Goes Form and FileUploading</h2>
            </cfdiv>
    </cfdiv>
    </body>
    </html>
    <!--  -->
    2.FileUpload.cfm
    <!-- start -->
    <html>
        <head>
            <title>
                Upload A File
            </title>
        </head>
        <body >       
    <cflayout type="vbox" name="layout1">
    <cflayoutarea>
        <cfform  enctype="multipart/form-data"  action="FileReceiver.cfm" >
                            File To Upload:
                            <cfinput type="file" name="Filename" size="50" >
                 <br/>       
                            <cfinput type="submit" name="UploadFile" value="UPLOAD THIS FILE">
                    <br/>
            </cfform>
    </cflayoutarea>
    <cflayoutarea>       
        <table border="1" >
                <tr>
                <th >
                    Directory Information
                </th>
                </tr>
                <tr>
                    <td>
                    <cfoutput >
                        CurrectDirectory Path: #getdirectoryFromPath(expandPath("index.cfm"))#
                    </cfoutput>
                    </td>
                </tr>
            </table>
    </cflayoutarea>
    </cflayout>
        </body>
    </html>
    <!-- -->
    3.FileReceiver.cfm
    <!---start-->
    <cfif isdefined('UploadFile')  >
    <cfoutput >
    <cffile nameconflict="makeunique"
    action="upload"
    filefield="Form.Filename"
    destination="#getdirectoryFromPath(expandPath("index.cfm"))#" > <!--- or destination="c:\Upload\"--->
            File upload was successful!
    </cfoutput>
    </cfif>
    <!-- -->
    when i click on "update link" index page shows the FileUpload.cfm page in one of its container but while uploading file
    i always get ERROR MESSAGE:
    Error retrieving markup for element cf_layoutarea736558924094373 : Invalid content type: application/x-www-form-urlencoded; charset=UTF-8. [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]
    Kindly Help me doing it right...i am unable to figure out problem ...

    Ah, I found the cause of the issue: Coldfusion stores the properties of user-interface tags like cfdiv and cflayoutarea in the form scope. That is what is destroying your upload form. To see it, run the following test code:
    <cfdump var="#form#">
    <cflayout type="vbox" name="layout1">
    <cflayoutarea name="myLayoutArea123">
    <cfform >
    <cfinput type="submit" name="submit" value="Test by posting form to same page.">
    </cfform>
    </cflayoutarea>
    </cflayout>
    Now, the search for a possible solution.

  • Please help me to solve this date comparision issue..

    Please help me to solve this issue..
    If i have some data like the following..
    ID           START DATE             END DATE
    1             20080101              20080501
    1             20080502              20080630
    2             20080631              20080801
    2             20080802              20080901
                                                 ---------------> There is a break in date over here
    2             20080930              20081029
    2             20081030              20081130
    I need to compare the End Date with the start date (These data will not be in order)
    and find out if there is any break and should get the output date : *20080930*
    I am trying to do this in SQL or PL/SQL.Please help me .
    Thanks in advance.
    phani

    Hi Frank ,
    Sorry to bug you again. I ran your code on my actual data but not gettting the expected output.Here i am posting the actual code and the output that i got when i ran your code.Please bear with me and help me to solve this..
    /* Formatted on 5/25/2009 2:27:24 PM (QP5 v5.115.810.9015) */
    SELECT   member_nbr,
             aff_nbr,
             ymdeff,
             ymdend,
             gap_before,
             COUNT (gap_after)
                OVER (PARTITION BY member_nbr, aff_nbr ORDER BY ymdend DESC)
                AS gap_cnt
      FROM   (SELECT   member_nbr,
                       aff_nbr,
                       ymdeff,
                       ymdend,
                       CASE
                          WHEN ymdeff >
                                  LEAD(ymdend)
                                     OVER (PARTITION BY member_nbr, aff_nbr
                                           ORDER BY ymdend DESC)
                                  + 1
                          THEN
                             1
                       END
                          AS gap_before,
                       CASE
                          WHEN ymdend <
                                  LAG(ymdeff)
                                     OVER (PARTITION BY member_nbr, aff_nbr
                                           ORDER BY ymdend DESC)
                                  - 1
                          THEN
                             1
                       END
                          AS gap_after
    ------------I need this SQL to filter the whole data to the data that i posted in previous post -----
                FROM   (  SELECT   ms1.member_nbr, 
                                   ms1.aff_nbr,
                                   ms1.ymdeff,
                                   ms1.ymdend,
                                   ms1.void
                            FROM   (SELECT   ms.member_nbr,
                                             ms.aff_nbr,
                                             ms.ymdeff,
                                             ms.ymdend,
                                             ms.void
                                      FROM   MEMBER mb, member_span ms
                                     WHERE   mb.member_nbr = ms.member_nbr
                                             AND (20090523 BETWEEN ms.ymdeff
                                                               AND  ms.ymdend
                                                  AND TRIM (void) IS NULL)
                                             AND mb.member_nbr = 'A1000073000 ')
                                   eff_pcp,
                                   member_span ms1
                           WHERE   ms1.member_nbr = eff_pcp.member_nbr
                                   AND (SUBSTR (eff_pcp.aff_nbr, 1, 6) =
                                           SUBSTR (ms1.aff_nbr, 1, 6))
                        ORDER BY   ms1.ymdeff DESC)
    ---------- end of my part  ----------
                table_x) got_gaps;Outputs that i got when i ran that code for each individual members..
    Sorry to bug you frank and thanks for all the help.I will post here if i get any other data.
    Thanks
    phani

  • Can you please help me how resolved this issue.

    Hi Experts
    I am trying to connect LDAP by R/3 system. R/3 system connected to LDAP but when I am trying to find and pull the fileds in the "Find in the Directolry" option I am getting below error.
    LDAPRC 010 another server is referenced.
    Can you please help me how resolved this issue.
    With Regards,
    Trinadh Bokka

    You may be able to solve by using
    Note 1151329 - Depth of LDAP search is only one level below the base entry
    Markus

  • Microphone of my iphone is not working when i call anyone nobody can listen but me, its working with headphone but its also working with videocam recording, please help me to solve this probelm.

    microphone of my iphone is not working when i call anyone nobody can listen me its working with headphone. but it is working with videocam recording, please help me to solve this probelm.

    Try this:
    1. Reset the iPhone by pressing and holding the sleep/wake and home buttons and releasing them, when the Apple logo appears on the display. Now test again.
    2. If the issue persists: Restore the iPhone without any of your own content, using this description from Apple: http://support.apple.com/kb/HT4137
    3. If the issue persists, Your iPhone need repair.

  • Please help me to solve the issue in my query.

    Hi All,
    Please help me to understand the mistake what i did in below query and help to resolve that.
    Actually i am trying to create a query to filter the records from db based on my input parameter.
       If my input parameter is 1(@showallrecords) then i need to show all the records which has the IsLatest as 1
       If my input parameter is 0(@showallrecords) then i need to show all the records which has the IsLatest as 0
    select * from tabel1 INNER JOIN tabel2    
    ON tabel1.KeyId = tabel2.KeyId 
    and (@showallrecords = 1 and tabel1.IsLatest = 1 )
    and (@showallrecords = 0 and tabel1.IsLatest = 0 )
    when i am executing the above query with the parameter @showallrecords = 1 ,db is returning 0 rows.If i am executing the above query after removed the last line and (@showallrecords = 0 and tabel1.IsLatest = 0 ) then records are coming.
    i understand that 1=0(last line) and the condition is not true.So its affecting the result.
    Please help me to solve this.

    select * from tabel1 INNER JOIN tabel2
    ON tabel1.KeyId = tabel2.KeyId
    WHERE (tabel1.IsLatest = @showallrecords Or @showallrecords=0)

  • Hello i have a unusual problem,anyway my iphone 4 wont turn on and when someone calls they hear ringing,but my phone doesent ring,so i open cimcas now ring off. Screen is just black,because it's turned off..Please help me to solve this problem..Thanks

    Hello i have a unusual problem,anyway my iphone 4 wont turn on and when  someone calls they hear ringing,but my phone doesent ring.So i poen simcase and now ring off. Screen is just  black,because it's turned off..Please help me to solve this  problem..Thanks

    As far as trying to power up your device, make sure it has a good charge and then hold the button on the top of the phone and the home button on the faceplate together until the apple appears on the screen.

  • Hi, when ever I'm using 3G, on my Iphone4 sim stops working and Network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem.

    Hi, when ever I'm using 3G, on my Iphone4 sim stops working and network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem. Thanks.

    Photos/videos in the Camera Roll are not synced. Photos/videos in the Camera Roll are not touched with the iTunes sync process. Photos/videos in the Camera Roll can be imported by your computer which is not handled by iTunes. Most importing software includes an option to delete the photos/videos from the Camera Roll after the import process is complete. If is my understanding that some Windows import software supports importing photos from the Camera Roll, but not videos. Regardless, the import software should not delete the photos/videos from the Camera Roll unless you set the app to do so.
    Photos/videos in the Camera Roll are included with your iPhone's backup. If you synced your iPhone with iTunes before the videos on the Camera Roll went missing and you haven't synced your iPhone with iTunes since they went missing, you can try restoring the iPhone with iTunes from the iPhone's backup. Don't sync the iPhone with iTunes again and decline the prompt to update the iPhone's backup after selecting Restore.

  • ýesterday  my iphone 5c screen  suddendly  shows connect to itune and i try to restore it using itune but halfway i got a message error occured (14). please help me in solving this problem.

    ýesterday  my iphone 5c screen  suddendly  shows connect to itune and i try to restore it using itune but halfway i got a message error occured (14). please help me in solving this problem.

    what did you learn when you search the internet for iPhone error 14?

  • Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004 Please help me in solving this problem.

    Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004
    Please help me in solving this problem. 

    Make sure Java is enable in your browser's security settings.
    Open Java Preferences (in Utilities folder)
    Make sure Web-start applications are enabled.
    Drag Java 32-bit to the top of the list.
    jnlp isn't an audio file format. It's just a java web-start program (Java Network Launching Protocol).

  • HT203196 My macbook air 13inch got shutdown 3 times by itself. I tried installing SMC package as suggested but my computer is telling the update is not required. Could you please help me on fixing this issue. Thanks.

    My macbook air 13inch got shutdown 3 times by itself. I tried installing SMC package as suggested but my computer is telling the update is not required. Could you please help me on fixing this issue. Thanks.

    What version of OS X are you using? Exactly which MBA model do you have?

  • My iphone4 camera shutter not opening please help me to resolve this issue , i tried a restore it still exist, my iphone4 camera shutter not opening please help me to resolve this issue , i tried a restore it still exist

    my iphone4 camera shutter not opening please help me to resolve this issue , i tried a restore it still exist, my iphone4 camera shutter not opening please help me to resolve this issue , i tried a restore it still exist ,please help me

    uninstall all iTunes,5 programes,this worked for me after reinstall them

  • Hello to everyone : I have a problem every time I try to open iTunes for windows 8 64bit... Program stops to work every time trying to access to the store... Is anyone able to help me to solve this issue? Thank you so much...

    Hello to everyone : I have a problem every time I try to open iTunes for windows 8 64bit... Program stops to work every time trying to access to the store... Is anyone able to help me to solve this issue? Thank you so much...
    N.B. iTunes version is the last one available from https://apple.com/it

    Hey sweetcake74,
    Thanks for the question. I understand you are experiencing performance issues with iTunes for Windows. The following articles may help to resolve your issue:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Thanks,
    Matt M.

  • My ipad air getting close all apps automatically within seconds while connecting wifi. This issue is started after the updation of the iSO 8, Please help me to rectify this issue.

    Hi,
    My ipad air getting close all apps automatically within seconds while connecting wifi. This issue is started after the updation of the iSO 8, Please help me to rectify this issue.
    Expecting some quick solution in this regard,
    Thanks
    Prabhu

    (A) Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Try reset all settings
    Settings>General>Reset>Reset All Settings
    Note: Data will not be affected but settings for Wi-Fi, FaceTime, Message, Home Sharing will be reset

Maybe you are looking for

  • No Audio output please help!!!

    I have a Toshiba Satellite A205S4617 Vista and audio wont come out of the speakers. I have tried:  1. Reinstalling audio driver from the Toshiba website 2. Updating all drivers from Control Panel - Sound - Device Menus (said everything was up to date

  • My iPhone won't sync with iTunes

    Hi, I am looking for help asap! I have had my iPhone now for about 9 months with no previous problems. All of my music is kept on an external hard drive but was put onto my iPhone originally with no problems. Everytime I went into iTunes I kept being

  • Internet Explorer Error while running VS2005 asp form from devt envt.

    Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30560: 'Or

  • Error occurs during configuration of ESR in CE

    I'm doing the "Configuration of ESR in CE" senario in the NWA. In the final step: Importing XI content following error happened: Error: Password cannot be null or empty and I found following exception in log: importContentInput <importContentInput> <

  • Adobe form getting data from BADI?

    Hi, I  have a webdynpro component which calls an Adobe form which gets data from BADI i.e. prepoulate the values after interacting with the BADI's.How to find the BADI's name ?how it triggers that particular BADI.where it is calling exit handler? ple