Hi Mario,

Well, using shorter id names will have great impact in page size ;), but
I am using my file names as subview id, which is safe to use, because
it's not possible to have two files with the same name :P.

Is there a way to change the name of subviews at runtime? That way it
would be possible to keep the long names and replace them with generated
ids, ...

Thx,
Dominik

-----Original Message-----
From: Mario Ivankovits [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 23, 2006 10:00
To: MyFaces Discussion
Subject: Re: Very important JSF issue

Hi Dominik,
>
>  
>
> <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>
Beside using the latest nightly and gzip, consider using shorter id=""
names, in your case this will have a great impact in page size ;-)


Ciao,
Mario





Reply via email to