voyent
ice:selectInputDate submits the page  XML
Forum Index -> General Help
Author Message
venu_dvmr

Joined: 30/Sep/2008 00:00:00
Messages: 58
Offline


I am using ice:panelTabSet and each tab content is a jsp include (I cannot use facelets as our server is not supproting). In one of the include files I have a ice:selectInputDate. Selecting the date submits the page and shows the first tab data on the page. Am I doing some thing wrong?

How can I disable Partial Submit for selectInputDate when clicking on the calender icon? I have set partialSubmit = false for form and also for panalTabSet.



throwcode

Joined: 17/Nov/2008 00:00:00
Messages: 33
Offline


Hi Venu, I'm sorry I don't have an answer to your question, just adding some concern of my own. I have two selectInputDate components on a form with several other ice components (selectBooleanCheckbox and selectOneMenu). The selectInputDate components are setup as follows:

<ice:selectInputDate
id="jidToDate"
popupDateFormat="MMM dd, yyyy"
renderAsPopup="true"
partialSubmit="false"
onkeypress=""
value="#{ClientBean.toDate}">
<f:convertDateTime
type="date"
timeZone="America/New_York"/>
</ice:selectInputDate>

Each time either of the selectInputDate components is set to a date it submits the form. This includes all of the components on the form - none of which are set to partialsubmit including the selectInputDate as shown above. Like I believe you, I wish to submit the entire form when a command button is clicked. And this works i.e., when the command button is clicked the entire form is submitted (the entire form). I could live with that, it does what we need but I don't like or understand the behavior of the selectDateInput.

Changing any of the other components on the form does not cause a submit to fire. Looking at the page source I see the following for one of the selectInputDate components:

onkeypress="iceSubmit(form,this,event)"

I thought I might be able to override this with a tag attribute but no joy.

Were you able to resolve your issue and if so did the solution suggest an answer to by behavior concern?

Thanks much,
TC

venu_dvmr

Joined: 30/Sep/2008 00:00:00
Messages: 58
Offline


Unfortunately for ice:selectInputDate we cannot disable partial submit. For this very reason we have to use DHTML calendar 1.0 as we do not need advance calendar features.

RajK

Joined: 29/May/2009 00:00:00
Messages: 8
Offline


did anyone get a solution for partialSubmit="false" not working?

I am using version 1.7
mukeshsharma86

Joined: 04/Jan/2012 06:26:02
Messages: 4
Offline


Sorry to wake zombie, but is it solved now? I'm using Icefaces 2.0.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team