Re: WOHyperlink not invoking action
René Bock <[email protected]> Wed, 1 Mar 2017 18:57:54 +0100
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
--===============3243232865759726326== Content-Type: multipart/alternative; boundary="Apple-Mail=_DE2D3E09-DC0C-4764-8E58-650907EA1767" --Apple-Mail=_DE2D3E09-DC0C-4764-8E58-650907EA1767 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, Its wasn=E2=80=99t a WOConcurrentRequst issue. Lesson learned: When subclassing WODynamicGroup, beware of mutable instance variables = :-|=20 Descends of this class must be thread-save. =20 > Am 24.02.2017 um 20:26 schrieb Ren=C3=A9 Bock <[email protected]>: >=20 > Hi, Larry >=20 > Is your hyperlink-not-invoking-the-action-thing easy reproducible or = appears it 'only' when the app is under load? >=20 > We are experiencing strange effects when the application is hit by a = lot of concurrent requests. Like > - Ajax Update Container not returning a response=20 > - ERXElse pretending not to have a Erxwoconditional > and some other... >=20 > This effects happens every 1 of 10000 requests or so >=20 > We hope, that the cause is buried in one of our frameworks and it's = not WOConcurrentRequst issue=20 >=20 >=20 > Regards >=20 > Ren=C3=A9 Bock >=20 > Am 24.02.2017 um 19:43 schrieb Larry Mills-Gahl <[email protected] = <mailto:[email protected]>>: >=20 >> Aaron, >>=20 >> Hmmm=E2=80=A6 That=E2=80=99s a good thought. I=E2=80=99ll try working = out the conditionals again, but this has worked in the conditional = hierarchy before. The form is only displayed if a facility is selected = and the results list is only displayed if there are results to display=E2= =80=A6 but selecting the result link doesn=E2=80=99t go to the detail = page=E2=80=A6 >>=20 >> I=E2=80=99ll try to the conditionals stuff. >>=20 >> Thanks Aaron. >>=20 >>=20 >> On 24 Feb 2017, at 13:39, Aaron Rosenzweig wrote: >>=20 >> Hi Larry, >>=20 >> 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. >>=20 >> WO has to =E2=80=9Creplay=E2=80=9D things and when there is an =E2=80=9C= if=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 >>=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 >> >>=20 >>> On Feb 24, 2017, at 1:31 PM, Larry Mills-Gahl <[email protected] = <mailto:[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 >>> ---------------------------------------------------------------------= =2D-------- >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org <http://slashdot.org/>! http://sdm.= link/slashdot <http://sdm.link/slashdot> >>> _______________________________________________ >>> Wonder-disc mailing list >>> [email protected] <mailto:[email protected]= ge.net> >>> https://lists.sourceforge.net/lists/listinfo/wonder-disc <https://lis= ts.sourceforge.net/lists/listinfo/wonder-disc> >>=20 >>=20 >> Larry Mills-Gahl >> elemgee at gmail dot com >>=20 >> ----------------------------------------------------------------------= =2D------- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org <http://slashdot.org/>! http://sdm.l= ink/slashdot <http://sdm.link/slashdot> >> _______________________________________________ >> Wonder-disc mailing list >> [email protected] <mailto:[email protected]= e.net> >> https://lists.sourceforge.net/lists/listinfo/wonder-disc <https://list= s.sourceforge.net/lists/listinfo/wonder-disc> > -----------------------------------------------------------------------= =2D------ > 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 Mit freundlichem Gr=C3=BC=C3=9Fen Ren=C3=A9 Bock =2D-- Zum Laurenburger Hof 48 60594 Frankfurt/Main DE fon: +49 69 625350 mobil: +49 177 44 73 99 4 --Apple-Mail=_DE2D3E09-DC0C-4764-8E58-650907EA1767 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-nbs= p-mode: space; -webkit-line-break: after-white-space;" class=3D""><div = class=3D"">Hi,</div><div class=3D""><br class=3D""></div><div class=3D"">= <div>Its wasn=E2=80=99t a WOConcurrentRequst issue.</div><div><br = class=3D""></div><div>Lesson learned:</div><div><br class=3D""></div><div= >When subclassing WODynamicGroup, beware of mutable instance = variables :-| </div><div>Descends of this class must be = thread-save.</div></div><div class=3D""><br class=3D""></div> <br = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">Am = 24.02.2017 um 20:26 schrieb Ren=C3=A9 Bock <<a href=3D"mailto:rene.boc= [email protected]" class=3D"">[email protected]</a>>:</div><br class=3D"Ap= ple-interchange-newline"><div class=3D""><meta http-equiv=3D"content-type= " content=3D"text/html; charset=3Dutf-8" class=3D""><div dir=3D"auto" = class=3D""><div class=3D"">Hi, Larry</div><div class=3D""><br class=3D"">= </div><div class=3D"">Is your hyperlink-not-invoking-the-action-thing = easy reproducible or appears it 'only' when the app is under load?</div><= div class=3D""><br class=3D""></div><div class=3D"">We are experiencing = strange effects when the application is hit by a lot of concurrent = requests. Like</div><div class=3D"">- Ajax Update Container not returning= a response </div><div class=3D"">- ERXElse pretending not to have = a Erxwoconditional</div><div class=3D"">and some other...</div><div = class=3D""><br class=3D""></div><div class=3D"">This effects happens = every 1 of 10000 requests or so</div><div class=3D""><br class=3D""></div= ><div class=3D"">We hope, that the cause is buried in one of our = frameworks and it's not WOConcurrentRequst issue </div><div = class=3D""><br class=3D""></div><div class=3D""><br class=3D"">Regards<br= class=3D""><div class=3D""><br class=3D""></div><div class=3D""> = Ren=C3=A9 Bock</div></div><div class=3D""><br class=3D"">Am = 24.02.2017 um 19:43 schrieb Larry Mills-Gahl <<a href=3D"mailto:elemge= [email protected]" class=3D"">[email protected]</a>>:<br class=3D""><br = class=3D""></div><blockquote type=3D"cite" class=3D""><div class=3D""> <meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"= class=3D""> <div style=3D"font-family:sans-serif" class=3D""><div style=3D"white-spac= e:normal" class=3D""><p dir=3D"auto" class=3D"">Aaron,</p><p dir=3D"auto"= class=3D"">Hmmm=E2=80=A6 That=E2=80=99s a good thought. I=E2=80=99ll = try working out the conditionals again, but this has worked in the = conditional hierarchy before. The form is only displayed if a facility = is selected and the results list is only displayed if there are results = to display=E2=80=A6 but selecting the result link doesn=E2=80=99t go to = the detail page=E2=80=A6</p><p dir=3D"auto" class=3D"">I=E2=80=99ll try = to the conditionals stuff. </p><p dir=3D"auto" class=3D"">Thanks Aaron. = </p> <br class=3D""><p dir=3D"auto" class=3D"">On 24 Feb 2017, at 13:39, = Aaron Rosenzweig wrote:</p> </div> <blockquote style=3D"border-left:2px solid #777; color:#777; margin:0 0 = 5px; padding-left:5px" class=3D""><div id=3D"7CEA66A9-6B4E-43AC-9C24-E2B0= 635D295E" class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mo= de: 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=9C= return 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-siz= e:11px;color:#888888;line-height:22px" class=3D""><b style=3D"color:#11ae= ab;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-siz= e: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;co= lor:#b2b2b2" class=3D"">[email protected]</a> <b style=3D"co= lor:#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/Contents/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/Contents/WebServerResources/images/dealers/usa.jpg" alt=3D"Chat 'n = Bike" height=3D"100" class=3D""> </td> </tr> </tbody></table> </div> <br class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On Feb 24, 2017, at 1:31 PM, Larry Mills-Gahl <<a href=3D"m= ailto:[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=99t get called. Any = ideas?<br class=3D""><br class=3D"">Larry Mills-Gahl<br class=3D"">elemge= e 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]= rge.net</a><br class=3D""><a href=3D"https://lists.sourceforge.net/lists/= listinfo/wonder-disc" class=3D"">https://lists.sourceforge.net/lists/list= info/wonder-disc</a><br class=3D""></div></div></blockquote></div><br = class=3D""></div></div></div></blockquote> <div style=3D"white-space:normal" class=3D""><blockquote style=3D"border-= left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px" = class=3D""> </blockquote><br class=3D""><p dir=3D"auto" class=3D"">Larry Mills-Gahl<b= r class=3D""> elemgee at gmail dot com</p> </div> </div> </div></blockquote><blockquote type=3D"cite" class=3D""><div class=3D""><= span class=3D"">---------------------------------------------------------= ---------------------</span><br class=3D""><span class=3D"">Check out = the vibrant tech community on one of the world's most</span><br class=3D"= "><span 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></span><br class=3D""></div></bloc= kquote><blockquote type=3D"cite" class=3D""><div class=3D""><span = class=3D"">_______________________________________________</span><br = class=3D""><span class=3D"">Wonder-disc mailing list</span><br class=3D""= ><span class=3D""><a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a></span><br class=3D""><sp= an class=3D""><a href=3D"https://lists.sourceforge.net/lists/listinfo/won= der-disc" class=3D"">https://lists.sourceforge.net/lists/listinfo/wonder-= disc</a></span><br class=3D""></div></blockquote></div> -------------------------------------------------------------------------= -----<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://slashdo= t.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.sourc= eforge.net/lists/listinfo/wonder-disc<br class=3D""></div></blockquote></= div><br class=3D""><div class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = font-variant-ligatures: normal; font-variant-position: normal; font-varia= nt-numeric: normal; font-variant-alternates: normal; font-variant-east-as= ian: normal; line-height: normal; border-spacing: 0px;"><span class=3D"Ap= ple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); = font-family: Helvetica; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect:= none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = "><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; " class=3D""><span class=3D"Apple-= style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; font-variant= : normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-ef= fect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: = 0px; "><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; " class=3D""><span class=3D"Apple-= style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; font-variant= : normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-ef= fect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: = 0px; "><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; " class=3D""><div class=3D""><p = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; " class=3D"">Mit freundlichem Gr=C3=BC=C3=9Fen</p><div = class=3D""><br class=3D""></div><div class=3D""><span class=3D"Apple-tab-= span" style=3D"white-space: pre; "> </span><span class=3D"Apple-style-spa= n" style=3D"font-size: 12px; ">Ren=C3=A9 Bock</span><span class=3D"Apple-= style-span" style=3D"font-size: 12px; "><span class=3D"Apple-tab-span" = style=3D"white-space: pre; "> </span></span></div><div class=3D""><span = class=3D"Apple-tab-span" style=3D"white-space: pre; "></span><span = class=3D"Apple-style-span" style=3D"white-space: pre; "><br class=3D""></= span><div class=3D""><span class=3D"Apple-style-span" style=3D"border-col= lapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; line-height: normal; orphans: 2; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spac= ing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adj= ust: auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-s= pan" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family= : Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect:= none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = "><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; " class=3D""><div class=3D""><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; " class=3D""><font face=3D"Helvetica" size=3D"3" = style=3D"font: normal normal normal 12px/normal Helvetica; " class=3D"">-= --</font></div><div style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; " class=3D"">Zum Laurenburger Hof = 48<span class=3D"Apple-tab-span" style=3D"white-space: pre; "> </span><sp= an class=3D"Apple-tab-span" style=3D"white-space: pre; "> </span>60594 = Frankfurt/Main<span class=3D"Apple-tab-span" style=3D"white-space: pre; = "> </span>DE</div><div style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; " class=3D""><font face=3D"Helvetic= a" size=3D"3" style=3D"font: normal normal normal 12px/normal Helvetica; = " class=3D"">fon: +49 69 625350</font></div></div></div></span></span></d= iv><div class=3D""><span class=3D"Apple-style-span" style=3D"border-colla= pse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; line-height: normal; orphans: 2; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spac= ing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adj= ust: auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-s= pan" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family= : Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect:= none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = "><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; " class=3D""><div class=3D""><div = class=3D"">mobil: +49 177 44 73 99 4</div></div><div class=3D""><br = class=3D""></div></div></span></span></div></div><p class=3D""></p></div>= </div></span></div></span></div></span><br class=3D"Apple-interchange-new= line"></span><br class=3D"Apple-interchange-newline"> </div> <br class=3D""></body></html> --Apple-Mail=_DE2D3E09-DC0C-4764-8E58-650907EA1767-- --===============3243232865759726326== 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 --===============3243232865759726326== 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 --===============3243232865759726326==--