incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: Re: chooseDate in facelets gives PPR error
Date Tue, 05 Dec 2006 18:49:38 GMT
What version of Facelets are you using?  This should work fine
in Facelets 1.1, but break in Facelets 1.0.

-- Adam


On 12/5/06, Danny Robinson <dannyjrobinson@gmail.com> wrote:
> I've fixed this issue (which only manifests itself in Facelets).  it seems
> that PPR breaks (at least in dateChooser) if you use the following
>
>                 <f:facet name="metaContainer">
>                     <f:verbatim>
>                         <script language="text/javascript"
>
> src="/TrinidadPopupSandbox/adf/jsLibs/trPanelPopup.js"></script>
>                     </f:verbatim>
>                 </f:facet>
>
> which results in the following rendered output (note the single element
> rather than a closing </script>)
>
> <script language="JavaScript"
> src="/TrinidadPopupSandbox/adf/jsLibs/trPanelPopup.js"/>
>
> However, the following
>
>                 <f:facet name="metaContainer">
>                     <h:outputText escape="false"><script
> type="text/javascript"
> src="/TrinidadPopupSandbox/adf/jsLibs/trPanelPopup.js"></script></h:outputText>
>                 </f:facet>
>
> results in the correct output of
>
> <script type="text/javascript"
> src="/TrinidadPopupSandbox/adf/jsLibs/trPanelPopup.js"></script>
>
> Thanks,
>
> Danny
>
> On 11/27/06, Danny Robinson <dannyjrobinson@gmail.com> wrote:
> >
> > Has anyone had any success using the chooseDate component through
> > facelets?  In both IE & Firefox I get problems when it performs any ppr
> > actions (e.g. click 'next month').  Using the exact same components
> > through a regular JSF page works just fine.
> >
> > Here's my tags:
> >                         <tr:inputDate chooseId="picker" label="Label 1" />
> >                             <tr:chooseDate id="picker"></tr:chooseDate>
> >
> > and here's the line that Firefox identifies as problematic (error - 'a2
> > has no properties')
> >
> > function _firePartialChange(a0)
> > {
> > ...
> > a2.contentDocument.location.replace(a1);
> > ...
> > }
> >
> > Thanks,
> >
> > Danny
> > --
> > Chordiant Software Inc.
> > www.chordiant.com
>
>
>
>
> --
> Chordiant Software Inc.
> www.chordiant.com
>
>

Mime
View raw message