Re: Documentation! PSML - No frames
We are targetting JetSpeed 2.0 for a prototype; I've been frustrated as I have not found much How To documentation to date. I've seen the design docs in the source dist and the comments in the code, which are good, but not the quickest way of learning this beast. Is there any How To type doc other than the incomplete sections on the JetSpeed 2.0 home page? I need to address questions like this: 1. If I wanted my portlets to be transparent to the client, e.g. no frames, no edit, help, minimize and maximize buttons, how would I do that? Does PSML (or maybe the lack of it) provide that functionality? if you want same for all your portlets on that page you can put it in default decorator as clear example: defaults skin=orange layout-decorator=tigris portlet-decorator=clear / if you want one speficic portlet on page to have no decorator add additional attribute decorator into fragment definition example: fragment id=dp-12 type=portlet name=security::LoginPortlet decorator=clear property layout=TwoColumns name=row value=0 / property layout=TwoColumns name=column value=1 / /fragment Yes this is not in documentation and it should be. I had to figure it out myself. I am also not absolutely positive that this is going to be final implementation but it works with version from HEAD -- Jouni Rajala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Documentation! PSML - No frames
One more thing. Clear is also a decorator and not same as not decorator at all. You can find it in $tomcat_home/webapps/jetspeed/WEB-INF/decorations/generic/hml/clear (after deployment of of jetspeed naturally) -- Jouni Rajala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Documentation! PSML - No frames
1. If I wanted my portlets to be transparent to the client, e.g. no frames, no edit, help, minimize and maximize buttons, how would I do that? Does PSML (or maybe the lack of it) provide that functionality? Answer. - We can easily get rid of the edit and help button by controlling the permissions. But if you want to remove the minimize, maximize and the entire title bar, the only way I know of is to write your own portlet decorator. We can write it in velocity or JSP. Jetspeed distribution has samples of velocity portlet decorators. 2. what is the mechanism by which the portal container does initial rendering of its targetted portlets when your portal page first starts up? Does the container call the render methods of the contained portlets after initialization? I don't think the JSR 168 spec addresses this. I could hunt around for a while and figure this out, but if someone could point me to the right place it would be a big time saver. Answer. - As far as I know, the RenderRequest is called everytime a portlet is rendered. Meaning, if there are 5 portlets in a psml and the page is refreshed 3 times, each time, the render method of each of the 5 portlets will be called by the portlet container. Hope that helps, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]