<div dir="ltr"><div>hahaha, sorry where I write &quot;I like to see that John &quot; was &quot;I like to see that TORSTEN&quot;...<br></div><div>(now I&#39;m chatting with a john and I confused)</div><div><br></div><div><br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/10 Gastón Dall&#39; Oglio <span dir="ltr">&lt;<a href="mailto:gaston.dalloglio@gmail.com" target="_blank">gaston.dalloglio@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Mariano, all.<br></div><div><br></div><div>I like to see that John has continued the development on Twitter Bootstrap and you and others to use as well. CONTINUE pushing Smalltalk web development please :)</div>


<div><br></div><div>I attached some classes that I use to create more specialized CRUD components (PIComponent and PICollectionComponent), plus two concrete classes (PIExploreComponent and PIImportComponent).</div><div>I use those in a real project and work fine, hope it help!</div>


<div><br></div><div>Basically I show an modal&#39;s skeleton hidden (see PIComponent&gt;&gt;renderModalOn: html) and some bottons (see PIExploreComponent&gt;&gt;renderThumbnailToolbarItems: item on: html).<br>Also I attached a generic handler to an ancestor node of buttons in the DOM (see PIExploreComponent&gt;&gt;renderThumbnailHandlersOn:), this manner I haven&#39;t to attach one handler to every button and also the handler works even if later I have to add and remove more items (with CRUD buttons) dinamically in the client.</div>


<div>The handdler perform an ajax request (html jQuery ajax callback: script: ), where I use the callback to identify the item of the collection where the button is, and script to return js code to populate and open the modal.</div>


<div><br></div><div>Again, hope this help :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">2013/10/9 Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span><br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I am watching the demo of the modal what comes with bootstrap and there is something I don&#39;t get it. In the example, the link that opens the modal is rendered at the same time as the rendering of the modal contents itself.</div>



<div><br></div><div>In my case, I have a table. The table has a column with links (actions). Each link has a callback and then sends a call:. For example, a typical link from this column is an &quot;Edit&quot;, in which with magritte I end up doing (besides a few other things), </div>



<div><br></div><div><div>newComponent := aModel asComponent</div><div><span style="white-space:pre-wrap">                                </span>addValidatedForm;</div><div><span style="white-space:pre-wrap">                                </span>yourself.<span style="white-space:pre-wrap">        </span></div>



<div><span style="white-space:pre-wrap">self call: </span>newComponent</div><div><br></div><div>So....THIS is what I would like to see as modal (the magritte component). </div><div>But I don&#39;t know how to do it. The link was already clicked (I am in a callback now). I want the body of the modal to be the magritte component. </div>



<div><br></div><div>Any idea if this is possible and how?</div><div><br></div><div>Thanks in advance, </div><span><font color="#888888"><div><br></div><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>




</font></span></div></div>
<br></div></div>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>