<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=015595413-31082007>Hi
there,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007> updating some code not to use
anymore the deprecated api #text: I've found right now in 2.8 (lr-462) that
WAAnchorTag has with: and callback: as expected but one *should* use them in the
right order.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007> There is no other way to know the
right order than to: 1 look and interpret anchor's code 2 try and see what
happends</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007> I have no personal problem with this
because I'm used to but with a simple touch it could be better. For
example:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007>WAAnchorTagwith: aBlock<BR> url
isNil<BR> ifFalse: [ self attributes at: 'href' put: url
]</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007>....</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=015595413-31082007>not only is
not commented in the code but also erroneous suggest that only aBlock is coming.
Also annoying is the fact that the anchor is neutralized by the void(0) action
when is not instantiated in the right order. </SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=015595413-31082007>So.. a
little change to this:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=015595413-31082007>with:
aBlockOrString<BR> url isNil<BR> ifFalse: [ self attributes at:
'href' put: url ]<BR> ifTrue: [<BR> ((self
attributes includesKey: 'href') or: [ self attributes includesKey: 'name'
])<BR> ifFalse: [ self attributes at: 'href' put:
'javascript:alert("Are you sure about how the callback for this anchor is
coded?")' ] ].<BR> super with: aBlock</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=015595413-31082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=015595413-31082007>will call
developers attention right to the solution saving it's time not to mention the
time of not that experienced developers.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><SPAN class=015595413-31082007><FONT face="Trebuchet MS"
size=2> my 2 cents,</FONT></SPAN></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Sebastian
Sastre</SPAN></st1:PersonName></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"><?xml:namespace prefix = o
ns = "urn:schemas-microsoft-com:office:office" /><o:p><SPAN
class=015595413-31082007>PS: I'm worried about the criteria more than the case.
I don't think this as being acceptable for *The Seaside Experience* that one
could want </SPAN></o:p></SPAN></st1:PersonName></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"><o:p> </o:p></SPAN></P></DIV></SPAN>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV></BODY></HTML>