Wiadomosc od Tiwari, Sunil Kumar z 2006-02-07 05:27 brzmiala:

Thanks for replying to my query. Could you guide me in adding a new macro for 
achieving this feature?
Could you tell me which macro is responsible for fixing the default height and 
width of the portlet window?
The area where portlet-type fragments are located and rendered is processed between header.vm and footer.vm macros from the layout decorator. If you want to control this process, see the decorateAndInclude(ContentFragment) method in org.apache.jetspeed.velocity.JetspeedPowerToolImpl, the templates and layouts. Sorry, I cannot give you much information on this topic.

Further, the portlet-type fragments are rendereded with a decorator.vm code called subsequently for each of them. The default file is located in $JETSPEED_HOME/decorations/portlet directory. You can override in it with your custom decorator by placing your decorator.vm in your porltet decorator directory (I think I've noticed some problems with overriding the default one, but I didn't put much attention to this - you must test it yourself). Possibly you wouldn't need a custom portlet decorator, I guess. Depending on how much you manage to achieve in the previous step.

--
pozdrawiam,
    Jacek Wislicki

[EMAIL PROTECTED]
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to