myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j haley <jhale...@hotmail.com>
Subject RE: Tomahawk - t:schedule and t:inputCalendar cause js script error
Date Mon, 24 Nov 2008 16:05:13 GMT

Below is schedule1.jsp from the sample project.  I've bolded the attributes that I've changed
that cause the problem.
 
 <h:form>  <!--  The schedule itself -->  <t:div style="position: absolute;
left: 220px; top: 5px; right: 5px;">   <t:schedule value="#{scheduleHandler1.model}"
id="schedule1"    rendered="true" visibleEndHour="18" visibleStartHour="8"    workingEndHour="17"
workingStartHour="9" readonly="false"    theme="evolution" tooltip="true"/>  </t:div>
 <!--  The column on the left, containing the calendar and other controls -->  <t:div
style="position: absolute; left: 5px; top: 5px; width: 210px; overflow: auto">   <h:panelGrid
columns="1">    <t:inputCalendar id="scheduleNavigator" renderAsPopup="true"     value="#{scheduleHandler1.model.selectedDate}"
/>    <h:commandButton     actionListener="#{scheduleHandler1.addSampleEntries}"   
 value="add sample entries" />    <h:commandButton     actionListener="#{scheduleHandler1.addSampleHoliday}"
    value="add sample holiday" />   </h:panelGrid>    <%@include file="/inc/page_footer.jsp"
%>    <jsp:include page="inc/mbean_source.jsp"/>  </t:div> </h:form>
 


Date: Mon, 24 Nov 2008 17:51:47 +0200From: hazems@apache.orgTo: users@myfaces.apache.orgSubject:
Re: Tomahawk - t:schedule and t:inputCalendar cause js script error
Send to me your code sample.I tried this scenario typically with Tomahawk 1.1.7 and it works
fine.
On Mon, Nov 24, 2008 at 4:32 PM, j haley <jhaley08@hotmail.com> wrote:

Having a problem that I can recreate on the with the tomahawk sample project.  I was getting
this with version 1.1.6, and I also get it with 1.1.8. On myfaces-example-simple-1.1.8/schedule1.jsf,
make the following change.Add renderAsPopup="true" to the t:inputCalendar. The page renders
fine, but when I mouse over the page I get a javascript error.  This error prevents t:schedule's
tooltip from working.  The combination that causes problems is t:inputCalendar or t:inputDate
with a renderAsPopup="true" attribute along with a t:schedule with a tooltip="true" attribute.
Bug numbers TOMAHAWK-929 and TOMAHAWK-193 look like they may be related to this issues. Is
there a work around for this?


Color coding for safety: Windows Live Hotmail alerts you to suspicious email. Sign up today.--
Hazem Ahmed Saleh AhmedAuthor of (The Definitive Guide to Apache MyFaces and Facelets):http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/1590597370Web
blog: http://www.jroller.com/page/HazemBlog[Web 2.0] Google Maps Integration with JSF:http://code.google.com/p/gmaps4jsf/http://www.theserverside.com/news/thread.tss?thread_id=51250
_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
Mime
View raw message