This content has been marked as final.
Show 3 replies
-
1. Re: RichFaces extract out component's javascript upon rerend
ilya_shaikovsky Jun 2, 2009 5:01 AM (in response to ariefzj)<table id="componentId"> .. .. <script type="text/javascript">some js constructor call</script> </table>
such construction is invalid according the dtd.
use for example something like this:<div> <table id="componentId"> .. .. </table> <script type="text/javascript">some js constructor call</script> <div>
-
2. Re: RichFaces extract out component's javascript upon rerend
ariefzj Jun 2, 2009 5:20 AM (in response to ariefzj)Thanks Ilya.
"ilya_shaikovsky" wrote:
such construction is invalid according the dtd.
use for example something like this:<div> <table id="componentId"> .. .. </table> <script type="text/javascript">some js constructor call</script> <div>
Having that structure, does the "div" element need to have the componentId as its ID instead? -
3. Re: RichFaces extract out component's javascript upon rerend
ilya_shaikovsky Jun 2, 2009 6:26 AM (in response to ariefzj)yes. the id of wrapper element should be client Id of the component to get it updated via ajax successfully.