By the way.. the value description you found in the tlddoc is inherited from up in the component hierarchi, so all components share that description for the value attribute in their tlddoc.
regards, Martin 2005/5/19, Martin Marinschek <[EMAIL PROTECTED]>: > Hi Aaron, > > that is the same with all components in JSF - they read out the value > the first time they render itself and subsequently use the submitted > value which is posted back from the component. > > If you want to make sure that the value is newly read by the > component, you might want to reset the submitted value. > > regards, > > Martin > > 2005/5/18, Aaron Bartell <[EMAIL PROTECTED]>: > > I have looked into this some more and am trying to figure out what > > determines when a object that extends HtmlInputText will have the > > getter property called for each round trip to the server. Is there a > > setting some where that makes it so <x:inputDate> (a.k.a. > > HtmlInputCalendar) doesn't have it's getter property called for > > subsequent round trips after the initial page load? > > > > I started looking at the MyFaces code base, but couldn't find where > > that would be specified. From what I can tell here is the inheritance > > structure: > > > > javax.faces.component.UIOutput > > javax.faces.component.UIInput > > javax.faces.component.html.HtmlInputText > > org.apache.myfaces.custom.calendar.HtmlInputCalendar > > > > I do not have an intimate knowledge of JSF innerds yet so if somebody > > could help me out I would be much appreciative. Basically I am just > > looking for a way to update a <h:inputCalendar> field after the > > initial page load. I have tried using the binding attribute thinking > > I might have some additional control from that avenue, but it still > > only calls the getter property on the initial page load and not > > subsequent page loads. > > > > Thanks in advance, > > Aaron Bartell > > http://mowyourlawn.com > > > > > > On 5/9/05, Aaron Bartell <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > After reading the documentation for inputDate > > > (http://myfaces.apache.org/tlddoc/) I found that the > > > 'value' attribute is only used for the initial value when the component is > > > rendered for the first time. Why is this so? I have a need to change the > > > date programmatically based on another field changing on the screen > > > (coupled > > > with a post back to server) but the way this component is set to work > > > makes > > > it so it can't be set to a different value. > > > > > > > > > > > > Any comments? > > > > > > > > > > > > Thanks, > > > > > > Aaron Bartell > > > > > > > > > > > > > > >

