Hi Martin,
Is trinidad working for you in websphere6.1?
Krishna

________________________________

From: Martin Piekorz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 29, 2008 11:02 AM
To: [email protected]
Subject: [TRINIDAD] PPR for inputDate works after change the date twice.



Hi all,

 

I want to implement some inputs for a person. I have therefore a detail
jsp which gets the selected person from the main jsp or create a new
person.

I want to set some validFrom validTo Dates. I want to avoid that
validFrom will be bigger than validTo Date. So I thought 

I set the minValue in the validTo from the binding in the validFrom date
with help of partial triggers.

 

If I create some new person the implementation below works fine. After
selecting the validFrom, the minValue in validTo works.

 

But if I want to change the date in a existing person, I have to change
the value in validFrom twice (and the second must differ from the first
was set) until the date PPR works and the 

minValue is set. I do not get any errors. 

 

 

<tr:inputDate value="#{person.validFrom}"

                        label="#{text['personManagement.validFrom']}"
autoSubmit="true" id="validFrom"/>

                  

<tr:inputDate chooseId="cd1" value="#{person.validTo}"/>

<tr:chooseDate id="cd1" partialTriggers="validFrom"
minValue="#{person.validFrom}"/>

 

 

<!-Just for output-- >       

<tr:inputText id="TestDate" label="test" partialTriggers="validFrom"
value="#{person.validFrom}"/>

</tr:inputText>

 

 

What could be the problem?

 

Thank you a lot of.

 

Kind regards

Martin

 

 

 

 

 

 

 

Reply via email to