Re: some observations with nested macros

<[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
hi hannes

> I don't think that filters should be applied after prefix/default
> have been applied. In most cases, when you supply a default value as
> string, you'll put it there as it should be displayed. Same with
> prefix and suffix. And to apply prefix/suffix/default, the macro
> output has to be converted to a string. So all filters operating on
> other objects would stop working with prefix/suffix:     

yes, you're right; and it very much depends on the situation. (as you can imagine, i am in the exact contrary one needing the filter to be applied finally, after all prefix, suffix and default settings have been made.)

> What could work is to make the default macro inherit the filter chain
> of the containing macro, but I'm not really sure about the
> implications. As a solution, you should be able to add your own
> filter chain to the default macro.   

i noticed that i can solve most issues doing this. thanks for your help!

ciao,
tobi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.