leenalavanya  wrote:
> hi,Is there anyway to get object alias from jsp for a builder i.e object 
> type?For MyNews application you used \"default.mags\" i.e object alias of 
> magazine directly in the jsp file.Ok! If some one added one more magazine, as 
> I don\'t know its alias how can I access it. Is there anyway? Hope u will 
> help me in this regard.thanks in advanceg v leena lavanya,olive technology.

aliases are only for accessing one object directly. 

If you have more magazines, you can simply list over all magazines:

<mm:listnodes type="mags">
   ...
   it's just like inside a <mm:node here, but only 'iterated'
   ..
</mm:listnodes>

If you really really need to know the aliases of a certain node, which I
think is only necessary when you make generic editors or so, then you can
use <mm:aliaslist

For generic reference to unspecific nodes, you use there numbers.

Michiel


-- 
Michiel Meeuwissen                  mihxil'
Peperbus 107 MediaPark H'sum          []()
+31 (0)35 6772979         nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to