You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by "fabrizio.boco@tin.it" <fa...@tin.it> on 2007/02/13 14:18:55 UTC
issue
Hi,
I have xhtml page that contains:
<tr:inputDate id="
dataRisoluzione" value="#{bug.dataRisoluzione}" required="false"
rendered="#{bugOperation!='DISPLAY' and bugOperation!='DELETE'}">
<f:
convertDateTime type="date" pattern="#{msgs.Application_DateFormat}" />
</tr:inputDate>
When I select the icon near the fieald a calendar
popup appears but I have the following javascript error:
_fixDialogTitle is not defined
http://localhost:8080/anomalie/__ADFv__.
seam?_t=fred&_red=cd&value=1165190400000&loc=it-IT&enc=iso-8859-15
Line
1
I have looked at the html from the browser: the function is not
defined and no js files are imported.
Few snapshots ago (2 ?) this
issue was not present.
Is something changed in the way of using
inputDate ? Is that a bug ?
Please help !
Thank you
Re: issue
Posted by Fabrizio Boco <fa...@tin.it>.
Hi,
I am still investigating on this issue.
I have compared the calendar popup from the demo application with the calendar
popup from my application.
They are almost the same, but mine has not the following line
<script>src="/trinidad-demo-incubator-m1-SNAPSHOT/adf/jsLibs/Common11-m7.js"></script>
Probably I have to configure something ?
Can anyone give me any suggestion ?
Thank you in advance
Fabrizio
--------- Pop Up from demo application ---------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!--Start: org.apache.myfaces.trinidad.Html-->
<html dir="ltr" lang="en">
</head>
<script>var _AdfWindowOpenError='A popup window blocker has been detected in
your browser. Popup blockers interfere with the operation of this
application. Please disable your popup blocker or allow popups from this
site.';</script>
<script
src="/trinidad-demo-incubator-m1-SNAPSHOT/adf/jsLibs/Common11-m7.js"></script>
<!--Start: org.apache.myfaces.trinidad.Script-->
<script language="javascript">document.onkeydown=_noReload;var
_blockReload=1;function _fixDialogTitle()
{window.document.title=window.frames[0].document.title};</script>
<!--Start: org.apache.myfaces.trinidad.Output-->
<!--Start: org.apache.myfaces.trinidad.FrameBorderLayout-->
<frameset title="Content" rows="100%,*" onload="_fixDialogTitle();
_sizeWin(window.frames[0],0,30)" onunload="_checkUnload(event)">
<!--Start: org.apache.myfaces.trinidad.Frame-->
<frame title="Content" frameborder="0" noresize
src="/trinidad-demo-incubator-m1-SNAPSHOT/faces/__ADFv__?_t=cd&enc=utf-8&loc=en&value=1171584000000"
longdesc="#">
<noframes>
<!--Start: org.apache.myfaces.trinidad.Output-->
Your browser does not support frames. Frames support is required for this
functionality
</noframes>
</frameset>
</html>
-------------------------------------------------------
--------- Pop Up from MY application -----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!--Start: org.apache.myfaces.trinidad.Html-->
<html dir="ltr" lang="it-IT">
</head>
<!--Start: org.apache.myfaces.trinidad.Script-->
<script language="javascript"></script> <--------------- missing code
<!--Start: org.apache.myfaces.trinidad.Output-->
<!--Start: org.apache.myfaces.trinidad.FrameBorderLayout-->
<frameset title="Contenuto" rows="100%,*" onload="_fixDialogTitle();
_sizeWin(window.frames[0],0,30)" onunload="_checkUnload(event)">
<!--Start: org.apache.myfaces.trinidad.Frame-->
<frame title="Contenuto" frameborder="0" noresize
src="/anomalie/__ADFv__.seam?_t=cd&enc=iso-8859-15&loc=it-IT&value=1165276800000"
longdesc="#">
<noframes>
<!--Start: org.apache.myfaces.trinidad.Output-->
Questa funzione richiede il supporto dei frame, ma il browser in uso non li
supporta.
</noframes>
</frameset>
</html>
------------------------------------------------------
On Tuesday 13 February 2007 15:18, fabrizio.boco@tin.it wrote:
> Hi,
>
> I have xhtml page that contains:
>
> <tr:inputDate id="
> dataRisoluzione" value="#{bug.dataRisoluzione}" required="false"
> rendered="#{bugOperation!='DISPLAY' and bugOperation!='DELETE'}">
> <f:
> convertDateTime type="date" pattern="#{msgs.Application_DateFormat}" />
> </tr:inputDate>
>
> When I select the icon near the fieald a calendar
> popup appears but I have the following javascript error:
>
> _fixDialogTitle is not defined
> http://localhost:8080/anomalie/__ADFv__.
> seam?_t=fred&_red=cd&value=1165190400000&loc=it-IT&enc=iso-8859-15
> Line
> 1
>
> I have looked at the html from the browser: the function is not
> defined and no js files are imported.
>
> Few snapshots ago (2 ?) this
> issue was not present.
>
> Is something changed in the way of using
> inputDate ? Is that a bug ?
>
> Please help !
>
> Thank you