A Workaround for this kind of problem is:
evaluate the condition used in the binding within the appendToResponse-method ) 
of the component, before calling super.appendToResponse, 
store the result into a variable and use this variable for the binding of the 
conditional.

Am 24.08.2013 um 16:41 schrieb Laurence Mills-Gahl <[email protected]>:

> Ahhhhh….
> This sounds like a likely situation. The component is a quick search box that 
> requires a facility to be selected to limit the search so the first time 
> through a message is displayed about making the selection… hmm…
> 
> 
> 
> 
> Larry Mills-Gahl
> [email protected]
> 
> 
> 
> 
> 
> 
> On Aug 23, 2013, at 7:14 PM, Ramsey Gurley <[email protected]> wrote:
> 
>> This can happen when the hyperlink is after a conditional and the 
>> conditional evaluates differently on the second request, thus changing the 
>> hyperlink's element ID.
>> 
>> request - serve page
>>      condition = true
>>      elementID -> 0.0.0.5
>> response
>> request - click link
>>      condition = false
>>      elementID -> 0.0.0.1
>> response - oops, no such element 0.0.0.5. invokeAction comes up empty handed
>> 
>> On Aug 23, 2013, at 3:51 PM, Laurence Mills-Gahl wrote:
>> 
>>> Hello,
>>> 
>>> I have a WOHyperlink with an action bound but the action doesn't get 
>>> called. I set a breakpoint in the method and run it in debug mode, but it 
>>> never breaks. 
>>> I must be spending too much time looking at this to see (what must be) an 
>>> obvious problem, but I cannot see what the problem is. This is a basic 
>>> WOHyperlink with an action.
>>> 
>>> Anybody have an ideas where I can look for causes?
>>> 
>>> Larry Mills-Gahl
>>> [email protected]
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to [email protected]
>> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jmb-dev%40burzler.eu
> 
> This email sent to [email protected]

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to