-
1. Re: <rich:paint2D> - data too large?
nbelaevski Dec 11, 2009 6:33 AM (in response to poschd)1 of 1 people found this helpfulHi,
Check the length of generated URI. It should be not longer than allowed limit (~2K is IE limit). -
2. Re: <rich:paint2D> - data too large?
poschd Dec 11, 2009 8:02 AM (in response to poschd)Yes, the URI is ~8K when passing a "filled" DataBean object. Is there any way to work around this limitation?
-
3. Re: <rich:paint2D> - data too large?
ilya_shaikovsky Dec 11, 2009 8:21 AM (in response to poschd)
Is there any way to work around this limitation?
no, as written in tld doc -IMPORTANT: Since serialized data stored in URI, avoid using big objects
and the limitation is not from RF but from browser. -
4. Re: <rich:paint2D> - data too large?
poschd Dec 11, 2009 8:43 AM (in response to poschd)I have now updated my RichFaces libraries from 3.3.1 to 3.3.2SR1, because I thought this could be a problem related to https://jira.jboss.org/jira/browse/RF-3529, but nothing has changed. I am using Firefox, by the way, but the code doesn't work with Internet Explorer neither.
-
5. Re: <rich:paint2D> - data too large?
poschd Dec 11, 2009 8:46 AM (in response to poschd)"ilya_shaikovsky" wrote:
Is there any way to work around this limitation?
no, as written in tld doc -IMPORTANT: Since serialized data stored in URI, avoid using big objects
and the limitation is not from RF but from browser.
I know that it's not an RF limitation, but I would not have expected that <rich:paint2D> doesn't work for any big objects... -
6. Re: <rich:paint2D> - data too large?
poschd Dec 11, 2009 10:00 AM (in response to poschd)So, I am about to despair. I simply cannot think of any (clean) ways to place each child element at a unique position within a table.
Using <rich:dataTable> won't work because there are multiple child elements per row. Is there a way to iterate through my child elements to rerender <h:output> values within my table for each child element?
Can anyone please help out? -
7. Re: <rich:paint2D> - data too large?
ilya_shaikovsky Dec 11, 2009 11:47 AM (in response to poschd)1 of 1 people found this helpfuljust nest iteration components like:
<rich:column> <a4j:repeat value="#{tableVarVariable.childElements}" var="childVar"> <some:output value="#{childVar.value}"/> </a4j:repeat> <rich:column>
-
8. Re: <rich:paint2D> - data too large?
nbelaevski Dec 11, 2009 5:59 PM (in response to poschd)You can use map to store required data, and then have map key as "data".
-
9. Re: <rich:paint2D> - data too large?
poschd Dec 14, 2009 11:58 AM (in response to poschd)Hi,
since I cannot solve this problem using <rich:paint2D> I decided to open a new thread.
Thank you for all your helpful answers and effort.
Best Regards,
Daniel