jquery ui - <p:calendar> popup not working with latest versions -
I am using Prime Faces in my project. When I include Prime Phase version 3.0.M3, I can see the calendar icon and use the calendar very well. Expanded code resembles the following.
& lt; Span id = "rateOfReturn: userEffDate3" & gt; & Lt; "NameOfReturn: userEffDate3_input" class = JQuery16207981493528219892 = "8" value = "01/01/2012" /> & Lt; Button class = "ui-datepicker-trigger" type = "button" jQuery16207981493528219892 = "7" & gt; & Lt; Img width = "16" height = "16" title = "..." alt = "..." src = "/ nqparticipant / javax.faces.resource / calendar / calendar_icon.png.faces? Ln = primfaces & amp; ;; Amp; v = 3.0.M3 "full =" full "/> & Lt; Script type = "text / javascript" & gt; JQuery (function () {widget_rateOfReturn_userEffDate3 = newprimefash.witch.Calendar ('RateofRighton: UserAdfdet3', {popup: true, locale: 'en_US', default date: '01 / 01/2012 ', pattern:' mm / dd /yy'minmin'ate:'07/03/2010 ', showOn:'button',buttonImage:'MyProj/javax.faces.resource/calendar/calendar_icon.png.faces?ln = primefaces & amp; amp; v = 3.0 .m3 ', buttonImageOnly: false});}); & Lt; / Script & gt; But when I include the latest version of PrimeFaces such as 3.2 or 3.3, I'm looking at the calendar as an extended code such as the below is showing . Buttons and scripts are unavailable here I do not even get any JS error
& lt; Input name = "rate ofrifturn: userEffDate3_input" class = "ui-inputfield ui-widget ui-state-default ui-corner-allDatepicker" id = "rate overrun: userfind 3_input" type = "text" size = "10" MaxLand = "10" value = "01/01/2012" /> Anyone can help understand this issue.
The following is the original calendar code I used on the JSF page.
& lt; P: calendar id = "userEffDate2" value = "# {rateOfReturnTemplate.endDateSingleAccount}" showOn = "button" size = "10" maximum length = "10" /> thanks :)
Arpit
Comments
Post a Comment