[JBoss-user] [JBoss Portal] - window name

2005-09-17 Thread noleme
What is the sequence of api calls to find out the window name from the doView 
method of a portlet...



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895319#3895319

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895319


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Default Portlet Window

2005-09-17 Thread noleme
E.g the doc has the following sentence:

"If there is a target window in the URL, the page where this window resides is 
chosen. Usually these URLs are rendered by portlets to target themselves."

How do add a target window? What is the syntax for the url?

Also, I can see a lot of "special" url formats, are thet documented anywhere ?
like: ctrl:id etc...



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895303#3895303

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895303


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Default Portlet Window

2005-09-17 Thread noleme
It looks like requests of type /a/b/c are directed to a default portlet.

What config is needed so that the requests /a/b/c are served by the portlet 
which originated them?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895295#3895295

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895295


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - portal core build warning

2005-09-15 Thread noleme
I rebuilt the portal from the sources and the portal core part gives this 
warning...

compile:
[execmodules] Sep 15, 2005 6:15:23 AM xdoclet.XDocletMain start
[execmodules] INFO: Running 
[execmodules] WARNING: Some classes refer to other classes that were not found a
mong the sources or on the classpath.
[execmodules]  (Perhaps the referred class doesn't exist? Hasn't been ge
nerated yet?)
[execmodules]  The referring classes do not import any fully qualified c
lasses matching these classes.
[execmodules]  Since at least one package is imported, it is impossible
for xjavadoc to figure out
[execmodules]  what package the referred classes belong to. The classes
are:
[execmodules] D:\jboss-portal-2.0-src\core\src\main\org\jboss\portal\core\portle
t\cms\admin\security\AdminCMSModelContentProvider.java --> Job qualified to org.
jboss.portal.core.portlet.cms.admin.security.Job

Is this a problem or can it be safely ignored ?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894884#3894884

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894884


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Content Portlet

2005-09-15 Thread noleme
"[EMAIL PROTECTED]" wrote : the actual content portlet always use the same link.
  | 
  | perhaps it should have an option where then it could be used to navigate 
from that portlet

Actually what I needed was a portlet which would display one page when 
normal/minimized, to fit "graciously" with the other portlets (e.g. a summay 
page) and display another page when maximized, providing more information. Then 
when pages are clicked on the maximized page to behave like a normal CMS 
portlet. This would allow one to reuse the content portlet to display several 
parts of the content tree in the portal window...

Here is a way to do this... (not compltely tested so use cautiously :P :) )

public class CustomContentPortlet extends CMSPortlet {

private boolean firstView = true;

public void processAction(JBossActionRequest req, JBossActionResponse 
resp)
throws PortletException, PortletSecurityException, 
IOException {
throw new PortletException();
}

public void render(JBossRenderRequest req, JBossRenderResponse resp)
throws PortletException, IOException {
resp.setTitle(getTitle(req));
doView(req, resp);
}

protected void doView(JBossRenderRequest req, JBossRenderResponse resp)
throws PortletException, IOException, 
UnavailableException {
if (req.getWindowState() == WindowState.MAXIMIZED) {
if(firstView)
{
String uri = 
req.getPreferences().getValue("extendedUri", null);
if (uri == null) {
throw new PortletException("No Extended 
URI defined");
}
req.getPortletSession().setAttribute("uri", 
uri);   
}
super.doView(req, resp);
} else {
firstView = true;
String uri = req.getPreferences().getValue("uri", null);
if (uri == null) {
throw new PortletException("No URI defined");
}
req.getPortletSession().setAttribute("uri", uri);
super.doView(req, resp);
}
}
}
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894883#3894883

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894883


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Content Portlet

2005-09-14 Thread noleme
"noleme" wrote : It looks like ContentPortlet displays a certain page given as 
a parameter.
  | When I have a link on that page towards another page, and click on it, the 
contents of the portlet doesn't change...
  | 
  | Is this a bug or a feature?
  | 
  | Is it possible at all to have links and follow them in the ContentPortlet? 
What is the correct syntax for the link?
  | 

Here is the info about the portal I am using:

-> What JBoss version are you using - 4.0.2
-> What JBoss Portal version are you using (and if it's from CVS, sources, 
binaries) - 2.0 binaries
-> What database you are using with version number - just the file store for cms
-> What JDBC connector you are using NA


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894676#3894676

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894676


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Content Portlet

2005-09-14 Thread noleme
It looks like ContentPortlet displays a certain page given as a parameter.
When I have a link on that page towards another page, and click on it, the 
contents of the portlet doesn't change...

Is this a bug or a feature?

Is it possible at all to have links and follow them in the ContentPortlet? What 
is the correct syntax for the link?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894672#3894672

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894672


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: org/jboss/system/ServiceMBeanSupport

2004-02-26 Thread noleme
Does this mean that one cannot write standalone client applications for 4.0DR2 ???

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823181#3823181

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823181


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: org/jboss/system/ServiceMBeanSupport

2004-02-26 Thread noleme
OK, here is the deal... One doesn't have to downgrade to 3.x to make the standalone 
applications running under JBoss 4.0DR2.

This is the list of libraries needed:

log4j.jar
jboss-all-client.jar
jboss-system.jar
jboss-jmx.jar
jboss-remoting.jar
dom4j.jar

Also, looks like you DO NOT need to pass this in your environemnt:
env.put("java.naming.factory.url.pkgs", "org.jboss.naming.client");


And the final key is:

Add a file called jndi.properties to your client class path with the follwing content:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming.client

(change the host and the port if needed)

Anyone could argue about the restrictions of this approach, but it will help at least 
to unit test your beans :)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823186#3823186

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823186


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user