Re: WOHyperlink not invoking action
Aaron Rosenzweig <[email protected]> Fri, 24 Feb 2017 13:39:44 -0500
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
--===============4585760896109503589== Content-Type: multipart/alternative; boundary="Apple-Mail=_69F1A8FA-27C2-4D2A-9F86-A16DE25DA067" --Apple-Mail=_69F1A8FA-27C2-4D2A-9F86-A16DE25DA067 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Larry, That happens when other things change on the page such that if it was to = be rendered =E2=80=9Cright now=E2=80=9D a WOConditional would evaluate = to false and hide it from view. WO has to =E2=80=9Creplay=E2=80=9D things and when there is an =E2=80=9Cif= =E2=80=9D block that would hide the hyperlink from rendering=E2=80=A6 = then it cannot figure out what to do and so basically just refreshes the = page=E2=80=A6 it=E2=80=99s as if you bound a =E2=80=9Creturn null=E2=80=9D= to a simple action.=20 I=E2=80=99m assuming you got ajax and things=E2=80=A6 or, that the = shared ObjectStoreCoordinator got updates that make the hyperlink = invisible=E2=80=A6. like maybe another user already deleted something in = the five minutes you went to the bathroom. AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/> e: [email protected] <mailto:[email protected]> t: (301) 956-2319 = =09 =09 > On Feb 24, 2017, at 1:31 PM, Larry Mills-Gahl <[email protected]> = wrote: >=20 > Hello=E2=80=A6 >=20 > I have a hyperlink that is not invoking the action as it used to (or = as=20 > I would expect it to). What would cause a hyperlink to not call the=20 > action defined? Other components on the same page have hyperlinks that=20= > work as expected, but this one doesn=E2=80=99t. The action is seen, = but just=20 > doesn=E2=80=99t get called. Any ideas? >=20 > Larry Mills-Gahl > elemgee at gmail dot com >=20 > = --------------------------------------------------------------------------= ---- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Wonder-disc mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc --Apple-Mail=_69F1A8FA-27C2-4D2A-9F86-A16DE25DA067 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Hi Larry,<div class=3D""><br class=3D""></div><div = class=3D"">That happens when other things change on the page such that = if it was to be rendered =E2=80=9Cright now=E2=80=9D a WOConditional = would evaluate to false and hide it from view.</div><div class=3D""><br = class=3D""></div><div class=3D"">WO has to =E2=80=9Creplay=E2=80=9D = things and when there is an =E2=80=9Cif=E2=80=9D block that would hide = the hyperlink from rendering=E2=80=A6 then it cannot figure out what to = do and so basically just refreshes the page=E2=80=A6 it=E2=80=99s as if = you bound a =E2=80=9Creturn null=E2=80=9D to a simple = action. </div><div class=3D""><br class=3D""></div><div = class=3D"">I=E2=80=99m assuming you got ajax and things=E2=80=A6 or, = that the shared ObjectStoreCoordinator got updates that make the = hyperlink invisible=E2=80=A6. like maybe another user already deleted = something in the five minutes you went to the bathroom.</div><div = class=3D""><div class=3D""> <table style=3D"margin-top:0.5em;margin-left:0.5em;margin-bottom:30px;" = border=3D"0" class=3D""> <tbody class=3D""><tr class=3D""> <td colspan=3D"2" style=3D"padding-bottom: 0.3em; " = class=3D""> <span style=3D"font-family:'Trebuchet = MS',helvetica,San-Serif;font-size:11px;color:#888888;line-height:22px" = class=3D""><b = style=3D"color:#11aeab;text-transform:uppercase;letter-spacing:2px" = class=3D"">Aaron Rosenzweig</b> / <a = href=3D"http://www.chatnbike.com" title=3D"visit Chat 'n Bike" = style=3D"text-decoration:none; border-bottom:1px dotted = #888888;color:#888888" class=3D"">Chat 'n Bike</a></span><br class=3D""> <span style=3D"font-family:'Trebuchet = MS',helvetica,San-Serif;font-size:11px;color:#b2b2b2;" class=3D""><b = style=3D"color:#888888" class=3D"">e:</b> <a = href=3D"mailto:[email protected]" title=3D"email Aaron" = style=3D"text-decoration:none; border-bottom:1px dotted = #b2b2b2;color:#b2b2b2" class=3D"">[email protected]</a> <b = style=3D"color:#888888" class=3D"">t:</b> (301) = 956-2319</span> </td> </tr> <tr class=3D""> <td class=3D""> <img = src=3D"http://www.chatnbike.com/WebObjects/FamilyCycleGroupOrder.woa/Conte= nts/WebServerResources/images/chat_n_bike_logo_small.png" alt=3D"Chat 'n = Bike" height=3D"100" class=3D""> </td> <td class=3D""> <img = src=3D"http://www.chatnbike.com/WebObjects/FamilyCycleGroupOrder.woa/Conte= nts/WebServerResources/images/dealers/usa.jpg" alt=3D"Chat 'n Bike" = height=3D"100" class=3D""> </td> </tr> </tbody></table> </div> <br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On Feb 24, 2017, at 1:31 PM, Larry Mills-Gahl <<a = href=3D"mailto:[email protected]" class=3D"">[email protected]</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = class=3D"">Hello=E2=80=A6<br class=3D""><br class=3D"">I have a = hyperlink that is not invoking the action as it used to (or as <br = class=3D"">I would expect it to). What would cause a hyperlink to not = call the <br class=3D"">action defined? Other components on the same = page have hyperlinks that <br class=3D"">work as expected, but this one = doesn=E2=80=99t. The action is seen, but just <br class=3D"">doesn=E2=80=99= t get called. Any ideas?<br class=3D""><br class=3D"">Larry = Mills-Gahl<br class=3D"">elemgee at gmail dot com<br class=3D""><br = class=3D"">---------------------------------------------------------------= ---------------<br class=3D"">Check out the vibrant tech community on = one of the world's most<br class=3D"">engaging tech sites, <a = href=3D"http://SlashDot.org" class=3D"">SlashDot.org</a>! <a = href=3D"http://sdm.link/slashdot" = class=3D"">http://sdm.link/slashdot</a><br = class=3D"">_______________________________________________<br = class=3D"">Wonder-disc mailing list<br class=3D""><a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a><br = class=3D"">https://lists.sourceforge.net/lists/listinfo/wonder-disc<br = class=3D""></div></div></blockquote></div><br = class=3D""></div></body></html>= --Apple-Mail=_69F1A8FA-27C2-4D2A-9F86-A16DE25DA067-- --===============4585760896109503589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot --===============4585760896109503589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc --===============4585760896109503589==--