views:

303

answers:

0

I'm having a really strange problem in struts 2.1.8.1 with the dojo tree and ajax links.

Ok, I got a dynamic navigation tree that looks like the second example in the showcase project that comes with struts(not the one named ajax). When the link in the tree is clicked a target div is updated. This works fine.

Now for the weird bit. If I use a dojo sx: tag inside the dynamically loaded div, the "targets" argument does not work.

-The same exact code work if not loaded by the tree. -Target works outside the div dynamically loaded even after navigationtree action has been performed -I have tried to target div tags inside and outside the dynamically loaded div but nothing seems to work.

I'm new to struts so I might have done something weird but I can´t figure out what it could be.

BR, Tobias