Marian,

See more comments below:

> * I mean "looks terrible" because I don't like scriptlets..
> mixing JSP with
> Java code :)) I can imagine something easy like
> <jetspeed:isLoggedIn >
>     Content available only to logged users..
> </jetspeed:isLoggedIn>
> .. however, I just thought that I'm *unable to find* tags like
> this one, but
>  these tags, as you say, *do not exist* :))
> I will write some tags on my own probably.. but it is at least wasteful,
> because many people develop own tags that may have similar behaviour...
> I'll look for allready presented *home made* tags in mail archive. Hope I
> find some I don't need to code.

Fair enough. I doubt you'll find these in mail archive but give it a try.

> * If I understand this tag right, this looks for JSP2.jsp in
> WEB-INF\templates\jsp\layouts\html directory ?

Not quite. Templates for JspPortlet are located in
WEB-INF/templates/jsp/portlets directory based on media type, language, and
country. Templates for screens are located in WEB-INF/templates/jsp/screens
directory based on media type, language, and country. Screens are invoked
via /template uri, for example /template/JSP2.jsp, so the link tag looks
there. If you don't care about the language and country and your users
always access the portal via browser (as opposed to wireless, etc), then put
your templates in html subdirectory.

> So, all my jsps I wanna use like this should reside there? And this tag
> displays the content of the JSP to the whole browser window.
> *Is it possible someway to let this JSP2 to be displayed *within
> the portlet
> window*?
>

Perhaps you can conditionally <%@ include file="JSP2.jsp" %> inside of
JSP1.jsp.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com



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

Reply via email to