Re: WOHyperlink not invoking action
"Larry Mills-Gahl" <[email protected]> Fri, 24 Feb 2017 13:43:53 -0500
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
--===============3289911232118569947== Content-Type: multipart/alternative; boundary="=_MailMate_14733C26-3D82-49E0-A194-9A0B200B1A20_=" --=_MailMate_14733C26-3D82-49E0-A194-9A0B200B1A20_= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Aaron, 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 resu= lt = link doesn=E2=80=99t go to the detail page=E2=80=A6 I=E2=80=99ll try to the conditionals stuff. Thanks Aaron. On 24 Feb 2017, at 13:39, Aaron Rosenzweig wrote: > 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 evalua= te to false = > and hide it from view. > > 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=99= s as if = > you bound a =E2=80=9Creturn null=E2=80=9D to a simple action. > > I=E2=80=99m assuming you got ajax and things=E2=80=A6 or, that the shar= ed = > ObjectStoreCoordinator got updates that make the hyperlink = > invisible=E2=80=A6. like maybe another user already deleted something i= n 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 = > = > >> On Feb 24, 2017, at 1:31 PM, Larry Mills-Gahl <[email protected]> = >> wrote: >> >> Hello=E2=80=A6 >> >> I have a hyperlink that is not invoking the action as it used to (or = >> as >> I would expect it to). What would cause a hyperlink to not call the >> action defined? Other components on the same page have hyperlinks = >> that >> work as expected, but this one doesn=E2=80=99t. The action is seen, bu= t = >> just >> doesn=E2=80=99t get called. Any ideas? >> >> Larry Mills-Gahl >> elemgee at gmail dot com >> >> ----------------------------------------------------------------------= -------- >> 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 Larry Mills-Gahl elemgee at gmail dot com --=_MailMate_14733C26-3D82-49E0-A194-9A0B200B1A20_= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"= > </head> <body> <div style=3D"font-family:sans-serif"><div style=3D"white-space:normal"><= p dir=3D"auto">Aaron,</p> <p dir=3D"auto">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 condi= tional hierarchy before. The form is only displayed if a facility is sele= cted and the results list is only displayed if there are results to displ= ay=E2=80=A6 but selecting the result link doesn=E2=80=99t go to the detai= l page=E2=80=A6</p> <p dir=3D"auto">I=E2=80=99ll try to the conditionals stuff. </p> <p dir=3D"auto">Thanks Aaron. </p> <br><p dir=3D"auto">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 5= px; padding-left:5px"><div id=3D"7CEA66A9-6B4E-43AC-9C24-E2B0635D295E"><d= iv 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 WOC= onditional 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 hid= e 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 ObjectStoreCoordina= tor got updates that make the hyperlink invisible=E2=80=A6. like maybe an= other 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;" b= order=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 Rosenzwe= ig</b> / <a href=3D"http://www.chatnbike.com" title=3D"visit Ch= at 'n Bike" style=3D"text-decoration:none; border-bottom:1px dotted #8888= 88;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 Aa= ron" style=3D"text-decoration:none; border-bottom:1px dotted #b2b2b2;colo= r:#b2b2b2" class=3D"">[email protected]</a> <b style=3D"colo= r:#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 Bi= ke" 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:elemg= [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 w= ould cause a hyperlink to not call the <br class=3D"">action defined? Oth= er components on the same page have hyperlinks that <br class=3D"">work a= s expected, but this one doesn=E2=80=99t. The action is seen, but just <b= r class=3D"">doesn=E2=80=99t get called. Any ideas?<br class=3D""><br cla= ss=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 communit= y 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 mai= ling list<br class=3D""><a href=3D"mailto:[email protected]= et" 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></div></div></blockquote> <div style=3D"white-space:normal"><blockquote style=3D"border-left:2px so= lid #777; color:#777; margin:0 0 5px; padding-left:5px"> </blockquote><br><p dir=3D"auto">Larry Mills-Gahl<br> elemgee at gmail dot com</p> </div> </div> </body> </html> --=_MailMate_14733C26-3D82-49E0-A194-9A0B200B1A20_=-- --===============3289911232118569947== 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 --===============3289911232118569947== 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 --===============3289911232118569947==--