Hi Martin,

I'm not sure if this is exactly the problem you are running into but
one thought might be to wrap the input component that you want to PPR
inside of a panelLabelAndMessage (and setting simple="true" on the
input component).  This way the input becomes stand-alone and PPR-able
whereas without this change, you'd have to PPR the panelFormLayout.

Regards,
Matt

On Fri, May 2, 2008 at 1:13 AM, Martin Piekorz <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi all,
>
> I want to get a validFrom and validTo date. I want to limit the validTo date
> with help of PPR and the validateDateTimeRange tag like shown below.
>
> This works fine when it is not inside a panelFormLayout!
>
> If I put it inside a panelFromLayout  it don't work. I get also this
> warning:
>
> No PPR-capable 'id' found for elements of
> CoreInputText[UIXEditableFacesBeanImpl, id=validFromLabel]. This component
> has not written-out an 'id' attribute.
>
>
>
> <tr:form>
>
> …
>
> <tr:panelFormLayout rows="8">
>
> <tr:inputDate id="validFromInput" label="validFrom" autoSubmit="true"
> value="#{person.validFrom}" required="true">
>
>                                                <tr:convertDateTime
> pattern="yyyy-MM-dd HH:mm:ss.S"/>
>
>             </tr:inputDate>
>
>             <tr:inputDate id="validToInput" partialTriggers="validFromInput"
> label="ValidTo" value="#{person.validTo}">
>
>                                                <tr:validateDateTimeRange
> minimum="#{person.validFrom}"/>
>
> </tr:inputDate>
>
> …
>
> </tr:from>
>
>
>
> What is the problem here? Could I layout this by an other way?
>
>
>
> Thank you a lot of.
>
> Kind regards
>
> Martin

Reply via email to