<div>Thanks guys, I am amazed by the quick turnaround. I will be implementing these suggestions shortly and I'll let you know how it went.</div>
<div> </div>
<div>Alejandro<br><br></div>
<div class="gmail_quote">On Tue, Jul 24, 2012 at 4:15 AM, Joachim Tuchel <span dir="ltr"><<a href="mailto:jtuchel@objektfabrik.de" target="_blank">jtuchel@objektfabrik.de</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">HI Alejandro,<br><br>welcome, and don't worry about asking questions: most uf us here have mroe questions than answers ;-)<br>
<br>The first things to check are:<br><br>* Did you add the jquery libraries to your application in the method that calls #register:asApplicationAt: ?<br>* Can you see the jquery.js and other files in your browser's debugging tools (like Firebug)?<br>
* Does the html page contain links to your local image for the jquery code or some location like google API's and is the machine connected to the internet? (Don't laugh, I had a problem on my notebook on the train and it took a while to find out why ... ;-) )<br>
* Can you put a breaktpoint into the javascript code in your web browser and does it fire? Again, Safari/Chrome's web tools or Firebug are an important recommendation here.<br><br>I guess once you are through this list you either solved the problem or at least found it and can ask more specific questions about it ;-)<br>
<br>Joachim<br><br><br><br>Am 24.07.12 09:02, schrieb CHRIS BAILEY:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im">Have you included a theme in your updateRoot: e.g. JQSmoothnessTheme new updateRoot: anHtmlRoot<br><br></div>
<div class="im">--- On *Tue, 24/7/12, Alejandro Zuzek /<<a href="mailto:a.zuzek@gmail.com" target="_blank">a.zuzek@gmail.com</a>>/* wrote:<br><br><br> From: Alejandro Zuzek <<a href="mailto:a.zuzek@gmail.com" target="_blank">a.zuzek@gmail.com</a>><br>
Subject: [Seaside] JQueryUI Tabs not working<br> To: <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br> Date: Tuesday, 24 July, 2012, 3:29<br><br>
Hi everyone,<br><br> This is my first post to this list and I am hoping to get some<br> help. Also I hope in the future I will be able to answer some<br> questions to others. I am developing a web app in a Pharo 1.1<br>
one-click distribution so it comes with Seaside 3.0. I am not able<br> to make the JQueryUI tabs work in my app. I have added the<br> JQDeploymentLibrary and JQUiDeploymentLibrary to this app and<br> basically copied and pasted the tabswidget example<br>
(<a href="http://localhost:8080/tests/jquery-ui/tabswidget" target="_blank">http://localhost:8080/tests/<u></u>jquery-ui/tabswidget</a> -<br> JQTabsFunctionalTest class) into my app, but all I get is the<br> unordered list with hiperlinks to the values of the<br>
'tabNamesAndValues' dictionary. The value of the last link is<br> displayed below the list and the other two are displayed as soon<br> as I click on the corresponding link. There are no Javascript<br> errors when loading the page. Hopefully you will be able to see<br>
what I get below, but most probably the unordered list and<br> hyperlinks will be lost in conversion to ASCII:<br><br> AZJQTabsTest<br><br></div> * Three <<a href="http://localhost:8080/AZJQTabsTest#ui-tabs-5" target="_blank">http://localhost:8080/<u></u>AZJQTabsTest#ui-tabs-5</a>><br>
* Two <<a href="http://localhost:8080/AZJQTabsTest#ui-tabs-9" target="_blank">http://localhost:8080/<u></u>AZJQTabsTest#ui-tabs-9</a>><br> * One <<a href="http://localhost:8080/AZJQTabsTest#ui-tabs-11" target="_blank">http://localhost:8080/<u></u>AZJQTabsTest#ui-tabs-11</a>>
<div>
<div class="h5"><br><br> Third tab value<br><br><br> What am I missing here? By the way, the tabswidget example works<br> perfectly fine and I have developed another application in the<br> same image which also uses JQueryUI tabs and those are working<br>
fine too.<br><br> The two methods that are used in my example are:<br><br> AZJQTabsTest>>renderContentOn: html<br> html text: 'AZJQTabsTest'.<br> html div<br> script: html jQuery new tabs;<br>
with: [<br> html unorderedList: [<br> self tabNamesAndValues keysAndValuesDo: [ :name :description |<br> html listItem: [<br> html anchor<br> url: (html jQuery ajax<br> html: [ :h | h text: description ];<br>
fullUrl);<br> with: name ] ] ] ]<br><br> AZJQTabsTest>><u></u>tabNamesAndValues<br> ^Dictionary new<br> at: 'One' put: 'First tab value';<br> at: 'Two' put: 'Second tab value';<br>
at: 'Three' put: 'Third tab value';<br> yourself<br><br> AZJQTabsTest is a subclass of WAComponent and answers 'true' to<br> canBeRoot.<br><br> Any ideas?<br><br> Thanks,<br><br>
Alejandro<br><br> -----Inline Attachment Follows-----<br><br> ______________________________<u></u>_________________<br> seaside mailing list<br> <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
</div></div> </mc/compose?to=<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a>><br> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a>
<div class="im"><br><br><br><br>______________________________<u></u>_________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br></div></blockquote><span class="HOEnZb"><font color="#888888"><br>
-- <br>-- ------------------------------<u></u>------------------------------<u></u>----------- Objektfabrik Joachim Tuchel mailto:<a href="mailto:jtuchel@objektfabrik.de" target="_blank">jtuchel@objektfabrik.de</a> Fliederweg 1 <a href="http://www.objektfabrik.de/" target="_blank">http://www.objektfabrik.de</a><br>
D-71640 Ludwigsburg <a href="http://joachimtuchel.wordpress.com/" target="_blank">http://joachimtuchel.<u></u>wordpress.com</a><br>Telefon: <a href="tel:%2B49%207141%2056%2010%2086%200" target="_blank" value="+4971415610860">+49 7141 56 10 86 0</a> Fax: <a href="tel:%2B49%207141%2056%2010%2086%201" target="_blank" value="+4971415610861">+49 7141 56 10 86 1</a><br>
<br><br><br><br></font></span><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>
<br></blockquote></div><br>