Please send your notes to laszlo-user, and send a copy to the dev list as well , that would be very valuable, and we can either start a Wiki page, or work<br>it into a tutorial of some kind. <br><br>I don't know enough about the DHTML browser capabilities to know if there is a cross-browser way to implement color tinting; I am pretty<br>
sure Safari and Firefox could do it now, but IE7 is always the weak link it seems. Max, do you know if what the state of the art<br>is in applying color tints in DHTML? <br><br>If we had a technique that worked for all the browsers, we could add it to the LzSprite DHTML implementation. I suppose it would be<br>
worthwhile even if it only worked in Firefox.<br><br><br>Your bug is filed as <a href="http://jira.openlaszlo.org/jira/browse/LPP-6041">http://jira.openlaszlo.org/jira/browse/LPP-6041</a> and there is a fix out for review. You can<br>
patch your solo-deploy .jsp file as follows<br><br>Index: lps/admin/solo-dhtml-deploy.jsp<br>===================================================================<br>--- lps/admin/solo-dhtml-deploy.jsp (revision 9320)<br>
+++ lps/admin/solo-dhtml-deploy.jsp (working copy)<br>@@ -415,6 +415,11 @@<br> copyFileToZipFile(zout, srcfile, dstfile, zippedfiles);<br> }<br> <br>+ // special case for IE7, need to copy lps/includes/blank.gif to lps/resources/lps/includes/blank.gif<br>
+ String srcfile = basedir + "/" + "lps/includes/blank.gif";<br>+ String dstfile = "lps/resources/lps/includes/blank.gif";<br>+ copyFileToZipFile(zout, srcfile, dstfile, zippedfiles);<br>
+<br> // Copy the DHTML LFC to lps/includes/LFC-dhtml.js<br> ArrayList lfcfiles = new ArrayList();<br> listFiles(lfcfiles, new File(basedir + "/lps/includes/lfc"));<br>badtzmaru-2:trunk2 hqm$ <br>
<br><br><br><div class="gmail_quote">On Sat, May 24, 2008 at 10:12 AM, Stuart <<a href="mailto:stuart.srsm@blueyonder.co.uk">stuart.srsm@blueyonder.co.uk</a>> 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 bgcolor="#ffffff">
<div><font face="Arial" size="2">Great stuff. I can use my workaround for now.
</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Regarding styles not working (goldstyle etc).
</font></div>
<div><font face="Arial" size="2">I notice that Mamye thinks this is covered by
LPP-2544 Implement color tinting in dhtml but this has been open since
2006. Perhaps there is another way to make tab elements etc have useful
colours. Maybe it is simply the named styles that fail or only an issue for
Tab Elements? It is also marked as minor severity whereas I would regard it as
close to a showstopper (if it affects every component in DHTML). </font></div>
<div> </div>
<div><font face="Arial" size="2">Without colour I'm not sure how DHTML can be
considered a viable output for OpenLaszlo. </font> <font face="Arial" size="2">Do you have any information on this. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Colour aside I can start on converting my code to
OL. Spent the last week or so reading every word of the Developers Guide. Not
sure how much sunk in but I've got Netbeans setup for editing with Code Complete
and more or less know how to build (some of the text in the Deploy steps is
incomprehensible) so should be able to start converting my web page to OL. I'm
going to try and integrate OL with Virtual Earth so will probably run into a
brick wall pretty quickly... but first I'm going to bake a loaf of bread and
then babysit my nephews (much more fun than even OL). </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I've been taking notes of my experience of learning
to use OL (mainly problems with Netbeans and Deploy/SOLO etc). If I get inspired
I may tidy these up and send in to encourage some improvements for the newbie
(how quickly we forget after it becomes obvious). Where would be the best place
to send this info? </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Cheers</font></div>
<div><font face="Arial" size="2"></font> </div><font color="#888888">
<div><font face="Arial" size="2">Stuart</font></div></font><div><div></div><div class="Wj3C7c">
<div> </div>
<div> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="hminsky@laszlosystems.com" href="mailto:hminsky@laszlosystems.com" target="_blank">Henry Minsky</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="stuart.srsm@blueyonder.co.uk" href="mailto:stuart.srsm@blueyonder.co.uk" target="_blank">Stuart</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="laszlo-dev@openlaszlo.org" href="mailto:laszlo-dev@openlaszlo.org" target="_blank">laszlo-dev@openlaszlo.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Saturday, May 24, 2008 2:11
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: misplaced image resource
file</div>
<div><br></div>Ok I see the issue. <br><br>This only happens in IE7 because
there is a "quirks" entry for it, so that gif image is only referenced when
running<br>in that browser. The blank.gif is used as a workaround for
some IE bug with clickable areas, and it is being<br>referenced from the wrong
location in the SOLO file layout. <br><br>I'll file a bug in JIRA.
<br><br>Thanks for reporting this!<br><br><br>
<div class="gmail_quote">On Sat, May 24, 2008 at 8:23 AM, Henry Minsky <<a href="mailto:henry.minsky@gmail.com" target="_blank">henry.minsky@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You
don't need "proxied=false" in the canvas tag, if there is a
"lzproxied=false" in the URL query args when fetching the SOLO version
of the app. That's what the SOLO builder script does. <br><br>The directory
"lps/resources/..." is a directory that the script that builds the
SOLO zip archive uses<br>to put resources that come from outside of the
application's directory and subdirectory. Things like<br>image assets
that belong with components, etc. <br><br>I'll try to reproduce the steps
you took, and see if I can figure out why this file is being referenced
at<br>the wrong location (and why this would be only in IE7?)<br><br><br>
<div class="gmail_quote">On Sat, May 24, 2008 at 4:35 AM, Stuart <<a href="mailto:stuart.srsm@blueyonder.co.uk" target="_blank">stuart.srsm@blueyonder.co.uk</a>> 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 bgcolor="#ffffff">
<div><font face="Arial" size="2">
<div><font face="Arial" size="2">Hi Mamye</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Not sure I can add much more. Using the
example code as in Documentation link in original message (the 'Accordian'
with goldstyle and checkboxes and the radio buttons in the 3rd pane).
Creating a lzx from it; compile it using OL 4.0.12 and I have also tried
it using the netbeans plugin with same result; when the accordian is
displayed I click the DHTML radio button and Compile (took a while to
figure that bit out); then click SOLO and follow the instructions; save
the resulting zip; unzip zip into my web page and add the appropriate link
to the *.lzx.html. The accordian works fine in FF and Safari but shows the
dead image icon in IE7. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Here is my web page. <a href="http://www.parthiansystems.co.uk/" target="_blank">www.parthiansystems.co.uk</a></font></div>
<div><font face="Arial" size="2">Click the Open Laslo Test link in the header.
I've simply renamed my dummy lps\resources\lps\includes folder to hide my
work around so you should see the problem in IE.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I'm unclear if you are saying that blank.gif
should be in lps/includes or if you can't figure out how it (or rather the
entire folder perhaps) got into the wrong place. I suspect the includes
folder is in the correct place as it includes other important files e.h.
the lfc stuff. Yes - just confirmed that by removing lps\includes
everything breaks. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">The only thing that I'm confused about is
whether I should have proxied=false in the <canvas> tag on account
of this being a SOLO application. Would seem odd to have to change the
code. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I can't figure out how to view the lzx source
code (can only see the HTML calling the lzx). </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">In summary, why does IE look for blank.gif in
the wrong place?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Hope that is enough for you.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Cheers</font></div>
<div><font face="Arial" size="2"></font> </div><font color="#888888">
<div><font face="Arial" size="2">Stuart</font></div></font>
<div>
<div></div>
<div>
<div> </div>
<div> </div>
<div> </div>
<div>
<blockquote dir="ltr" style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="mamye@laszlosystems.com">Mamye Kratt</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a title="stuart.srsm@blueyonder.co.uk">Stuart</a> ; <a title="laszlo-dev@openlaszlo.org">laszlo-dev@openlaszlo.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Friday, May 23, 2008 11:28 PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [Laszlo-dev] [BULK] Blank.gif MIA</div>
<div><br></div>
<div><font face="Arial">Stuart,</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">I have confirmed that blank.gif is in the
lps/includes folder in the installer version also. Can you provide the
steps to reproduce the problem your seeing? We have a bug filed for the
problem with tinting in dhtml (LPP-2544 Implement color tinting in dhtml
).</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Mamye</font></div>
<blockquote dir="ltr" style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="stuart.srsm@blueyonder.co.uk">Stuart</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a title="laszlo-dev@openlaszlo.org">laszlo-dev@openlaszlo.org</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Friday, May 23, 2008 2:07 PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
[Laszlo-dev] [BULK] Blank.gif MIA</div>
<div><br></div>
<div><font face="Arial" size="2">Hello.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">New to OL. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I'm testing one of the Documentation
examples
<a>http://labs.openlaszlo.org/trunk-nightly/docs/developers/comp-overview.html</a> 1.1
Using the <style> tag. In
IE7 (SOLO/DHTML) the radio buttons and banner text are
corrupted (little red X as per missing image). I used Fiddler and
discovered that blank.gif is expected to be in the folder </font><font face="Arial" size="2">lps/resources/lps/includes but is in fact stored in
lps/includes folder. Fiddler also suggests that excanvas.js is
missing. No problems with Flash versions or in FF (so either FF finds
the file or doesn't care about it being missing).</font></div>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial">I ftp'd these files into my web page manually and the
problem goes away. A quick search of the Bug List suggests that
problems with blank.gif are known about but nothing seems to fit the
problem I have. exacanvas.js doesn't appear to be a factor. Also, this
only occurs when I upload the SOLO app. fine during development.
Suggests SOLO output puts the includes folder into the wrong place -
should it be at the same level as the components folder? Looks like a
bug but surely someone else would have spotted it.</font></p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial">OL <a href="http://4.0.12." target="_blank">4.0.12.</a>
WinXP.</font></p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial">Also, the Styles do not appear to work with DHTML (Flash
fine) e.g. goldstyle, greenstyle both appear the same (whitish). This
occurs within the Development Environment and when uploaded. Same
for IE and FF. </font></p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial">Tried to post this to the forum but it appears OL requires
a moderator to approve me... been waiting all afternoon/evening.
Perhaps mailing list is best place anyway.</font></p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial">Cheers. </font></p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial"></font> </p>
<p style="margin: 0in; font-size: 10pt; font-family: Verdana;" lang="EN-GB"><font face="Arial">Stuart</font></p></blockquote></blockquote></div></div></div></font></div></div></blockquote></div><br><font color="#888888"><br clear="all">
<br>-- <br>Henry Minsky<br>Software
Architect<br><a href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a><br><br></font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a><br>
<br></blockquote></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>