RE: portlet object in doUpdate()

2003-01-28 Thread Pierre Henry
I got them to work with GET, but it only works with Internet Explorer, It
doesn't work with Mozilla, the buildNormalContext action is called, not the
actions... (I tried MSIE 5 and 6 and Mozilla 1.2)

Pierre

 -Original Message-
 From: Michael Rothrock [mailto:[EMAIL PROTECTED]]
 Sent: lundi, 27. janvier 2003 19:21
 To: Jetspeed Users List; Pierre Henry
 Subject: Re: portlet object in doUpdate()
 
 
 Since I'm about to be working on this, let me ask a related 
 question: has
 anyone gotten JSP actions to work with GET?
 
 Thanks!
 
 -- Michael
 
 On 1/27/03 1:09 AM, Pierre Henry [EMAIL PROTECTED] wrote:
 
  Hi Wei,
  
  I had the same problem last week (see my mail with title  
 Tricky behavior
  with JSP portlet and forms).
  
  what I found out :
  
  - the form in the JSP doesn't need any action attribute
  
  - the ony needed hidden field is js_peid which contains the
  portlet's ID.
  
  
  When I put a hidden field for the action :
  INPUT TYPE=hidden name=action
  value=CustomizableXsqlPortlet1Action
  the right method was called  but the portlet argument of the
  doUpdatefilter
  method was null, so the action class couldn't do much.
  
  So try to remove the action field...
  
  I hope it helps !
  
  Pierre
  
  -Original Message-
  From: Wei Guan [mailto:[EMAIL PROTECTED]]
  Sent: lundi, 27. janvier 2003 07:49
  To: [EMAIL PROTECTED]
  Subject: portlet object in doUpdate()
  
  
  I have a doUpdate in an VelocityAction class:
  
  VelocityPortlet portlet = (VelocityPortlet) context.get(portlet);
  
  the portlet is null.
  
  Is this a bug?
  
  Wei
  
  
 



Re: Flow and State of a portlet

2003-01-28 Thread Jean-Christophe Kermagoret
It's possible to have this kind of behaviour with a javascript function 
that values the action and template parameter for each case. For 
example :

function SubmitDefault() {
   form.action.value = MyDefaultPortletAction;
   form.template.value = MyDefaultTemplate.vm ;
}

function SubmitToUpdate() {
   form.action.value = MyUpdatePortletAction;
   form.template.value = MyUpdateTemplate.vm ;
}
...
What are the reasons to use several action and template variables ?

[EMAIL PROTECTED] wrote:

This seems great..  What is the argument against just makeing this part of
the VelocityPortlet?  Currently I have a single .vm file and a huge case
statement to deal with the various screens, very crufty!

Eric

-Original Message-
From: Luta, Raphael (VUN) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 5:51 AM
To: 'Jetspeed Users List'
Subject: RE: Flow and State of a portlet


De : Wei Guan [mailto:[EMAIL PROTECTED]]
 

First, I would like to say: Great job.

I am still puzzling on how to build highly-interactive 
portlet. Here is a user case:
1) the default template is page1.vm rendering default data 
prepared by buildNormalConent of Action1.java
2) on page1.vm, there are couple of links, each link will 
result an action, generate different data and need diifferent 
templates to render. For example, there is a link link1 on page1.vm:
   page1.vm ---link1---method in action1page2.vm.

I think this is the sequence in JetSpeed
1) action1.buildNormalContent --- page1.vm
2) ---link1---method in action1 
--action1.buildNormalContent---action1.setTempate(page2.vm)-
--page2.vm.

I am looking for a solution like this.
1) action1.buildNormalContent --- page1.vm
2) ---link1---method in action2 
--action2.buildNormalContent---action2.setTempate(page2.vm)-
--page2.vm.

   


This is not possible in the default VelocityPortlet but it's very easy 
to implement.

For example:
Assumption: you can define a new non-conflicting parameter name
that will handle the state of your portlet, let's say pstate.

1-  Update your portlet Regsitry definition to have:
 
  parameter name=action value=MyDefaultPortletAction /
  parameter name=template value=MyDefaultTemplate.vm /
  parameter name=action.update value=MyActionInStateUpdate /
  parameter name=template.update value=MyUpdateTemplate.vm /
  parameter name=action.browse value=MyActionInStateBrowse /
  parameter name=template.browse value=MyDeleteTemplate.vm /
   etc...

2- Apply the following patch to VelocityPortlet:

Index: VelocityPortlet.java
===
RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/Velo
cityPortlet.java,v
retrieving revision 1.20
diff -r1.20 VelocityPortlet.java
159c159,170
 String template = getPortletConfig().getInitParameter(template);
---
 

   String state = data.getParameters().getString(pstate);
   
   String templateName = template;
   String actionName = action;
   
   if ((state != null)  (!state.equals()))
   {
   templateName = templateName + . + state;
   actionName = actionName + . + state;
   }
   
   String template =
   

getPortletConfig().getInitParameter(templateName);
181c192
 String actionName = getPortletConfig().getInitParameter(action);
---
 

   String actionName =
   

getPortletConfig().getInitParameter(actionName);


Et voila, your portlet now gives you basic built-in controller capabilities
so that you don't even have to use setTemplate unless you want to 
redirect your user to a non-standard state template, plus you would have the

following flow control:

- page1.vm
- link1
- actionX.doEvent (depends on the action paramater included in the link)
- go to state 2
- action2.buildContext
- page2.vm


--
Raphaël Luta - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

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

 




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




RE: Flow and State of a portlet

2003-01-28 Thread Luta, Raphael (VUN)
De : Jean-Christophe Kermagoret [mailto:[EMAIL PROTECTED]]
 
 It's possible to have this kind of behaviour with a 
 javascript function 
 that values the action and template parameter for each case. For 
 example :
 
 function SubmitDefault() {
 form.action.value = MyDefaultPortletAction;
 form.template.value = MyDefaultTemplate.vm ;
 }
 
 function SubmitToUpdate() {
 form.action.value = MyUpdatePortletAction;
 form.template.value = MyUpdateTemplate.vm ;
 }
 ...
 What are the reasons to use several action and template variables ?
 

You probably don't want to do this in JS, for 3 reasons:
- you don't trust your client (and if you do, you should not :)
- you can't guarantee that your client will actually execute the
  code
- you break the MVC pattern by encoding controller information 
  in your template and tying your different templates together

IMO, you should never explicitely set a template from another
one but always abstract your application flow through a state
that is mapped to a template view by your controller code.
It also makes it much easier to validate the current state of the
application.

--
Raphaël Luta - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

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




Re: Flow and State of a portlet

2003-01-28 Thread Jean-Christophe Kermagoret
Luta, Raphael (VUN) wrote:


De : Jean-Christophe Kermagoret [mailto:[EMAIL PROTECTED]]
 

It's possible to have this kind of behaviour with a 
javascript function 
that values the action and template parameter for each case. For 
example :

function SubmitDefault() {
   form.action.value = MyDefaultPortletAction;
   form.template.value = MyDefaultTemplate.vm ;
}

function SubmitToUpdate() {
   form.action.value = MyUpdatePortletAction;
   form.template.value = MyUpdateTemplate.vm ;
}
...
What are the reasons to use several action and template variables ?

   


You probably don't want to do this in JS, for 3 reasons:
- you don't trust your client (and if you do, you should not :)
- you can't guarantee that your client will actually execute the
 code
- you break the MVC pattern by encoding controller information 
 in your template and tying your different templates together

IMO, you should never explicitely set a template from another
one but always abstract your application flow through a state
that is mapped to a template view by your controller code.
It also makes it much easier to validate the current state of the
application.

--
Raphaël Luta - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

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

 

I agree with what you are saying but :
1 - I can bypass security with hidden fields the same way I could bypass 
it with JS
2 - Almost everybody has javascript enabled
3 - Using JS is like your hidden fields : designers can change them 
without breaking anything.

I still don't see any differences. Where are my glasses :-)

--
Jean-Christophe Kermagoret
[EMAIL PROTECTED]


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



RE: Can I use more than 1 JSP in a JSP-portlet?

2003-01-28 Thread Mark Orciuch
I just addressed this for JspPortlet:
http://issues.apache.org/bugzilla/show_bug.cgi?id=16443. See the
questionnaire portlet in the CVS/head.

Best regards,

Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

 -Original Message-
 From: Jan van Toor [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 27, 2003 2:22 AM
 To: [EMAIL PROTECTED]
 Subject: Can I use more than 1 JSP in a JSP-portlet?


 I have read the Jetspeed tutorial and it looks like a JSP-portlet
 can have one template and one action.

 Questions:
 Is it possible to use one JSP to read data from a portlet, and an
 other JSP to display the results? For instance: readKey.jsp reads
 data entered in the portlet, and showDetails.jsp shows the results.

 If it is possible, what should be changed in action and registration?

 Thanks in advance
 Jan van Toor



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




RE: Modify navigation templates

2003-01-28 Thread Moabi Nyokong
WEB-INF/templates/jsp/navigations/html/top_loggedIn.jsp is where you would
need to do this, but the fact that this is nothing more than a display
template and not a JSPPortlet, anything you do here won't be able to
interact with the controlled system.
Another alternative (but I'm not sure if it works 100%) would be to use
jsp:portlet/ tag to include a named portlet from your system, in
templates/jsp/layouts/html/default.jsp instead of top_loggedIn.jsp
And see if that added portlet can be used the way you want...


-Original Message-
From: Pierre Henry [mailto:[EMAIL PROTECTED]] 
Sent: 27 January 2003 06:21
To: Jetspeed User List (E-mail)
Subject: Modify navigation templates


Hi all,

I want to add a small form on the top-logged in navigation template. This
form would allow the user to modify a permanent variable for the logged in
user. I am using JSP for templates.

How should I do this ? Do I have to create an action for this and do
something with hidden fields like for JSPPortlets ?

Any ideas or suggestions are very welcome !

Pierre

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




Re: Portlet Change the language

2003-01-28 Thread Massimiliano Dessi
It is necessary  comment  in tr.properties

#services.LocalizationService.classname=org.apache.turbine.services.localiza
tion.TurbineLocalizationService
and put
services.LocalizationService.classname=org.apache.jetspeed.services.customlo
calization.JetspeedLocalizationService

and
#tool.request.l10n=org.apache.turbine.services.localization.LocalizationTool
with
tool.request.l10n=org.apache.jetspeed.services.customlocalization.CustomLoca
lizationTool

This portlet change the language with refresh (reload) of the page .

I implement a new velocity portlet to change the language witout refresh
,I submit the code to David Taylor to test with a cvs code.
If you need the code  i submit the code in this mailing list .

Massimiliano

- Original Message -
From: Matthieu DELAHAIS [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 27, 2003 4:11 PM
Subject: Portlet Change the language


 Hi all,

 First, I thank very much the person who help me to
 understand where the language is determined.
 Second, I'm tying to change the language with the
 portlet Change the Language. But, when I click on
 another language (ES, DE, EN...), nothing appends. Is
 there something to configure before using these
 portlet.
 Thank you very much in advance.

 Matthieu

 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com

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






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




Re: using jetspeed with ejb

2003-01-28 Thread Stuart Belden
We call Jetspeed APIs from EJBs with no problem.  I don't know about the existence of 
a jaas login module.

Cheers,
stu

 [EMAIL PROTECTED] 01/27/03 11:39AM 
hi!
I'd like to know if it is possible to call jetspeed APIs from an EJB to 
check authentication or authorization. if this is not possible, which is 
the way I should authenticate or authorize an user on EJB container? Is 
there a jaas login module or something like that?

Thanks
vittorio


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



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




Re: Portlet Change the language

2003-01-28 Thread Matthieu DELAHAIS
It works! Thank you very much!
But, your portlet just changes the titles. I didn't
success to redirect the PSML. Is there something else
to parameter? For the moment, my URL is always the
english one...
Thanks in advance!
Matthieu

 --- Massimiliano Dessi
[EMAIL PROTECTED] a écrit :  It
is necessary  comment  in tr.properties
 

#services.LocalizationService.classname=org.apache.turbine.services.localiza
 tion.TurbineLocalizationService
 and put

services.LocalizationService.classname=org.apache.jetspeed.services.customlo
 calization.JetspeedLocalizationService
 
 and

#tool.request.l10n=org.apache.turbine.services.localization.LocalizationTool
 with

tool.request.l10n=org.apache.jetspeed.services.customlocalization.CustomLoca
 lizationTool
 
 This portlet change the language with refresh
 (reload) of the page .
 
 I implement a new velocity portlet to change the
 language witout refresh
 ,I submit the code to David Taylor to test with a
 cvs code.
 If you need the code  i submit the code in this
 mailing list .
 
 Massimiliano
 
 - Original Message -
 From: Matthieu DELAHAIS [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, January 27, 2003 4:11 PM
 Subject: Portlet Change the language
 
 
  Hi all,
 
  First, I thank very much the person who help me to
  understand where the language is determined.
  Second, I'm tying to change the language with the
  portlet Change the Language. But, when I click
 on
  another language (ES, DE, EN...), nothing appends.
 Is
  there something to configure before using these
  portlet.
  Thank you very much in advance.
 
  Matthieu
 
 

___
  Do You Yahoo!? -- Une adresse @yahoo.fr gratuite
 et en français !
  Yahoo! Mail : http://fr.mail.yahoo.com
 
  --
  To unsubscribe, e-mail:

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

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

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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




How can I get the Locale (language) in a JSP portlet ?

2003-01-28 Thread luca . forni
Hi All !

I want to have a JSP portlet to get the locale (language). What's the way
to do this ?

In JspPortlet -- During debug, i noticed that Rundata.locale == null!!!

I'm using velocity as layout manager and it uses the correct language.

Please... Help me!!
Thanx.


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




setTemplate using JSPAction

2003-01-28 Thread Damle, Nikhil
Hi,

When I use the setTemplate method, ( ex. setTemplate(rundata,
somefile.jsp) ), under what folder should this somefile.jsp file reside.
Seems like jetspeed is not able to find this file. I have it under the
templates/jsp/portlets/html folder. 

Thanks


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




Re: Question about portlet config

2003-01-28 Thread Mike Zhou
All,

When I define a portlet in my a-portlets.xreg file, I
can do the following:

portlet-entry name=MyPortlet hidden=true
type=instance application=false
  ...
  parameter name=_showtitlebar value=false
hidden=false /
/portlet-entry

to turn-off the title bar. Can I selectively turn off 
some of the portlet mode buttons (view, customize,
print, info, min and max)?

My another question is where can I find information or
docs about the portlet-entry tag definition?

Thanks, Erzhuan

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Jetspeed Access Control

2003-01-28 Thread Kristian Weissmann
Hi Jetspeed-Community,

I have some problems configuring access control for jetspeed and really hope
someone can help, :(

- I need to make some tab-panes non editable, e.g. 

| MyHome[X] | CustomerInfo | ProjectInfo | SomethingElse |

only the home tab should have the edit button and the others should not be
allowed to be editable.
The same goes with the edit-button on the right side (where one can add new
panes etc.) - how can I
disable this button?

- Via the MyHome tab the user can reach user-specific portlets, which can be
added, removed, minimized
etc. as the user likes it. Portlets behind the CustomerInfo and ProjectInfo
are role-based portlets
which can be included in the user-psml with the psml-reference mechanism
quite nicely. The SomethinElse
has portlets based on a group. This Pane is accessible by both roles
(customerInfo, ProjectInfo).

And, some portlets on the SomethingElse pane should not be visible for a one
group (let´s say for the
ProjectInfo role). Is this possible? I could not manage this with security
definitions in security.xreg
and security references in the psml files...

Thanks,
Kris

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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




Is Jetspeed a good solution?

2003-01-28 Thread Stephen Townsend
Hello,

We have determined that Jetspeed is a candidate for use as our portal. This
determination was made by:

1. It was quickly implemented and tailored for a demonstration.

2. There is a migration path to a commercial portal. JetSpeed's API was the
basis for WebSphere. Should there ever be a need for a commercial portal, a
conversion to Websphere is feasible.

3. The activity in this mailing list is indicative of possible support.

Firstly does this make senses? As well, is there anything else one should
consider?

I also wish to quickly identify any gotchas in the use of Jet Speed as
portal for a business. We are targeting Jetspeed as a possible solution for
different user groups: 100's, 1000's 10,000's of users. Where does jetspeed
top out on load, and what productions sites are actually using JetSpeed?

Also, please indicate any major plus' or minus' on the use of Jetspeed.

Thank you.

Stephen



Jetspeed Resources

2003-01-28 Thread Sangam Dash
Hi

Can i access the portlet classes from a directory that is not inside 
tomcat_home/webapps/jetspeed/WEB-INF/classes?
I have a folder outside tomcat_home which contains all the jsp and html 
files and the other portlet classes.
I want to specify that folder name so that a lot of different portal 
directory can access some common files and portlets..
I cant find the exact place where shud i change the path information.
Or can i place the common files at the top of tomcat_home/webapps so 
that every folder inside webapps like jetspeed can access those common 
files...
Can it be done?
Please help me out...
Thanks
sangam dash


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



Re: portlet object in doUpdate()

2003-01-28 Thread Wei Guan
Pierre:

I tested your workaround. I used velocity. I used POST. Here is the
behavior.
if I removed action, I could get portlet in doUpdate(), however,
buildNormalContext is never got called.
if I keep the action, the portlet is null in doUpdate(),
buildNormalContext is called after doUpdate().

Is it a bug?

Thanks.

- Original Message -
From: Pierre Henry [EMAIL PROTECTED]
To: Michael Rothrock [EMAIL PROTECTED]
Cc: Jetspeed User List (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 2:26 AM
Subject: RE: portlet object in doUpdate()


 I got them to work with GET, but it only works with Internet Explorer, It
 doesn't work with Mozilla, the buildNormalContext action is called, not
the
 actions... (I tried MSIE 5 and 6 and Mozilla 1.2)

 Pierre

  -Original Message-
  From: Michael Rothrock [mailto:[EMAIL PROTECTED]]
  Sent: lundi, 27. janvier 2003 19:21
  To: Jetspeed Users List; Pierre Henry
  Subject: Re: portlet object in doUpdate()
 
 
  Since I'm about to be working on this, let me ask a related
  question: has
  anyone gotten JSP actions to work with GET?
 
  Thanks!
 
  -- Michael
 
  On 1/27/03 1:09 AM, Pierre Henry [EMAIL PROTECTED] wrote:
 
   Hi Wei,
  
   I had the same problem last week (see my mail with title
  Tricky behavior
   with JSP portlet and forms).
  
   what I found out :
  
   - the form in the JSP doesn't need any action attribute
  
   - the ony needed hidden field is js_peid which contains the
   portlet's ID.
  
  
   When I put a hidden field for the action :
   INPUT TYPE=hidden name=action
   value=CustomizableXsqlPortlet1Action
   the right method was called  but the portlet argument of the
   doUpdatefilter
   method was null, so the action class couldn't do much.
  
   So try to remove the action field...
  
   I hope it helps !
  
   Pierre
  
   -Original Message-
   From: Wei Guan [mailto:[EMAIL PROTECTED]]
   Sent: lundi, 27. janvier 2003 07:49
   To: [EMAIL PROTECTED]
   Subject: portlet object in doUpdate()
  
  
   I have a doUpdate in an VelocityAction class:
  
   VelocityPortlet portlet = (VelocityPortlet) context.get(portlet);
  
   the portlet is null.
  
   Is this a bug?
  
   Wei
  
  
 



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




JSP vs Velocity

2003-01-28 Thread Wei Guan
I like Velocity. However, there are lots of JSP tags, such as JSP output stream buffer 
cache tag I could use, I had hard time to find similiar Velocity library.

Which do you prefer? Any serious JetSpeed Velocity development and deployment?

How is the popularity of JetSpeed? 


User Roles(Admin.security) Portlet Problem

2003-01-28 Thread Sunil Sheshadri
Hi,
I am getting the following error which i try to add the User Role portlet.
portlet gets added and it is display $user.FirstName rather than actual
name. I am not able to see all the Users and Assign the Roles to them. How
to assign Users the roles?
I am also facing these problem with Role Permission Portlet also..
I am using Jetspeed 1.4b1.

Pls let me know what could be the problem..


Error is :
2003-01-29 12:01:06,784 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = /portlets/html/user-role-form.vm [line 8,column 15] :
$user.FirstName is not a valid reference.
2003-01-29 12:01:06,784 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = /portlets/html/user-role-form.vm [line 8,column 31] :
$user.LastName is not a valid reference.

2003-01-29 11:56:12,661 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = /portlets/html/permission-form.vm [line 3,column 19] :
$ui.sansSerifFonts is not a valid reference.
2003-01-29 11:56:12,671 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = /portlets/html/permission-form.vm [line 2,column 17] :
$ui.sansSerifFonts is not a valid reference.
2003-01-29 11:56:12,671 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = /portlets/html/permission-form.vm [line 37,column 20] :
$ui.buttonAlignment is not a valid reference.
2003-01-29 11:56:12,671 - Left side ($mode) of '==' operation has null
value. If a reference, it may not be in the context. Operation not possible.
/portlets/html/permission-form.vm [line 43, column 24]
2003-01-29 11:56:12,671 - Left side ($mode) of '==' operation has null
value. If a reference, it may not be in the context. Operation not possible.
/portlets/html/permission-form.vm [line 45, column 28]
2003-01-29 11:56:13,823 - ResourceManager : found navigations/html/bottom.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader



Regards,
Sunil P S.
Off: 5010261 (extn :2261)
Res: 3329038



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




Re: JSP vs Velocity

2003-01-28 Thread kristian . weissmann

Hi,

I think the popularity could be much better if the underlying turbine would
not be such a high learning curve. With turbine 3 it may be much better,
since then people can bet on horses, which they already know (especially
EJB). IMHO, What also could give jetspeed a real boost is if it would rely
on struts(*) - but I guess that is impossible, since turbine has its own
mcv-model ...

(*) maybe struts does not have such a sophisticated mvc model as turbine,
but it definitively has much more familiarity and pervasion (just look at
all these struts books and articles). for me it is a quasi-standard for
web-based mvc.

Kris


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




Re: Is Jetspeed a good solution?

2003-01-28 Thread kristian . weissmann
Hi,

major +:
- open source (no license cost sources)
- really nice portlet functions

major minus:
- high learning curve because of thight integration with turbine + not 
easy to build on existing (standardized) knowledge - EJB etc ...
- maybe to limited access control (see my posting: 
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg07717.html 
and please help me with that issue!)

Kris






Stephen Townsend [EMAIL PROTECTED]
28.01.2003 23:51
Please respond to Jetspeed Users List

 
To: [EMAIL PROTECTED]
cc: 
Subject:Is Jetspeed a good solution?


Hello,

We have determined that Jetspeed is a candidate for use as our portal. 
This
determination was made by:

1. It was quickly implemented and tailored for a demonstration.

2. There is a migration path to a commercial portal. JetSpeed's API was 
the
basis for WebSphere. Should there ever be a need for a commercial portal, 
a
conversion to Websphere is feasible.

3. The activity in this mailing list is indicative of possible support.

Firstly does this make senses? As well, is there anything else one should
consider?

I also wish to quickly identify any gotchas in the use of Jet Speed as
portal for a business. We are targeting Jetspeed as a possible solution 
for
different user groups: 100's, 1000's 10,000's of users. Where does 
jetspeed
top out on load, and what productions sites are actually using JetSpeed?

Also, please indicate any major plus' or minus' on the use of Jetspeed.

Thank you.

Stephen