jsf - Why can't I use two date picker components on a dialog? -
jsf - Why can't I use two date picker components on a dialog? -
here illustration xpage:
i trying set multiple date pickers on dialog box extension library, error...
problem submitting area of page when open dialog... tried register widget id==_container id registered
i'm not sure why can't done, had luck it.
thanks
<xp:button id="button1" value="show dialog"> <xp:eventhandler event="onclick" submit="true" refreshmode="complete"> <xp:this.action><![cdata[#{javascript:getcomponent("dialog1").show();}]]></xp:this.action> </xp:eventhandler></xp:button> <xp:button id="button2" value="hide dialog"> <xp:eventhandler event="onclick" submit="true" refreshmode="complete"> <xp:this.action><![cdata[#{javascript:getcomponent("dialog1").hide();}]]></xp:this.action> </xp:eventhandler></xp:button> <xe:dialog id="dialog1"> <xp:inputtext value="#{doc1.field1}"> <xp:this.converter> <xp:convertdatetime type="date"></xp:convertdatetime> </xp:this.converter> <xp:datetimehelper></xp:datetimehelper> </xp:inputtext> <xp:inputtext value="#{doc1.field2}"> <xp:this.converter> <xp:convertdatetime type="date"></xp:convertdatetime> </xp:this.converter> <xp:datetimehelper></xp:datetimehelper> </xp:inputtext> </xe:dialog>
neither of xp:inputtext controls have id attribute.
if add together attribute controls both of date pickers work fine both within , outside dialog control.
if move 2 date pickers outside of dialog box notice first date picker dojo dropdown picker control
jsf dojo xpages
Comments
Post a Comment