Removing Non-essential Code

When the HTML Editor places a component on an A5W page, the result for a grid looks something like this (in this case for a component named grd_prods ).

<table>

<tr>

<td> <%A5 ?x_grd_prods.Output.Body.Grid_Echo %> </td>

</tr>

<tr>

<td> <%A5 ?x_grd_prods.Output.Body.UpdateErrors %> </td>

</tr>

<tr>

<td> <%A5 ?x_grd_prods.Output.Body.Search_HTML %> </td>

</tr>

<tr>

<td> <%A5 ?x_grd_prods.Output.Body.Grid_HTML %> </td>

</tr>

<tr>

<td> <%A5 ?x_grd_prods.Output.Body.DetailView_HTML %> </td>

</tr>

</table>

Frequently, some of these sections are not needed and can be removed to give better formatting and reduce the amount of HTML on the page. I did it on almost every page.

After a little extra formatting, the simplified version of the page code now looks like this:

<table border="0" cellspacing="3" cellpadding="0">

<tr>

<td> <%A5 ?x_grd_prods.Output.Body.Grid_HTML %> </td>

</tr>

</table>

See Also

Supported By

Alpha Five Version 7 and Above