Jesse,
wf:wire(Target, Action) calls wf:wire(Target, Target, Action) substituting 1st Trigger element. (this is confusing btw).
Then later calls action_wire:fire/3, where Achor is set from wf_context:anchor(), not from any arguments.
My code tests simple comet:
body() ->
...
wf:comet(fun update_time/0),
...
update_time() ->
timer:sleep(1000),
{{_, _, D}, {H, M, S}} = calendar:local_time(),
Time = lists:concat([D, "/", H, ":", M, ":", S]),
Script = wf:f("objs('##timeStamp>span>span').text('~s');", [Time]),
wf:wire(timeStamp, Script),
wf:flush(),
update_time().
Where I assume I could use 'me' instead of '##timeStamp', because Script used in context of timeStamp element in wf:wire/2 call. At least I'd like to think so. In practice 'me' translated to 'page' anchor...
(ugly '>span>span' is a temp workaround for jQuery button-link text update)