Any idea what "event" is referring to?

musachy

On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a struts div-Tag with:
>
> This refreshes a jsp when the refreshSelectedCustomer topic is published. If
> this happens the sessionContext Action is called (As far as I understand it)
>
> In the selectedCustomer.jsp I have a href where I call a javascript which
> publishes the topic as well as a click on a table in the main jsp.
>
> Entfernen
>
> Javascripts:
> function mainJspFuntion() {
> // update context via ajax
> document.getElementById('selectedIpNbr').value = ipNbr;
> document.getElementById('contextAction').value = 'SET_SESSION_CONTEXT';
> dojo.event.topic.publish("/refreshSelectedCustomer");
> }
>
> function removeSelectedIp() {
> document.getElementById('selectedIpNbr').value = '';
> document.getElementById('contextAction').value = 'REMOVE_SESSION_CONTEXT';
> dojo.event.topic.publish("/refreshSelectedCustomer");
> }
>
> In IE all works like expceted, but in Firefox I get a error:
>
> TypeError: event has no properties
> (no name)(undefined, undefined)search.js (line 206)
> run()dojo.js (line 4868)
> (no name)()dojo.js (line 4767)
> _4a5([Window search.action, "__0", undefined, 4 more...])dojo.js (line 4841)
> _4b5()dojo.js (line 4855)
> forEach([[Window search.action, "__0", undefined, 4 more...], [[Widget
> struts:binddiv, selectedCustomer] children=[1] extraArgs=Object
> _styleNodes=[0], "refresh", undefined, 4 more...]], function(),
> undefined)dojo.js (line 3127)
> run()dojo.js (line 4878)
> (no name)()dojo.js (line 4767)
> publish(Object topicName=/refreshSelectedCustomer, undefined)dojo.js (line
> 4975)
> removeSelectedIp()search.js (line 105)
> onclick(click clientX=0, clientY=0)search.action (line 1)
> [Break on this error] throw _13||Error(_12);
>
> I have no clue where I shall look.
> Any advice?
>
> Thank you
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to