Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Icefaces 4 from trunk
Description
Date control with timepicker support only one click date selection, next click gives an error:
TypeError: inst is undefined
http://localhost:8380/test/javax.faces.resource/util/ace-jquery-ui.uncompressed.js.iface?ln=icefaces.ace
Line 8613
Please revert change 42882.
Test case. Create input with popup
{noformat}
<ace:dateTimeEntry renderAsPopup="true"
value="#{}" id="dataUruchomienia" popupIconOnly="true" showOn="button" disableHoverStyling="true" >
<ace:ajax event="dateSelect" render="@all" execute="@all" />
</ace:dateTimeEntry>
{noformat}
TypeError: inst is undefined
http://localhost:8380/test/javax.faces.resource/util/ace-jquery-ui.uncompressed.js.iface?ln=icefaces.ace
Line 8613
Please revert change 42882.
Test case. Create input with popup
{noformat}
<ace:dateTimeEntry renderAsPopup="true"
value="#{}" id="dataUruchomienia" popupIconOnly="true" showOn="button" disableHoverStyling="true" >
<ace:ajax event="dateSelect" render="@all" execute="@all" />
</ace:dateTimeEntry>
{noformat}
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Unfortunately revert of 42882 doesn't help if
showOn="button" is set.
Rule:
var inst = this._getInst(target[0]);
is null after second selection of date because first post and response is invalid.
BTW.
We use Myfaces 2.2.7 with generic org.icefaces.subtreeDiff=false