You can tweak setting with:

getSettings().setStripWicketTags(true);

in your WebApplication.

On 12/15/05, blackboy zabaha < [EMAIL PROTECTED]> wrote:
Just an opinion of mine.
I think the last result of page could not render any wicket:id attribute (also wicket:head, wicket:body, etc..)
because it not necessary for browser, and this may also reduce page size upto 10% (test on some of my report pages)
if my page is some kind of report that normally just render Label in a ListView.
 
                    <tr wicket:id="listView">
                        <td class="block" nowrap>
                            <span wicket:id="category">Postpaid Individual (Special)</span>
                        </td>
                        <td class="block" nowrap align="center">
                            <span wicket:id="count">1</span>
                        </td>
                        <td class="block" nowrap align="center">
                            <span wicket:id="date">09/12/2005</span>
                        </td>
                        <td class="block" nowrap align="center">
                            <span wicket:id="time">10:30</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span wicket:id="totalRequest">12</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span wicket:id="totalSend">6</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span wicket:id="success">6</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span wicket:id="fail">0</span>
                        </td>
                    </tr>
 
to this :
 
                    <tr>
                        <td class="block" nowrap>
                            <span>Postpaid Individual (Special)</span>
                        </td>
                        <td class="block" nowrap align="center">
                            <span>1</span>
                        </td>
                        <td class="block" nowrap align="center">
                            <span>09/12/2005</span>
                        </td>
                        <td class="block" nowrap align="center">
                            <span>10:30</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span>12</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span>6</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span>6</span>
                        </td>
                        <td class="block" nowrap align="right">
                            <span>0</span>
                        </td>
                    </tr>
 
better? or just provide option to choose not to render wicket:id on page, even it better to have them on for developing time, but on production, they are no need and the pages' size are more important to concern about.
 


Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping




--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

Reply via email to