Hi there!

I spent some time looking for answers to questions I wanna ask (also in this mailing 
list archive) but I have not found sufficient answers. Please help me with short hints.

1) Is the JSP tag lib distributed with jetspeed complete, or is this in progress ? It 
looks too spartan, insufficient ( may be incomlete). I mostly found velocity based 
examples to things I was trying to achieve by JSP and I was not able to. They say that 
there are similar JSP tags to velocity stuff.. but where can I find them, not in TLD I 
see in my jetspeed. To me, it looks like "JSP templating support" lack, am I right or 
am I just too blind yet?

2) How can I find out (from my included JSPPortlet JSP) if there is somebody logged in 
? I tried this, it worked out, but it looks terrible..
<%  RunData data = (RunData)pageContext.getAttribute(JspService.RUNDATA, 
PageContext.REQUEST_SCOPE);
 if( data.getUser().hasLoggedIn()) { %>

3) What I want to achieve. I have JSP1 registered with JSPPortlet. I wanna have a link 
in this JSP1 to JSP2 stored in the same place as JSP1 
(WEB-INF\templates\jsp\portlets\html) . How this link should look to get it work ? 
As I was unable to solve it, I put JSP2 in to root web app. dir (above Web-Inf), but 
in this JSP2 I was unable tu use jetspeed taglibs, and this solution looks like from a 
medicine man. Simply said, when using JSP and jetspeed I feel like with no hands.

4) Please tell me what is the concept about using JSPs based portlet in JetSpeed. I 
mean how the app (portlet) should be build with JSPPortlet to achieve easy JSP1 
submits form and JSP2 handles that. And this is happening within the jetspeed, even 
within the portlet window.

5) Now for me as JSP user JetSpeed looks like this: I can write portlet and put HTML 
in to it, but this is clumsy, and I don't like this solution (hard to change the 
look). Then I can use JSP and include it with JSPPortlet, but then it's almost 
impossible to achieve some interaction with other JSPs (lack of docs and JSP useage 
examples). Then I can use JSP as I said just as *PORTAL* and have e.g. struts app. 
registered on another adress within the server and target the requests from portal 
there and forget about the jetspeed environment. Or LEARN and use Velocity templates 
and be happy ?? 

I started to build easy portlet that includes JSP page.. everything went fine till I 
tried to submit a form (from portlet) and manage it. From this time I spend hours by 
speculating and hacking.. 

Please help me to put the light on this topic.

Thanx in advance.
$kala. 

Reply via email to