Skip to main content

JMaki and Struts Tiles

1 reply [Last post]
guyost
Offline
Joined: 2007-03-07
Points: 0

Hello everybody,

I'm using Netbeans and I've created a project using Struts and JMaki. If I insert a jmaki object (the clock for example) in a jsp page, and if I display this page, it works fine, but If i'm using struts tiles, then no jmaki object is displayed on the page... and I get this error in the firefox console :
Erreur : uncaught exception: Permission refusée d'obtenir la propriété Window.jmaki
(I try to translate : Permission denied to get property : Window.jmaki).

I put this line :
<%@ taglib prefix="a" uri="http://java.sun.com/jmaki" %>
in my jsp page, then I tried to put it in my "tiles" page... nothing has changed.

Does someone know how to do ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
guyost
Offline
Joined: 2007-03-07
Points: 0

Sorry I found the problem, it didn't work because of an iframe in the same page. I don't know why the iFrame prevent jmaki object from working... but anyway I removed the iFrame and now it's working :) !

Sorry for this unuseful post...