Am 28.03.2011 18:39, schrieb Peter Jönsson:
> To add to Rolfs post you can do something like:
>
> <emit source="scopes" filter-exclude="scope=modvar">
> <h3>&_.scope;</h3>
> <emit source="values" from-scope="&_.scope;">
> &_.index; = &_.value;<br/>
> </emit>
> </emit>
>
> to see all available rxml-vars in a pageload.
> Somehow I got the "modvar" scope from emit scopes and emitting that scope
> gave
> me a http500 (hence the manual omission of that scope above)
> ...
Hello!
Thanks for all your help. That code fragment above produces an internal
error 500 even with modvar in the exclude list:
: Internal server error: Wrong type in assignment, expected mapping,
got object.
: RXML frame backtrace:
7:37:32 : | <emit from-scope="modvar" source="values" values=mapping>
2d 2h36m : | <emit filter-exclude="scope=modvar" source="scopes">
(I am using CMS 4.5.241, under webserver 5.1.185 it works)
With regards,
Peter.
--
----------------------------------------------------------------------
HRZ der Universitaet Bielefeld Phone: +49 521 106-00
Dipl.-Inf. Peter Ohlerich Email: [email protected]
P.O.Box 100131 WWW: http://www.uni-bielefeld.de/hrz/
D-33501 Bielefeld (Germany)