<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>Use a component or use the renderer block like a normal canvasser.<br><br>The examples should load with seaside core.<br><br>RS<br><br>> From&#58; estebanlm&#64;gmail.com<br>> Date&#58; Wed, 29 Jun 2011 23&#58;55&#58;58 -0300<br>> To&#58; seaside&#64;lists.squeakfoundation.org<br>> Subject&#58; &#91;Seaside&#93; something like &#35;callback&#58;value&#58; but for &#35;html&#58; &#63;<br>> <br>> Hi, <br>> I&#39;m trying to fill an JQAccordion when user opens it, and I think the way to do that is by doing something like this&#58; <br>> <br>> html div <br>> &#9;script&#58; &#40; <br>> &#9;&#9;html jQuery new accordion<br>> &#9;&#9;&#9;active&#58; self selectedIndex - 1&#59;  <br>> &#9;&#9;&#9;autoHeight&#58; false&#59;  <br>> &#9;&#9;&#9;onChangestart&#58; &#40;&#40;html jQuery new <br>> &#9;&#9;&#9;&#9;&#9;alias&#58; &#39;ui&#39;&#59; <br>> &#9;&#9;&#9;&#9;&#9;access&#58; &#39;newContent&#39;&#59; <br>> &#9;&#9;&#9;&#9;&#9;call&#58; &#39;load&#39; with&#58; &#40;html jQuery ajax <br>> &#9;&#9;&#9;&#9;&#9;&#9;html&#58; &#91; &#58;renderer &#124; renderer text&#58; &#39;TEST&#39; &#93;&#59;<br>> &#9;&#9;&#9;&#9;&#9;&#9;fullUrl&#41;&#41;<br>> &#9;&#9;&#9;&#9;asFunction&#58; &#35;&#40;event ui&#41;&#41;&#41;&#59;<br>> &#9;with&#58; &#91; <br>> &#9;&#9;html div id&#58; &#39;header1&#39;&#59; with&#58; &#39;header1&#39;.<br>> &#9;&#9;html div.<br>> &#9;&#9;html div id&#58; &#39;header2&#39;&#59; with&#58; &#39;header2&#39;.<br>> &#9;&#9;html div &#93;<br>> <br>> this example is working fine, but I&#39;m always rendering &#39;TEST&#39;. I need to discriminate which content I need to render, so I need the header id value. Using &#35;callback&#58;value I would call something like&#58; <br>> <br>> &#9;&#40;&#40;html jQuery ajax <br>> &#9;&#9;callback&#58; &#91; &#58;v &#124; &#34;Some code here&#34; &#93;<br>> &#9;&#9;&#9;value&#58; &#40;html jQuery new <br>> &#9;&#9;&#9;&#9;alias&#58; &#39;ui&#39;&#59; <br>> &#9;&#9;&#9;&#9;access&#58; &#39;newHeader&#39;&#59; <br>> &#9;&#9;&#9;&#9;call&#58; &#39;attr&#39; with&#58; &#39;id&#39;&#41;&#41;<br>> &#9;&#9;asFunction&#58; &#35;&#40;event ui&#41;&#41;<br>> <br>> but I don&#39;t have nothing similar with &#35;html&#58; .<br>> <br>> of course, I can call first a callback who sets the &#34;current header&#34;, then make an ajax call, but that&#39;s not efficient &#40;two calls instead one&#41;.<br>> so, I would like to have something like &#35;html&#58;value&#58; <br>> <br>> does anybody knows how can I solve this problem&#63;<br>> <br>> thanks,<br>> Esteban<br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               </div></body>
</html>