[JBoss JIRA] (RF-12628) richfaces-archetype-kitchensink 4.2.3.Final-1 is not "enterprise" ready
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12628?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12628:
----------------------------
Issue Type: Bug (was: Feature Request)
> richfaces-archetype-kitchensink 4.2.3.Final-1 is not "enterprise" ready
> -----------------------------------------------------------------------
>
> Key: RF-12628
> URL: https://issues.jboss.org/browse/RF-12628
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.2.3.Final
> Reporter: Fred Bricon
> Assignee: Brian Leathem
> Priority: Critical
> Fix For: 4.2.3.Final, 4.3.0.M3
>
>
> When you create a project from richfaces-archetype-kitchensink 4.2.3.Final-1, using the -Denterprise=true flag, there are 2 problems :
> 1 - <jboss.bom.version> points at the community version, it should be <jboss.bom.version>1.0.0.M12-redhat-1</jboss.bom.version>, so that dependencies from the EAP6 repo are added to the classpath
> 2 - <org.richfaces.bom.version>4.2.3.Final-redhat-1</org.richfaces.bom.version> is not found in the Red Hat maven repo : http://maven.repository.redhat.com/techpreview/all/org/richfaces/richface...
> #1 must be fixed before releasing the archetype
> #2 Brian told me 4.2.3.Final-redhat-1 *will* be available in RH's Maven repo eventually, so, in JBoss Tools/JBDS, we can override the value to use the community bits, until 4.2.3.Final-redhat-1 is available (having an ETA on that would be nice).
--
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-12606) rich:calendar bad Html syntax a table is under a span, which is not allowed (causes ajax error? ('error@malformedXML'))
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12606?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12606:
----------------------------
Issue Type: Bug (was: Feature Request)
> rich:calendar bad Html syntax a table is under a span, which is not allowed (causes ajax error? ('error@malformedXML'))
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12606
> URL: https://issues.jboss.org/browse/RF-12606
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2
> Environment: http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=calenda...
> Reporter: Adrien Adrien
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.M3
>
>
> In html code rich:calendar has table under span.
> Seem to cause error (a4j:log) in my code during ajax refresh :
> --------------------------------------------------------------
> error[20:47:12.191]: Received 'error@malformedXML' event from <input ...
> error[20:47:12.192]: [200] undefined: undefined
> Example
> -------------
> http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=calenda...
> W3c don't detect error , but it's visible with firebug when you inspect rich:calendar
> Use firefox plugin HTML Validor http://users.skynet.be/mgueury/mozilla/
> ----------------------------------------------------------------------
> validate page after javascript excecution
> line 101 column 986 - Erreur: document type does not allow element "TABLE" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
> code:
> <span style="width:200px" id="j_idt1578:calendar">
> <span style="white-space: nowrap;" id="j_idt1578:calendarPopup"><input type="text" style="vertical-align: middle; " readonly="readonly" name="j_idt1578:calendarInputDate" id="j_idt1578:calendarInputDate" class="rf-cal-inp "><img style="vertical-align: middle" src="/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.3.Final/PackedCompressed/blueSky/org.richfaces.images/calendarIcon.png" id="j_idt1578:calendarPopupButton" class="rf-cal-btn " alt=""><input type="hidden" value="11/2012" style="display:none" name="j_idt1578:calendarInputCurrentDate" id="j_idt1578:calendarInputCurrentDate" autocomplete="off"></span>
> <table cellspacing="0" cellpadding="0" border="0" onclick="RichFaces.$('j_idt1578:calendar').skipEventOnCollapse=true;" style="display:none; position:absolute;z-index: 3" class="rf-cal-extr rf-cal-popup undefined" id="j_idt1578:calendarContent"><tbody><tr><td
> ...blablabla
> </table>
> </span>
--
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-12566) Calendar: Client-Error on month change because of rendering richMessages that are not in DOM
by Martin Maier (JIRA)
[ https://issues.jboss.org/browse/RF-12566?page=com.atlassian.jira.plugin.s... ]
Martin Maier commented on RF-12566:
-----------------------------------
The problem is related to ajax-rendered messages. If I set ajax-rendered="false", the problem does not occurs. Likewise, if I change <rich:message> to <h:message>.
> 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
> Labels: myfaces
> Fix For: 5-Tracking
>
> Attachments: error.jpg, firebug.JPG, rf12566.war, RF12566.zip
>
>
> 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
13 years, 4 months