Well, what I'm trying to do is creating a table and put some checkboxes inside this table which set some properties. And I want to have a submit button. The difficulty I'm facing is that since the checkboxes require an enclosing form, I'm unable to put this submit button outside the table. I've tried putting the table inside the form, but that didn't work...the submit button shows up inside the table... :)
<br>How can I do this?<br><br><div><span class="gmail_quote">On 7/5/07, <b class="gmail_sendername">Philippe Marschall</b> &lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2007/7/3, Kazuki Sanada &lt;<a href="mailto:hartzzenen@gmail.com">hartzzenen@gmail.com</a>&gt;:
<br>&gt; Thanks for the tips! They&#39;re really helpful!<br>&gt;<br>&gt; I think I found out why the &#39;id&#39; attribute didn&#39;t work. I think it was<br>&gt; because I was using WAHtmlRender as my RendererClass. Am I right?
<br><br>Yepp, WAHtmlRender is deprecated and will be removed in future versions.<br><br>&gt; Now that I noticed that I was using WAHtmlRenderer, I managed to create<br>&gt; checkboxes using this:<br>&gt;<br>&gt; checkboxWithValue:callback:
<br>&gt;<br>&gt; I also noticed that in this class, there is a method<br>&gt; checkboxWithValue:callback:usingFormNamed: , or something<br>&gt; like that. How am I supposed to use that? It seems that you have to pass a<br>
&gt; form name, but how can I do that?<br><br>html cssId: &#39;WAHtmlRenderIsUncool&#39;.<br>html form: [<br>&nbsp;&nbsp; html<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; checkboxWithValue: self checked<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; callback: [ :value | self checked: value ]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; usingFormNamed: &#39;WAHtmlRenderIsUncool&#39; ]
<br><br>Clicking on the checkbox will then submit the form.<br><br>&gt; Can I associate a checkbox with a<br>&gt; different form? (by different, I mean not the one enclosing the checkbox).<br><br>I guess so, but then the checkbox callback will not be evaluated.
<br><br>Cheers<br>Philippe<br><br>_______________________________________________<br>Seaside mailing list<br><a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br>