[JBoss JIRA] (RF-12566) Calendar: Client-Error on month change because of rendering richMessages that are not in DOM
by Martin Maier (JIRA)
Martin Maier created RF-12566:
---------------------------------
Summary: Calendar: Client-Error on month change because of rendering richMessages that are not in DOM
Key: RF-12566
URL: https://issues.jboss.org/browse/RF-12566
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.2.3.Final
Environment: Java 7.0.u9, Tomcat 7.0.32, MyFaces 2.1.8, Firefox16/IE9
Reporter: Martin Maier
The Calendar component causes an client error after receiving the response of a Ajax request after changing a month or year.
The error occurs only when there are invisible (not rendered) rich:messages that exists in the view (component tree) but are not rendered to the DOM. While processing the response the RichMessage-Object can not be process because the corresponing DOM element is missing (because it was not rendered).
On other component limitRender="true" would help with this problem but this attribute is not available for rich:calendar.
In the example webapp that I attached the Ajax response looks like this:
{code}
<?xml version="1.0" encoding="utf-8"?>
<partial-response>
<changes>
<update id="form:messages1"><![CDATA[<span class="rf-msg " id="form:messages1"></span>]]></update>
<update id="form:messages2"><![CDATA[<span class="rf-msg " id="form:messages2"></span>]]></update>
<update id="javax.faces.ViewState"><![CDATA[cJRAwt92Bj7eWwztx2b2ZHGkKaccSpVwhIL9tMJ6MhLaVhQjAv7W2YDSQxvk2tqrnjKEEZbDkGQKfvdEKG8UHyQ4YDvS5+bpD7hudnPksj9CzncN83fXTZhyfIPpLQSQqk80lQ==]]></update>
<extension id="org.richfaces.extension">
<complete>
new RichFaces.ui.Message("form:messages1",{"forComponentId":"form:cal1","showSummary":false,"showDetail":true});
new RichFaces.ui.Message("form:messages2",{"forComponentId":"form:cal2","showSummary":false,"showDetail":true});</complete>
<componentData>{"form:cal1":null} </componentData>
</extension>
</changes>
</partial-response>
{code}
However, 'form:messages2' was not found in the DOM of the page and causes a
client error. This breaks the functionality of the component because it can not update its <componentData> (e.g. data of the datamodel).
--
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
12 years
[JBoss JIRA] (RF-12494) Resource ordering problem with the showcase
by Brian Leathem (JIRA)
Brian Leathem created RF-12494:
----------------------------------
Summary: Resource ordering problem with the showcase
Key: RF-12494
URL: https://issues.jboss.org/browse/RF-12494
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: resource handling
Reporter: Brian Leathem
Assignee: Lukáš Fryč
Priority: Blocker
Fix For: 4.3.0.Milestone2
We've picked up what looks like a bug with resource ordering in the showcase:
On building the jbas71 showcase, and deploying to a "full" JBoss AS 7.1.1.Final server I get the following error on the showcase home page:
{quote}
Uncaught ReferenceError: jQuery is not defined (packed.js:3096)
{quote}
Looking at the html page source, packed.js comes before jquery.js:
{code}
<head>
<title>RichFaces Showcase</title>
<link type="text/css" rel="stylesheet" href="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/blueSky/skinning.css" />
<script type="text/javascript" src="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/packed/packed.js"></script>
<script type="text/javascript" src="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/jquery.js"></script>
<link type="text/css" rel="stylesheet" href="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/blueSky/packed/packed.css" />
{code}
--
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
12 years
[JBoss JIRA] (RF-12568) Remove IE8 meta tag from Showcase
by Pavol Pitonak (JIRA)
Pavol Pitonak created RF-12568:
----------------------------------
Summary: Remove IE8 meta tag from Showcase
Key: RF-12568
URL: https://issues.jboss.org/browse/RF-12568
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: showcase
Affects Versions: 4.3.0.M1
Reporter: Pavol Pitonak
According to RFPL-2416 the compatibility meta-tag for IE8 is not necessary anymore. Remove it from Showcase.
--
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
12 years
[JBoss JIRA] (RF-12554) <rich:tooltip> inside <ui:repeat> doesn't work without a dummy usage outside
by Bojan Antonovic (JIRA)
Bojan Antonovic created RF-12554:
------------------------------------
Summary: <rich:tooltip> inside <ui:repeat> doesn't work without a dummy usage outside
Key: RF-12554
URL: https://issues.jboss.org/browse/RF-12554
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.3.Final
Reporter: Bojan Antonovic
Priority: Minor
To make it work, you have to write once the dummy
<rich:panel><rich:tooltip><!--bla--></rich:tooltip></rich:panel>
then you can use as often as you wish:
<ui:repeat>
<rich:tooltip> ...
</ui:repeat>
--
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
12 years
[JBoss JIRA] (RF-12535) RichFaces example generates warnings
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12535?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12535:
-------------------------------
Fix Version/s: 4.2.5
(was: 4.2.4)
> RichFaces example generates warnings
> ------------------------------------
>
> Key: RF-12535
> URL: https://issues.jboss.org/browse/RF-12535
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Version: 6.0.0.Alpha2
> Build id: Alpha2-v20121004-2330-B40
> Build date: 20121004-2330
> Reporter: Len DiMaggio
> Assignee: Len DiMaggio
> Fix For: 4.2.5, 4.3.0.M3
>
>
> The RichFaces example generates these warnings:
> The local variable options may not have been initialized
> slidfast.js
> /jboss-richfaces-webapp/src/main/webapp/resources/js
> line 60
> Missing semicolon
> slidfast.js
> /jboss-richfaces-webapp/src/main/webapp/resources/js
> line 79
> Unnecessary @SuppressWarnings("unused")
> Resources.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/util
> line 26
> The local variable options may not have been initialized
> slidfast.js
> /jboss-richfaces-webapp/src/main/webapp/resources/js
> line 57
> The local variable options may not have been initialized
> slidfast.js
> /jboss-richfaces-webapp/src/main/webapp/resources/js
> line 58
> The local variable options may not have been initialized
> slidfast.js
> /jboss-richfaces-webapp/src/main/webapp/resources/js
> line 54
> The local variable options may not have been initialized
> slidfast.js
> /jboss-richfaces-webapp/src/main/webapp/resources/js
> line 56
> The import javax.inject.Inject is never used
> RewriteConfigurationProvider.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/util
> line 34
> The import javax.annotation.PostConstruct is never used
> PageBean.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/controller
> line 24
> The import javax.enterprise.inject.Model is never used
> PageBean.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/controller
> line 26
> The import javax.inject.Inject is never used
> UserAgent.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/util
> line 29
> No connection specified for project. No database-specific validation will be performed.
> jboss-richfaces-webapp
> The import javax.faces.bean.SessionScoped is never used UserAgent.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/util
> line 27
> The import javax.faces.bean.ManagedBean is never used
> UserAgent.java
> /jboss-richfaces-webapp/src/main/java/org/jboss/tools/example/richfaces/util
> line 26
--
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
12 years
[JBoss JIRA] (RF-12503) rich:calendar: todayControlMode set to scroll causes JS error
by Jiří Štefek (JIRA)
Jiří Štefek created RF-12503:
--------------------------------
Summary: rich:calendar: todayControlMode set to scroll causes JS error
Key: RF-12503
URL: https://issues.jboss.org/browse/RF-12503
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.3.0.Milestone1
Environment: RichFaces 4.3.0-SNAPSHOT
Metamer 4.3.0-SNAPSHOT
Apache Tomcat 7.0.29 / Jboss AS 7.1
OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
Firefox 15.0 @ Linux x86_64
Reporter: Jiří Štefek
When @todayControlMode is set to 'scroll' and today button is clicked, a JS error appears in debuggers console.
>From Firebug:
{code}
TypeError: $.curCSS is not a function
[Break On This Error]
color = $.curCSS(elem, attr);
{code}
--
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
12 years