You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by linuja <li...@gmail.com> on 2006/04/05 02:24:53 UTC
FATAL: bad srcObj for srcFunc: onclick (tacos)
tacos4-beta-2 (also tacos4-beta-1) :
when using the tacos:AjaxLinkSubmit, sometimes it doesn't work ( whether ie
or firefox ), and the error message is: "FATAL: bad srcObj for srcFunc:
onclick"
Re: FATAL: bad srcObj for srcFunc: onclick (tacos)
Posted by Jorge Quiroga <jq...@pctltda.com>.
Hello:
Until today My Tap4 app works, but I delete a .jar that has a hivemind
config and the code associate (and my AjaxForm and Dialog had its name)
and this error appear. The funny thing is that the .jar is used by
another page (the main) but this affect my login page (with the message,
and don´t have anything about the .jar), nut when I put again this jar,
my login page appear. the only error showed by IE is that
dojo.widget.byId('LoginDialog') has no properties.
Why the .jar affects my LoginDialog? this jar was an a try to do a
component that generate reports and has a hivemind config that is the
only thing that could affect AFAIK.
Environment:
Windows XP SP2
Tomcat 5.5.16
Tacos4-beta1
Tap 4.0 (with 4.0.1 tacos don't work)
If you want I can send to you my code to try to repeat the condition.
andyhot@di.uoa.gr escribió:
> Is it possible to better define "sometimes"?
> Or perhaps show some example code?
>
> Could this be related to
> http://tacoscomponents.jot.com/BugReporter/Bug95 ?
>
> >From linuja <li...@gmail.com>:
>
>
>> tacos4-beta-2 (also tacos4-beta-1) :
>>
>> when using the tacos:AjaxLinkSubmit, sometimes it doesn't work ( whether ie
>> or firefox ), and the error message is: "FATAL: bad srcObj for srcFunc:
>> onclick"
>>
>>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: FATAL: bad srcObj for srcFunc: onclick (tacos)
Posted by Andreas Andreou <an...@di.uoa.gr>.
I don't get any errors if i use
<span jwcid="TableColumns2@tacos:TableFormPages" updateComponents="ognl:{'datas'}"/>
... but there have been some recent code changes (both in tacos and in dojo)
linuja wrote:
>Yesh, it is.
>
>Here is the code:
>
><span id="datas" jwcid="@Any">
> <form jwcid="@tacos:AjaxForm" focus="ognl:false">
> <div jwcid="@tacos:TableView" source="prop:model"
>columns="ognl:columns" element="div">
> <table>
> <thead>
> <tr class="headbar">
> <th jwcid="TableColumns@tacos:TableColumns"
>updateComponents="ognl:{'datas'}"></th>
> </tr>
> </thead>
> <tbody>
> <tr jwcid="@tacos:TableRows">
> <td jwcid="@tacos:TableValues"></td>
> </tr>
> </tbody>
> </table>
> <div>
> <span jwcid="TableColumns2@tacos:TableFormPages"
>copy-of="TableColumns2"></span>
> </div>
> </div>
> </form>
></span>
>
>If remove the TableColumn2 component, then It's ok. But if include the
>TableColumns2, then, the error occur: FATAL: bad srcObj for srcFunc
>
>
>2006/4/5, andyhot@di.uoa.gr <an...@di.uoa.gr>:
>
>
>>Is it possible to better define "sometimes"?
>>Or perhaps show some example code?
>>
>>Could this be related to
>>http://tacoscomponents.jot.com/BugReporter/Bug95 ?
>>
>>>From linuja <li...@gmail.com>:
>>
>>
>>
>>>tacos4-beta-2 (also tacos4-beta-1) :
>>>
>>>when using the tacos:AjaxLinkSubmit, sometimes it doesn't work ( whether
>>>
>>>
>>ie
>>
>>
>>>or firefox ), and the error message is: "FATAL: bad srcObj for srcFunc:
>>>onclick"
>>>
>>>
>>>
>>--
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: FATAL: bad srcObj for srcFunc: onclick (tacos)
Posted by linuja <li...@gmail.com>.
Yesh, it is.
Here is the code:
<span id="datas" jwcid="@Any">
<form jwcid="@tacos:AjaxForm" focus="ognl:false">
<div jwcid="@tacos:TableView" source="prop:model"
columns="ognl:columns" element="div">
<table>
<thead>
<tr class="headbar">
<th jwcid="TableColumns@tacos:TableColumns"
updateComponents="ognl:{'datas'}"></th>
</tr>
</thead>
<tbody>
<tr jwcid="@tacos:TableRows">
<td jwcid="@tacos:TableValues"></td>
</tr>
</tbody>
</table>
<div>
<span jwcid="TableColumns2@tacos:TableFormPages"
copy-of="TableColumns2"></span>
</div>
</div>
</form>
</span>
If remove the TableColumn2 component, then It's ok. But if include the
TableColumns2, then, the error occur: FATAL: bad srcObj for srcFunc
2006/4/5, andyhot@di.uoa.gr <an...@di.uoa.gr>:
>
> Is it possible to better define "sometimes"?
> Or perhaps show some example code?
>
> Could this be related to
> http://tacoscomponents.jot.com/BugReporter/Bug95 ?
>
> From linuja <li...@gmail.com>:
>
> > tacos4-beta-2 (also tacos4-beta-1) :
> >
> > when using the tacos:AjaxLinkSubmit, sometimes it doesn't work ( whether
> ie
> > or firefox ), and the error message is: "FATAL: bad srcObj for srcFunc:
> > onclick"
> >
>
>
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: FATAL: bad srcObj for srcFunc: onclick (tacos)
Posted by an...@di.uoa.gr.
Is it possible to better define "sometimes"?
Or perhaps show some example code?
Could this be related to
http://tacoscomponents.jot.com/BugReporter/Bug95 ?
>From linuja <li...@gmail.com>:
> tacos4-beta-2 (also tacos4-beta-1) :
>
> when using the tacos:AjaxLinkSubmit, sometimes it doesn't work ( whether ie
> or firefox ), and the error message is: "FATAL: bad srcObj for srcFunc:
> onclick"
>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org