tags:

views:

8

answers:

1

Say you have a user editable section where they can insert custom tags into the velocity template.

From what I understand, you have to initialize the velocity context with the objects you want on the page.

If you don't want to pre-load all the widgets into the page for performance reasons, and you don't know which widgets are in the page, how would this work?

example: say you have a 'user list' widget, then when you put:

$userlist

in the .vm page, it will display a list of users.

How would this work? Or is velocity not ideal for this type of situation where a user can drop custom widgets on a page?

A: 

See this question.

serg