|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
How to add Java Applet or FlashHi
i have two question Firstly, can i add a java applet or Flash file or movie in atleap ? how do i do it ? secondly, i try to add a simple frame in one of my content pages here's the snippet : --SNIPPET START-- <atleap:rewriteUrl action="core/content" var="contentUrlWParam"> <atleap:param name="todo" value="refresh" /> </atleap:rewriteUrl> <atleap:rewriteUrl action="core/text" var="textUrlWParam"> <atleap:param name="todo" value="refresh" /> </atleap:rewriteUrl> <frameset> <frame name="content" src="${contentUrlWParam}"> <frame name="text" src="${textUrlWParam}"> </frameset> --SNIPPET END-- i can access both the core/content and core/content page (e.g rw/core/content.en.do) directly from browser but when i access a content page (just a simple jsp) with the frame tag like the snippet above, it just won't come out i have tried the atleap:iframe tag, it doesn't help either can you help me please ? |
|
|
Re: How to add Java Applet or FlashHi, Nico.
Nico Robin writes: > Hi > i have two question > > Firstly, can i add a java applet or Flash file or movie in atleap ? how do i > do it ? You can upload it as a resource. But to use such a resource on the pages, several possibilities exist. 1. The resource is supported by the WYSISYG editor. In this case, during the editing of some field which type is HTML, you invoke the corresponding browser from the editor (for instance, Image browser or Flash browser) and insert a resource with it. Images are supported, of course. If I'm not mistaken, Flash files are supported too by both editors. As for the others (applet and so on), I'm not sure. 2. The resource is not supported by the editor. In this case you will not be able to include it directly to the field as in the first case. Possibly, you will have to do some JSP coding to link your applet or some other resource which is not supported by the editor. > > secondly, i try to add a simple frame in one of my content pages > > here's the snippet : > > > --SNIPPET START-- > <atleap:rewriteUrl action="core/content" var="contentUrlWParam"> > <atleap:param name="todo" value="refresh" /> > </atleap:rewriteUrl> > <atleap:rewriteUrl action="core/text" var="textUrlWParam"> > <atleap:param name="todo" value="refresh" /> > </atleap:rewriteUrl> > > <frameset> > <frame name="content" src="${contentUrlWParam}"> > <frame name="text" src="${textUrlWParam}"> > </frameset> > --SNIPPET END-- > > i can access both the core/content and core/content page (e.g > rw/core/content.en.do) directly from browser > > but when i access a content page (just a simple jsp) with the frame tag like > the snippet above, it just won't come out > > i have tried the atleap:iframe tag, it doesn't help either The atleap:iframe tag will not work here as it takes the content which will be rendered inside the <iframe/> tag by evaluating its body while you need to get content by the link. Actually, I'm not an expert in frames, but didn't you try to make these links (which are in 'src' attibutes) absolute? I.e. instead of 'rw/core/...' make something like 'http://www.site.com/rw/core/...'. > > can you help me please ? > Roman Puchkovskiy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |