Author |
Message |
17/02/2008 18:07:12
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
Hi everyone,
we use a dynamic content replace for including jsp. I tried to introduce the macro mechanism to those beans, but it seems that this content replace is not executed for macro definitons.
Is it possible to use dynamic content replace and the macro mechanism together?
Thanks for your help.
Tobias
|
|
|
18/02/2008 08:45:55
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5519
Offline
|
Yes, this is possible. The sequence is:
(1) first the content replacements are done
(2) then the macro execution is done
Maybe it's the same problem as in your parallel post...? The macro definition must be part of the application's web application, not the editor's one.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
18/02/2008 09:04:09
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
I know (as in my other post) that the macro has to be in my web application. It works fine.
The problem was that in my macro definition, I handed over the bean definition as 'd.myBean' and not 'd.myBean.'. But in my content replace, I gave the bean expression with the trailing '.'. After adding this '.', everything worked fine.
So, everything is fine (besides my other post), it works perfectly fine.
Tobias
|
|
|
|