Hi Everybody,
I've got a problem on loading the Tapestry.onDOMLoaded content in i.e and I
can't understand
in anyways what it's happening...:(
I've put a simple alert with the
support.addScript("alert('test!');");
so I've got something like this (I miss I've got the right context menu...
but I think it's not the problem)
in the bottom of my page
<SCRIPT type="text/javascript">
<!--Tapestry.onDOMLoaded(function() {
alert('test!');
alert('test!'); // twice (but I don't know why)
/* this is for right context... */
var menu = { attributes: 'a,b,c',items: [{type:RightContext.TYPE_MENU,
text:' Submit della form',
onclick:function(){RightContext.addSubmitContext('[a]','context_test1')}},
{type:RightContext.TYPE_MENU, text:' Seleziona PDV',
onclick:function(){location.replace('start.testgrid.columns.gtb.sailinglinkableimage.sal/context_test1/[a]')}}]};
RightContext.addMenu('actions', menu); RightContext.initialize();var menu =
{ attributes: 'a,b,c',items: [{type:RightContext.TYPE_MENU, text:' Submit
della form',
onclick:function(){RightContext.addSubmitContext('[a]','context_test1')}},
{type:RightContext.TYPE_MENU, text:' Seleziona PDV',
onclick:function(){location.replace('start.testgrid.columns.gtb.sailinglinkableimage.sal/context_test1/[a]')}}]};
RightContext.addMenu('actions', menu); RightContext.initialize();var menu =
{ attributes: 'a,b,c',items: [{type:RightContext.TYPE_MENU, text:' Submit
della form',
onclick:function(){RightContext.addSubmitContext('[a]','context_test1')}},
{type:RightContext.TYPE_MENU, text:' Seleziona PDV',
onclick:function(){location.replace('start.testgrid.columns.gtb.sailinglinkableimage.sal/context_test1/[a]')}}]};
RightContext.addMenu('actions', menu); RightContext.initialize();var menu =
{ attributes: 'a,b,c',items: [{type:RightContext.TYPE_MENU, text:' Submit
della form',
onclick:function(){RightContext.addSubmitContext('[a]','context_test1')}},
{type:RightContext.TYPE_MENU, text:' Seleziona PDV',
onclick:function(){location.replace('start.testgrid.columns.gtb.sailinglinkableimage.sal/context_test1/[a]')}}]};
RightContext.addMenu('actions', menu); RightContext.initialize();var menu =
{ attributes: 'a,b,c',items: [{type:RightContext.TYPE_MENU, text:' Submit
della form',
onclick:function(){RightContext.addSubmitContext('[a]','context_test1')}},
{type:RightContext.TYPE_MENU, text:' Seleziona PDV',
onclick:function(){location.replace('start.testgrid.columns.gtb.sailinglinkableimage.sal/context_test1/[a]')}}]};
RightContext.addMenu('actions', menu); RightContext.initialize();var menu =
{ attributes: 'a,b,c',items: [{type:RightContext.TYPE_MENU, text:' Submit
della form',
onclick:function(){RightContext.addSubmitContext('[a]','context_test1')}},
{type:RightContext.TYPE_MENU, text:' Seleziona PDV',
onclick:function(){location.replace('start.testgrid.columns.gtb.sailinglinkableimage.sal/context_test1/[a]')}}]};
RightContext.addMenu('actions', menu); RightContext.initialize();
Tapestry.registerForm('sailingForm', {});
// --></SCRIPT>
In firefox everything works fine as usually, in ie it seems that only after
three or four page reload the alert
do its job and comes out. Is it a caching problem or something else ? Any
ideas ?
thanks in advance
-Rick
--
View this message in context:
http://www.nabble.com/T5-Tapestry.onDOMLoaded-internet-explorer-7-tp16467393p16467393.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]