Re: problem loading jetspeed.ldif to IBM Directory server

2003-10-13 Thread Tod Thomas
Do you not still need objectclass=top in both your Jetspeed and apache
objects?

[EMAIL PROTECTED] wrote:

> I am having problem loading the jetspeed LDIF file to IBM SecureWay LDAP
> server.  I keep getting error message like:
>
> "The attribute objectclass is not allowed for entry
> uid=Jetspeed,ou=groups,ou=eportal,o=fidm
> Entry UID=JETSPEED,OU=GROUPS,OU=EPORTAL,O=FIDM violates the schema
> definition.
> "The attribute objectclass is not allowed for entry
> uid=apache,ou=groups,ou=eportal,o=fidm
> Entry UID=APACHE,OU=GROUPS,OU=EPORTAL,O=FIDM violates the schema
> definition.
>
> The first 5 entries in LDIF are as following and I think the error started
> at 4th entry:
>
> dn: ou=eportal, o=fidm
> description: FIDM ePortal
> objectClass: top
> objectClass: organizationalUnit
> ou: eportal
>
> dn: ou=groups, ou=eportal, o=fidm
> ou: groups
> objectClass: top
> objectClass: organizationalUnit
>
> dn: ou=roles, ou=eportal, o=fidm
> ou: roles
> objectClass: top
> objectClass: organizationalUnit
>
> dn: uid=Jetspeed, ou=groups, ou=eportal, o=fidm
> groupname: Jetspeed
> uid: Jetspeed
> objectClass: jetspeedgroup
>
> dn: uid=apache, ou=groups, ou=eportal, o=fidm
> groupname: apache
> uid: apache
> objectClass: jetspeedgroup
>
> Teh objectclass jetpseedgorup is defined as
> objectclasses=( 1.3.6.1.4.1.7915.1.2.4.1 NAME 'jetspeedgroup'
> DESC 'Jetspeed Group'
> MUST ( groupname $ uid)
> MAY ( members ) )
>
> The groupname and uid as standard SecureWay LDAP definition.  I also tried
> to change groupname definition to 'caseIgnoreIA5Match' from
> 'caseExacMatch'
> and syntax from 'directory string syntax' to 'IA5 String syntax' but same
> result.
>
> I coldn't find what is wrong.  Could someone help?  Thank you very much!
>
> Alex


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



problem loading jetspeed.ldif to IBM Directory server

2003-10-13 Thread APan
I am having problem loading the jetspeed LDIF file to IBM SecureWay LDAP 
server.  I keep getting error message like:

"The attribute objectclass is not allowed for entry
uid=Jetspeed,ou=groups,ou=eportal,o=fidm
Entry UID=JETSPEED,OU=GROUPS,OU=EPORTAL,O=FIDM violates the schema
definition.
"The attribute objectclass is not allowed for entry
uid=apache,ou=groups,ou=eportal,o=fidm
Entry UID=APACHE,OU=GROUPS,OU=EPORTAL,O=FIDM violates the schema
definition.

The first 5 entries in LDIF are as following and I think the error started
at 4th entry:

dn: ou=eportal, o=fidm
description: FIDM ePortal
objectClass: top
objectClass: organizationalUnit
ou: eportal

dn: ou=groups, ou=eportal, o=fidm
ou: groups
objectClass: top
objectClass: organizationalUnit

dn: ou=roles, ou=eportal, o=fidm
ou: roles
objectClass: top
objectClass: organizationalUnit

dn: uid=Jetspeed, ou=groups, ou=eportal, o=fidm
groupname: Jetspeed
uid: Jetspeed
objectClass: jetspeedgroup

dn: uid=apache, ou=groups, ou=eportal, o=fidm
groupname: apache
uid: apache
objectClass: jetspeedgroup


Teh objectclass jetpseedgorup is defined as
objectclasses=( 1.3.6.1.4.1.7915.1.2.4.1 NAME 'jetspeedgroup'
DESC 'Jetspeed Group'
MUST ( groupname $ uid)
MAY ( members ) )

The groupname and uid as standard SecureWay LDAP definition.  I also tried
to change groupname definition to 'caseIgnoreIA5Match' from 
'caseExacMatch'
and syntax from 'directory string syntax' to 'IA5 String syntax' but same 
result.

I coldn't find what is wrong.  Could someone help?  Thank you very much!

Alex

RegistryService: Failed to retrieve null from Portlet

2003-10-13 Thread Tod Thomas
I keep getting "Error retrieving Portal Page: null", and the subject above in the
log file.  I've checked the .xreg file and it looks fine, the RSS URL the portlet
points to is fine. the rss file itself passes the XMLWF test.  The .xreg entry
itself is a duplicate of another portlet entry that works, just pointing to a
different URL.  I'm stumped.  Is there any other logging directive I can use to
catch this, or has anybody run into this and can see what I'm doing wrong?


Thanks - Tod


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



Re: Uploading file > 1MB

2003-10-13 Thread Christophe Lombart
Check the value of "services.UploadService.repository" in the 
TurbineResources.properties.
If I'm remember correctly, this value has to be change when you are 
running on windows box.
by using this param point to a correct folder.

I'm using this service without any other issues.

Christophe

florian.brunswicker wrote:

Hi,

i have some problems uploading a file > 1MB.
I tried both services (org.apache.fulcrum.upload.TurbineUploadService and
org.apache.turbine.services.upload.TurbineUploadService) with
services.UploadService.size.max=10485760 (default is 1048576).
Both services are working very well with files < 1MB, but with files > 1MB i
always get a timeout without any error message.
Does anybody of you run in the same problem or has perhaps a solution for
this ?
Best regards,

Florian



-
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: Q. How to enable the Add Reference Button

2003-10-13 Thread Mark Orciuch
It works for me. Make sure that you make the change to admin.xreg when your
servlet container is down OR make the change and wait until the admin.xreg
is automatically reloaded (this is every 5 minutes by default).

Best regards,

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

> -Original Message-
> From: Dalton-1, Michael [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 10, 2003 1:02 PM
> To: 'Jetspeed Users List'
> Subject: RE: Q. How to enable the Add Reference Button
>
>
> I've tried to change the security-ref parent to user-only but the Add
> Reference still does NOT appear.
>
> Michael Dalton
>
> -Original Message-
> From: Mark Orciuch [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 10, 2003 11:07 AM
> To: Jetspeed Users List
> Subject: RE: Q. How to enable the Add Reference Button
>
>
> Michael,
>
> I thought I gave you the hint. Perhaps I wasn't explicit enough.
>
>  cachedOnName="true" cachedOnValue="true">
> 
> 
>
> In the above, change the security-ref parent to something like
> "user-only".
> That should do it - let me know if it doesn't.
>
> Best regards,
>
> Mark Orciuch - [EMAIL PROTECTED]
> Jakarta Jetspeed - Enterprise Portal in Java
> http://jakarta.apache.org/jetspeed/
>
> -
> 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: Torque mapping and null value

2003-10-13 Thread Stuart Belden
put javaType="Object" in the  definition.


>>> [EMAIL PROTECTED] 10/13/03 11:00AM >>>
the version is : torque 3.0.1
Of course, I regenerated the Torque classes after I set the xml schema to
numeric !

In which file, do I put javaType="object" for the relevant columns in my
schema ?



- Original Message -
From: "Stuart Belden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 5:53 PM
Subject: Re: Torque mapping and null value


What version of torque are you using?  I assume you regenerated the Torque
classes after you set the xml schema to numeric?

>From my small understanding of Torque, it's defined in the schema as
numeric it should be using BigInteger and not int.  You might also try
setting javaType="object" for the relevant columns in your schema.

stu

>>> [EMAIL PROTECTED] 10/13/03 10:41AM >>>
Firts of all thank you for answering me !

But unfortunately, it doesn't resolve my problem. In My postgreSQL database,
these fields are feined as numeric, in the xml schema built, they appears
also as numerci fields !

It's after , that Torque doesn't translate correctly the type and doesn't
translate it as a Java object but in a native type !

Have you an other idea ?

Thank you by advance.

- Original Message -
From: "Stuart Belden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 5:26 PM
Subject: Re: Torque mapping and null value


One solution is to map those fields using Torque's NUMERIC type instead of
INTEGER in your torque schema xml files.  NUMERIC will map to BigDecimal
instead of int.


>>> [EMAIL PROTECTED] 10/13/03 09:32AM >>>
Hello !

I have a problem concerning a null value and Toque objects.
I hava in my database tables containing fields of integer type whic can be
null. When Torque maps these objects, it doesn't map this type with the Java
objects corresponding, but with the native type. And so,  instead of
creating a null object, it assigns a zero value to this field.

Example :
field  : name
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve
this problem ?

Thank you by advance.

Yaël.



-
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: Uploading file > 1MB

2003-10-13 Thread Gokul Poduval
The turbine configuration file sets a limit on the file upload size. by
default it is 1mb. just increase this limit to whatever you want.

Gokul
http://pod.homelinux.net

florian.brunswicker wrote:
> Hi,
> 
> i have some problems uploading a file > 1MB.
> I tried both services (org.apache.fulcrum.upload.TurbineUploadService and
> org.apache.turbine.services.upload.TurbineUploadService) with
> services.UploadService.size.max=10485760 (default is 1048576).
> 
> Both services are working very well with files < 1MB, but with files > 1MB i
> always get a timeout without any error message.
> 
> Does anybody of you run in the same problem or has perhaps a solution for
> this ?
> 
> Best regards,
> 
> Florian
> 
> 
> 
> 
> -
> 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]



Uploading file > 1MB

2003-10-13 Thread florian.brunswicker
Hi,

i have some problems uploading a file > 1MB.
I tried both services (org.apache.fulcrum.upload.TurbineUploadService and
org.apache.turbine.services.upload.TurbineUploadService) with
services.UploadService.size.max=10485760 (default is 1048576).

Both services are working very well with files < 1MB, but with files > 1MB i
always get a timeout without any error message.

Does anybody of you run in the same problem or has perhaps a solution for
this ?

Best regards,

Florian




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



Re: nesting submenus

2003-10-13 Thread
Отговор Stuart Belden <[EMAIL PROTECTED]>:

And something I forgot: You build the tabs collection in the buildContext method
of the control.


> I'm looking for a way to nest submenus as opposed to drawing them
> side-by-side like jetspeed does now.  Has anyone done this or have any
> creative ideas on how to do this?
> 
> I know jetspeed-menu.vm gets called once for each menu or submenu.  Each menu
> will have n items in it.  When a menu is being drawn in the vm we know which
> item is selected but we _don't_ know if there is a submenu attached to the
> selected item or not, afaict.
> 
> Also, in what java class do portlet sets (menus) get rendered?  I see that
> VelocityPortletControl calls TurbineVelocity.handleRequest() to handle one
> particular menu (one call to jetspeed-menu.vm); what calls
> VelocityPortletControl.buildContent() for each portlet set?
> 
> Thanks,
> stu
> 
> 
> -
> 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: nesting submenus

2003-10-13 Thread
Отговор Stuart Belden <[EMAIL PROTECTED]>:

Hi,
We've implemented this by a custom control (extends VelocityPortletSetControl).
Its major feature is that when building the "tabs" collection (see
jetspeed-menu.vm) it includes all children that have children themselves. 
That is, a collection is passed to the vm template (tabs) that contains the
menus to be rendered. And if menu is open, its children are also included in
the tabs collection. For open menus (each of them a PortletSet), submenus are
included. If a submenu is also a PortletSet, its children are included etc.
The psml looks like this:

http://www.apache.org/2000/02/CVS";>


  Default Start page


 







Home





Hope this helps!

Jana


> I'm looking for a way to nest submenus as opposed to drawing them
> side-by-side like jetspeed does now.  Has anyone done this or have any
> creative ideas on how to do this?
> 
> I know jetspeed-menu.vm gets called once for each menu or submenu.  Each menu
> will have n items in it.  When a menu is being drawn in the vm we know which
> item is selected but we _don't_ know if there is a submenu attached to the
> selected item or not, afaict.
> 
> Also, in what java class do portlet sets (menus) get rendered?  I see that
> VelocityPortletControl calls TurbineVelocity.handleRequest() to handle one
> particular menu (one call to jetspeed-menu.vm); what calls
> VelocityPortletControl.buildContent() for each portlet set?
> 
> Thanks,
> stu
> 
> 
> -
> 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: Torque mapping and null value

2003-10-13 Thread yael malka
the version is : torque 3.0.1
Of course, I regenerated the Torque classes after I set the xml schema to
numeric !

In which file, do I put javaType="object" for the relevant columns in my
schema ?



- Original Message -
From: "Stuart Belden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 5:53 PM
Subject: Re: Torque mapping and null value


What version of torque are you using?  I assume you regenerated the Torque
classes after you set the xml schema to numeric?

>From my small understanding of Torque, it's defined in the schema as
numeric it should be using BigInteger and not int.  You might also try
setting javaType="object" for the relevant columns in your schema.

stu

>>> [EMAIL PROTECTED] 10/13/03 10:41AM >>>
Firts of all thank you for answering me !

But unfortunately, it doesn't resolve my problem. In My postgreSQL database,
these fields are feined as numeric, in the xml schema built, they appears
also as numerci fields !

It's after , that Torque doesn't translate correctly the type and doesn't
translate it as a Java object but in a native type !

Have you an other idea ?

Thank you by advance.

- Original Message -
From: "Stuart Belden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 5:26 PM
Subject: Re: Torque mapping and null value


One solution is to map those fields using Torque's NUMERIC type instead of
INTEGER in your torque schema xml files.  NUMERIC will map to BigDecimal
instead of int.


>>> [EMAIL PROTECTED] 10/13/03 09:32AM >>>
Hello !

I have a problem concerning a null value and Toque objects.
I hava in my database tables containing fields of integer type whic can be
null. When Torque maps these objects, it doesn't map this type with the Java
objects corresponding, but with the native type. And so,  instead of
creating a null object, it assigns a zero value to this field.

Example :
field  : name
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve
this problem ?

Thank you by advance.

Yaël.



-
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: Building dynamic link for correct role

2003-10-13 Thread Stuart Belden
$jslink.getRole("role1") will do this for you in velocity; I don't know if the same 
tool exists for the jsp side of things.
 


>>> [EMAIL PROTECTED] 10/13/03 09:37AM >>>
How does one build a link correctly to a given psml based on role
dynamically?

 

I have tried to make used of the following tag:  jetspeed:link,
jetspeed:portletlink and jetspeed:dynamicUri, but none of them build a link
that contains role/myrole for the given psml file.  The psml file is located
in the psml\role\role1\html.

 

 

 

  _  

This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com 
 

 



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



Re: Torque mapping and null value

2003-10-13 Thread Stuart Belden
What version of torque are you using?  I assume you regenerated the Torque classes 
after you set the xml schema to numeric?  

>From my small understanding of Torque, it's defined in the schema as numeric it 
>should be using BigInteger and not int.  You might also try setting javaType="object" 
>for the relevant columns in your schema.

stu

>>> [EMAIL PROTECTED] 10/13/03 10:41AM >>>
Firts of all thank you for answering me !

But unfortunately, it doesn't resolve my problem. In My postgreSQL database,
these fields are feined as numeric, in the xml schema built, they appears
also as numerci fields !

It's after , that Torque doesn't translate correctly the type and doesn't
translate it as a Java object but in a native type !

Have you an other idea ?

Thank you by advance.

- Original Message -
From: "Stuart Belden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 5:26 PM
Subject: Re: Torque mapping and null value


One solution is to map those fields using Torque's NUMERIC type instead of
INTEGER in your torque schema xml files.  NUMERIC will map to BigDecimal
instead of int.


>>> [EMAIL PROTECTED] 10/13/03 09:32AM >>>
Hello !

I have a problem concerning a null value and Toque objects.
I hava in my database tables containing fields of integer type whic can be
null. When Torque maps these objects, it doesn't map this type with the Java
objects corresponding, but with the native type. And so,  instead of
creating a null object, it assigns a zero value to this field.

Example :
field  : name
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve
this problem ?

Thank you by advance.

Yaël.



-
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: How to forward to different psml in the JLoginUser action

2003-10-13 Thread yael malka
You have to do so :

DynamicURI duri;

to set the ood uri int dury and to exexcute it :

rundata.setRedirectURI(duri.toString());

- Original Message -
From: "Youssef Mohammed"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 12:36 PM
Subject: How to forward to different psml in the JLoginUser action


Hi
 I need to forward to another psml (desktop) rather than the default after
the user logs in .

If thinkiIt has to be in the JLoginUser action class  
  I understand that data.setScreenTemplate( ) used to forward to any screens
but I can't figure out how to to forward to psml ?!

any suggestions ?





-
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: Torque mapping and null value

2003-10-13 Thread yael malka
Firts of all thank you for answering me !

But unfortunately, it doesn't resolve my problem. In My postgreSQL database,
these fields are feined as numeric, in the xml schema built, they appears
also as numerci fields !

It's after , that Torque doesn't translate correctly the type and doesn't
translate it as a Java object but in a native type !

Have you an other idea ?

Thank you by advance.

- Original Message -
From: "Stuart Belden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 5:26 PM
Subject: Re: Torque mapping and null value


One solution is to map those fields using Torque's NUMERIC type instead of
INTEGER in your torque schema xml files.  NUMERIC will map to BigDecimal
instead of int.


>>> [EMAIL PROTECTED] 10/13/03 09:32AM >>>
Hello !

I have a problem concerning a null value and Toque objects.
I hava in my database tables containing fields of integer type whic can be
null. When Torque maps these objects, it doesn't map this type with the Java
objects corresponding, but with the native type. And so,  instead of
creating a null object, it assigns a zero value to this field.

Example :
field  : name
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve
this problem ?

Thank you by advance.

Yaël.



-
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: How to forward to different psml in the JLoginUser action

2003-10-13 Thread Jeremy Ford
In order to forward to a different psml, you can do the following:

rundata.setRedirectURI(myuri) where myuri is a DynamicURI that you build 
yourself.

Another option would be to use the forward service to do this for you.

Jeremy


From: "Youssef Mohammed" 
<[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: How to forward to different psml in the JLoginUser action Date: 
Mon, 13 Oct 2003 12:36:50 +0200

Hi
 I need to forward to another psml (desktop) rather than the default after 
the user logs in .

If thinkiIt has to be in the JLoginUser action class  
  I understand that data.setScreenTemplate( ) used to forward to any 
screens  but I can't figure out how to to forward to psml ?!

any suggestions ?





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Add MSN 8 Internet Software to your existing Internet access and enjoy 
patented spam protection and more.  Sign up now!   
http://join.msn.com/?page=dept/byoa

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


nesting submenus

2003-10-13 Thread Stuart Belden
I'm looking for a way to nest submenus as opposed to drawing them side-by-side like 
jetspeed does now.  Has anyone done this or have any creative ideas on how to do this?

I know jetspeed-menu.vm gets called once for each menu or submenu.  Each menu will 
have n items in it.  When a menu is being drawn in the vm we know which item is 
selected but we _don't_ know if there is a submenu attached to the selected item or 
not, afaict.

Also, in what java class do portlet sets (menus) get rendered?  I see that 
VelocityPortletControl calls TurbineVelocity.handleRequest() to handle one particular 
menu (one call to jetspeed-menu.vm); what calls VelocityPortletControl.buildContent() 
for each portlet set?

Thanks,
stu


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



Re: Torque mapping and null value

2003-10-13 Thread Stuart Belden
One solution is to map those fields using Torque's NUMERIC type instead of INTEGER in 
your torque schema xml files.  NUMERIC will map to BigDecimal instead of int.


>>> [EMAIL PROTECTED] 10/13/03 09:32AM >>>
Hello !

I have a problem concerning a null value and Toque objects. 
I hava in my database tables containing fields of integer type whic can be null. When 
Torque maps these objects, it doesn't map this type with the Java objects 
corresponding, but with the native type. And so,  instead of creating a null object, 
it assigns a zero value to this field.

Example : 
field  : name 
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve this 
problem ?

Thank you by advance.

Yaël.



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



How to forward to different psml in the JLoginUser action

2003-10-13 Thread Youssef Mohammed





Hi 

 I need to forward to another psml (desktop) rather than the default after the user logs in . 

If thinkiIt has to be in the JLoginUser action class   

  I understand that data.setScreenTemplate( ) used to forward to any screens  but I can't figure out how to to forward to psml ?! 

any suggestions ? 





smime.p7s
Description: S/MIME cryptographic signature


RE: HELP!!! cannot build Jetspeed 2

2003-10-13 Thread Weaver, Scott
I have not tried Maven 1.0-rc1 yet, still on beta 10.  I will upgrade tonight and see 
if experience the same problems.  I don't think that is the issue though, I think it 
is, like you said, the parser.  However, the project.xml for CPS should have the 
correct version to build itself.  I will have to look into this further.

> I need to improve my horrible english, I know it...

Actually, you English was fine.  I wouldn't have guessed it wasn't your first language 
if you hadn't made the remark ;)

O---O
| Scott T Weavero---O
o---o   |
| Apache Jetspeed Portal Project|
| Apache Pluto Portlet Container|
o---o   |
| [EMAIL PROTECTED] o---O
O---O

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2003 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: HELP!!! cannot build Jetspeed 2
> 
> Hi all!!
> 
> My problem is I cant't build Jetspeed 2 from cvs sorce.
> 
> I'm trying to follow 'Getting started' guidelines, but when execute 'maven
> allBuild' from command line, I'm getting 42 errors.
> 
> It seems I'm not using right xml API (bad xerces version, maybe???):
> 
> MutableAttributes.java:  cannot resolve symbol
> symbol  : class Attributes
> location: package sax
> import org.xml.sax.Attributes;
> 
> RewriterServiceImpl.java:63: cannot resolve symbol
> symbol  : class DocumentBuilderFactory
> location: package parsers
> import javax.xml.parsers.DocumentBuilderFactory;
> 
> SaxParserAdaptor.java:322: org.xml.sax.InputSource is not public in
> org.xml.sax; cannot be accessed from outside package
> InputSource is = new InputSource(bais);
> 
> SaxParserAdaptor.java:324: cannot resolve symbol
> symbol  : method setSystemId  (java.lang.String)
> location: class org.xml.sax.InputSource
> is.setSystemId( systemId );
> 
> etc, etc...
> 
> I'm ussing windows 2000 professional, jdk 1.3.1, tomcat 4.1.27 and maven
> 1.0-rc1
> 
> can anybody help me?
> 
> I need to improve my horrible english, I know it...
> 
> 
> 
> -
> 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]



Building dynamic link for correct role

2003-10-13 Thread Boyd, David
How does one build a link correctly to a given psml based on role
dynamically?

 

I have tried to make used of the following tag:  jetspeed:link,
jetspeed:portletlink and jetspeed:dynamicUri, but none of them build a link
that contains role/myrole for the given psml file.  The psml file is located
in the psml\role\role1\html.

 

 

 

  _  

This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com
 

 



Torque mapping and null value

2003-10-13 Thread yael malka
Hello !

I have a problem concerning a null value and Toque objects. 
I hava in my database tables containing fields of integer type whic can be null. When 
Torque maps these objects, it doesn't map this type with the Java objects 
corresponding, but with the native type. And so,  instead of creating a null object, 
it assigns a zero value to this field.

Example : 
field  : name 
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve this 
problem ?

Thank you by advance.

Yaël.



RE: Broken Links in 1.4b4

2003-10-13 Thread Joe Ryburn
This is definitely related to running under Java 1.4.2. The xml tools delivered with 
the newer SDK override those delivered with Jetspeed and do not function as Jetspeed 
expects.
 
Installation of 1.3.1 resulted in a properly functioning Jetspeed, all links and 
images appearing correctly.
 
Regards,

Joe Ryburn

-Original Message-
From: Joe Ryburn 
Sent: Friday, October 10, 2003 3:12 PM
To: '[EMAIL PROTECTED]'
Subject: Broken Links in 1.4b4


I saw this same problem reported by another user...
 
Jetspeed 1.4b4
Jakarta Tomcat 4.1.27
 
External links appear malformed. 
 
 
The links are formed as...



 

 
http://192.168.0.108:8080/jetspeed/%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3Ehttp://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.4b4



where this () gets in the way.


Could this be a result of using an incorrect library for xml parsing? 
Were any solutions proposed?

Joe Ryburn 

Affiliated Foods Southwest 
12103 Interstate 30 
Little Rock, AR 72203-3627 
501-455-3590 extension 6319 

 



HELP!!! cannot build Jetspeed 2

2003-10-13 Thread ajimenezd
Hi all!!

My problem is I cant't build Jetspeed 2 from cvs sorce.

I'm trying to follow 'Getting started' guidelines, but when execute 'maven
allBuild' from command line, I'm getting 42 errors.

It seems I'm not using right xml API (bad xerces version, maybe???):

MutableAttributes.java:  cannot resolve symbol
symbol  : class Attributes
location: package sax
import org.xml.sax.Attributes;

RewriterServiceImpl.java:63: cannot resolve symbol
symbol  : class DocumentBuilderFactory
location: package parsers
import javax.xml.parsers.DocumentBuilderFactory;

SaxParserAdaptor.java:322: org.xml.sax.InputSource is not public in org.xml.sax; 
cannot be accessed from outside package
InputSource is = new InputSource(bais);

SaxParserAdaptor.java:324: cannot resolve symbol
symbol  : method setSystemId  (java.lang.String)
location: class org.xml.sax.InputSource
is.setSystemId( systemId );

etc, etc...

I'm ussing windows 2000 professional, jdk 1.3.1, tomcat 4.1.27 and maven 1.0-rc1

can anybody help me?

I need to improve my horrible english, I know it...



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



How to forward to different psml in the JLoginUser action

2003-10-13 Thread Youssef Mohammed
Hi 
 I need to forward to another psml (desktop) rather than the default after the user 
logs in . 

If thinkiIt has to be in the JLoginUser action class   
  I understand that data.setScreenTemplate( ) used to forward to any screens  but I 
can't figure out how to to forward to psml ?! 

any suggestions ? 





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



Problem with null value and Torque mapping

2003-10-13 Thread yael malka
Hello !

I have a problem concerning a null value and Toque objects. 
I hava in my database tables containing fields of integer type whic can be null. When 
Torque maps these objects, it doesn't map this type with the Java objects 
corresponding, but with the native type. And so,  instead of creating a null object, 
it assigns a zero value to this field.

Example : 
field  : name 
type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve this 
problem ?

Thank you by advance.

Yaël.