[JBoss JIRA] Created: (RF-3510) toolTip: JS API doesn't work for toolTip, which doesn't contain parent component.
by Mikhail Vitenkov (JIRA)
toolTip: JS API doesn't work for toolTip, which doesn't contain parent component.
---------------------------------------------------------------------------------
Key: RF-3510
URL: http://jira.jboss.com/jira/browse/RF-3510
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE, FF, Safari, Opera(3.2.1.CR5)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Add rich:toolTip on the page:
<rich:toolTip id="tooltipIDTest" value="#{tooltip.value}" mode="#{tooltip.mode}" styleClass="#{style.styleClass}" style="#{style.style}"
hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
direction="#{tooltip.direction}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
event="#{tooltip.event}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onhide="#{event.onhide}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onshow="#{event.onshow}">
<h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
</rich:toolTip>
Step 2. Add "show" JS API functionality:
<a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipIDTest').component.show(event)" value="show"></a4j:commandLink>
Step 3. Click on "show" ajax link.
Actual behavior:
toolTip doesn't appear.
--
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
15 years, 11 months
[JBoss JIRA] Created: (RF-2835) Calendar control sets the time in the backing bean value only if you select first the time and after that the date and not if otherwise.
by Mario Balaban (JIRA)
Calendar control sets the time in the backing bean value only if you select first the time and after that the date and not if otherwise.
-----------------------------------------------------------------------------------------------------------------------------------------
Key: RF-2835
URL: http://jira.jboss.com/jira/browse/RF-2835
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Jboss 4.2.2GA
Reporter: Mario Balaban
<rich:calendar id="scheduleCalendar"
value="#{definitionManager.scheduledDate}" popup="false"
datePattern="d/M/yy HH:mm" showApplyButton="true" >
<a4j:support event="ontimeselect" reRender="scheduleCalendar" />
</rich:calendar>
<a4j:commandButton value="Submit"
action="#{definitionManager.schedule}">
<a4j:support event="onclick"
onsubmit="new Effect.BlindUp($('mainForm:bubox'), {duration:.3});" />
</a4j:commandButton>
When you click on some date the selected date and time (12:00 and not the current) appears in the footer facet of the control. If you try to change the time the new value is rendered in the footer but is not set in the backing bean value when you click the "Submit" button, instead 12:00 is always set. Otherwise if you first select the time and only after that select the day and click the "Submit" button, the backing bean value have date and time correctly assigned.
--
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
15 years, 11 months