Andrew,

                I compared the AJAX response to the html source and I
can't seem to find anything out of place.  I have included the two
below, maybe I missed something.  I added id's to most of the jsf
components so that it is a little easier to parse.  

 

                On a side note, I found that it was interesting that
input elements are rendered differently in the AJAX response then the
initial HTML output.  In the html output, the input elements are not
terminated, but they are in the AJAX response.

 

                Thanks again,

                Tim

 

 

HTML Source (I added line breaks to make reading it easier):

 

<div id="acctPage:acctTable">

<table cellpadding="0" cellspacing="0" border="0" width="90%"
summary="">

<tr>

<td>

<table cellpadding="0" cellspacing="0" border="0" width="100%"
summary="" class="x6m">

<tr>

<td>(Actions)</td>

<td width="100%"></td>

</tr>

</table>

</td>

</tr>

<tr>

<td>

<table cellpadding="0" cellspacing="0" border="0" width="100%"
summary="" class="x6q">

<tr>

<td nowrap valign="middle">

<script type="text/javascript">function _submitHideShow(a,v,b,c,l,d)
{var o = {event:b,source:c};if (d!=(void 0))
o.value=d;_setRequestedFocusNode(document,l,false,window);_submitPartial
Change(a,v,o);return false;}</script>

<a onclick="return
_submitHideShow('acctForm',1,'show','acctPage:acctTable','acctPage:acctT
able__xc_sa','all')" href="#" id="acctPage:acctTable__xc_sa"
class="xi">Show All Details</a>

&nbsp;|&nbsp;

<a onclick="return
_submitHideShow('acctForm',1,'hide','acctPage:acctTable','acctPage:acctT
able__xc_ha','all')" href="#" id="acctPage:acctTable__xc_ha"
class="xi">Hide All Details</a>

</td>

</tr>

</table>

</td>

</tr>

<tr>

<td>

<table class="x6k" cellpadding="1" cellspacing="0" border="0"
width="100%">

<tr>

<th id="j_id0" width="1%" nowrap class="x75">Details</th>

<th id="acctPage:acctTable:j_id_jsp_1566647018_17" class="x75
xaf">Name</th>

<th id="acctPage:acctTable:j_id_jsp_1566647018_19" class="x75
xaf">Active</th>

<th id="acctPage:acctTable:j_id_jsp_1566647018_21" class="x75
xaf">Actions</th>

</tr>

<tr>

<td headers="j_id0" class="x6v xat" nowrap>

<div>

<a onclick="return
_submitHideShow('acctForm',1,'show','acctPage:acctTable','acctPage:acctT
abledd0','0')" href="#" id="acctPage:acctTabledd0">

<span title="Select to show information" class="x9q">&#9658;</span>

</a>

<a onclick="return
_submitHideShow('acctForm',1,'show','acctPage:acctTable','acctPage:acctT
abledd0','0')" href="#" class="xi">Show</a>

</div>

</td>

<td headers="acctPage:acctTable:j_id_jsp_1566647018_17" class="x6v
xat">[Name Removed for privacy]</td>

<td headers="acctPage:acctTable:j_id_jsp_1566647018_19" class="x6v
xat">true</td>

<td headers="acctPage:acctTable:j_id_jsp_1566647018_21" class="x6v
xat">(Actions)</td>

</tr>

</table>

</td>

</tr>

</table>

<script type="text/javascript">_uixt_acctPage_acctTable=new
CollectionComponent('acctForm','acctPage:acctTable');</script>

<input type="hidden" name="acctPage:acctTable:rangeStart" value="0">

</div>

 

AJAX Response:

 

<content action="/vbm/faces/pages/secure/telephony/accountSearch.jspx">
<fragment><![CDATA[<div id="acctPage:acctTable"><table cellpadding="0"
cellspacing="0" border="0" width="90%" summary=""><tr><td><table
cellpadding="0" cellspacing="0" border="0" width="100%" summary=""
class="x6m"><tr><td>(Actions)</td><td
width="100%"></td></tr></table></td></tr><tr><td><table cellpadding="0"
cellspacing="0" border="0" width="100%" summary="" class="x6q"><tr><td
nowrap="nowrap" valign="middle"><a onclick="return
_submitHideShow('acctForm',1,'show','acctPage:acctTable','acctPage:acctT
able__xc_sa','all')" href="#" id="acctPage:acctTable__xc_sa"
class="xi">Show All Details</a>&#xa0;|&#xa0;<a onclick="return
_submitHideShow('acctForm',1,'hide','acctPage:acctTable','acctPage:acctT
able__xc_ha','all')" href="#" id="acctPage:acctTable__xc_ha"
class="xi">Hide All
Details</a></td></tr></table></td></tr><tr><td><table class="x6k"
cellpadding="1" cellspacing="0" border="0" width="100%"><tr><th
id="j_id0" width="1%" nowrap="nowrap" class="x75">Details</th><th
id="acctPage:acctTable:j_id_jsp_1566647018_17" class="x75
xaf">Name</th><th id="acctPage:acctTable:j_id_jsp_1566647018_19"
class="x75 xaf">Active</th><th
id="acctPage:acctTable:j_id_jsp_1566647018_21" class="x75
xaf">Actions</th></tr><tr><td headers="j_id0" class="x6v xat"
nowrap="nowrap"><div><a onclick="return
_submitHideShow('acctForm',1,'hide','acctPage:acctTable','acctPage:acctT
abledd0','0')" href="#" id="acctPage:acctTabledd0"><span title="Select
to hide information" class="x9q">&#x25bc;</span></a><a onclick="return
_submitHideShow('acctForm',1,'hide','acctPage:acctTable','acctPage:acctT
abledd0','0')" href="#" class="xi">Hide</a></div></td><td
headers="acctPage:acctTable:j_id_jsp_1566647018_17" class="x6v
xat">Charles E Oberst</td><td
headers="acctPage:acctTable:j_id_jsp_1566647018_19" class="x6v
xat">true</td><td headers="acctPage:acctTable:j_id_jsp_1566647018_21"
class="x6v xat">(Actions)</td></tr><tr><td headers="j_id0" colspan="4"
class="x79 xat"><div class="x9m"><h3 class="x65">Account
Details</h3><div>Bill Cycle: Independant<div></div>Created:
12/15/2006<div></div>Last Modified: 12/15/2006</div><div class="x9m"><h4
class="x65">Plans</h4><div
id="acctPage:acctTable:0:j_id_jsp_1566647018_33"><table cellpadding="0"
cellspacing="0" border="0" summary=""><tr><td><table class="x6k"
cellpadding="1" cellspacing="0" border="0" width="100%"><tr><th
scope="col" class="x75">Type</th></tr><tr><td class="x6v xat">Basic
250</td></tr></table></td></tr></table><input type="hidden"
name="acctPage:acctTable:0:j_id_jsp_1566647018_33:rangeStart"
value="0"></input></div></div></div></td></tr></table></td></tr></table>
<input type="hidden" name="acctPage:acctTable:rangeStart"
value="0"></input></div>]]></fragment><fragment><![CDATA[<span
id="_acctForm_Postscript"><input type="hidden"
name="javax.faces.ViewState" value="!-7f19be57"></input><input
type="hidden" name="event"></input><input type="hidden"
name="source"></input><input type="hidden" name="partial"></input><input
type="hidden" name="value"></input><input type="hidden"
name="state"></input></span>]]></fragment>

Reply via email to