Re: WOHyperlink not invoking action
René Bock <[email protected]> Fri, 24 Feb 2017 20:26:35 +0100
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
--===============7180760998507732391==
Content-Type: multipart/alternative;
boundary=Apple-Mail-9BD7B755-BE4D-4029-AF53-F6F9D574E3A3
--Apple-Mail-9BD7B755-BE4D-4029-AF53-F6F9D574E3A3
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi, Larry
Is your hyperlink-not-invoking-the-action-thing easy reproducible or =
appears it 'only' when the app is under load?
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...
This effects happens every 1 of 10000 requests or so
We hope, that the cause is buried in one of our frameworks and it's not =
WOConcurrentRequst issue=20
Regards
Ren=C3=A9 Bock
> Am 24.02.2017 um 19:43 schrieb Larry Mills-Gahl <[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
> e: [email protected] t: (301) 956-2319
>
>=20
>> 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
>> ----------------------------------------------------------------------=
=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
>=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://sdm.link/slashdot
> _______________________________________________
> Wonder-disc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wonder-disc
--Apple-Mail-9BD7B755-BE4D-4029-AF53-F6F9D574E3A3
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body dir=3D"auto"><div>Hi, Larry</div><div =
id=3D"AppleMailSignature"><br></div><div id=3D"AppleMailSignature">Is =
your hyperlink-not-invoking-the-action-thing easy reproducible or =
appears it 'only' when the app is under load?</div><div id=3D"AppleMailSi=
gnature"><br></div><div id=3D"AppleMailSignature">We are experiencing =
strange effects when the application is hit by a lot of concurrent =
requests. Like</div><div id=3D"AppleMailSignature">- Ajax Update =
Container not returning a response </div><div id=3D"AppleMailSignatu=
re">- ERXElse pretending not to have a Erxwoconditional</div><div =
id=3D"AppleMailSignature">and some other...</div><div id=3D"AppleMailSign=
ature"><br></div><div id=3D"AppleMailSignature">This effects happens =
every 1 of 10000 requests or so</div><div id=3D"AppleMailSignature"><br><=
/div><div id=3D"AppleMailSignature">We hope, that the cause is buried in =
one of our frameworks and it's not WOConcurrentRequst issue </div><d=
iv id=3D"AppleMailSignature"><br></div><div id=3D"AppleMailSignature"><br=
>Regards<br><div><br></div><div> Ren=C3=A9 Bock</div><=
/div><div><br>Am 24.02.2017 um 19:43 schrieb Larry Mills-Gahl <<a =
href=3D"mailto:[email protected]">[email protected]</a>>:<br><br></div=
><blockquote type=3D"cite"><div>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
<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 =
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">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 =
5px; padding-left:5px"><div id=3D"7CEA66A9-6B4E-43AC-9C24-E2B0635D295E"><=
div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-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=9Crepla=
y=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-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><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 would cause a hyperlink to not call the <br class=3D"">actio=
n 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"">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"">engag=
ing 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/slash=
dot</a><br class=3D"">_______________________________________________<br =
class=3D"">Wonder-disc mailing list<br class=3D""><a href=3D"mailto:Wonde=
[email protected]" class=3D"">[email protected]=
t</a><br class=3D""><a href=3D"https://lists.sourceforge.net/lists/listin=
fo/wonder-disc">https://lists.sourceforge.net/lists/listinfo/wonder-disc<=
/a><br class=3D""></div></div></blockquote></div><br class=3D""></div></d=
iv></div></blockquote>
<div style=3D"white-space:normal"><blockquote style=3D"border-left:2px =
solid #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>
</div></blockquote><blockquote type=3D"cite"><div><span>-----------------=
-------------------------------------------------------------</span><br><=
span>Check out the vibrant tech community on one of the world's most</spa=
n><br><span>engaging tech sites, <a href=3D"http://SlashDot.org">SlashDot=
.org</a>! <a href=3D"http://sdm.link/slashdot">http://sdm.link/slashdot</=
a></span><br></div></blockquote><blockquote type=3D"cite"><div><span>____=
___________________________________________</span><br><span>Wonder-disc =
mailing list</span><br><span><a href=3D"mailto:[email protected]=
rge.net">[email protected]</a></span><br><span><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/wonder-disc">https:/=
/lists.sourceforge.net/lists/listinfo/wonder-disc</a></span><br></div></b=
lockquote></body></html>
--Apple-Mail-9BD7B755-BE4D-4029-AF53-F6F9D574E3A3--
--===============7180760998507732391==
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
--===============7180760998507732391==
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
--===============7180760998507732391==--