Re: Unable to submit/autosubmit/partialTrigger form after date validation error
If you are using Trinidad, you can set the immediate="true" attribute On the reset commandButton Richard Sent from my iPhone On Oct 7, 2009, at 10:12 PM, Glen wrote:
Re: Unable to submit/autosubmit/partialTrigger form after date validation error
Yes.. Exactly the same. 1. But the either commandLink for reset or View Details doesn't have the attribute immediate set. But is it necessary to set it to either true or false? What is the default value of this attribute? Also please let me know the use of the same. 2. We are using validation by the tag , which would be set into pageFlowScope in backing bean. 3. Yes, has autoSubmit option = true, but not 4. Change of or submits the form, to populate Department element. Thank you. Anton Gavazuk wrote: > > Hi Glen, > > so form looks like > > > > > > > > 1) does commandLinkForReset has attribute immediate? > 2) How did you implement validation logic - did you apply Validator to > > 3) and have > autoSubmit option = true, do they? > 4) change of or doesnt > submit the form, does it? > > > 2009/10/8 Glen > >> >> I have a filter in one of my jspx page. The filter contains two date >> fields >> From Date and To Date; a Department component (selectonechoice) that >> holds >> all the departments and an Employee component (selectmanychoice) that >> gets >> populated with employees. Upon clicking of a View Details link >> (commandlink) >> I can view the employee details in a Summary table which is there in the >> same page along with the filters. A Reset command link is also there for >> resetting the old state to the components. >> >> The date components have validation as such From Date should not be >> greater >> than To Date and To Date should not be less than From Date. As the date >> fields are editable I would type a date in From Date as such the date is >> greater than To Date. >> >> As soon as I focus out from the From Date field a date validation error >> occurs and from then on wards >> >> 1. No actions can be performed. >> 2. Even the Employee multiselect would also not gets populated when I >> select >> one department from the Department component. >> 3. At least the reset commandlink when has been clicked should work to >> reset >> the previous state (values of the previous components would be set to >> previous values from backing bean) in the form. >> >> All the above mentioned will be the same until the date validation is >> cleared. Would there be any work around for this so that the form would >> be >> Reset successfully. >> >> Thank you >> >> >> >> Anton Gavazuk wrote: >> > >> > Hi Glen, >> > >> > could you explain precisely what doesn't work? >> > which events trigger the PPR? >> > >> > 2009/10/7 Glen >> > >> >> >> >> I have a page with two date components (Date range - From date & To >> date) >> >> in >> >> a form and few multiselect components those will be populated with >> data >> >> upon >> >> partial triggers of other components. But once when I get a date >> >> validation >> >> error (From Date is greater than To Date OR To Date is less than From >> >> Date) >> >> no other actions/partial triggers would work in the form. Please help >> us >> >> how to resolve this. >> >> >> >> Thank you. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25781728.html >> >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25798462.html >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25801981.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Unable to submit/autosubmit/partialTrigger form after date validation error
Hi Glen, so form looks like 1) does commandLinkForReset has attribute immediate? 2) How did you implement validation logic - did you apply Validator to 3) and have autoSubmit option = true, do they? 4) change of or doesnt submit the form, does it? 2009/10/8 Glen > > I have a filter in one of my jspx page. The filter contains two date > fields > From Date and To Date; a Department component (selectonechoice) that holds > all the departments and an Employee component (selectmanychoice) that gets > populated with employees. Upon clicking of a View Details link > (commandlink) > I can view the employee details in a Summary table which is there in the > same page along with the filters. A Reset command link is also there for > resetting the old state to the components. > > The date components have validation as such From Date should not be greater > than To Date and To Date should not be less than From Date. As the date > fields are editable I would type a date in From Date as such the date is > greater than To Date. > > As soon as I focus out from the From Date field a date validation error > occurs and from then on wards > > 1. No actions can be performed. > 2. Even the Employee multiselect would also not gets populated when I > select > one department from the Department component. > 3. At least the reset commandlink when has been clicked should work to > reset > the previous state (values of the previous components would be set to > previous values from backing bean) in the form. > > All the above mentioned will be the same until the date validation is > cleared. Would there be any work around for this so that the form would be > Reset successfully. > > Thank you > > > > Anton Gavazuk wrote: > > > > Hi Glen, > > > > could you explain precisely what doesn't work? > > which events trigger the PPR? > > > > 2009/10/7 Glen > > > >> > >> I have a page with two date components (Date range - From date & To > date) > >> in > >> a form and few multiselect components those will be populated with data > >> upon > >> partial triggers of other components. But once when I get a date > >> validation > >> error (From Date is greater than To Date OR To Date is less than From > >> Date) > >> no other actions/partial triggers would work in the form. Please help > us > >> how to resolve this. > >> > >> Thank you. > >> -- > >> View this message in context: > >> > http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25781728.html > >> Sent from the MyFaces - Users mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25798462.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >
Re: Unable to submit/autosubmit/partialTrigger form after date validation error
I have a filter in one of my jspx page. The filter contains two date fields >From Date and To Date; a Department component (selectonechoice) that holds all the departments and an Employee component (selectmanychoice) that gets populated with employees. Upon clicking of a View Details link (commandlink) I can view the employee details in a Summary table which is there in the same page along with the filters. A Reset command link is also there for resetting the old state to the components. The date components have validation as such From Date should not be greater than To Date and To Date should not be less than From Date. As the date fields are editable I would type a date in From Date as such the date is greater than To Date. As soon as I focus out from the From Date field a date validation error occurs and from then on wards 1. No actions can be performed. 2. Even the Employee multiselect would also not gets populated when I select one department from the Department component. 3. At least the reset commandlink when has been clicked should work to reset the previous state (values of the previous components would be set to previous values from backing bean) in the form. All the above mentioned will be the same until the date validation is cleared. Would there be any work around for this so that the form would be Reset successfully. Thank you Anton Gavazuk wrote: > > Hi Glen, > > could you explain precisely what doesn't work? > which events trigger the PPR? > > 2009/10/7 Glen > >> >> I have a page with two date components (Date range - From date & To date) >> in >> a form and few multiselect components those will be populated with data >> upon >> partial triggers of other components. But once when I get a date >> validation >> error (From Date is greater than To Date OR To Date is less than From >> Date) >> no other actions/partial triggers would work in the form. Please help us >> how to resolve this. >> >> Thank you. >> -- >> View this message in context: >> http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25781728.html >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25798462.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Unable to submit/autosubmit/partialTrigger form after date validation error
Hi Glen, could you explain precisely what doesn't work? which events trigger the PPR? 2009/10/7 Glen > > I have a page with two date components (Date range - From date & To date) > in > a form and few multiselect components those will be populated with data > upon > partial triggers of other components. But once when I get a date > validation > error (From Date is greater than To Date OR To Date is less than From Date) > no other actions/partial triggers would work in the form. Please help us > how to resolve this. > > Thank you. > -- > View this message in context: > http://www.nabble.com/Unable-to-submit-autosubmit-partialTrigger-form-after-date-validation-error-tp25781728p25781728.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >