iframe portlet

2004-07-19 Thread Floßmann Christoph
Once upon a time,
I made my first and only iframe portlet. I used the default Iframe portlet and somehow 
I changed the url. Now I forgot how I did it and I don't find it in the source. Can 
anyone help me please?


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



RE: iframe portlet

2004-07-19 Thread Floßmann Christoph
That's what I suggested too.
But that's all I found there:
===
portlet-entry name=IFramePortlet hidden=false type=instance 
application=false
meta-info
titleIFrame Portlet/title
descriptionDisplay URL within IFrame/description
/meta-info

classnameorg.apache.jetspeed.portal.portlets.IFramePortlet/classname
parameter name=source value= hidden=false
meta-info
titleSource/title
descriptionSpecify source URL for this 
iframe/description
/meta-info
/parameter
parameter name=width value=640 hidden=false
meta-info
titleWidth/title
descriptionSpecify width for this 
iframe/description
/meta-info
/parameter
parameter name=height value=480 hidden=false
meta-info
titleHeight/title
descriptionSpecify height for this 
iframe/description
/meta-info
/parameter
parameter name=frameborder type=boolean value=true 
hidden=false
meta-info
titleFrameborder/title
descriptionSpecify whether do display border around 
this iframe/description
/meta-info
/parameter
media-type ref=html/
categoryframes/category
categoryproxy/category
categoryweb/category
/portlet-entry
=
No url at all. I know the url of the displayed page but I can't find it.

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:44 AM
To: Jetspeed Users List
Subject: Re: iframe portlet


Isn't it defined in the .xreg for the portlet?

- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List (E-Mail) [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:37 AM
Subject: iframe portlet


Once upon a time,
I made my first and only iframe portlet. I used the default Iframe portlet
and somehow I changed the url. Now I forgot how I did it and I don't find it
in the source. Can anyone help me please?


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




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


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



RE: iframe portlet

2004-07-19 Thread Floßmann Christoph
Well, I changed the value but the page didn't change.
There is still the url I configured somewhere else.
When I customize the page then I see the destinated url in the source parameter. But 
it doesn't work.
I guess there must be an url tag somewhere but I'm not sure.


-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:59 AM
To: Jetspeed Users List
Subject: Re: iframe portlet


It should be specified in

portlet-entry name=IFramePortlet hidden=false type=instance
application=false
meta-info
titleIFrame Portlet/title
descriptionDisplay URL within IFrame/description
/meta-info
classnameorg.apache.jetspeed.portal.portlets.IFramePortlet/classname
parameter name=source value=-HERE_HERE_HERE--
hidden=false
[...]

Probably you have defined it in a specific DB stored psml by entering it
direclty from administration tool ( portletcustomize option).
In this way probably the value is stored directly in the specific psml (and
not in the xreg).
Hope it helps!
Stefano


- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:52 AM
Subject: RE: iframe portlet


That's what I suggested too.
But that's all I found there:
===
portlet-entry name=IFramePortlet hidden=false type=instance
application=false
meta-info
titleIFrame Portlet/title
descriptionDisplay URL within IFrame/description
/meta-info
classnameorg.apache.jetspeed.portal.portlets.IFramePortlet/classname
parameter name=source value= hidden=false
meta-info
titleSource/title
descriptionSpecify source URL for this iframe/description
/meta-info
/parameter
parameter name=width value=640 hidden=false
meta-info
titleWidth/title
descriptionSpecify width for this iframe/description
/meta-info
/parameter
parameter name=height value=480 hidden=false
meta-info
titleHeight/title
descriptionSpecify height for this iframe/description
/meta-info
/parameter
parameter name=frameborder type=boolean value=true hidden=false
meta-info
titleFrameborder/title
descriptionSpecify whether do display border around this
iframe/description
/meta-info
/parameter
media-type ref=html/
categoryframes/category
categoryproxy/category
categoryweb/category
/portlet-entry
=
No url at all. I know the url of the displayed page but I can't find it.

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:44 AM
To: Jetspeed Users List
Subject: Re: iframe portlet


Isn't it defined in the .xreg for the portlet?

- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List (E-Mail) [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:37 AM
Subject: iframe portlet


Once upon a time,
I made my first and only iframe portlet. I used the default Iframe portlet
and somehow I changed the url. Now I forgot how I did it and I don't find it
in the source. Can anyone help me please?


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




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


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




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


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



RE: iframe portlet

2004-07-19 Thread Floßmann Christoph
How stupid - I changed something in the source of the IFramePortlet.java. Now I have 
to look for the original source.


-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 10:40 AM
To: Jetspeed Users List
Subject: Re: iframe portlet


Sorry Cristoph,
I ran out of ideas!
Any other hint, Jetspeed crew?
(101 approach: a good text search on jetspeed folder to find out the string
your_wicked_URL?)
Good luck
Stefano

- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 10:26 AM
Subject: RE: iframe portlet


Well, I changed the value but the page didn't change.
There is still the url I configured somewhere else.
When I customize the page then I see the destinated url in the source
parameter. But it doesn't work.
I guess there must be an url tag somewhere but I'm not sure.


-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:59 AM
To: Jetspeed Users List
Subject: Re: iframe portlet


It should be specified in

portlet-entry name=IFramePortlet hidden=false type=instance
application=false
meta-info
titleIFrame Portlet/title
descriptionDisplay URL within IFrame/description
/meta-info
classnameorg.apache.jetspeed.portal.portlets.IFramePortlet/classname
parameter name=source value=-HERE_HERE_HERE--
hidden=false
[...]

Probably you have defined it in a specific DB stored psml by entering it
direclty from administration tool ( portletcustomize option).
In this way probably the value is stored directly in the specific psml (and
not in the xreg).
Hope it helps!
Stefano


- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:52 AM
Subject: RE: iframe portlet


That's what I suggested too.
But that's all I found there:
===
portlet-entry name=IFramePortlet hidden=false type=instance
application=false
meta-info
titleIFrame Portlet/title
descriptionDisplay URL within IFrame/description
/meta-info
classnameorg.apache.jetspeed.portal.portlets.IFramePortlet/classname
parameter name=source value= hidden=false
meta-info
titleSource/title
descriptionSpecify source URL for this iframe/description
/meta-info
/parameter
parameter name=width value=640 hidden=false
meta-info
titleWidth/title
descriptionSpecify width for this iframe/description
/meta-info
/parameter
parameter name=height value=480 hidden=false
meta-info
titleHeight/title
descriptionSpecify height for this iframe/description
/meta-info
/parameter
parameter name=frameborder type=boolean value=true hidden=false
meta-info
titleFrameborder/title
descriptionSpecify whether do display border around this
iframe/description
/meta-info
/parameter
media-type ref=html/
categoryframes/category
categoryproxy/category
categoryweb/category
/portlet-entry
=
No url at all. I know the url of the displayed page but I can't find it.

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:44 AM
To: Jetspeed Users List
Subject: Re: iframe portlet


Isn't it defined in the .xreg for the portlet?

- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List (E-Mail) [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:37 AM
Subject: iframe portlet


Once upon a time,
I made my first and only iframe portlet. I used the default Iframe portlet
and somehow I changed the url. Now I forgot how I did it and I don't find it
in the source. Can anyone help me please?


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




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


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




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


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




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


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



RE: Portlet programming basic question

2004-07-08 Thread Floßmann Christoph
And you are sure that you are using sessions and the jspeid?

-Original Message-
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 11:29 AM
To: Jetspeed Users List (E-Mail)
Subject: Portlet programming basic question


Hi,

I have the following problem...

I wrote a TreePortlet which is rendering a tree with the
javax.swing.DefaultMutalbeTreeNode data structure on init of the portlet
I retrieve the root node, which contains all child nodes, and I store it in
the portletin the doView() I dispatch the TreeNode structure to a jsp in
which the structure is renderednow I have the following problem: when
user X expands a node of the tree, user Y is concerned by the change too. So
all changes a user in the tree makes the other users are concerned... the
TreeNode data structure in the portlet seems to be globally for all users...
well I can use a hashmap with user-TreeNode pairs, but shouldn't the portlet
container handle this ??
By the way I tested it with exo beta 5 by now it would be very
interesting for me if this a problem of my design or a problem of the
portlet container.

Thanks,
Oliver


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


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



RE: Portlet programming basic question

2004-07-08 Thread Floßmann Christoph
What I understood, the jspeid is used to identify portlets on the same pane.
The code is in the tutorial, here again (for jsp):

=
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %
...
%
String jspeid = (String) request.getAttribute(js_peid);
%
form method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
/form
=


-Original Message-
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 8:48 AM
To: 'Jetspeed Users List'
Subject: AW: Portlet programming basic question


now I store all the user specific attributes in the PortletSession and it
seems that it works sorry for this question, but what is the jspeid ?
something Jetspeed specific ?

-Ursprüngliche Nachricht-
Von: Floßmann Christoph [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 8. Juli 2004 08:37
An: Jetspeed Users List
Betreff: RE: Portlet programming basic question


And you are sure that you are using sessions and the jspeid?

-Original Message-
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 11:29 AM
To: Jetspeed Users List (E-Mail)
Subject: Portlet programming basic question


Hi,

I have the following problem...

I wrote a TreePortlet which is rendering a tree with the
javax.swing.DefaultMutalbeTreeNode data structure on init of the portlet
I retrieve the root node, which contains all child nodes, and I store it in
the portletin the doView() I dispatch the TreeNode structure to a jsp in
which the structure is renderednow I have the following problem: when
user X expands a node of the tree, user Y is concerned by the change too. So
all changes a user in the tree makes the other users are concerned... the
TreeNode data structure in the portlet seems to be globally for all users...
well I can use a hashmap with user-TreeNode pairs, but shouldn't the portlet
container handle this ??
By the way I tested it with exo beta 5 by now it would be very
interesting for me if this a problem of my design or a problem of the
portlet container.

Thanks,
Oliver


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


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

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


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



RE: Portlet programming basic question

2004-07-08 Thread Floßmann Christoph
Well I'm using Version 1.4 - I don't think that this is JSR 168 conform but there 
should be something similar.

-Original Message-
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 8:57 AM
To: 'Jetspeed Users List'
Subject: AW: Portlet programming basic question


is this jetspeed specific or possible in JSR 168 too ?

-Ursprüngliche Nachricht-
Von: Floßmann Christoph [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 8. Juli 2004 08:55
An: Jetspeed Users List
Betreff: RE: Portlet programming basic question


What I understood, the jspeid is used to identify portlets on the same pane.
The code is in the tutorial, here again (for jsp):

=
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%
...
%
String jspeid = (String) request.getAttribute(js_peid);
%
form method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
/form
=


-Original Message-
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 8:48 AM
To: 'Jetspeed Users List'
Subject: AW: Portlet programming basic question


now I store all the user specific attributes in the PortletSession and it
seems that it works sorry for this question, but what is the jspeid ?
something Jetspeed specific ?

-Ursprüngliche Nachricht-
Von: Floßmann Christoph [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 8. Juli 2004 08:37
An: Jetspeed Users List
Betreff: RE: Portlet programming basic question


And you are sure that you are using sessions and the jspeid?

-Original Message-
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 11:29 AM
To: Jetspeed Users List (E-Mail)
Subject: Portlet programming basic question


Hi,

I have the following problem...

I wrote a TreePortlet which is rendering a tree with the
javax.swing.DefaultMutalbeTreeNode data structure on init of the portlet
I retrieve the root node, which contains all child nodes, and I store it in
the portletin the doView() I dispatch the TreeNode structure to a jsp in
which the structure is renderednow I have the following problem: when
user X expands a node of the tree, user Y is concerned by the change too. So
all changes a user in the tree makes the other users are concerned... the
TreeNode data structure in the portlet seems to be globally for all users...
well I can use a hashmap with user-TreeNode pairs, but shouldn't the portlet
container handle this ??
By the way I tested it with exo beta 5 by now it would be very
interesting for me if this a problem of my design or a problem of the
portlet container.

Thanks,
Oliver


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


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

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


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

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


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



RE: Weird problem using links and buttons

2004-06-29 Thread Floßmann Christoph
I don't know why you build links with action like this.
Here is how I do it:

a 
href=jetspeed:dynamicUri/?js_peid=%=jspeid%action=portlets.ActionTesteventSubmit_doUpdate=Okid=12345Link
 instead of Button/a

the id parameter is read in the action class via 
rundata.getParameters().getString(id);

I hope I didn't missunderstand you.

-Original Message-
From: Stijn de Witt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 2:04 PM
To: Jetspeed Users List
Subject: Re: Weird problem using links and buttons


Anyone? Any advice on this?
Is it possible to clear the parameters from the request? Maybe by a forward
to the same page, but without parameters?

-Stijn

- Original Message - 
From: Stijn de Witt [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 12:28 AM
Subject: Re: Weird problem using links and buttons


 I think I found out what causes it.
 The url in the address bar still contains the parameters from the link
when
 I press the button (and even afterwards Does anyone know how to
 influence the link displayed in the address bar?

 -Stijn

 - Original Message - 
 From: Stijn de Witt [EMAIL PROTECTED]
 To: Jetspeed Users List [EMAIL PROTECTED]
 Sent: Monday, June 28, 2004 11:13 PM
 Subject: Weird problem using links and buttons


  Hi,
 
  After asking some questions on this list, I implemented a link that
 triggers
  an action, like a button. I used the method where the link triggers the
  action through parameters. Here is the html for the link:
 
  a
 

href=http://localhost:8080/jetspeed/portal/media-type/html/user/anon/page/d
 

efault.psml?formbutton_edit=Bewerkenbitformname=CVFormbuttonparameter_deta
  ilindex=0Bewerken/a
 
  The link carries three parameters, formbutton_edit, bitformname and
  buttonparameter_detailindex. I use the first two to determine that a
  formbutton (a LinkButton in this case) was pressed and which one, and to
  determine which form the button was on. The third parameter is a
  buttonparameter, of which 0 to n may be passed. Anyway, I implemented my
 own
  overridden version of
 

org.apache.jetspeed.modules.actions.portlets.PortletActionEvent.executeEvent
  s(RunData data, Context context) in my portletaction, which checks for
 keys
  in the parameter map starting with 'formbutton_', before letting the
 parent
  look for 'eventSubmit_'.  I tested it and it worked great, or at least
  seemed to.
 
  For some reason, if I press my LinkButton, and then one of the normal
 ones,
  the ParameterParser contains all my form values (the normal button
submits
  the form, the link button is used as edit button in a master-detail
view),
  but it ALSO contains all the link parameters from the time I pressed the
  link button...
 
  I have added lots of logging, and the RunData object I get in
  executeEvents() after the normal button is pressed, is still the same
 object
  as when the linkbutton was pressed.
 
  My questions:
 
  - Is the RunData object normally kept alive over multiple page requests?
  - Which class is responsible for clearing the parameters and which for
  filling them?
  - Has anyone seen this kind of behaviour before?
 
  Thanks for any help,
 
  -Stijn
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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



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


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



RE: ---- problem in SAX transform:

2004-06-28 Thread Floßmann Christoph
Well I'm testing jetspeed on windows, so I can't look how it really works on my 
machine.
Maybe it's just something with the rights. Try to give the xalan.jar the execute right.
Could be that it works afterwards (everything else was made correct by you. Normally 
it should work)

-Original Message-
From: Phillip Neumann [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 9:12 PM
To: [EMAIL PROTECTED]
Subject:  problem in SAX transform:


Hello.

Im running jetspeed-1.5, with tomcat4.1.30 and apache2.0.49 over freebsd
5.2.1.

Instalation went smooth. When i load the jetspeed container in my
browser i see:

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
The output format must have a
'{http://xml.apache.org/xalan}content-handler' property!


the FAQ says:
Jetspeed RSS feeds are giving this message in the portlet: problem in
SAX transform: org.apache.xml.utils.WrappedRuntimeException: The output
format must have a '{http://xml.apache.org/xalan}content-handler'
property!Copy the xalan.jar from Jetspeed distribution to
$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory) 



Ive done exactly that, restarting tomcat, and its having the same
problem.
[EMAIL PROTECTED] /usr/local/jakarta-tomcat4.1/common/endorsed ls -la
total 1966
drwxr-xr-x  2 www  www 512 27 jun 18:59 .
drwxr-xr-x  5 www  www 512 27 jun 18:24 ..
-rw-r--r--  1 www  www  906248 27 jun 18:53 xalan.jar
-rw-r--r--  1 www  www  927669 27 jun 18:24 xercesImpl.jar
-rw-r--r--  1 www  www  123705 27 jun 18:24 xmlParserAPIs.jar


i got that file from the installed jetspeed.war file(ive just unzip it)
. the filename was xalan-2.3.1.jar

im new to this tomcat stuff.. how would i search where the problem is? 
so i can use jetspeed without problems?

Thanks in advance,
-- 
Phillip Neumann [EMAIL PROTECTED]


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


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



RE: ***SPAM*** Parameters in JSP

2004-06-28 Thread Floßmann Christoph
Did you use rundata.getParameters().getString(NameOfInputField); to get the data?
The quotation marks are important!

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 11:49 AM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** Parameters in JSP


Hello Everybody,
 
In my JSP... i have a form...after filling and submitting the form i am not getting 
the filled in data into my action class.I am getting null.Can anybody tell me whats 
wrong ?.
 
Thanks
Maruthi.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Parameters in JSP

2004-06-28 Thread Floßmann Christoph
Hi Maruthi,
try this snippet in your action and you'll see what data you've got.
for(Enumeration enum = rundata.getParameters().keys(); enum.hasMoreElements(); )
{
String key = (String)enum.nextElement();
System.out.println(PARAMETERS [ + key + ]:  + 
rundata.getParameters().getString(key) );
}

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 12:00 PM
To: Jetspeed Users List
Subject: ***SPAM*** Parameters in JSP


Hello Christoph,
Thanks for your mail.I am using just as you mentioned ...like this..
 
String street=  rundata.getParameters().getString(streetnhno);
String city=  rundata.getParameters().getString(city);
String zip=   rundata.getParameters().getString(zip);
String country= rundata.getParameters().getString(country); 
 
 
but i am not getting data into my action class.Should i define these parameters in the 
.xreg file...or what else is causing the problem?.
Please reply,
Thank you,
Maruthi.
 


Floßmann_Christoph [EMAIL PROTECTED] wrote:
Did you use rundata.getParameters().getString(NameOfInputField); to get the data?
The quotation marks are important!

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 11:49 AM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** Parameters in JSP


Hello Everybody,

In my JSP... i have a form...after filling and submitting the form i am not getting 
the filled in data into my action class.I am getting null.Can anybody tell me whats 
wrong ?.

Thanks
Maruthi.

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

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



RE: class not found

2004-06-25 Thread Floßmann Christoph
Hi Maruthi,
let's try some little sample code. I hope you are compiling jetspeed from the source. 
This code runs in J1.4b4 for sure.
==
jsp page
put this in /webapp/WEB-INF/templates/jsp/portlets/html/
name it: Actiontest.jsp
==
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %
jsp:useBean id=action 
class=org.apache.jetspeed.modules.actions.portlets.ActionTest scope=request /

%
String jspeid = (String) request.getAttribute(js_peid);
%
table
form method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
input type=hidden name=action value=portlets.ActionTest
trtd align=centerINPUT TYPE=SUBMIT NAME=eventSubmit_doUpdate VALUE=Ok 
style=width:60/td/tr
/form
/table
==
the java file
put this in: /src/java/org/apache/jetspeed/modules/actions/portlets/
call it: ActionTest.java
==
package org.apache.jetspeed.modules.actions.portlets;

import org.apache.jetspeed.modules.actions.portlets.JspPortletAction;
import org.apache.jetspeed.portal.Portlet;
import org.apache.turbine.util.RunData;

public class ActionTest  extends JspPortletAction {

protected void buildNormalContext(Portlet portlet, RunData rundata) throws 
Exception {
  System.out.println(Built ActionTest Portlet!);
}

public void doUpdate(RunData rundata, Portlet portlet){
  System.out.println(Action);
}
}
==
Entry in xreg file:
==
portlet-entry name=ActionTest hidden=false type=ref parent=JSP 
application=false
meta-info
titleAction/title
descriptionSimple Test/description
/meta-info
classnameorg.apache.jetspeed.portal.portlets.JspPortlet/classname
parameter name=template value=Actiontest.jsp hidden=false/
parameter name=action value=portlets.ActionTest hidden=true 
cachedOnName=true cachedOnValue=true/
media-type ref=html/
/portlet-entry

From this example you should be able to extract the knowledge you need.
Chris


-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 1:35 PM
To: Jetspeed Users List
Subject: ***SPAM*** class not found


Hello everybody,
 
I have a problem with JSP Portlet Action class.I am getting class not found 
exception.I tried all the ways but i am not able fix it since yesterday.Any help in 
this regard will be greatly appreciated.
 
Thank you,
Maruthi.

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



RE: $jslink, what is the java equivalent?

2004-06-25 Thread Floßmann Christoph
And where can we find that code?

-Original Message-
From: Archana Turaga [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 4:44 PM
To: Jetspeed Users List
Subject: RE: $jslink, what is the java equivalent?


The way I did is write my own class that calls the BasEJetspeedLink
(jslink java class) which is a singleton. You can look at that
codeit is pretty straightforward.It works perfectly okay in the jsp
world.

-Original Message-
From: Stefan Rennick Egglestone [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 25, 2004 8:28 AM
To: Jetspeed Users List
Subject: Re: $jslink, what is the java equivalent?

The way I've done this, which I'm sure is not a good way to do it at all

is as follows. In your jsp, call

Portlet thisPortlet = (Portlet)request.getAttribute(portlet);
String pageID = portlet.getPortletConfig().getPageID()

The pageID is then a string which looks somehting like  
user/test/html/default.psml

You can then create a link to this page suing this information, to look 
something like

portal/media-type/html/user/test/page/default.psml/

Stijn de Witt wrote:

You can get the current location from your Velocity template using
$jslink
right? My question is, how do I do the equivalent, getting the URL to
the
current page, from Java?

TIA,
-Stijn


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

  




This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK
legislation.


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




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


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



RE: ***SPAM*** class not found Exception ..JSP portlet Action class

2004-06-24 Thread Floßmann Christoph
You already described your mistake very clearly. You put the .class file in the wrong 
path. Right now they should be in the 
WEB-INF\classes\org\apache\jetspeed\modules\actions\portlets path. You also can define 
your own paths in the
webapp/WEB-INF/conf/TurbineResources.properties
There are entries there like this:

module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

And you can define your own.


-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** class not found Exception ..JSP portlet Action class


Hello,
 
I have problem with JSP Portlet Action class.I am getting class not found exception.I 
didn't defined custom package for my action class.I just placed .java and .class files 
in the .portlets.JspPortlet directory.Below is my Registry fragment.
 
Thank you,
Maruthi.
 
Error:
java.lang.ClassNotFoundException: 
 
 Requested Action not found: portlets.RegistrationJSPAction
 Turbine looked in the following modules.packages path: 
 [org.apache.jetspeed.modules, org.apache.turbine.modules]
==
.xreg file
==
portlet-entry name=RegistrationJSPAction hidden=false type=ref parent=JSP 
application=false
meta-info
titleRegistrationJSP-Ravuri/title
descriptionRegistration JSP Example/description
/meta-info
classnameorg.apache.jetspeed.portal.portlets.JspPortlet/classname
parameter name=template value=RegistrationJSPTemplate.jsp hidden=true 
cachedOnName=true cachedOnValue=true/
parameter name=action value=portlets.RegistrationJSPAction hidden=true 
cachedOnName=true cachedOnValue=true/
media-type ref=html/
url cachedOnURL=true/
category group=Jetspeedweb services/category
category group=Jetspeedfinance.stocks/category
category group=Jetspeedjsp/category
/portlet-entry

==


-
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

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



RE: changing default name in Torque.properties

2004-06-24 Thread Floßmann Christoph
My DB Problem is similar (using mysql). But I don't get an error message. As admin I 
can update the users data, eg. Tommy Turbines firstname. But I can't add a new user. 
If I do so the portlet is displayed and nothing happend (no logging in tomcat console)

Here is my Torque.properties:

=
torque.database.default=jetspeed
torque.database.jetspeed.adapter=mysql
torque.dsfactory.jetspeed.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.jetspeed.pool.defaultMaxConnections=10
torque.dsfactory.jetspeed.pool.maxExpiryTime=3600
torque.dsfactory.jetspeed.pool.connectionWaitTimeout=10
torque.dsfactory.jetspeed.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.jetspeed.connection.url = jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.jetspeed.connection.user =  root
torque.dsfactory.jetspeed.connection.password =
=


-Original Message-
From: Vijay Raghavan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 9:36 AM
To: [EMAIL PROTECTED]
Subject: changing default name in Torque.properties



Hi All,


I modified my Torque.properties file as


  torque.database.PRIMARYDB=default ==   
(torque.database.default=default)
  torque.database.PRIMARYDB.adapter=oracle  ==   
(torque.database.default.adapter=oracle)

  
torque.dsfactory.PRIMARYDB.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory 
 
  torque.dsfactory.PRIMARYDB.pool.defaultMaxConnections=10
  torque.dsfactory.PRIMARYDB.pool.maxExpiryTime=3600
  torque.dsfactory.PRIMARYDB.pool.connectionWaitTimeout=10

  torque.dsfactory.PRIMARYDB.connection.driver = oracle.jdbc.driver.OracleDriver   
(torque.dsfactory.default.connection.driver = oracle.jdbc.driver.OracleDriver)
  torque.dsfactory.PRIMARYDB.connection.url = jdbc:oracle:thin:@(DESCRIPTION 
=(ADDRESS_LIST=(ADDRESS =(PROTOCOL=TCP)(HOST = 172.16.0.111)(PORT=
1521)))(CONNECT_DATA=(SERVICE_NAME=ir)))
  torque.dsfactory.PRIMARYDB.connection.user =  bh
  torque.dsfactory.PRIMARYDB.connection.password = bh


In Torque.getConnection(poolname)  i will get PRIMARYDB pool name, so i can 
Login In to the Admin Screen, no problem in that.


but if i add any User or Role or Group i am getting Error.


Some where default name is hardcoded. may be in Torque src java files.

Please help me it is very urgent.




Thanks in Advance.

Thanks,
Vijay







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


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



RE: changing default name in Torque.properties

2004-06-24 Thread Floßmann Christoph
Boy, if it works so, I think it's more handsome to rename my Database to default!
You can't give a detailed list of the affected file, do you?



-Original Message-
From: Vijay Raghavan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:57 PM
To: Jetspeed Users List
Subject: RE: changing default name in Torque.properties




for this you need to edit Jetspeed Code (Jetspeed src [java file]) and also 
Torque Code (Torque src [java file]).



In Jetspeed src, 

- replace Torque.getConnection(with your poolname)
- and also Torque.getDatabaseName(with your poolname)
- Find in Jetspeed src with text default, but be careful, because some places
  default text is used for default.psml identification, so we should not 
remove that default.

- in setDBName Method also [setDBName(default)], default text has been used 
dont remove it, it will be
there in many places in jetspeed core, better you change this 
setDBName method name in Torque src [java file]




and also in Torque src


- Find in Torque src with text default and replace with your pool name.  
 

- you can find setDBName method in Criteria.java, u replace with your pool name

- File like  Criteria.java, BasePeer.java, Torque.java, Database.java 
etc 
default text will be there you can replace with your pool name.


we have two DB, if one is down it will switch to other db.


Vijay



-Original Message-
From: Floßmann Christoph [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 6:04 PM
To: Jetspeed Users List
Subject: RE: changing default name in Torque.properties


My DB Problem is similar (using mysql). But I don't get an error message. As admin I 
can update the users data, eg. Tommy Turbines firstname. But I can't add a new user. 
If I do so the portlet is displayed and nothing happend (no logging in tomcat console)

Here is my Torque.properties:

=
torque.database.default=jetspeed
torque.database.jetspeed.adapter=mysql
torque.dsfactory.jetspeed.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.jetspeed.pool.defaultMaxConnections=10
torque.dsfactory.jetspeed.pool.maxExpiryTime=3600
torque.dsfactory.jetspeed.pool.connectionWaitTimeout=10
torque.dsfactory.jetspeed.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.jetspeed.connection.url = jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.jetspeed.connection.user =  root
torque.dsfactory.jetspeed.connection.password =
=


-Original Message-
From: Vijay Raghavan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 9:36 AM
To: [EMAIL PROTECTED]
Subject: changing default name in Torque.properties



Hi All,


I modified my Torque.properties file as


  torque.database.PRIMARYDB=default ==   
(torque.database.default=default)
  torque.database.PRIMARYDB.adapter=oracle  ==   
(torque.database.default.adapter=oracle)

  
torque.dsfactory.PRIMARYDB.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory 
 
  torque.dsfactory.PRIMARYDB.pool.defaultMaxConnections=10
  torque.dsfactory.PRIMARYDB.pool.maxExpiryTime=3600
  torque.dsfactory.PRIMARYDB.pool.connectionWaitTimeout=10

  torque.dsfactory.PRIMARYDB.connection.driver = oracle.jdbc.driver.OracleDriver   
(torque.dsfactory.default.connection.driver = oracle.jdbc.driver.OracleDriver)
  torque.dsfactory.PRIMARYDB.connection.url = jdbc:oracle:thin:@(DESCRIPTION 
=(ADDRESS_LIST=(ADDRESS =(PROTOCOL=TCP)(HOST = 172.16.0.111)(PORT=
1521)))(CONNECT_DATA=(SERVICE_NAME=ir)))
  torque.dsfactory.PRIMARYDB.connection.user =  bh
  torque.dsfactory.PRIMARYDB.connection.password = bh


In Torque.getConnection(poolname)  i will get PRIMARYDB pool name, so i can 
Login In to the Admin Screen, no problem in that.


but if i add any User or Role or Group i am getting Error.


Some where default name is hardcoded. may be in Torque src java files.

Please help me it is very urgent.




Thanks in Advance.

Thanks,
Vijay







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


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


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


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

RE: hello christoph ...class not found Exception ..

2004-06-24 Thread Floßmann Christoph
1. the mentioned path is ok
2. leave the classname out. The value is portlets.AnyClass

Maybe you forgot to include this line in your jsp
jsp:useBean id=anyID class=org.apache.jetspeed.modules.actions.portlets.AnyClass 
scope=request /?

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 6:08 PM
To: Jetspeed Users List
Subject: ***SPAM*** hello christoph ...class not found Exception ..


Hello Christoph,
 
Are there any other reasons for not finding Action Class.I tried all the ways by 
modifying  my local-portlets.xreg file and placing .class file in different places (i 
placed in WEB-INF\classes\org\apache\jetspeed\modules\actions\portlets too as you 
suggested).But its not working.What might be the reason.
 
Can you once again mention clearly...
 
1) where should i place my .java and .class files exactly (No custom package defined)
 
2) what should i mention in the classname and in the value of Parameter Name=Action.
 
 classname???/classname
parameter name=action value=? hidden=true cachedOnName=true 
cachedOnValue=true/
 
May be this is a simple problem complex..but i am trying it since today 
morning!.Pl reply.
Thank you,
Maruthi.
 
 
 
 


Floßmann_Christoph [EMAIL PROTECTED] wrote:
You already described your mistake very clearly. You put the .class file in the wrong 
path. Right now they should be in the 
WEB-INF\classes\org\apache\jetspeed\modules\actions\portlets path. You also can define 
your own paths in the
webapp/WEB-INF/conf/TurbineResources.properties
There are entries there like this:

module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

And you can define your own.


-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** class not found Exception ..JSP portlet Action class


Hello,

I have problem with JSP Portlet Action class.I am getting class not found exception.I 
didn't defined custom package for my action class.I just placed .java and .class files 
in the .portlets.JspPortlet directory.Below is my Registry fragment.

Thank you,
Maruthi.

Error:
java.lang.ClassNotFoundException: 

Requested Action not found: portlets.RegistrationJSPAction
Turbine looked in the following modules.packages path: 
[org.apache.jetspeed.modules, org.apache.turbine.modules]
==
..xreg file
==




Registration JSP Example

org.apache.jetspeed.portal.portlets.JspPortlet






web services
finance.stocks
jsp



==


-
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

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



-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

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



RE: ***SPAM*** Simple Action in jsp (full code in mail)

2004-06-23 Thread Floßmann Christoph
Well, what a pitty! I finally found out what was wrong. My java class was in the wrong 
directory.
For some reasons they are found and the buildNormalContent method is executed when the 
java file is in
src/java/de/volke/jetspeed/modules/actions
but self defined actions are only available in
src/java/de/volke/jetspeed/modules/actions/portlets!!
Hope any one else can profit of my experience.
Chris

-Original Message-
From: Floßmann Christoph 
Sent: Tuesday, June 22, 2004 10:55 AM
To: Jetspeed Users List (E-Mail)
Subject: ***SPAM*** Simple Action in jsp (full code in mail)


Hello jetspeed users,

after my troubles with my ShoutBox Portlet I tried to reduce my code to a minimum.
Maybe someone tries it and tells me what's wrong.

=
Entry in portlets.xreg
=
portlet-entry name=ActionTest hidden=false type=ref parent=JSP 
application=false
meta-info
titleAction/title
descriptionSimple Test/description
/meta-info
parameter name=template value=Actiontest.jsp hidden=false/
parameter name=action value=ActionTest hidden=true cachedOnName=true 
cachedOnValue=true/
media-type ref=html/
/portlet-entry
=
The java source (be sure to put it in src/java/de/volke/jetspeed/modules/actions
=
package de.volke.jetspeed.modules.actions;

import org.apache.jetspeed.modules.actions.portlets.JspPortletAction;
import org.apache.jetspeed.portal.Portlet;
import org.apache.turbine.util.RunData;

public class ActionTest  extends JspPortletAction {

protected void buildNormalContext(Portlet portlet, RunData rundata) throws 
Exception {
  System.out.println(Built ActionTest Portlet!);
}

public void doSomething(){
  System.out.println(Action);
}
}
=
The jsp page in WEB-INF/templates/jsp/portlets/html
=
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %
jsp:useBean id=action class=de.volke.jetspeed.modules.actions.ActionTest 
scope=request /

%
String jspeid = (String) request.getAttribute(js_peid);
%

form method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
INPUT TYPE=SUBMIT NAME=eventSubmit_doSomething VALUE=Ok style=width:60
/form


=
Now the message in the buildNormalContext method is displayed in the tomcat shell. But 
the doSomething method isn't working.

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


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



RE: Shoutbox Portlet Action doesn't work

2004-06-22 Thread Floßmann Christoph
Now I tried to reduce my code to a minimum.
Maybe someone tries it and tells me what's wrong.

=
Entry in portlets.xreg
=
portlet-entry name=ActionTest hidden=false type=ref parent=JSP 
application=false
meta-info
titleAction/title
descriptionSimple Test/description
/meta-info
parameter name=template value=Actiontest.jsp hidden=false/
parameter name=action value=ActionTest hidden=true cachedOnName=true 
cachedOnValue=true/
media-type ref=html/
/portlet-entry
=
The java source (be sure to put it in src/java/de/volke/jetspeed/modules/actions
=
package de.volke.jetspeed.modules.actions;

import org.apache.jetspeed.modules.actions.portlets.JspPortletAction;
import org.apache.jetspeed.portal.Portlet;
import org.apache.turbine.util.RunData;

public class ActionTest  extends JspPortletAction {

protected void buildNormalContext(Portlet portlet, RunData rundata) throws 
Exception {
  System.out.println(Built ActionTest Portlet!);
}

public void doSomething(){
  System.out.println(Action);
}
}
=
The jsp page in WEB-INF/templates/jsp/portlets/html
=
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %
jsp:useBean id=action class=de.volke.jetspeed.modules.actions.ActionTest 
scope=request /

%
String jspeid = (String) request.getAttribute(js_peid);
%

form method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
INPUT TYPE=SUBMIT NAME=eventSubmit_doSomething VALUE=Ok style=width:60
/form


=
Now the message in the buildNormalContext method is displayed in the tomcat shell. But 
the doSomething method isn't working.

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



Simple Action in jsp (full code in mail)

2004-06-22 Thread Floßmann Christoph
Hello jetspeed users,

after my troubles with my ShoutBox Portlet I tried to reduce my code to a minimum.
Maybe someone tries it and tells me what's wrong.

=
Entry in portlets.xreg
=
portlet-entry name=ActionTest hidden=false type=ref parent=JSP 
application=false
meta-info
titleAction/title
descriptionSimple Test/description
/meta-info
parameter name=template value=Actiontest.jsp hidden=false/
parameter name=action value=ActionTest hidden=true cachedOnName=true 
cachedOnValue=true/
media-type ref=html/
/portlet-entry
=
The java source (be sure to put it in src/java/de/volke/jetspeed/modules/actions
=
package de.volke.jetspeed.modules.actions;

import org.apache.jetspeed.modules.actions.portlets.JspPortletAction;
import org.apache.jetspeed.portal.Portlet;
import org.apache.turbine.util.RunData;

public class ActionTest  extends JspPortletAction {

protected void buildNormalContext(Portlet portlet, RunData rundata) throws 
Exception {
  System.out.println(Built ActionTest Portlet!);
}

public void doSomething(){
  System.out.println(Action);
}
}
=
The jsp page in WEB-INF/templates/jsp/portlets/html
=
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %
jsp:useBean id=action class=de.volke.jetspeed.modules.actions.ActionTest 
scope=request /

%
String jspeid = (String) request.getAttribute(js_peid);
%

form method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
INPUT TYPE=SUBMIT NAME=eventSubmit_doSomething VALUE=Ok style=width:60
/form


=
Now the message in the buildNormalContext method is displayed in the tomcat shell. But 
the doSomething method isn't working.

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



RE: Anything wrong in mysql Database configuration?..

2004-06-21 Thread Floßmann Christoph
Hi Maruthi,

instead of Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
you could use Class.forName(com.mysql.jdbc.Driver);
and
Connection con = 
DriverManager.getConnection(Jdbc:mysql://ravuri/Thesiswork,root,);
I guess this is another thing you got to to fix. You don't use any user in your 
Torque.properties.

HTH
Chris

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 6:41 PM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** Anything wrong in mysql Database configuration?..


Hello Everybody,
 
Can anybody check my  whether there is anything wrong in my MYSQL configuration.I am 
using MYSQL 3.51 Driver to connect JDBC to mySQL .My DSN name is ravuriand my 
Database Name is Thesiswork.I populated the SQL scripts in the source.
 
Please see below for my configuration. If anything is missing..please suggest me what 
i have to change?.Any help in this regard will allow me  to step forward a bit after 
many days digging around.
 
Thank you,
Maruthi.
 
=
Coding in JSP Action Class :: 
=
 
 Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
Connection con = DriverManager.getConnection(Jdbc:odbc:ravuri);
Statement st=con.createStatement();
String str=INSERT into Thesiswork.registration VALUES 
   
 
('+userid+','+password+','+fname+','+lname+','+dob+','+education+','+sex+','+email+',+telhome+,+telmob+,'+street
   +','+city+',+zip+,'+country+');
int i=st.executeUpdate(str);
System.out.println(Number of Rows inserted: +i+br); 
==
Torque.Properties::  
==
 
torque.database.default=default
torque.database.default.adapter=mysql
torque.dsfactory.default.connection.driver = sun.jdbc.odbc.JdbcOdbcDriver
torque.dsfactory.default.connection.url = Jdbc:odbc:ravuri
torque.dsfactory.default.connection.user =
torque.dsfactory.default.connection.password = 
===
Project.Properties

database = mysql
#targetPackage = org.apache.jetspeed.om.torque
torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
torque.database.url = sun.jdbc.odbc.JdbcOdbcDriver
torque.database.driver = Jdbc:odbc:ravuri
torque.database.user = 
torque.database.password =


-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

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



RE: ***SPAM*** hello christoph...Anything wrong in mysql Database configuration?..

2004-06-21 Thread Floßmann Christoph
Well, I don't you use an project.properties file. But I'm quite sure that you have got 
to mention the user there too:
In Torque Properties:
torque.dsfactory.default.connection.user =  root
In Project Properties:
torque.database.user = root
There is still something else missing:
torque.database.default=Thesiswork
And in the following entries of torque.properties you replace 
dsfactory by Thesiswork, eg
torque.Thesiswork.default.connection.driver = com.mysql.jdbc.Driver

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 21, 2004 11:10 AM
To: Jetspeed Users List
Subject: ***SPAM*** hello christoph...Anything wrong in mysql Database
configuration?..


Hello chris..
 
Thanks for your reply.I changed the thngs like this  as per your suggestion::

In the JSP action ::

Class.forName(com.mysql.jdbc.Driver);
Connection con=DriverManager.getConnectio(Jdbc:mysql://ravuri/Thesiswork,root,);

In Torque.Properties::

torque.database.default=default
torque.database.default.adapter=mysql

torque.dsfactory.default.connection.driver = com.mysql.jdbc.Driver
torque.dsfactory.default.connection.url =Jdbc:mysql://ravuri/Thesiswork
torque.dsfactory.default.connection.user =//?
torque.dsfactory.default.connection.password = // ?

In Project .Properties ::

database = mysql

torque.database.url = //?
torque.database.driver = //?
torque.database.user = //?
torque.database.password =//?


But i am getting error org.apache.jetspeed.om.profile.ProfileException: 
java.lang.NullPointerException when i try to log in into jetspeed.I am not getting 
whats wrong with my settings.

Anything wrong in my project.properties file ..as per this link i just changed the 
database property to mysql( http://portals.apache.org/jetspeed-1/database.html ) in 
project.properties file remaining leaving as it is.

 

Should there be any thing in the ? place in the above list.Please tell me whats 
wrong with me?.

Thank you very much for your help and patience,

Maruthi.



Floßmann_Christoph [EMAIL PROTECTED] wrote:
Hi Maruthi,

instead of Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
you could use Class.forName(com.mysql.jdbc.Driver);
and
Connection con = 
DriverManager.getConnection(Jdbc:mysql://ravuri/Thesiswork,root,);
I guess this is another thing you got to to fix. You don't use any user in your 
Torque.properties.

HTH
Chris

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 6:41 PM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** Anything wrong in mysql Database configuration?..


Hello Everybody,

Can anybody check my whether there is anything wrong in my MYSQL configuration.I am 
using MYSQL 3.51 Driver to connect JDBC to mySQL .My DSN name is ravuriand my 
Database Name is Thesiswork.I populated the SQL scripts in the source.

Please see below for my configuration. If anything is missing..please suggest me what 
i have to change?.Any help in this regard will allow me to step forward a bit after 
many days digging around.

Thank you,
Maruthi.

=
Coding in JSP Action Class :: 
=

Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
Connection con = DriverManager.getConnection(Jdbc:odbc:ravuri);
Statement st=con.createStatement();
String str=INSERT into Thesiswork.registration VALUES 
('+userid+','+password+','+fname+','+lname+','+dob+','+education+','+sex+','+email+',+telhome+,+telmob+,'+street
 +','+city+',+zip+,'+country+');
int i=st.executeUpdate(str);
System.out.println(Number of Rows inserted: +i+
); 
==
Torque.Properties:: 
==

torque.database.default=default
torque.database.default.adapter=mysql
torque.dsfactory.default.connection.driver = sun.jdbc.odbc.JdbcOdbcDriver
torque.dsfactory.default.connection.url = Jdbc:odbc:ravuri
torque.dsfactory.default.connection.user =
torque.dsfactory.default.connection.password = 
===
Project.Properties

database = mysql
#targetPackage = org.apache.jetspeed.om.torque
torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
torque.database.url = sun.jdbc.odbc.JdbcOdbcDriver
torque.database.driver = Jdbc:odbc:ravuri
torque.database.user = 
torque.database.password =


-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

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



-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

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



Shoutbox Portlet Action doesn't work

2004-06-21 Thread Floßmann Christoph
Hi there,

I tried to write a little ShoutBox jsp-Portlet. I don't know why, but it the Action 
doesn't work.

Here my Portlet Code:

==
%@ page import=java.sql.ResultSet%
%@ page language=java contentType=text/html; charset=iso-8859-1 session=true %

%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %
jsp:useBean id=shoutBox class=de.volke.jetspeed.modules.actions.ShoutBox 
scope=request /
jsp:setProperty name=shoutBox property=* /


%
String jspeid = (String) request.getAttribute(js_peid);
%
table
form name=shoutform method=POST action=jetspeed:dynamicUri/
INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
tr style=border-style:solid; border-color:#99
tdShout/tdtd:/td
tdinput name=shout type=TEXT width=80 height=15/td
/tr
tr
tdnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/td
td align=center colspan=2
!--input type=hidden name=action value=portlets.ShoutBox--
INPUT TYPE=SUBMIT NAME=eventSubmit_doUpdate VALUE=Ok 
style=width:60
/td
/tr
/form
%
//Show entries.
String text;
ResultSet rsshout = shoutBox.getShoutings();
while(rsshout.next()){
text = rsshout.getString(shouttext);
out.println(trtd colspan='3'hr + text + /td/tr);
}

try{
rsshout.close();
rsshout.getStatement().close();
rsshout.getStatement().getConnection().close();
}
catch(Exception e){
System.out.println(Schwerer Ausnahmefehler:);
System.out.println(e);
}
%
/table

==

the portlets.xreg entry:

==

portlet-entry name=Shoutbox hidden=false type=ref parent=JSP 
application=false
meta-info
titleShoutBox/title
descriptionSchrei was das Zeug hält!/description
/meta-info
parameter name=template value=ShoutBox.jsp hidden=false/
parameter name=action value=portlets.ShoutBox hidden=true 
cachedOnName=true cachedOnValue=true/
media-type ref=html/
/portlet-entry

==

and the class:

==

package de.volke.jetspeed.modules.actions;

import org.apache.jetspeed.modules.actions.portlets.JspPortletAction;
import org.apache.jetspeed.portal.Portlet;
import org.apache.turbine.util.RunData;

import java.sql.ResultSet;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.DriverManager;
import java.rmi.dgc.VMID;

/**
 * Created by Christoph Floßmann.
 */

public class ShoutBox extends JspPortletAction {

String shout = ;

public String getShout() {
return shout;
}

public void setShout(String shout) {
this.shout = shout;
}

public ResultSet getShoutings() throws Exception {

 //--Database Connect--
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;

Class.forName(org.postgresql.Driver);

String dbsource = jdbc:postgresql://xxx/yyy;
String dbuser = xxx;
String dbpassword = xxx; //If you want to try yourself edit the xxx 
and yyy entries
conn = DriverManager.getConnection(dbsource, dbuser, dbpassword);
stmt =  conn.createStatement();

String sql = SELECT  +
shouttext  +
 FROM  +
portal.tbl_shoutbox  +
 ORDER BY +
date DESC, time DESC  +
 LIMIT 10;

rs = stmt.executeQuery(sql);
return rs;
}

protected void buildNormalContext(Portlet portlet, RunData rundata) throws 
Exception {

}

public void doUpdate(RunData rundata, Portlet portlet) throws Exception{

System.out.println(Action is working!); //just to test this thing!
}
}

==

Any suggestions?

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



RE: Shoutbox Portlet Action doesn't work

2004-06-21 Thread Floßmann Christoph
I have set the path correct already
module.packages=org.apache.jetspeed.modules, de.volke.jetspeed.modules
and I tried it without comma separation without success.

Now I'm hanging in that logging file but there is no entry for a doUpdate Action ):


-Original Message-

Have you set your module path in
webapp/WEB-INF/conf/TurbineResources.properties?
There are entries there like this:

module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules


You have to add the root of your modules packages to this path:

module.packages=de.volke.jetspeed.modules

Not sure if that's it, but that caused trouble with me.
Also, check the logs in tomcat/webaps/jetspeed/WEB-INF/log/Jetspeed.log

Hope it helps,
-Stijn


- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List (E-Mail) [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 11:40 AM
Subject: Shoutbox Portlet Action doesn't work


 Hi there,

 I tried to write a little ShoutBox jsp-Portlet. I don't know why, but it
the Action doesn't work.

 Here my Portlet Code:

 ==
 %@ page import=java.sql.ResultSet%
 %@ page language=java contentType=text/html; charset=iso-8859-1
session=true %

 %@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%
 jsp:useBean id=shoutBox
class=de.volke.jetspeed.modules.actions.ShoutBox scope=request /
 jsp:setProperty name=shoutBox property=* /


 %
 String jspeid = (String) request.getAttribute(js_peid);
 %
 table
 form name=shoutform method=POST action=jetspeed:dynamicUri/
 INPUT TYPE=hidden NAME=js_peid VALUE=%=jspeid%
 tr style=border-style:solid; border-color:#99
 tdShout/tdtd:/td
 tdinput name=shout type=TEXT width=80 height=15/td
 /tr
 tr
 tdnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/td
 td align=center colspan=2
 !--input type=hidden name=action
value=portlets.ShoutBox--
 INPUT TYPE=SUBMIT NAME=eventSubmit_doUpdate VALUE=Ok
style=width:60
 /td
 /tr
 /form
 %
 //Show entries.
 String text;
 ResultSet rsshout = shoutBox.getShoutings();
 while(rsshout.next()){
 text = rsshout.getString(shouttext);
 out.println(trtd colspan='3'hr + text + /td/tr);
 }

 try{
 rsshout.close();
 rsshout.getStatement().close();
 rsshout.getStatement().getConnection().close();
 }
 catch(Exception e){
 System.out.println(Schwerer Ausnahmefehler:);
 System.out.println(e);
 }
 %
 /table

 ==

 the portlets.xreg entry:

 ==

 portlet-entry name=Shoutbox hidden=false type=ref parent=JSP
application=false
 meta-info
 titleShoutBox/title
 descriptionSchrei was das Zeug hält!/description
 /meta-info
 parameter name=template value=ShoutBox.jsp hidden=false/
 parameter name=action value=portlets.ShoutBox hidden=true
cachedOnName=true cachedOnValue=true/
 media-type ref=html/
 /portlet-entry

 ==

 and the class:

 ==

 package de.volke.jetspeed.modules.actions;

 import org.apache.jetspeed.modules.actions.portlets.JspPortletAction;
 import org.apache.jetspeed.portal.Portlet;
 import org.apache.turbine.util.RunData;

 import java.sql.ResultSet;
 import java.sql.Connection;
 import java.sql.Statement;
 import java.sql.DriverManager;
 import java.rmi.dgc.VMID;

 /**
  * Created by Christoph Floßmann.
  */

 public class ShoutBox extends JspPortletAction {

 String shout = ;

 public String getShout() {
 return shout;
 }

 public void setShout(String shout) {
 this.shout = shout;
 }

 public ResultSet getShoutings() throws Exception {

  //--Database Connect--
 Connection conn = null;
 Statement stmt = null;
 ResultSet rs = null;

 Class.forName(org.postgresql.Driver);

 String dbsource = jdbc:postgresql://xxx/yyy;
 String dbuser = xxx;
 String dbpassword = xxx; //If you want to try yourself edit the xxx and
yyy entries
 conn = DriverManager.getConnection(dbsource, dbuser, dbpassword);
 stmt =  conn.createStatement();

 String sql = SELECT  +
 shouttext  +
 FROM  +
 portal.tbl_shoutbox  +
 ORDER BY +
 date DESC, time DESC  +
  LIMIT 10;

 rs = stmt.executeQuery(sql);
 return rs;
 }

 protected void buildNormalContext(Portlet portlet, RunData rundata)
throws Exception {

 }

 public void doUpdate(RunData rundata, Portlet portlet) throws
Exception{

 System.out.println(Action is working!); //just to test this
thing!
 }
 }

 ==

 Any suggestions

RE: Shoutbox Portlet Action doesn't work

2004-06-21 Thread Floßmann Christoph
I already wrote my xreg definition 
Here I copied it once again:

==

the portlets.xreg entry:

==
portlet-entry name=Shoutbox hidden=false type=ref parent=JSP
 application=false
meta-info
titleShoutBox/title
descriptionSchrei was das Zeug hält!/description
/meta-info
 parameter name=template value=ShoutBox.jsp hidden=false/
parameter name=action value=portlets.ShoutBox hidden=true
 cachedOnName=true cachedOnValue=true/
media-type ref=html/
/portlet-entry
==

 I have set the path correct already
 module.packages=org.apache.jetspeed.modules, de.volke.jetspeed.modules
 and I tried it without comma separation without success.

I think both ways work...


 Now I'm hanging in that logging file but there is no entry for a doUpdate
Action ):


Ok, that's because your action can't be found. Try looking for
GenericMVCPortlet , it is the base class that is responsible for delegating
the actions. Here is a snippet of my log file when it works how it should:

2004-06-21 13:09:26,953 [PoolThread-7] DEBUG PortletWrapper - checking for
Portlet permission: view for portlet: BitSubmitCvPortlet Owner = anon
2004-06-21 13:09:26,968 [PoolThread-7] DEBUG PortletWrapper - checking for
Portlet permission: view for portlet: BitSubmitCvPortlet Owner = anon
2004-06-21 13:09:26,984 [PoolThread-7] DEBUG GenericMVCPortlet -
GenericMVCPortlet: Executing action [BitSubmitCvPortletAction] for portlet
[BitSubmitCvPortlet]
2004-06-21 13:09:27,031 [PoolThread-7] INFO  BitFormPortletAction - Created
a BitFormPortletAction.

I am logging the message 'Created a BitFormPortletAction.' in my portlet
action's constructor. The three lines before that are from Jetspeed.

If you still can't find anything, you could just paste a (section of) the
logfile. Also, I am interested in seeing your .xreg where your portlet is
defined.

-Stijn


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



RE: Shoutbox Portlet Action doesn't work

2004-06-21 Thread Floßmann Christoph
Yes I can add my portlet with the costumizer. And finds the class. Otherwise where 
should the results of my query come form (I created some shoutings in the database 
which are displayed in the portlet)

This is what I get from the logging after pushing the submit button but I don't know 
what I can do now:

=

2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCPortlet - 
GenericMVCPortlet: Executing action [portlets.ShoutBox] for portlet [Shoutbox]
2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - Action: try 
executing events
2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - Action: 
calling doPerform
2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - 
GenericMVCAction: retrieved context: [EMAIL PROTECTED]
2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - 
GenericMVCAction: retrieved portlet: [EMAIL PROTECTED]
2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - 
GenericMVCAction: building normal
2004-06-21 16:04:55,444 [http8080-Processor25] INFO  GenericMVCPortlet - 
GenericMVCPortlet - calling processView on processor
2004-06-21 16:04:55,444 [http8080-Processor25] INFO  JSPViewProcessor - 
JSPViewProcessor - processing template ShoutBox.jsp
2004-06-21 16:04:55,444 [http8080-Processor25] INFO  JSPViewProcessor - 
JSPViewProcessor - locating template - [EMAIL PROTECTED] - ShoutBox.jsp
2004-06-21 16:04:55,444 [http8080-Processor25] INFO  JSPViewProcessor - 
JSPViewProcessor - located template: /portlets/html/ShoutBox.jsp
2004-06-21 16:04:55,444 [http8080-Processor25] INFO  ShoutBox - ShoutBox Created.

=

-Original Message-
From: Stijn de Witt [mailto:[EMAIL PROTECTED]
Sent: Monday, June 21, 2004 4:02 PM
To: Jetspeed Users List
Subject: Re: Shoutbox Portlet Action doesn't work


- Original Message - 
From: Floßmann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 3:06 PM
Subject: RE: Shoutbox Portlet Action doesn't work

 Where do I get BitSubmitCvPortletAction form?

Sorry, that was a copy-paste error. My action is named
BitSubmitCvPortletAction. You have to fill in the name of your action here,
so that's

private static final JetspeedLogger logger = JetspeedLogFactoryService.
getLogger(ShoutBox.class.getName());

 I already tried the following things:
 System.println.out(Hello world!);
 in my doUpdate-Action, but nothing was shown after pushing the
submitbutton.
 I renamed the doUpdate-Action to something else, but no exception or error
occured.

I am guessing that your whole action, so the whole ShoutBox class, cannot be
found by jetspeed. This happens because of various reasons. If your class
cannot be found, then Jetspeed cannot call your doUpdate() function and
instead the standard doPerform() of the standard action is called. This is
most probably just some setting somewhere that prevents jetspeed from
finding it.

Can you add your portlet with the customizer? (If you 'customize page' and
you click Add Portlet button, is your portlet available in the list?)
If you cannot add it with the customizer, you should try to fix that first.

-Stijn


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


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



AW: AW: AnonUser Page differs on browser

2004-06-11 Thread Floßmann Christoph
Yes, I copied the default.psml file to the /en folder.

-Ursprüngliche Nachricht-
Von: nick the mytilian [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. Juni 2004 14:59
An: Jetspeed Users List
Betreff: Re: AW: AnonUser Page differs on browser




what do you mean with:  after synchronizing? You just copy the one to
the other?

Nik.


On Wed, 9 Jun 2004, [iso-8859-1] Floßmann Christoph wrote:

 Now I've got it.
 The IE uses the users/anon/html/default.psml while Firefox takes 
 users/anon/html/en/default.psml.
 After synchronizing the files everything worked fine.

 -Ursprüngliche Nachricht-
 Von: Floßmann Christoph
 Gesendet: Dienstag, 8. Juni 2004 10:36
 An: Jetspeed Users List
 Betreff: AW: AnonUser Page differs on browser


 Hmm, I installed the LiveHTTPHeaders Plugin - a nice tool but I had no luck.
 The displayed page in Firefox is the one you get after installing jetspeed 
 out-of-the-box.
 (With the Home Page, RSS and Dynamic pane)
 Clicking on one of the panes the following URL is displayed in the addressbar
 http://localhost:8080/jetspeed/portal/media-type/html/language/en/user/anon/page/default.psml/js_pane/101
 Any suggestions?

 -Ursprüngliche Nachricht-
 Von: Raphael Luta [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 3. Juni 2004 23:09
 An: Jetspeed Users List
 Betreff: Re: AnonUser Page differs on browser


 Floßmann Christoph wrote:
  Hi,
 
  I don't know whether I configured sth. wrong or if it is an known issue. With the 
  IE everything works fine when I'm addressing localhost:8080/jetspeed the defined 
  page from default.psml in the anon directory is opened. Trying this in Friefox 
  fails. Some other page is shown and I didn't figure aut yet why this happens.
  Any suggestions?
 
  Chris

 If you are redirected to a site named www.localhost.xx, it's simply
 that FireFox could not contact your site and redirected you to an
 related Internet site through its keywords feature.

 If you're sure your server is up  running and accessible from your
 client, then this is probably caused by an incorrectly configured
 jetspeed that send a 302 redirect to a mistyped URL.

 If you need to validate this, download and activate the LiveHTTPHeaders
 plugins of firefox. It will let you easily see the different
 requests/repsonses issued and recieved by the browser.

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

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


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


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




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


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



AW: AW: AW: AnonUser Page differs on browser

2004-06-11 Thread Floßmann Christoph
Good idea - I'll try it.

-Ursprüngliche Nachricht-


Simply delete the /en/default.psml page. Firefox will then default to  
the
the base /html/default.psml and you only have 1 file to maintain...

Le 11 juin 04, à 09:31, Floßmann Christoph a écrit :

 Yes, I copied the default.psml file to the /en folder.

 -Ursprüngliche Nachricht-
 Von: nick the mytilian [mailto:[EMAIL PROTECTED]

 what do you mean with:  after synchronizing? You just copy the one to
 the other?

 Nik.


 On Wed, 9 Jun 2004, [iso-8859-1] Floßmann Christoph wrote:

 Now I've got it.
 The IE uses the users/anon/html/default.psml while Firefox takes  
 users/anon/html/en/default.psml.
 After synchronizing the files everything worked fine.

 -Ursprüngliche Nachricht-
 Von: Floßmann Christoph
 Gesendet: Dienstag, 8. Juni 2004 10:36
 An: Jetspeed Users List
 Betreff: AW: AnonUser Page differs on browser


 Hmm, I installed the LiveHTTPHeaders Plugin - a nice tool but I had  
 no luck.
 The displayed page in Firefox is the one you get after installing  
 jetspeed out-of-the-box.
 (With the Home Page, RSS and Dynamic pane)
 Clicking on one of the panes the following URL is displayed in the  
 addressbar
 http://localhost:8080/jetspeed/portal/media-type/html/language/en/ 
 user/anon/page/default.psml/js_pane/101
 Any suggestions?

 -Ursprüngliche Nachricht-
 Von: Raphael Luta [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 3. Juni 2004 23:09
 An: Jetspeed Users List
 Betreff: Re: AnonUser Page differs on browser


 Floßmann Christoph wrote:
 Hi,

 I don't know whether I configured sth. wrong or if it is an known  
 issue. With the IE everything works fine when I'm addressing  
 localhost:8080/jetspeed the defined page from default.psml in the  
 anon directory is opened. Trying this in Friefox fails. Some other  
 page is shown and I didn't figure aut yet why this happens.
 Any suggestions?

 Chris

 If you are redirected to a site named www.localhost.xx, it's simply
 that FireFox could not contact your site and redirected you to an
 related Internet site through its keywords feature.

 If you're sure your server is up  running and accessible from your
 client, then this is probably caused by an incorrectly configured
 jetspeed that send a 302 redirect to a mistyped URL.

 If you need to validate this, download and activate the  
 LiveHTTPHeaders
 plugins of firefox. It will let you easily see the different
 requests/repsonses issued and recieved by the browser.

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



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


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



RE: Re: Deactivate/hide printer-button

2004-06-11 Thread Floßmann Christoph
Is there any tutorial on how to define your own security IDs?

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 1:35 PM
To: Jetspeed Users List
Subject: Re: Re: Deactivate/hide printer-button 


Rather than deleting, why don't you define a proper security and use it as
administration to customize the portlet?
Of you delete the template, all other portlets won't have customization
tools, administration included!

Bye
Stefano

- Original Message - 
From: Hans Wurst [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 9:39 PM
Subject: AW: Deactivate/hide printer-button


 open the vm and delete 'em.

 regards


 -Ursprungliche Nachricht-
 Von: Remo Waller [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 9. Juni 2004 19:02
 An: 'Jetspeed Users List'
 Betreff: Deactivate/hide printer-button


 Hi,

 Does anybody know, how i can deactivate the buttons in the right top
corner
 of each portlet.
 For instance, I don't want to see the the printer- and the info-button
(i).

 Thank for an advise

 Remo waller


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



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





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


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



AW: AnonUser Page differs on browser

2004-06-09 Thread Floßmann Christoph
Now I've got it. 
The IE uses the users/anon/html/default.psml while Firefox takes 
users/anon/html/en/default.psml.
After synchronizing the files everything worked fine.

-Ursprüngliche Nachricht-
Von: Floßmann Christoph 
Gesendet: Dienstag, 8. Juni 2004 10:36
An: Jetspeed Users List
Betreff: AW: AnonUser Page differs on browser


Hmm, I installed the LiveHTTPHeaders Plugin - a nice tool but I had no luck.
The displayed page in Firefox is the one you get after installing jetspeed 
out-of-the-box.
(With the Home Page, RSS and Dynamic pane)
Clicking on one of the panes the following URL is displayed in the addressbar
http://localhost:8080/jetspeed/portal/media-type/html/language/en/user/anon/page/default.psml/js_pane/101
Any suggestions?

-Ursprüngliche Nachricht-
Von: Raphael Luta [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 3. Juni 2004 23:09
An: Jetspeed Users List
Betreff: Re: AnonUser Page differs on browser


Floßmann Christoph wrote:
 Hi,
 
 I don't know whether I configured sth. wrong or if it is an known issue. With the IE 
 everything works fine when I'm addressing localhost:8080/jetspeed the defined page 
 from default.psml in the anon directory is opened. Trying this in Friefox fails. 
 Some other page is shown and I didn't figure aut yet why this happens.
 Any suggestions?
 
 Chris

If you are redirected to a site named www.localhost.xx, it's simply 
that FireFox could not contact your site and redirected you to an 
related Internet site through its keywords feature.

If you're sure your server is up  running and accessible from your 
client, then this is probably caused by an incorrectly configured
jetspeed that send a 302 redirect to a mistyped URL.

If you need to validate this, download and activate the LiveHTTPHeaders
plugins of firefox. It will let you easily see the different 
requests/repsonses issued and recieved by the browser.

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

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


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


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



AW: AnonUser Page differs on browser

2004-06-08 Thread Floßmann Christoph
Hmm, I installed the LiveHTTPHeaders Plugin - a nice tool but I had no luck.
The displayed page in Firefox is the one you get after installing jetspeed 
out-of-the-box.
(With the Home Page, RSS and Dynamic pane)
Clicking on one of the panes the following URL is displayed in the addressbar
http://localhost:8080/jetspeed/portal/media-type/html/language/en/user/anon/page/default.psml/js_pane/101
Any suggestions?

-Ursprüngliche Nachricht-
Von: Raphael Luta [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 3. Juni 2004 23:09
An: Jetspeed Users List
Betreff: Re: AnonUser Page differs on browser


Floßmann Christoph wrote:
 Hi,
 
 I don't know whether I configured sth. wrong or if it is an known issue. With the IE 
 everything works fine when I'm addressing localhost:8080/jetspeed the defined page 
 from default.psml in the anon directory is opened. Trying this in Friefox fails. 
 Some other page is shown and I didn't figure aut yet why this happens.
 Any suggestions?
 
 Chris

If you are redirected to a site named www.localhost.xx, it's simply 
that FireFox could not contact your site and redirected you to an 
related Internet site through its keywords feature.

If you're sure your server is up  running and accessible from your 
client, then this is probably caused by an incorrectly configured
jetspeed that send a 302 redirect to a mistyped URL.

If you need to validate this, download and activate the LiveHTTPHeaders
plugins of firefox. It will let you easily see the different 
requests/repsonses issued and recieved by the browser.

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

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


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



Encoding problem

2004-06-03 Thread Floßmann Christoph
Hi folks!

The jetspeed default encoding is UTF-8 what causes some problems with my portlets 
(here in Germany we use some letters like üöä) 
How do I change the encoding to ISO-8859-1 by default?

Regards 
Chris

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



AW: Encoding problem

2004-06-03 Thread Floßmann Christoph
Thanks - these changes did it.

-Ursprüngliche Nachricht-


Hi Chris,

Jetspeed1 uses the encoding by the following priorities.

  1. character-set parameter in media.xreg
  2. content.defaultencoding in JetspeedResources.properties
  3. UTF-8

please see media.xreg.

Thanks,
shinsuke

Floßmann Christoph wrote:
 Hi folks!
 
 The jetspeed default encoding is UTF-8 what causes some problems with my portlets 
 (here in Germany we use some letters like üöä) 
 How do I change the encoding to ISO-8859-1 by default?
 
 Regards 
 Chris
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

__
Do You Yahoo!?
http://bb.yahoo.co.jp/


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


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



AnonUser Page differs on browser

2004-06-03 Thread Floßmann Christoph
Hi,

I don't know whether I configured sth. wrong or if it is an known issue. With the IE 
everything works fine when I'm addressing localhost:8080/jetspeed the defined page 
from default.psml in the anon directory is opened. Trying this in Friefox fails. Some 
other page is shown and I didn't figure aut yet why this happens.
Any suggestions?

Chris

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



AW: SAX transform

2004-05-18 Thread Floßmann Christoph
There should be a xalan-2.3.1.jar in your maven repository. Take this file, rename it 
to xalan.jar and move it to the $CATALINA_HOME/common/endorsed folder. This one should 
do it.

-Ursprüngliche Nachricht-
Von: Jean-Bruno Giard [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. Mai 2004 22:16
An: [EMAIL PROTECTED]
Betreff: Re: SAX transform


This is what I did but that doesn't work. I'm not sure that I have 
downloaded the good version of Xalan. I have downloaded the version 2.5.2 
from this URL : http://xml.apache.org/mirrors.cgi. I have choose this file : 
  Version 2.5.2 - zip. Is it correct ?

Thank you.


From: Menon, Hema [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Subject: Re: SAX transform
Date: Mon, 17 May 2004 13:52:09 -0500

http://portals.apache.org/jetspeed-1/faq.html

Copy the xalan.jar from Jetspeed distribution to
$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory)



- Original Message -
From: Jean-Bruno Giard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 17, 2004 1:20 PM
Subject: SAX transform


  Hi
 
  I'm a new user of Jetspeed. I have just installed Jetspeed 1.5. I have a
  problem with the RSS and the XML portlets. I see this message error in 
the
  portlet :
 
  problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
The
  output format must have a '{http://xml.apache.org/xalan}content-handler'
  property! 
 
  I have checked if the rss.xsl file was in the right folder and the file 
is
  there. I have checked if the media-type was set to XML and HTML and
  everything is there too. It looks like the problem is not there.
 
  Is anybody have an idea what the problem is.
 
  Thank you in advance
 
  Jean-Bruno Giard
 
  _
  MSN Search, le moteur de recherche qui pense comme vous !
  http://fr.ca.search.msn.com/
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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


_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.com/


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


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



AW: SAX transform

2004-05-18 Thread Floßmann Christoph
Sorry, I haven't read the other replies before I answered.

-Ursprüngliche Nachricht-
Von: Floßmann Christoph 
Gesendet: Dienstag, 18. Mai 2004 10:53
An: Jetspeed Users List
Betreff: AW: SAX transform


There should be a xalan-2.3.1.jar in your maven repository. Take this file, rename it 
to xalan.jar and move it to the $CATALINA_HOME/common/endorsed folder. This one should 
do it.

-Ursprüngliche Nachricht-
Von: Jean-Bruno Giard [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. Mai 2004 22:16
An: [EMAIL PROTECTED]
Betreff: Re: SAX transform


This is what I did but that doesn't work. I'm not sure that I have 
downloaded the good version of Xalan. I have downloaded the version 2.5.2 
from this URL : http://xml.apache.org/mirrors.cgi. I have choose this file : 
  Version 2.5.2 - zip. Is it correct ?

Thank you.


From: Menon, Hema [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Subject: Re: SAX transform
Date: Mon, 17 May 2004 13:52:09 -0500

http://portals.apache.org/jetspeed-1/faq.html

Copy the xalan.jar from Jetspeed distribution to
$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory)



- Original Message -
From: Jean-Bruno Giard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 17, 2004 1:20 PM
Subject: SAX transform


  Hi
 
  I'm a new user of Jetspeed. I have just installed Jetspeed 1.5. I have a
  problem with the RSS and the XML portlets. I see this message error in 
the
  portlet :
 
  problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
The
  output format must have a '{http://xml.apache.org/xalan}content-handler'
  property! 
 
  I have checked if the rss.xsl file was in the right folder and the file 
is
  there. I have checked if the media-type was set to XML and HTML and
  everything is there too. It looks like the problem is not there.
 
  Is anybody have an idea what the problem is.
 
  Thank you in advance
 
  Jean-Bruno Giard
 
  _
  MSN Search, le moteur de recherche qui pense comme vous !
  http://fr.ca.search.msn.com/
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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


_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.com/


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


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


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



mysql - no new user Entries

2004-05-12 Thread Floßmann Christoph
Here are my settings for the db connect:

torque.database.default=jetspeed
torque.database.jetspeed.adapter=mysql

torque.dsfactory.jetspeed.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.jetspeed.pool.defaultMaxConnections=10
torque.dsfactory.jetspeed.pool.maxExpiryTime=3600
torque.dsfactory.jetspeed.pool.connectionWaitTimeout=10
### MySQL
torque.dsfactory.jetspeed.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.jetspeed.connection.url = jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.jetspeed.connection.user =  portal
torque.dsfactory.jetspeed.connection.password =

My problem: The admin is unable to create new users. 
After filling in the needed data, I click on the add user button and the table with 
all users is shown but the new one is missing. 
Any solutions?
Kind regards 
Chris

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



RE: mysql - no new user Entries

2004-05-12 Thread Floßmann Christoph
Well I didn't harm poor Tommy Turbine in any way. I used the standard sql-Statements 
to generate the tables for my database (turbine-mysql.sql and populate-mysql.sql) and 
didn't change anything in them.
I gave my user portal every right possible - I even changed to the root user with all 
rights.
I know that it isn't the connection because I can update the data of existing users 
and I'm able to insert new users by hand.
Why is this thing bothering me so hard?


-Original Message-


I sent the following earlier today, but it don't think it got through - stef

*

There's this problem with the tommy turbine user that comes with the 
database that jetspeed uses.

If you delete it, the admin servlet stops working!  So this could be the 
cause of your problem.

I've been looking into this a bit, because I was having a problem where 
even thought I had added tommy back into the database, I still couldn't 
use the admin servlet.

It turns out that not only do you need tommy turbine in your database, 
you also need his psml pages to be in your web app root/WEB-INF/psml 
directory. I'd deleted them. I think they're being used to create 
default content when a new user is created.

Stef
*
Robin Antony wrote:

Have you given access to the user portal in your mysql database? Because you
are not logging into the database as root. Make sure you have given the
appropriate permissions to user portal. Other than that is looks ok.

Cheers,
Robin Antony
Software Engineer
OpenSI.Net

- Original Message - 
From: Flomann Christoph [EMAIL PROTECTED]
To: Jetspeed Users List (E-Mail) [EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 3:41 AM
Subject: mysql - no new user Entries


Here are my settings for the db connect:

torque.database.default=jetspeed
torque.database.jetspeed.adapter=mysql

torque.dsfactory.jetspeed.factory=org.apache.torque.dsfactory.TorqueDataSour
ceFactory
torque.dsfactory.jetspeed.pool.defaultMaxConnections=10
torque.dsfactory.jetspeed.pool.maxExpiryTime=3600
torque.dsfactory.jetspeed.pool.connectionWaitTimeout=10
### MySQL
torque.dsfactory.jetspeed.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.jetspeed.connection.url =
jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.jetspeed.connection.user =  portal
torque.dsfactory.jetspeed.connection.password =

My problem: The admin is unable to create new users.
After filling in the needed data, I click on the add user button and the
table with all users is shown but the new one is missing.
Any solutions?
Kind regards
Chris

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




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

  




This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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


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



build fails - plugin.jelly -J1.5

2004-05-11 Thread Floßmann Christoph
The following error occurs whenever I try maven -Dmaven.test.skip=true war

BUILD FAILED
File.. file:/C:/Dokumente und Einstellungen/v019274/.maven/plugins/maven-tor
que-plugin-3.2/plugin.jelly
Element... torque-data-model
Line.. 228
Column 49
org.apache.torque.engine.EngineException: jakarta.apache.org
Total time: 1 minutes 3 seconds
Finished at: Tue May 11 14:56:38 CEST 2004

I think maven is set up correct, it downloaded all the files needed.
(For some reason the bluesunrise server hasn't got the torque-3.1.jar available, so I 
downloaded it from somewhere else, also the torque-gen-3.1-beta1.jar)
I don't know what I'm doing wrong...
Chris



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



RE: Other DB

2004-04-15 Thread Floßmann Christoph
Thanks for the hint.
After a long search - it took me over an hour I finally found
http://www.mail-archive.com/[EMAIL PROTECTED]/msg10956.html
and I saw that I didn't have the jdbc driver class in the correct directory.
Now I wonder whitch directory the correct one is.
I wanted to create a .war file, so I copied the 
mysql-connector-java-3.0.8-stable-bin.jar 
into jetspeed-1.4\webapp\WEB-INF\lib
and built the war.
Finally I had the same error message like before. What went wrong?
Did I use the correct file?
Do I have to edit a property file to point to this .jar?
Or was I simply using the wrong directory?

-Original Message-
From: Robert Gombotz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 6:01 PM
To: Jetspeed Users List
Subject: Re: Other DB


I can't help you directly, but  rmember very well, that a while ago, someone
was addressing this problem to the mailing list. he later fixed it, and sent
a detailed description of his steps to the mailing list. I looked through my
old emails, but couldn't find it.
Try to find it in the mailing archive! it's a common problem!

rob

- Original Message - 
From: Vi [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 5:42 PM
Subject: Re: Other DB


 Yes!!! I get the same stuff!!! And after I switched back, I still was
 getting this error for a while, and then
 everything came to normal by it self, ofcourse I did restart couple of
 thousand times.
 Anyway if you can afford downtime, wait for a while, do restarts and
 reloads, I know it sounds
 silly, but ...

 Floßmann Christoph wrote:

 Well, I guess I found some documentation to my issue. The only problem is
that it doesn't
 work very well.
 This is what I tried:
 I modified the torque.properties file as discribed in the docu.
 I also set up the jetspeed database in mysql and used the sql scripts.
 The problem when I try running jetspeed is:
 -
 There has been an Error!
 Reason:
 
 org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
 
 Get/Post Data:
 template = /html/ShowError.vm
 
 The login forms are displayed, so is the logo but no content.
 I can also attach the Stacktrace - if sb thinks this would be helpful.
 What went wrong?
 
 
 
 
 
 
 -Original Message-
 From: Floßmann Christoph
 Sent: Wednesday, April 14, 2004 1:54 PM
 To: Jetspeed Users List (E-Mail)
 Subject: Other DB
 
 
 Where do I find a tutorial on how to use Mysql and jetspeed. I also need
some advice to use postgres.
 thx
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 


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





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


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



Other DB

2004-04-14 Thread Floßmann Christoph
Where do I find a tutorial on how to use Mysql and jetspeed. I also need some advice 
to use postgres.
thx

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



RE: Other DB

2004-04-14 Thread Floßmann Christoph
Well, I guess I found some documentation to my issue. The only problem is that it 
doesn't 
work very well. 
This is what I tried:
I modified the torque.properties file as discribed in the docu.
I also set up the jetspeed database in mysql and used the sql scripts.
The problem when I try running jetspeed is:
-
There has been an Error!
Reason:

org.apache.jetspeed.om.profile.ProfileException: java.lang.NullPointerException

Get/Post Data:
template= /html/ShowError.vm

The login forms are displayed, so is the logo but no content.
I can also attach the Stacktrace - if sb thinks this would be helpful.
What went wrong?


  



-Original Message-
From: Floßmann Christoph 
Sent: Wednesday, April 14, 2004 1:54 PM
To: Jetspeed Users List (E-Mail)
Subject: Other DB


Where do I find a tutorial on how to use Mysql and jetspeed. I also need some advice 
to use postgres.
thx

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


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



RE: Jetspeed and CMS

2004-04-07 Thread Floßmann Christoph
that's something I'm interessted to. How did you get opencms and jetspeed working 
together (via simple iframe portlets?)?

-Original Message-
From: Carlos Roberto Yaconi Hitschfeld [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 5:18 PM
To: Jetspeed Users List
Subject: RE: Jetspeed and CMS


Thanks for your answer Santhosh.
Very nice implemetation, your site looks great.
How many time did you take to do the integration??
Can you give me some hints to take care if I take the same decision??

Thank you again.

Atte,
Carlos Yaconi Hitschfeld
e-mail: [EMAIL PROTECTED]
Teléfono: 637-6480


-Mensaje original-
De: Santhosh Nair [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 06 de Abril de 2004 20:32
Para: Jetspeed Users List
Asunto: Re: Jetspeed and CMS


Hi Carlos,

Lenya is still under development integrted with Cocoon.  Therefore we choose OpenCMS 
and integrated this to Jetspeed.

You may take a look at the URL http://www.rameshtravel.com.sg

This runs on Jetspeed 1.4 and uses OpenCMS as the content management system for 
publishing package content.

The integration efforts vary depending on the CMS you use. First you need to choose a 
CMS - then you need to find a type of portlet that can present the content from CMS.

Santhosh Nair
OpenSI.Net
The OpenSource System Integrators
www.opensi.net
mail: [EMAIL PROTECTED]
phone: +65-65883343
cell: +65-98166158


- Original Message - 
From: Carlos Roberto Yaconi Hitschfeld [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 5:17 AM
Subject: Jetspeed and CMS


Hi ppl...
I need to take a definition on wich framework to use to build a little intranet. 
Initially, we need just a CMS, just like jakarta lenya, but this intranet will grow on 
the future and surely it will transform on a portal. Well, thinking in that, I want to 
start using jetspeed, but I don't know the CMS potential of it.

Can anybody tell me his experience integrating jetspeed with a CMS?? Can I integrate 
Lenya inside Jetspeed??

Thank you very much!

Atte,
Carlos Yaconi Hitschfeld

CONFIDENTIAL NOTE: The information transmitted in this message and/or attachments is 
confidential and/or privileged and is intented only for use of the person or entity to 
whom it is addressed. If you are not the intended recipient, any 
retention,dissemination, distribution or copy of this information is strictly 
prohibited and sanctioned by law. If you received this messagge in error, please reply 
us this same message and delete this message and all attachments. Thank you.


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




CONFIDENTIAL NOTE: The information transmitted in this message and/or attachments is 
confidential and/or privileged and is intented only for use of the person or entity to 
whom it is addressed. If you are not the intended recipient, any 
retention,dissemination, distribution or copy of this information is strictly 
prohibited and sanctioned by law. If you received this messagge in error, please reply 
us this same message and delete this message and all attachments. Thank you.

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


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



Portlets without Icons

2004-04-05 Thread Floßmann Christoph
Is there a way to avoid the items in the titlebar of each portlet (customize, print, 
close, info, maximize, minimize).
I don't want them to be displayed.
Thanks in beyond
Chris

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



RE: Tomcat 5 with jetspeed 1.4?

2004-04-05 Thread Floßmann Christoph
I'm using this combination and didn't figure any problems out jet. Sometimes jetspeed 
doesn't start through, but I thinks this is the fault of the poor machine I'm using 
(600MHz, 256 MB Ram and Win XP Pro).

-Original Message-
From: Debora Galante [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:30 AM
To: Jetspeed Users List
Subject: Tomcat 5 with jetspeed 1.4?


Can Tomcat 5 work with jetspeed 1.4

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


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



LDAP Authentication - M$ Active Directory

2004-04-05 Thread Floßmann Christoph
I was looking for a tutorial on how to get the login via LDAP working. I just studied 
the docs but I didn't find anything according to my issue.
Thankful for every hint
Chris

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



Disabling WML

2004-04-05 Thread Floßmann Christoph
Is there an easy way (some skript I haven't found yet or something like that) so that 
I get rid of the wml feature at all? 

Or has this to be done by hand?

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



Three Columns Layout

2004-03-31 Thread Floßmann Christoph
Whenever I try the three columns layout the portal extends my screen (means I have to 
scroll vertically to see the hole page). This happens with 1024*768. At a 1280*1024 
Resolution everything works fine. 
Is there a way to fit the layout to a 1024*768 screen size or even better to any 
resolution?

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



Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Hi there,

I was trying to configure my own RSS portlet. First of all the included examples 
(apacheweek and so on) don't work. Then I tried the following code in 
\webapp\WEB-INF\conf\portlets.xreg:

portlet-entry name=HeiseNews hidden=false type=ref parent=RSS 
application=false
meta-info
titleHeise News Ticker/title
descriptionRSS Import der Heise Nachrichten/description
/meta-info
urlhttp://www.heise.de/newsticker/heise.rdf/url
/portlet-entry

But after adding the portlet to my pane there was no output at all (no titlebar, 
nothing).
What is my mistake?

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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Yes I do use a proxy - I had no problems with the iframe-portlet so I thought this 
wouldn't be a problem. What do I have to change/configure when I'm using a proxy?

Hi,

I configured the same portlet with Heise News in
tomcat_install_path\webapps\name_of_your_webapp\WEB-INF\conf\local-portlets.
xreg. It works fine.

I don't see a mistake in your configuration. Do you use a proxy ?

Robert

 -Ursprüngliche Nachricht-
 Von:  Floßmann Christoph [SMTP:[EMAIL PROTECTED]
 Gesendet am:  Dienstag, 30. März 2004 10:07
 An:   [EMAIL PROTECTED]
 Betreff:  Problems with RSS Portlet (using Jetspeed 1.4)
 
 Hi there,
 
 I was trying to configure my own RSS portlet. First of all the included
 examples (apacheweek and so on) don't work. Then I tried the following
 code in \webapp\WEB-INF\conf\portlets.xreg:
 
 portlet-entry name=HeiseNews hidden=false type=ref parent=RSS
 application=false
   meta-info
   titleHeise News Ticker/title
   descriptionRSS Import der Heise Nachrichten/description
   /meta-info
   urlhttp://www.heise.de/newsticker/heise.rdf/url
 /portlet-entry
 
 But after adding the portlet to my pane there was no output at all (no
 titlebar, nothing).
 What is my mistake?

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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Do you remember whether I have to use the apache with mod_proxy to do so?

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. März 2004 10:31
An: [EMAIL PROTECTED]
Betreff: AW: Problems with RSS Portlet (using Jetspeed 1.4)


I'm use a proxy too and must start tomcat with specially parameters. I don't
know the parameters now.

But you can put in google 'tomcat proxy start'

Robert

 -Ursprüngliche Nachricht-
 Von:  Floßmann Christoph [SMTP:[EMAIL PROTECTED]
 Gesendet am:  Dienstag, 30. März 2004 10:25
 An:   Jetspeed Users List
 Betreff:  AW: Problems with RSS Portlet (using Jetspeed 1.4)
 
 Yes I do use a proxy - I had no problems with the iframe-portlet so I
 thought this wouldn't be a problem. What do I have to change/configure
 when I'm using a proxy?
 
 Hi,
 
 I configured the same portlet with Heise News in
 tomcat_install_path\webapps\name_of_your_webapp\WEB-INF\conf\local-portlet
 s.
 xreg. It works fine.
 
 I don't see a mistake in your configuration. Do you use a proxy ?
 
 Robert
 
  -Ursprüngliche Nachricht-
  Von:Floßmann Christoph [SMTP:[EMAIL PROTECTED]
  Gesendet am:Dienstag, 30. März 2004 10:07
  An: [EMAIL PROTECTED]
  Betreff:Problems with RSS Portlet (using Jetspeed 1.4)
  
  Hi there,
  
  I was trying to configure my own RSS portlet. First of all the included
  examples (apacheweek and so on) don't work. Then I tried the following
  code in \webapp\WEB-INF\conf\portlets.xreg:
  
  portlet-entry name=HeiseNews hidden=false type=ref parent=RSS
  application=false
  meta-info
  titleHeise News Ticker/title
  descriptionRSS Import der Heise Nachrichten/description
  /meta-info
  urlhttp://www.heise.de/newsticker/heise.rdf/url
  /portlet-entry
  
  But after adding the portlet to my pane there was no output at all (no
  titlebar, nothing).
  What is my mistake?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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


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



Checkstyle

2004-03-30 Thread Floßmann Christoph
Another Question from me today ;-)

I just downloaded Checkstyle. I don't know how to install it nor what it is good for? 
Could anybody explain please - I found no docu.

Thanks Chris

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