Hi Martin, I've just tried upgrading to the latest nightly builds and there are some changes in the method signatures (e.g. I got some exceptions when using tree2...)...
But you've been right, page size decreased from 400/500 kb to about 100/200 kb ;). It's a great pity that I am not able to use it... Dominik -----Original Message----- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 23:02 To: MyFaces Discussion Subject: Re: Very important JSF issue Upgrade to the latest nightly build - link sizes are much smaller there. regards, Martin On 11/22/06, Bieringer, Dominik <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > I'm writing concerning two different problems: > > > > Using MyFaces links are generated like the one below: (The following code is > rendered for just ONE LINK!!) > > <a href="#" > onclick="clear_mainBrowse_3AbrowseContent_3AbrowseListPage_3AbrowseListM ain_3AbrowseListResults_3AbrowseListResultsForm();document.forms['mainBr owse:browseContent:browseListPage:browseListMain:browseListResults:brows eListResultsForm'].elements['autoScroll'].value=getScrolling();document. forms['mainBrowse:browseContent:browseListPage:browseListMain:browseList Results:browseListResultsForm'].elements['mainBrowse:browseContent:brows eListPage:browseListMain:browseListResults:browseListResultsForm:_link_h idden_'].value='mainBrowse:browseContent:browseListPage:browseListMain:b rowseListResults:browseListResultsForm:listResults:11:panelPckLink:_idJs p74';if(document.forms['mainBrowse:browseContent:browseListPage:browseLi stMain:browseListResults:browseListResultsForm'].onsubmit){var > result=document.forms['mainBrowse:browseContent:browseListPage:browseLis tMain:browseListResults:browseListResultsForm'].onsubmit(); > if( (typeof result == 'undefined') || result ) > {document.forms['mainBrowse:browseContent:browseListPage:browseListMain: browseListResults:browseListResultsForm'].submit();}}else{document.forms ['mainBrowse:browseContent:browseListPage:browseListMain:browseListResul ts:browseListResultsForm'].submit();}return > false;" > id="mainBrowse:browseContent:browseListPage:browseListMain:browseListRes ults:browseListResultsForm:listResults:11:panelPckLink:_idJsp74">[A]</a> > > > > > ... My page has several links on it (It's a dataTable with 50 rows and having > 4 links each row.... My page has a size of about 500KB !!!)... What can I do > about that? That's horrible... just imagine page loading times for clients, > having slow internet connections... think about server traffic !? > > > > Is there a way to avoid this 'mega links'? Maybe it's possible to tell JSF > to generate aliases for the long component identifiers? It would be really > nice if someone can help me with that... > > > > > > Thanks in advance, > > Dominik -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

