Re: how to avoid query datatable

2006-12-11 Thread Magnus Sandberg
Hi, yes I've had the same kind of problem. The general problem is that the data used when creating the commandLink must be availible in the next restore-view phase. If the data is not stored somewhere between requests (in a session-bean or by using preserveState in t:dataTable) it has to be re-f

Rendered is called in un-rendered subtree

2006-12-08 Thread Magnus Sandberg
I'm having some issues where rendered is called for components in an unrendered subtree (ie the component already has a parent where rendered=false). After some looking I found this thread: http://www.mail-archive.com/users@myfaces.apache.org/msg24702.html The thread includes an solution, but as

clear_linkDummyForm not rendered

2006-12-06 Thread Magnus Sandberg
(Using myfaces-1.1.4/tomahawk-1.1.3) I'm trying to use t:commandLink but it is not working. The dummyForm is rendered at the bottom of the page but the expected 'clear_linkDummyForm'-method is missing. Is it so that t:commandLink (as well as the h:commandLink) must be inside a h:form? /Magnus

Re: HTML-pages gets very large.

2006-12-04 Thread Magnus Sandberg
Thanks you, I have also notices that the "jsf_tree_64" is included with every form. Would in not be possible to include the viewstate just once in the page and include it in the post with javascript? Cannot find any info on this - maybe someone have already thought of this as well ... Thanks, /M

HTML-pages gets very large.

2006-11-29 Thread Magnus Sandberg
Hi, I have a problem with pages that gets very large. I have a page with a form and a result list, each row in the result list has one or several . My problem is that page (even when showing a very limited number of hits get very big, somewhere around 100-150k. I can probably optimize my html som

Re: Duplicate ID reproduced in MyFaces nightlies

2006-03-07 Thread Magnus Sandberg
I have one probelem with using rendered (pls see the short thread "Rendering with jstl vs 'rendered'-attribute"). When rendering (large) tables with conditional command-links, the command-link-action cannot be called if the the table/view cannot be re-created in the RESTORE_VIEW phase. This

Re: Duplicate ID reproduced in MyFaces nightlies

2006-03-07 Thread Magnus Sandberg
I have one probelem with using rendered (pls see the short thread "Rendering with jstl vs 'rendered'-attribute"). When rendering (large) tables with conditional command-links, the command-link-action cannot be called if the the table/view cannot be re-created in the RESTORE_VIEW phase. This