[JBoss JIRA] (RF-12594) rich:calendar defaultLabel causes conversion error if not populated.
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12594?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12594:
----------------------------
Workaround Description:
*Workaround #1:*
Use Placeholder component from RF 4.3
*Workaround #2:*
This can be handled by custom JavaScript to clear value before submission.
On a4j:commandButton add {code}onclick="clearEmptyDate();"{code}
Then clear the date if it still matches defaultLabel. Example using JQuery:
{code}
<h:outputScript>
function clearEmptyDate() {
if('MMDDYYYY' == jQuery("#searchParticipant\\:dobInputDate").val()) {
jQuery("#searchParticipant\\:dobInputDate").val('');
}
}
</h:outputScript>
{code}
was:
This can be handled by custom JavaScript to clear value before submission.
On a4j:commandButton add {code}onclick="clearEmptyDate();"{code}
Then clear the date if it still matches defaultLabel. Example using JQuery:
{code}
<h:outputScript>
function clearEmptyDate() {
if('MMDDYYYY' == jQuery("#searchParticipant\\:dobInputDate").val()) {
jQuery("#searchParticipant\\:dobInputDate").val('');
}
}
</h:outputScript>
{code}
> rich:calendar defaultLabel causes conversion error if not populated.
> --------------------------------------------------------------------
>
> Key: RF-12594
> URL: https://issues.jboss.org/browse/RF-12594
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.2.Final, 4.2.3.Final, 4.3.0.M2
> Reporter: Justin Rosenberg
> Assignee: Lukáš Fryč
>
> If the defaultLabel attribute is set for a rich:calendar object and no value is entered, a conversion error occurs. It seems like the submission is trying to parse the defaultLabel value into a date.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12594) rich:calendar defaultLabel causes conversion error if not populated.
by Justin Rosenberg (JIRA)
[ https://issues.jboss.org/browse/RF-12594?page=com.atlassian.jira.plugin.s... ]
Justin Rosenberg commented on RF-12594:
---------------------------------------
I was able to verify that <rich:placeholder/> in the current 4.3-SNAPSHOT works as an alternative to defaultLabel.
> rich:calendar defaultLabel causes conversion error if not populated.
> --------------------------------------------------------------------
>
> Key: RF-12594
> URL: https://issues.jboss.org/browse/RF-12594
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.2.Final, 4.2.3.Final, 4.3.0.M2
> Reporter: Justin Rosenberg
> Assignee: Lukáš Fryč
> Labels: waiting_on_user
>
> If the defaultLabel attribute is set for a rich:calendar object and no value is entered, a conversion error occurs. It seems like the submission is trying to parse the defaultLabel value into a date.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-11402) Metamer: rich:inplaceSelect: scroller disappear when move by mouse
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/RF-11402?page=com.atlassian.jira.plugin.s... ]
Jan Papousek updated RF-11402:
------------------------------
Labels: IE10 IE8 IE9 chrome (was: IE8 IE9 chrome)
> Metamer: rich:inplaceSelect: scroller disappear when move by mouse
> ------------------------------------------------------------------
>
> Key: RF-11402
> URL: https://issues.jboss.org/browse/RF-11402
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.1.0.Milestone2, 4.2.2.Final, 4.3.0.M3
> Environment: RichFaces 4.1.0.20110910-M2 r.
> Metamer 4.1.0.20110910-M2 r.22701
> Mojarra 2.0.4-b09-jbossorg-4
> JBoss Web 7.0.1.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> IE8 & IE9 & Chrome
> Reporter: Ján Jamrich
> Labels: IE10, IE8, IE9, chrome
> Fix For: 5-Future
>
>
> When click into inplaceSelect input, an list of items appear. But if try move scroller to see more items, scroller disappear, and whole suggestion list disappear as well.
> This happens only in IE9, and chrome, not in Firefox.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-11402) Metamer: rich:inplaceSelect: scroller disappear when move by mouse
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/RF-11402?page=com.atlassian.jira.plugin.s... ]
Jan Papousek updated RF-11402:
------------------------------
Affects Version/s: 4.3.0.M3
> Metamer: rich:inplaceSelect: scroller disappear when move by mouse
> ------------------------------------------------------------------
>
> Key: RF-11402
> URL: https://issues.jboss.org/browse/RF-11402
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.1.0.Milestone2, 4.2.2.Final, 4.3.0.M3
> Environment: RichFaces 4.1.0.20110910-M2 r.
> Metamer 4.1.0.20110910-M2 r.22701
> Mojarra 2.0.4-b09-jbossorg-4
> JBoss Web 7.0.1.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> IE8 & IE9 & Chrome
> Reporter: Ján Jamrich
> Labels: IE8, IE9, chrome
> Fix For: 5-Future
>
>
> When click into inplaceSelect input, an list of items appear. But if try move scroller to see more items, scroller disappear, and whole suggestion list disappear as well.
> This happens only in IE9, and chrome, not in Firefox.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months