-
1. ExtendedDatamodel: datascroller Received 'error@malformedXML'
boy18nj Mar 3, 2011 6:03 PM (in response to luca.graf)replace your </form> with </h:form>
I guess something may be wrong with your PageableDatamodel class. Not sure.
-
2. ExtendedDatamodel: datascroller Received 'error@malformedXML'
luca.graf Mar 3, 2011 7:27 PM (in response to boy18nj)sorry the </form> tag must be a accident through copying the page code. I edited the post.
I think you are right with the datamodel class. It's based on this a articel from 2009 http://gochev.blogspot.com/2009/08/richfaces-server-side-paging-with.html.
The main change is that i extends from ExtendedDataModel instead of SerializableDataModel. In rf4 it seems there is no SerializableDataModel class so i tried it with ExtendedDataModel. Maybe iam missing something?
There is a similiar problem but with no solution:
-
3. ExtendedDatamodel: datascroller Received 'error@malformedXML'
boy18nj Mar 3, 2011 10:43 PM (in response to luca.graf)i do see SerializableDataModel in
Anyway i recommend you to try to replace primary key long with integer/int.
-
4. ExtendedDatamodel: datascroller Received 'error@malformedXML'
luca.graf Mar 5, 2011 3:57 AM (in response to luca.graf)I finally got this working.
It seems that ExtendedDatamodel not work together with the <rich:dataTable/>. I changed <rich:dataTable> against <rich:extendedDataTable/> and it works like expected.
-
5. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
luca.graf Mar 11, 2011 7:52 AM (in response to luca.graf)It's normal behaviour that the <rich:dataTable/> doesn't work together with an ExtendedDatamodel in rf4?
I ask because the 'old' examples seems to work with <rich:dataTable/>.
Maybe this is an issue? If needed i can provide a simple demo project.
-
6. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
ilya_shaikovsky Mar 14, 2011 11:31 AM (in response to luca.graf)Sorry for the delay!... just having plates full with releaing stuff :/ Yes please provide some sample.. maybe just attach corresponding classes and pages right there.
-
7. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
ilya_shaikovsky Mar 14, 2011 11:32 AM (in response to ilya_shaikovsky)forgot to say that actually both the tables should works in the same way with the same model...
-
8. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
luca.graf Mar 14, 2011 2:59 PM (in response to ilya_shaikovsky)Hi Ilya,
thanks for your response. I attached a simple maven project that can be run under tomcat7.
To reproduce:
The pageable-datatable.xhtml page defines a extendedTable which works fine and also a datatable (surrounded with ui:remove).
Remove the ui:remove tags for the datatable (and remove the extendedDatatable) and after scrolling you can see the
'error@malformedXML'
error in the a4j:log.Thanks in advance
Luca
-
pageabel-datamodel.zip 9.3 KB
-
-
9. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
ilya_shaikovsky Mar 15, 2011 5:56 AM (in response to luca.graf)Many thanks for your report! We fixed an issue with id's adressing inside the Data components but seems when the model is used - issue still exist that's why the table pointed to list has tbody with form:itemlist2:tb id and to model with form:itemlist:0:tb so not found trying to update.
I will review source slightly more and create an issue with update that thread!
-
10. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
ilya_shaikovsky Mar 15, 2011 6:41 AM (in response to ilya_shaikovsky)hm.. chage your model code getRowIndex to
@Override
public int getRowIndex()
{
return -1;
}
and it will works fine.
P.S. will still do issue for difference review and update more.
-
12. ExtendedDatamodel: datascroller Received 'error@malformedXML'
luca.graf Mar 15, 2011 1:45 PM (in response to ilya_shaikovsky)Thanks for your investigation, Ilya.
-
13. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
usagi Jun 10, 2011 5:32 AM (in response to luca.graf)I have the same message in log, but i am using <rich:autocomplete> tag with autocompleteMethod attribute.
-
14. Re: ExtendedDatamodel: datascroller Received 'error@malformedXML'
ilya_shaikovsky Jun 13, 2011 1:33 PM (in response to usagi)it's not connected I guess. there are too much reasons for such message for different cases. so pleaserise separate thread and do not forget to provide more information. (code, versions)