You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Stuart Belden <SB...@bjc.org> on 2003/09/29 17:54:34 UTC

psml id's, names, and uniqueness

I'm looking for clarification on what must be unique in a given PSML file and globally:

Do psml entry/reference/portlets ids have to be unique globally, or can they be unique to a given PSML file?

Do psml entry/reference/portlets _names_ have to be unique globally, or can they be unique to a given PSML file?

Essentially what I'm trying to do is build a lookup table so that documents in our simple CMS (very loosely based off of WebSurfRewriter) can link to other portlets in jetspeed.  In an html doc in cms I want to be able to have an href to something like $JobApp or whatever that the scanner will pickup and do a lookup for the appropriate url to draw based on the user's default psml doc (role, anon, other otherwise).  

e.g. for the example above it would create a link like 
"/media-type/html/user/anon/page/default.psml/js_pane/A-Employment" for anonymous,
"/media-type/html/user/role/Valid/default.psml/js_pane/V-Employment" for Valid users, etc...

Is there anything like this out there already, or at least a place to start for ideas?

Thanks,
stu


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Problems building js2

Posted by Dariush Behboudi <da...@glamm.com>.
Hi everyone,
I've downloaded and built successfully pluto.
Now I'm trying to build js2 (with buildAll maven task), but some errors
occur:

---------------------------------------
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:58: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: package common
import org.apache.pluto.om.common.ValidatorDefinition;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:59: cannot resolve
symbol
symbol  : class ValidatorDefinitionSet
location: package common
import org.apache.pluto.om.common.ValidatorDefinitionSet;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:71: cannot resolve
symbol
symbol  : class ValidatorDefinitionSet
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
    implements ValidatorDefinitionSet, Serializable
               ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:84: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
    public ValidatorDefinition get(String name)
           ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\portlet\PortletDefinitionImpl.java:104:
org.apache.jetspeed.
om.common.portlet.PortletDefinitionImpl should be declared abstract; it does
not
 define store() in
org.apache.jetspeed.om.common.portlet.PortletDefinitionImpl
public class PortletDefinitionImpl implements PortletDefinitionComposite,
Serial
izable
       ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\preference\PreferenceSetImpl.java:73:
org.apache.jetspeed.om
.common.preference.PreferenceSetImpl should be declared abstract; it does
not de
fine getPreferencesValidator() in
org.apache.jetspeed.om.common.preference.Prefe
renceSetImpl
public class PreferenceSetImpl extends AbstractSupportSet implements
PreferenceS
etComposite, Serializable
       ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\preference\PreferenceImpl.java:82:
org.apache.jetspeed.om.co
mmon.preference.PreferenceImpl should be declared abstract; it does not
define i
sReadOnly() in org.apache.jetspeed.om.common.preference.PreferenceImpl
public class PreferenceImpl implements PreferenceComposite, Serializable
       ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionImpl.java:108: cannot resolve symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionImpl
        if (obj != null & obj instanceof ValidatorDefinition)
                                         ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionImpl.java:110: cannot resolve symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionImpl
            ValidatorDefinition vd = (ValidatorDefinition) obj;
            ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionImpl.java:110: cannot resolve symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionImpl
            ValidatorDefinition vd = (ValidatorDefinition) obj;
                                      ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:87: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        return (ValidatorDefinition) validatorMap.get(name);
                ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:95: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
        ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:95: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:105: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
        ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:105: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\tools\castor\om\common\PreferenceSetDescriptor.java:75:
getPreferences
Validator() in
org.apache.jetspeed.tools.castor.om.common.PreferenceSetDescripto
r cannot implement getPreferencesValidator() in
org.apache.jetspeed.om.common.pr
eference.PreferenceSetImpl; attempting to use incompatible return type
found   : java.lang.String
required: javax.portlet.PreferencesValidator
    public String getPreferencesValidator()
                  ^
22 errors

BUILD FAILED
File...... file:/C:/eclipse2.1.1/eclipse/workspace/jakarta-jetspeed-2/
Element... maven:reactor
Line...... 72
Column.... 40
Unable to obtain goal [java:compile] -- file:/C:/Documents and
Settings/dariush/
.maven/plugins/maven-java-plugin-1.3/:55:48: <ant:javac> Compile failed; see
the
 compiler error output for details.
---------------------------------------


Searching into pluto CVS 'ValidatorDefinition' and 'ValidatorDefinitionSet'
are not present.

I've downloaded the last js2 from CVS rep.

Cheers, Dariush.




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Problems building js2

Posted by Dariush Behboudi <da...@glamm.com>.
Hi everyone,
I've downloaded and built successfully pluto.
Now I'm trying to build js2 (with buildAll maven task), but some errors
occur:

---------------------------------------
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:58: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: package common
import org.apache.pluto.om.common.ValidatorDefinition;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:59: cannot resolve
symbol
symbol  : class ValidatorDefinitionSet
location: package common
import org.apache.pluto.om.common.ValidatorDefinitionSet;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:71: cannot resolve
symbol
symbol  : class ValidatorDefinitionSet
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
    implements ValidatorDefinitionSet, Serializable
               ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:84: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
    public ValidatorDefinition get(String name)
           ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\portlet\PortletDefinitionImpl.java:104:
org.apache.jetspeed.
om.common.portlet.PortletDefinitionImpl should be declared abstract; it does
not
 define store() in
org.apache.jetspeed.om.common.portlet.PortletDefinitionImpl
public class PortletDefinitionImpl implements PortletDefinitionComposite,
Serial
izable
       ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\preference\PreferenceSetImpl.java:73:
org.apache.jetspeed.om
.common.preference.PreferenceSetImpl should be declared abstract; it does
not de
fine getPreferencesValidator() in
org.apache.jetspeed.om.common.preference.Prefe
renceSetImpl
public class PreferenceSetImpl extends AbstractSupportSet implements
PreferenceS
etComposite, Serializable
       ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\preference\PreferenceImpl.java:82:
org.apache.jetspeed.om.co
mmon.preference.PreferenceImpl should be declared abstract; it does not
define i
sReadOnly() in org.apache.jetspeed.om.common.preference.PreferenceImpl
public class PreferenceImpl implements PreferenceComposite, Serializable
       ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionImpl.java:108: cannot resolve symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionImpl
        if (obj != null & obj instanceof ValidatorDefinition)
                                         ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionImpl.java:110: cannot resolve symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionImpl
            ValidatorDefinition vd = (ValidatorDefinition) obj;
            ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionImpl.java:110: cannot resolve symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionImpl
            ValidatorDefinition vd = (ValidatorDefinition) obj;
                                      ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:87: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        return (ValidatorDefinition) validatorMap.get(name);
                ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:95: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
        ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:95: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:105: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
        ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\om\common\ValidatorDefinitionSetImpl.java:105: cannot resolve
symbol
symbol  : class ValidatorDefinition
location: class org.apache.jetspeed.om.common.ValidatorDefinitionSetImpl
        ValidatorDefinition vd = (ValidatorDefinition) o;
                                  ^
C:\eclipse2.1.1\eclipse\workspace\jakarta-jetspeed-2\commons\src\java\org\ap
ache
\jetspeed\tools\castor\om\common\PreferenceSetDescriptor.java:75:
getPreferences
Validator() in
org.apache.jetspeed.tools.castor.om.common.PreferenceSetDescripto
r cannot implement getPreferencesValidator() in
org.apache.jetspeed.om.common.pr
eference.PreferenceSetImpl; attempting to use incompatible return type
found   : java.lang.String
required: javax.portlet.PreferencesValidator
    public String getPreferencesValidator()
                  ^
22 errors

BUILD FAILED
File...... file:/C:/eclipse2.1.1/eclipse/workspace/jakarta-jetspeed-2/
Element... maven:reactor
Line...... 72
Column.... 40
Unable to obtain goal [java:compile] -- file:/C:/Documents and
Settings/dariush/
.maven/plugins/maven-java-plugin-1.3/:55:48: <ant:javac> Compile failed; see
the
 compiler error output for details.
---------------------------------------


Searching into pluto CVS 'ValidatorDefinition' and 'ValidatorDefinitionSet'
are not present.

I've downloaded the last js2 from CVS rep.

Cheers, Dariush.




WSRP4J-Project for Remote Portlets startet

Posted by ma...@felixguntrum.de.
The Oasis standard WSRP is now supported by the Apache Software
Foundation! 

WSRP4J Website
http://ws.apache.org/wsrp4j/index.html

WSRP info from IBM
http://www-106.ibm.com/developerworks/webservices/library/ws-wsrp/












WSRP4J-Project for Remote Portlets startet

Posted by ma...@felixguntrum.de.
The Oasis standard WSRP is now supported by the Apache Software
Foundation! 

WSRP4J Website
http://ws.apache.org/wsrp4j/index.html

WSRP info from IBM
http://www-106.ibm.com/developerworks/webservices/library/ws-wsrp/












---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: psml id's, names, and uniqueness

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Monday, September 29, 2003, at 08:54  AM, Stuart Belden wrote:

> I'm looking for clarification on what must be unique in a given PSML 
> file and globally:
>
> Do psml entry/reference/portlets ids have to be unique globally, or 
> can they be unique to a given PSML file?
>
unique per page

> Do psml entry/reference/portlets _names_ have to be unique globally, 
> or can they be unique to a given PSML file?
>
unique per page

> Essentially what I'm trying to do is build a lookup table so that 
> documents in our simple CMS (very loosely based off of 
> WebSurfRewriter) can link to other portlets in jetspeed.  In an html 
> doc in cms I want to be able to have an href to something like $JobApp 
> or whatever that the scanner will pickup and do a lookup for the 
> appropriate url to draw based on the user's default psml doc (role, 
> anon, other otherwise).
>
> e.g. for the example above it would create a link like
> "/media-type/html/user/anon/page/default.psml/js_pane/A-Employment" 
> for anonymous,
> "/media-type/html/user/role/Valid/default.psml/js_pane/V-Employment" 
> for Valid users, etc...
>
that should work fine

> Is there anything like this out there already, or at least a place to 
> start for ideas?
>

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646
+01 707 529 9194


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: psml id's, names, and uniqueness

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Monday, September 29, 2003, at 08:54  AM, Stuart Belden wrote:

> I'm looking for clarification on what must be unique in a given PSML 
> file and globally:
>
> Do psml entry/reference/portlets ids have to be unique globally, or 
> can they be unique to a given PSML file?
>
unique per page

> Do psml entry/reference/portlets _names_ have to be unique globally, 
> or can they be unique to a given PSML file?
>
unique per page

> Essentially what I'm trying to do is build a lookup table so that 
> documents in our simple CMS (very loosely based off of 
> WebSurfRewriter) can link to other portlets in jetspeed.  In an html 
> doc in cms I want to be able to have an href to something like $JobApp 
> or whatever that the scanner will pickup and do a lookup for the 
> appropriate url to draw based on the user's default psml doc (role, 
> anon, other otherwise).
>
> e.g. for the example above it would create a link like
> "/media-type/html/user/anon/page/default.psml/js_pane/A-Employment" 
> for anonymous,
> "/media-type/html/user/role/Valid/default.psml/js_pane/V-Employment" 
> for Valid users, etc...
>
that should work fine

> Is there anything like this out there already, or at least a place to 
> start for ideas?
>

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646
+01 707 529 9194