[JBoss JIRA] Created: (RF-2074) rich:toolTip produces Javascript error
by Juergen Zimmermann (JIRA)
rich:toolTip produces Javascript error
--------------------------------------
Key: RF-2074
URL: http://jira.jboss.com/jira/browse/RF-2074
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: JBossAS 4.2.2, JSF RI 1.2_07, Facelets 1.1.14, RichFaces 3.1.4CR3, Eclipse 3.3.1.1, WTP 2.0.1, JBossTools nightly 20080107, JDK 6u4, WinXP SP2
Reporter: Juergen Zimmermann
I get a Javascript error window with the message:
Line: 29
Error: 'Tooltip' is undefined
Surprisingly this error happens with WTP's web browser, but not with IE 7.
Hmm, in the past I already reported a similiar issue regarding Javascript and rich:tooltip
for WTP's webbrowser which was gone with RF 3.1.3.
Before the error pops up I had a JSF page with a rich:dataTable containing
<a4j:support event="onRowDblClick" action="..."/>.
When double-clicking the error window above pops up.
Here is the fragement of the generated HTML/Javascript code:
24: <h:scripts>
25: new org.ajax4jsf.framework.resource.PrototypeScript(),
26: new org.ajax4jsf.framework.ajax.AjaxScript(),
27: /org/richfaces/renderkit/html/scripts/utils.js,
28: /org/richfaces/renderkit/html/scripts/tooltip.js
29: </h:scripts--><span class="dr-rich-tool-tip rich-tool-tip " id="j_id8:j_id20" style="position: absolute; display : none;z-index:99; "><span id="j_id8:j_id20content">Sprache auf englisch umstellen</span><span id="j_id8:j_id20script" style="display:none"><script type="text/javascript" id ="scriptj_id8:j_id20">
30: new ToolTip({'hideDelay':0,'onhide':'','oncomplete':'','delay':0,'onshow':'','event':'mouseover'} ,"j_id8:j_id20","j_id8:j_id19","client",false,"bottom-right",false,10,10,"A4J.AJAX.Submit('_viewRoot','j_id8',event,ajaxOptions)",{'control':this,'oncomplete':function(request,event,data){;{var _toolTip = $('j_id8:j_id20').component;_toolTip.toolTipContent = $('j_id8:j_id20content');_toolTip.displayDiv();}},'parameters':{'j_id8:j_id20':'j_id8:j_id20'} ,'onbeforedomupdate':function(request,event,data){;{ var _toolTip = $('j_id8:j_id20').component;_toolTip.toolTip.style.display = 'none'; }},'actionUrl':'/hska/faces/kundenverwaltung/tabPanelDetails.xhtml?javax.portlet.faces.DirectLink=true'} );;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (RF-2600) Calendar: date/value of backing bean is not updated correctly
by Bjrn Stahmer (JIRA)
Calendar: date/value of backing bean is not updated correctly
-------------------------------------------------------------
Key: RF-2600
URL: http://jira.jboss.com/jira/browse/RF-2600
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Seam 2.0.1 GA, JBoss AS 4.2.1 GA, Richfaces 3.2.0 nightly build from 16.03.2008, Facelets
Reporter: Bjrn Stahmer
Priority: Critical
Fix For: 3.2.0
The following view does not work correctly under 3.2.0, but it does unter 3.1.4. Selecting a date does not set the clicked date on the backing bean, but the one you selected before. If you make a full page reload before the date selection it works.
<h:form>
<a4j:outputPanel>
<rich:calendar id="calendar" value="#{smallCalendarBean.selectedDate}"
dataModel="#{smallCalenderDataModel}" mode="ajax"
popup="#{smallCalendarBean.popup}" ajaxSingle="true"
datePattern="#{smallCalendarBean.pattern}">
<a4j:support event="ondateselected" reRender="schedule"/>
</rich:calendar>
</a4j:outputPanel>
</h:form>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months