<br><br><div class="gmail_quote">On Sun, Jun 7, 2009 at 3:29 PM, Lukas Renggli <span dir="ltr"><<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">>> > 1) This image doesn't have the MC package XMLSupport (XML-Parser<br>
>> > package).<br>
>> > So, if you try to use Import/Export Pier widget, you will have a "key<br>
>> > not<br>
>> > found" in DataStream>>readInstance when it tries to do:<br>
>> ><br>
>> > newClass := Smalltalk at: aSymbol #XMLDocument asSymbol.<br>
>> ><br>
>> > After installing that package, it worked.<br>
>> ><br>
>> > I think this sohuld be added to the standard image or something.<br>
>><br>
>> I don't think this is a bug in the image. The Import/Export widget<br>
>> does not depend on XMLDocument.<br>
><br>
> Why do you say Import/Export widget doesn't depend on XMLDocument? I am<br>
> sorry. I don't understand. In my case, when debugging I noticed that I need<br>
> it, not my app model, but the exporter itself.<br>
<br>
</div>You say that the problem appears in DataStream>>#readInstance, this<br>
method is called when you import a Pier model. The method tries to<br>
instantiate a class that is referenced from your exported Pier model,<br>
but that is missing in the image you import to. Before you import you<br>
have to make sure that all the plugins you used in your export are<br>
properly loaded.</blockquote><div><br>Ok but then I must know that Import/Export widget depends on an external package like XMLParser? I didn't know that till I debugg it.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="im"><br>
>> > 2) In my case, SULibrary was making my app not to render properly. I<br>
>> > removed<br>
>> > it and then it works perfect.<br>
>><br>
>> This is strange, because SULibrary works for other applications and<br>
>> the default Pier installation. Furhtermore I don't see how SULibrary<br>
>> is related to rendering?<br>
><br>
> I think this is related with css styles and the order in which the library<br>
> are added.<br>
<br>
</div>SULibrary does not contain any styles, just Javascript code. Maybe it<br>
is conflicting with some other Javascript code you are using?</blockquote><div><br>wierd. I will try to look more in details and let you know if I have more information. <br><br>Thanks!<br><br>Mariano<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div><div></div><div class="h5"><br>
Lukas<br>
<br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><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" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>