JSF page values are getting cleared with validation errors

Using Jdev 10.1.3.4, JSF and ADF BC
I have 2 jspx pages - 1 input page(with bindings to VO) and a lookup page bound to a read-only VO.
page1: I am entering values to all the fields and then saving the form. Now if I had entered an invalid value for one of the fields and try to save - I am checking if value is valid in page1's managed bean and returning error message.
After I get this error message I clear out the invalid value and use the lookup & navigate to the 2nd page fetch a valid value and when I return to my 1st page I am loosing values for some of the fields in my 1st page. Not sure how and this is my first issue! I dont see this behavior if I use the lookup option directly(instead of entering an invalid value, clearing the value after seeing the error message and then going to the lookup page)
Next I am reentering values that I have lost and when I try to save again this time the value I had set from the lookup page is cleared and since this field is required I am getting an exception again. So, basically once there is an error for a field any new value I set gets cleared on commit and i get a required message for the field. Thanks for any clarifications/help with these strange issues.

Fair enough :)
Actually what I was meaning was could I use a collection to repopulate the tabular form when I receive errors. It appears as if it may work. However, I am hitting one snag.
I have created a PL/SQL Process that runs On Submit and Before Computations/Validations. In this process, I have saving the values in the tabular form to a collection.
I was then hoping to create another process that ran after any errors occur. However, it does not appear as if any processes run when the screen redraws after a validation issue. Is there a process that runs after validations when the screen is redrawing? Will I need to do this using javascript?
Thanks

Similar Messages

  • We are getting faxes with 812 error - "Document conversion failed" in SOST

    Hi
    We are getting faxes with an 812 error - "Document conversion failed" in transaction SOST. The user is sometimes able to fax the number successfully, but other times fails - it is not consistent.
    The conversion rules seem to be set up correctly, indeed, on a resubmit this often (but not always) works, so I don't think this is down to the conversion rules.
    Is it a problem at the SAP side or the receiving system?
    We enabled a trace but on analysis the only step that appears to be different in the failing ones is:
    Status "Fehler" am Sendeauftrag gesetzt
    Which I believe roughly translates that it failed to send - but why, and where can I find more detail?
    Thanks
    Ross

    I also noticed in the trace that the faxes that work have the following lines:
    Determined device type: POST2. OTF Device Type POST2
    Format conversion from OTF to PS With Device Type POST2
    Converting OTF to PS
    Whereas the ones that have failed say:
    Determined device type: PDF1. OTF Device Type PDF1
    Format conversion from OTF to PDF
    Conversion rules for this country PL (Poland) and 'blanks' in order of prioroty are:
    PDF                   S  POST2
    PDF  PL  Polish  S  ID2PDF
    PS                          POST2
    PS  PL  Polish   S  I2SPOST
    Is that correct?
    Cheers
    Ross

  • Field values directly binded to backend service are getting cleared.

    Hi,
    In HCM Forms & Process, for ex: in a form the header field values are directly binded to SAP_PA backend service and rest of the fields (dropdown list and free text fields) are getting from custom generic service. Now there is also a pushbutton in my form is used to calculate percentage of a field. Now when the form is displayed by default the header values are getting populated from SAP_PA backend service. When I click the push button with out selecting values(drop down list) getting from generic service all header field values are getting cleared. But if I select any dropdownlist value before selecting pushbutton and then if I click pushbutton all the header fields are retained with values. I am facing this problem for all the forms that I developed. I am looking for valuable answer.
    Regards,
    Nayani .

    So you are or are not using a user event? Sounded like you were which was firing when the user selecpiushed the "button" for calculating fields. Whatever "event" you have tied that button too seems to be your culprit. Are you doing this calculation in Javascript off the button "onClick" even or passing it to a HCM P&F "user event" in the backend? If it is to a HCM P&F "user event", that's where I would make sure your fields are selected.
    From the sounds of it, it seems when you do NOT select a dropdown list value, your generic service is not handling this gracefully and an error occurs. That would cause ALL other services NOT to run. It's an odd thing the framework does and often very frustrating to hunt down, but whenever any service errors, it will not run others.....hence no fields coming back correctly....even if those other services have NOTHING to do with yours (weird, I know).
    Hope this helps.

  • Not getting cleared with internal working of JSF

    Hi All,
    I have started with basics of JSF and created some simple apps using netBeans.
    However I am not getting cleared with the exact internal working of JSF i.e. how the things are implemented in JSF libraries: jsf-api and jsf-impl.
    Please advice or share some links on this.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    While creating JSP custom tags, we start from scratch by first creating tag handler class then .tld file for that and finally deploying both these files.
    I am looking for a similar approach for making our own JSF component.
    I don't want to put jsf-impl API into lib directory. Is it possible to make a simple component using jstl standard libraries ?
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • HT4623 Just got an ipad air and the apps that are meant to be free ie pages iMovie are coming up with a price how to I get them free

    Just got an ipad air and the apps that are meant to be free ie pages iMovie are coming up with a price how to I get them free

    EvaCarton wrote:
    I have this problem too on my ipad 2.
    It's best to create a new post rather than tag onto an older post.
    How to get all the iWork apps, iPhoto, and iMovie for free on an eligible iPhone or iPad
    http://www.imore.com/how-get-all-iwork-apps-iphoto-and-imovie-free-eligible-ipho ne-or-ipad
    About Free Apple Apps for iOS 7 compatible devices
    http://support.apple.com/kb/HT5913
     Cheers, Tom

  • User entered values are lost on EO validation.

    Hi ,
    Subject : user entered values are lost on EO validation.
    WE have an EO which has 4 attributes all are not null (mandatory)
    There is a VO based on this EO
    We have added 4 more attributes using a join in EO query using expert mode.
    On the page there is a Table , that has 8 columns all mapped to these 8 attributes.
    The First column is an LOv that populates 4 column attributes(2 EO based and 2 added thru expert mode)
    When the user submits the page, without entering rest of the two EO mandatory atributes, the EO validation is raised and the 4 fields populated by LOv are cleared.
    Can you pls tell me what am i doing wrong.
    thanks
    Chaitanya

    Observation
    All the table columns that were loosing information were "MessageStyledText" and those not loosing were "MessageTextInput"
    Various approaches
    SO we converted the MessageStyledText columns into MessageTextInput and the data was retaining properly.
    But we wanted these columns are 'ReadOnly' so when we made these columns are MessageTextInput - ReadOnly, then data was not getting popluated by the lov in these.
    Working solution - The FormValue 'Glue'
    We created formValues correcponding columns and populated the FVs also along with the column (both FV and column have same ViewAtt and View instance) and found that in this case the formvalues 'Glues' the VO att value with the page and does not get lost on refresh.
    Strange solution but works, thought to share with all.
    thanks
    Chaitanya

  • Getting mandatory attribute validation error when the value is defaulted through customization

    Hi
    I am getting Mandatory attribute validation error when we default the value through customization.
    In the UI we have attribute called Last Name which is mandatory at EO level. Customer wanted to default Last name to some value, through page composer it is defaulted to some text and saved.
    When ever we open the page the the same value is defaulted as Last Name and appearing in the UI. But when we submit the page, EO level validation is failing. hence we are getting last name is missing.
    When i debug the code last name attribute value for EO is blank.
    In the UI the attribute last name is associated with bindings  --> #{bindings.lastname.inputvalue}
    The validation is failing if we remove the default binding associated with inputtext box.
    Can some body help what can be reason and is there any solution?
    Thanks,
    Praveen

    version 12.1.2
    I am struggling with same situation, I can't set the default value at business component because, the default value comes from a REST service at run time. In page A,  I have a field F1 that contains value from REST service. Page B has a database bound field F2, whose default value should come from F1 in Page A when a user navigates from Page A to Page B. If I set the value of F2 to be the value of F1, then it displays the value in the UI, but nothing gets submitted to EO and fails at commit.
    To make things difficult, here is my situation: Page A lives in bounded taskflow TF1, and Page B lives in bounded taskflow TF2. So I have created an input parameter P1 in TF 2, which carries over the value of F1 in Page A to Page B. When I am in Page B, I can successfully see the value of the taskflow input parameter P1. So, how do I  programmatically set the value of field F2 with the value of input parameter P1?
    I tried setting the F2.inputValue  in a method call M1 in  taskflow TF2 prior to Page B, but I get null pointer exception as it can't see field F2 yet.
    It seems like a simple thing to do, but I have spent a lot of time trying to make it work without any success.
    I would greatly appreciate any guidance.

  • Using Date Picker on form causes session values to be cleared on validation

    Got a really weird problem on a form (on a report). We have a basic form which has a date picker on. The form fires a number of bog standard validations when the Create button is clicked (values filled in, values are numbers etc).
    When a validation fails, the values inputted by the user are retained. So far so good. However, when the user selects a date, and a validation fails, all the session values are all cleared (not just the date picker) and they have to fill everything in again.
    At first we thought there must be a process resetting the page items - nothing. Also recreated the page from scratch and it still doesn't work. Strangely, the problem goes away if we change the date picker to a text field. Also, if the user doesn't select a date, the other session values are retained.
    Are we doing something daft here or is this a bug?

    Yes - we're using inbuilt validation to ensure it's a valid date. We tried turning this off and it makes no difference, the problem is still there.
    We tried changing the date picker to a text field and using the same validation (i.e. check it's a date) and this works fine. This is why we think it might be a bug.

  • No BED,Cess & HS Cess values are getting stored in export Sales after J1iin

    Hi,
    This is a problem which is CIN based (Country India) for Export Sales. We configured following thing –
    Excise Registration      -     1
    Excise Group     -     1 let’s say it is G1
    Series Group     -     2 let’s say they are S1 & S2
    (S1 – Domestic / Export Sale & S2 – 57 F4)
    Sub Transaction Type     -     2 let’s Say ES & IP
    (ES – Export Sale & IP - Import Purchase)
    Tax Procedure – TAXINN
    Maintained Proper “Defaults Condition Type”
    Also maintained all default “DLFC” and also additionally maintained “DLFC” with “ES - Sub Transaction Type” for Excise Accounts per Excise Transaction
    Maintained all required GL account per excise Transaction i.e
    G1 - DLFC - Co. Code -      -  All Required GL
    G1 - DLFC - Co. Code - ES -  All Required GL
    Maintained Default Excise Group & Series Group
    S. Org - Dis.Ch. - Div - Sh. Pt - Plant - G1 - S1 - Export Under letter of Undertaking - ES
    Pricing Procedure -     Export pricing consist containing “PR00”, BED, Cess & HS Cess (maintained in  both % & total). No account keys and statistical tick maintained except PR00 . So total 7 condition Types. Also proper condition record maintained.
    Now for my Domestic sales everything is working fine. Here Both excise tables i.e J_1iexchdr & J_1iexcdtl are getting updated after J1iin for BED, Cess & HS CESS.
    But in case of J1IIN of Export sale we are not able to store the values of ED, Cess & SHE Cess. Interesting thing is that these values are appearing initially while creating J1IIn through billing doc no. but as soon as we save it, only excise Invoice no is getting generated but no BED, CESS & HS Cess values are getting updated in tables.
    So can anyone is having any clue why this values are not getting stored. I want these values in Excise Invoice for ARE 1 processing.
    (We are using local number range for export invoice also)
    Early response needed. Thanks

    OK, no issues.
    I wanted to ask u wether u are posting these excise values..?
    and generally excise related condition types do not appear in Export pricing procedure as in export excise in not recoverable from the customer.
    Hence even if tehy appear, tehy should eb statistical in teh export pricing procedure.
    What you can do is,go to J1ID, Maintain excise indicator for customer.then Under the Excise rates, Choose Excise Tax rate.
    here you can maintain, Excise rate(BED %), ECS% and AT1%(higher Ed.Cess) for the chapter id in your material.
    similarly for all the chapter i'ds that you wish to make make an export for... (Remember to enter the Valid from and excise indicator)
    Now, do teh j1iin again,and choose teh utilzation tab,then click on teh pencil icon and choose "Export Under bond".
    If u fail to choose this option, systemw ill not allow you to carete an ARE1 for thsi excise invoice.
    Lemme know if this works.
    Regard;s
    Priyanka M.
    Reward points if helpful

  • Credit card Orders are getting blocked with credit check

    Hi All
    In our system, If customer's credit exposure is greater then 100 % then all the credit card orders are getting blocked with credit check even though it has valid authorization. Is this sap standard behaviour?....is there any setting that will always exclude credit card orders when it has valid authorization
    Thanks in advance for looking into this

    Hi,
    In OVA8- under document controlling- check the existing routinue 1 for orders etc., else modify as per your requirement
    Thanks
    Chidamabram

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • Part cost   kf values are getting aggregated ......... can any one help me?

    hello gurus....
    iam designing a infocube in which there is a keyfigure 'partcost'.when i execute a query on this infocube, the part cost values  for a particular part id are getting summed up. but the part cost ,whether for single or 100's of parts ,should be the same.
       i dont want these part cost values in the query to be aggregated.  what i should do now. declare this part cost as non cumulative kf or is there any solution for this ?
      i have gone thru the sap help site, but unable to find a solution for this?
       how to declare it as a non cumulative kf ?
      can any one suggest me a with some detailed steps what should be done for this? very urgent . my project deadline is with in 2 days. i will be really thankful to u..

    Hi Lokesh,
          Pls check your post in BI General. part cost  kf values are getting aggregated ......... can any one help me?
    Regards
    Hari
    Message was edited by: Hari Krishnan K

  • Fund center reports Assigned values are not matching with ledger balances.

    Thanks for your Support. We have activated funds management in May-2009. And deactivated one or two times. Now the status is active.
    Now we are taking reports the assigned values are not matching with gl ledger balances.
    1. We need to update records for April- May.
    2. Records in between deactivated and activate time.
    Please suggest updating fund centers and commitments.
    Regards

    hi ELI
    i have checked the follwoing secnarios
    1. funds management deactivated.
    2. one document posted  with amount10000
    3. funds management activated.
    4. we have executed FMN0
    here no document is selected after execution.
    Please suggest what are the activities we need to do if i am wrong...
    Regards

  • Youtube videos loads but after 2-4 sec the player area gets blank with ivory white colour... Help

    Youtube videos loads but after 2-4 sec the player area gets blank with ivory white colour..
    == This happened ==
    Every time Firefox opened

    Why are you using such an old version of Firefox. The older versions have known security issues. Consider upgrading to the current version. (Help > Check for Updates)
    <u>'''''Adobe Flash'''''</u>
    You are using a <u>'''very old'''</u> version of Flash Player. Updating Flash Player may solve your problem
    <u>'''Install/Update Adobe Flash Player for Firefox'''</u>: your ver. 10.0 r10; current ver. 10.1 r53 ('''important security update 2010-06-10''')
    See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. 1.6.0.13; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 and above; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.

  • HT4864 Emails to my mac account are bouncing back with an error message saying that my IP address is not a valid IPv4 address.  How do I correct?

    Emails to my mac account are bouncing back with an error message saying that my IP address is not a valid IPv4 address.  How do I correct?

    Has nobody answered your question? I have this problem as well. Only one sender, to my knowledge is bouncing. Want to know how to fix it. It's my mom, so either way - my end or her end, I have to fix it.  Does anyone have any answers?
    Thanks,
    Susan

Maybe you are looking for

  • How to manage 2 ipads in family (trying to update games on both)

    Hi all, a few questions please. I am trying to sort out the 2 ipads so its more easy to manage. I am trying to use one for work so trying to make sure that emails etc do not go to both but still allowing the kids to play on both when I am at home. 1)

  • ACR 5.7 not compatible with PSE 6 or 7

    Though the recently released ACR 5.7 works with PSE 8, it is not compatible with PSE 6 or 7.  A number of people (including me) have observed that if you try to open a raw file in 6 or 7 you get: Unable to use the Camera Raw plug-in. It is not compat

  • Changing Song Position in Playlist

    I created a Playlist with a Different Song Order but iTunes Alphabetized them after I moved about some screens. Thought they would stay in the order dragged in. What's the secret? In Copying to a USB for car audio I edited the track #'s as Part of th

  • What happens when your contract expires?

    I plan to keep my 3G and not bother upgrading to 3GS as my contract runs out in April so I would only have to wait 2 months for 4th gen. Though, I'm not sure what will happen during those two months as I've never been on contract before. Will they ch

  • Classpath entries in the "Remote Start"

    Hi, could anyone provide an example about setting claspath entries in the "Remote Start" label on Windows? Could this be something like this: %Env_Var1%;%Env_Var2%;C:\Program Files\Dir1\file1.jar;C:\Program Files\Dir2\file2.jar I'm getting classpath