[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
by Juraj Húska (JIRA)
Juraj Húska created RF-13601:
--------------------------------
Summary: DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
Key: RF-13601
URL: https://issues.jboss.org/browse/RF-13601
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.3.6
Environment: Firefox 25
EAP & JBoss AS 7.1.1.Final
Reporter: Juraj Húska
Priority: Critical
{{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
Sorting functionality does not work, the header facet is visually broken and following JS error is thrown into the console:
{{TypeError: RichFaces.ui.DataTable is not a constructor}}.
The rendered code contains following usage of the DataTable constructor:
{code}
new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
{code}
It worked in {{4.3.5.Final}}.
--
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
10 years, 10 months
[JBoss JIRA] (RF-13595) rich:validator doesn't work when loaded via ajax (re-render)
by Matej Novotny (JIRA)
[ https://issues.jboss.org/browse/RF-13595?page=com.atlassian.jira.plugin.s... ]
Matej Novotny commented on RF-13595:
------------------------------------
[~michaelb80], first of all, thanks for the example it's much easier to reproduce something with it :-)
Now as for results, I tried your example and indeed it does not work and behaves exactly as you described in the comment above.
With added a4j:ajax it works (for this simple case - we already have such reproducer in Metamer), so I modified the example to rich:calendar and accordingly I changed validation method.
Finally I added it to Metamer (testing app) - you can see the [xhtml page here|https://github.com/richfaces/richfaces-qa/blob/4.3.x/metamer/applica...] and the bean is [here|https://github.com/richfaces/richfaces-qa/blob/4.3.x/metamer/applica...] and the test I created is [here|https://github.com/richfaces/richfaces-qa/blob/4.3.x/metamer/ftest/s...]. This example does not work anymore even with added a4j:ajax (in this case I used change event). Could you please confirm that this is what you meant by replacing the input field with calendar, eg. the use-case you meant?
[~bleathem] as for simple example/reproducer we already have [this test|https://github.com/richfaces/richfaces-qa/blob/4.3.x/metamer/ftest/s...] which is mentioned in related RF-12031. That is why I created this more complex example where the workaround does not work. Is there anything else I can do?
> rich:validator doesn't work when loaded via ajax (re-render)
> ------------------------------------------------------------
>
> Key: RF-13595
> URL: https://issues.jboss.org/browse/RF-13595
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.5
> Environment: RF 4.3.5
> Mojarra 2.1.27
> Java 7 Update 51 x64
> Tomcat 7.0.52
> Firefox 28.0 + Firebug
> Reporter: Michael B
> Assignee: Matej Novotny
> Attachments: validationTest.zip
>
>
> When loading input components with a rich:validator via ajax (re-render), client side validation bridge breaks due to a missing JS function av_xxxxxxxxx.
> As already described in further detail in a comment to this JIRA here:
> https://issues.jboss.org/browse/RF-12031
> I've created a very basic example project to reproduce the problem for a single input field which becomes visible (re-rendered) when you click on an a4j:commandButton.
> Please note that this is a minimum example only. The problem is also reproducable for other input components besides h:inputText - like for example rich:calendar.
> The workaround described in the referenced JIRA creates other problems in client JS when combined with other components like rich:focus and is also not applicable for other input components besides h:inputText.
> We think the problem is located in the way JS functions are optimized for being re-used as well as in the way they are (not) being added on the client side when a component becomes visible on ajax response re-rendering.
> Please use attached eclipse project to easily reproduce the problem => open Firefox => Firebug console to see the error about the missing JS function av_xxxxxxx ...
--
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
10 years, 10 months
[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request on WildFly
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13600:
-----------------------------
Description:
Works in 5.0.x and 4.5.x Metamer but not in 4.3.x .
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
was:
Works in 5.0.x and 4.5.x Metamer but not in 4.3
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
> metamer: malformedXML error on each ajax request on WildFly
> -----------------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.5, 4.3.6
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, (works on EAP 6.2)
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3.x .
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {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
10 years, 10 months
[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request on WildFly
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13600:
-----------------------------
Description:
Works in 5.0.x and 4.5.x Metamer but not in 4.3
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
was:
Works in 5.0.x and 4.5.x Metamer but not in 4.3 (works with RF 4.3.5).
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
> metamer: malformedXML error on each ajax request on WildFly
> -----------------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.6
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, (works on EAP 6.2)
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {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
10 years, 10 months
[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request on WildFly
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13600:
-----------------------------
Summary: metamer: malformedXML error on each ajax request on WildFly (was: metamer: malformedXML error on each ajax request)
> metamer: malformedXML error on each ajax request on WildFly
> -----------------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.6
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, (works on EAP 6.2)
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3 (works with RF 4.3.5).
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {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
10 years, 10 months
[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13600:
-----------------------------
Description:
Works in 5.0.x and 4.5.x Metamer but not in 4.3 (works with RF 4.3.5).
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
was:
Works in 5.0.x and 4.5.x Metamer but not in 4.3 (tried with RF 4.3.5, and 4.3.6).
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
> metamer: malformedXML error on each ajax request
> ------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.6
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, EAP 6.2
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3 (works with RF 4.3.5).
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {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
10 years, 10 months
[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13600:
-----------------------------
Environment:
4.3.x Metamer
WildFly 8.0.0.Final, (works on EAP 6.2)
was:
4.3.x Metamer
WildFly 8.0.0.Final, EAP 6.2
> metamer: malformedXML error on each ajax request
> ------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.6
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, (works on EAP 6.2)
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3 (works with RF 4.3.5).
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {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
10 years, 10 months
[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13600:
-----------------------------
Description:
Works in 5.0.x and 4.5.x Metamer but not in 4.3 (tried with RF 4.3.5, and 4.3.6).
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
was:
Works in 5.0.x and 4.5.x Metamer but not in 4.3 (tried with RF 4.3.5, and 4.3.6).
On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status) as expected.
# open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
> metamer: malformedXML error on each ajax request
> ------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, EAP 6.2
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3 (tried with RF 4.3.5, and 4.3.6).
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {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
10 years, 10 months