[ 
http://issues.apache.org/jira/browse/MYFACES-615?page=comments#action_12330379 
] 

Mike Kienenberger commented on MYFACES-615:
-------------------------------------------

Ok.  Based on a comment by Martin, it occurred to me to try this in IE as well 
as Firefox.

I still have the same problems, but it made me realize that there's a 
javascript console where I can actually see the error generated :)

Using the latest revision (which appears to be 291322), I get the error below 
on page load.

======================================================================================
Error: syntax error
Source File: 
http://pavilion:8080/faces/pages/announcement/EditAnnouncements.xhtml
Line: 64, Column: 46
Source Code:
loadPopupScript();jscalendarSetImageDirectory("/faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/11275794/DB/");
------------------------------------------------------------------^
======================================================================================


Then, when I click on the calendar popup button, I get:


======================================================================================
Error: jscalendarCrossobj has no properties
Source File: 
http://pavilion:8080/faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/11275794/popcalendar.js
Line: 139
======================================================================================

Under Firefox, I see both errors.    Under IE, I only see the 
jscalendarCrossobj one.


> regression -- t:inputCalendar no longer has js popup in nightlies
> -----------------------------------------------------------------
>
>          Key: MYFACES-615
>          URL: http://issues.apache.org/jira/browse/MYFACES-615
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly Build
>     Reporter: Mike Kienenberger

>
> Same breaking code:
> <t:inputCalendar id="effectiveStartDateAnnouncement"
>     value="#{editAnnouncementsPage.selectedAnnouncement.effectiveStartDate}"
>     renderAsPopup="true" addResources="true"/>
> Sometime after 1_1_0 and the 9/18 nightly, the t:inputCalendar stopped 
> "popping up."
> I tested it with both the official 1_1_0 and a manually ant-command-line 
> built one to insure that it's not a build problem with the SVN checkout 
> (using the myfaces-api, myfaces-impl, tomahawk jars), and both worked.
> The nightly 
> Checking out revisions 289189 and 289858 both show the problem, as did 289188 
> (but I'm not sure if 289188 is far enough back to get in front of the 
> MYFACES-569 patch).
> There were a few changes that I noticed:
>  MYFACES-569 <-- I suspect this one currently
>  MYFACES-445
>  Martin's revamp
> I'm out of time for now, but if no one else figures out what's wrong, I'll 
> try more revisions next week to narrow down the problem introduction time.   
> I'm unlikely to be able to fix it as I have no javascript programming 
> background (yet).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to