[JBoss-user] [JBoss Portal] - Re: doView(), but not send back all the portal wrapper HTML

2006-04-20 Thread mholzner
what I am describing would use the same servlet as the full page render 
process. It's a dfferent path in the core invocation stack, effectively 
choosing another render command based on the URL that caused the request, but 
that's  it, the rest of the invocation would be the same (i.e. same servlet, 
same security context, same entry point, hence security checks , etc) 

But as I said: it's not there yet (only in a somewhat undigested form in my 
head ;)


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: doView(), but not send back all the portal wrapper HTML

2006-04-20 Thread mholzner
it won't get you all the way. The render set only takes over at the region 
level, the layout still renders the the HTML and body tag, etc. 

If you look at the 2.4 code base there are MarkupCommands for Page, Region and 
Window (Region and Window are untested at this point). Those commands are 
rendering what you need (at least in theory ;) ; 
What's missing are the URLFactory and the CommandFactory to map between URLs 
and Commands, and a sane way to get the URLs into the rendered markup.

Feel free to take a look, I won't get to it in the next 3 weeks. 


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: doView(), but not send back all the portal wrapper HTML

2006-04-20 Thread mholzner
the samples contain an AJAX portlet that you can take a look at. 

There are some steps in th 2.4 code base to get things like a region or a 
single portlet window to be rendered via AJAX requests, but its from complete. 


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change the portal title ???

2006-04-20 Thread mholzner
please search this forum. it's been answered many times

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: custom layout for each user ?

2006-04-19 Thread mholzner
not yet (as of 2.2) on a per user basis. This feature is referred to as 
'dashboard' in this project.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How to secure different portal instances

2006-04-19 Thread mholzner
your app is accessed via the portal context. Security is checked there. The 
portal uses a RequestDispatcher to dispatch to your app. 
You need to place security constraints into the portal descriptor defining your 
portal resources. (see examples in the default-object.xml in the core) 


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JAAS v JACC

2006-04-19 Thread mholzner
as long as your roles are fixed for the time span of the session of a user, you 
can handle it all in the login module. You still might decide that it is best 
to encapsulate your specific data base access into a custom user and/or role 
module though. It simply depends on your requirements. 
But you can stay away from JACC, unless you need a more dynamic role membership 
(depending on more time critical parameters...) 


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal Title ?

2006-04-11 Thread mholzner
it is taken from a constant in the generic layout's index.jsp 

to change that modify the index.jsp (and maximized.jsp) in 
core/src/bin/portal-core-war/layouts/generic) , adn replace the constant with 
what you want (JSTL ? ) 


  | 
  |<%= PortalConstants.VERSION.toString() %>
  | 
  | 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Why doesn't

2006-04-07 Thread mholzner
no, no , no ! 

You are confusing concepts here. 
What you should do is define a page with only the navigation portlet and the 
CMS portlet on it. That page will then appear in the 'natural' navigation menu, 
and when you select it, only the nav and the CMS portlets will show. 
There is no need to use the maximized state, nore for any redirects! 

Define your page in the ***-objects.xml as a child of the portal (i.e. make it 
a first level page) if you want it to show up in the top navigation (like 
default and test, OTB), or as a child of a first level page, if you want it to 
show up in the side navigation. 

To maximize the space you get for the CMS portlet in the layout, you can take a 
look at the maximized layout jsp and the CSS selector for the maximized region 
in the theme css , and build your own layout and theme out of it that fits your 
specific needs. 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: RenderResponse.createActionUrl() does not work

2006-04-06 Thread mholzner
I'm not sure if this is a forum problem, or if you forgot the quotes around all 
the attribute values that you write. 

instead of: 

  | writer.write("");
  | 


try 

  | writer.write("");
  | 

...apply the same change for the other attributes. 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: access httpsession from jaas loginmodule ?

2006-04-05 Thread mholzner

  |   Subject currentSubject = 
(Subject)PolicyContext.getContext("javax.security.auth.Subject.container");
  | 

but note that this call is subject to security manager access checks.

Not sure if there is any better way 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: access httpsession from jaas loginmodule ?

2006-04-05 Thread mholzner
and what's wrong with using the Subject ?  

Why do it any other way then the default login modules handle this case? 
they create Groups and Principals and populate the Subject with them. 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Determine current URI from portlet?

2006-04-04 Thread mholzner
you can solve this with either
 * window properties, or
 * portlet preferences

All it requires you to do is define a new window for each portlet assignment on 
each page (i.e. for the same portlet on 3 pages, you'll need 3 windows so that 
you can assign different preferences/window properties). 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Why doesn't

2006-04-04 Thread mholzner
sorry, I still don't get it. Are you saying that you create that URL yourself? 
Or are you using a portal API to get it? 

You want the portlet in the center area to be maximized, whenever you choose 
one in the navigation? 

Please try to be a bit clearer about the separation of page and portlet window. 
The navigation is pointing to a page, the page contains zero, one or more 
portlet windows. The page cannot be maximized, it's the portlet window that 
can. 

I'm still confused about what it is that you are trying to do here. 

If you could step back a bit and explain the use case you are trying to cover 
here, that might help me getting you the right answer.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss admin User not found

2006-04-03 Thread mholzner
the admin and user users are being created when you start your portal for the 
first time. I'd drop your portal database and restart the portal. You should 
either see some errors during startup , or get the admin and user users. 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss admin User not found

2006-04-03 Thread mholzner
have you tried to log in as admin (pwd:admin)?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: RenderResponse.createActionUrl() does not work

2006-04-03 Thread mholzner
is your form using POST or GET ? 

try 

[JBoss-user] [JBoss Portal] - Re: empty render style

2006-04-03 Thread mholzner
you need to do that not in the render set, but in the theme. 
The empty renderer doesn't create any markup other than what the portlet and 
the layout produce. If you want to set the title color, font, etc. you'll need 
to use the theme to do that. 

So, 
 - use the divRenderer render set
 - take one of the existing themes and modify the css to your needs 

at least that's how I would do it 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Why doesn't

2006-04-03 Thread mholzner
if you need a redirect, you should do it in any of your portlets. The layout 
jsp is rendered at the very end of the rendering cycle, so it would be very 
unwise to do all the work and then at the very last moment throw it all away. 

What is your use case? Why do you need a redirect from  the layout JSP ? 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: logout page and login page

2006-03-31 Thread mholzner
the security module is in a state of change. The links will be secured again 
(i.e. not showing). The current behaviour is a bug in the 2.4 branch. 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Multiple user pages / content management

2006-03-29 Thread mholzner
we are working on a feature called dashboard that will allow users to create 
their own pages. You can of course place a CM portlet on any of those pages.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: get portlet information from portletrenderer ?

2006-03-27 Thread mholzner
would read-only access to the portlet preferences solve the issue for you ? 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: get portlet information from portletrenderer ?

2006-03-27 Thread mholzner
I'm not sure what exactly you want here. Is it the data from the portlet.xml ? 
The WindowResult class should give you all the portlet info you need. The 
RenderContext and WindowContext allow you to get to the layout/theme specific 
information. 

If all of that doesn't suffice, you can always set a response property in the 
portlet's doView method, and pick it up in your renderer.



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Lots of problems validating page source

2006-03-27 Thread mholzner
can you give us the errors you are referring to ? 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How to modify the order and region in which portlets app

2006-03-27 Thread mholzner
both are defined as part of the window definition in a page. 
So look at the object descriptor (xyz-object.xml), or do it dynamically via the 
management UI (once you log in as admin)


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Many elements in de top of page (error of desing css and

2006-03-14 Thread mholzner
the way to solve this is the write your own navigation portlet , and use that 
instead of the default one . You need some sort of paging

There are several threads in this forum about this, so you might be lucky and 
someone has already written the code you need (Ihaven't seen any commits 
though). Otherwise feel free to commit your changes so others can benefit ;) 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How-To add javascript libraries to a portlet view.

2006-03-03 Thread mholzner
the easiest way (I believe) is to use the declarative injection of header 
content. In this case you can declare the js file to be included as link in the 
head tag, by adding this to your jboss-portlet.xml descriptor : 


  |
  |   MyAJAXPortlet
  |   
  |   
  |   
  |
  | 

The only limitation is that you need to use the 'generic' layout , or any other 
layout that features the  jsp tag 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sorting and Localization for Navigation Portlet

2006-03-02 Thread mholzner
This thread is getting confusing for me: 

You should be perfectly fine packaging your portlet(s) in a separate WAR and 
deploying that to the appserver that hosts the portal. As long as all your 
resources that the portlet uses are in the same context (WAR) you should be 
fine; there are no class loading issues I can think of

The execution of the portlet happens in the context the portlet was deployed 
in, not in the portals context, i.e. there is a RequestDispatcher involved. 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sorting and Localization for Navigation Portlet

2006-02-28 Thread mholzner
"keletappi" wrote : 
  | In jetspeed2 this is solved by adding initial language resources of page 
names in psml files (one psml file defines one page in jetspeed2). Also 
ordering of pages is in psml file. This makes it fast and easy to add language 
resources. In jetspeed2 they also lack ability to modify page names and 
language resources online but it is coming soon I hope.
  | 

Once you have to support multiple languages and have a good set of pages and 
portlets, you'll rethink that. Now think you get big enough to send your 
localization needs to a 3rd party, and now you have to mix and merge what you 
get back into a mix of resource bundles and slew of xml files. I'd stay away, 
and rather do one thing, and that is resource bundles! A bit heavier in the 
beginning , but you'll be thankful later on. 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sorting and Localization for Navigation Portlet

2006-02-28 Thread mholzner
agreed that the current implemetation is simplistic. 

BUT: stay away from xsl  
It's nice on the surface, but it is a HUUGE performance bottle neck , even 
if you cache the templates / transformer (watch for thread safety!!) 

and speaking of : at least xalan is not thread safe ! So you'll get flexibility 
at the cost of performance and thread safety. I'd rather write one logic 
service and several UI adaptors (i.e. portlet; i.e. JSPs, one per style). And 
don't forget that a lot can be achieve with CSS without any change to the java 
code

I was in xsl land for several years, and don't miss it ! (well, ok , sometimes 
;) 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Accessing HttpSession in Portlet Class

2006-02-24 Thread mholzner
"arvind_pv" wrote : Hi Everyone,
  | I need to access HttpSession in Portlet class and also I need to access the 
PortletSession in Struts Action class 
  | 

access to the HttpSession is easy: use application scope , i.e : 
portletRequest.getSession().getAttribute("blah", 
PortletSession.APPLICATION_SCOPE); 

Not sure about the struts scenarion. 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Change navigation image?

2006-02-22 Thread mholzner
What image are you referring to exactly ? 

You most definitely don't have to create a new theme. You can always replace 
the image in the current theme, or overlay the image via an inlined css 
element, etc. 

Once I understand better what image you try to replace, I'll be able to give 
you more details. 

...or perhaps Mark or Paul can dive into the CSS details with you ;) 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Securing Portlet Modes

2006-02-21 Thread mholzner
"keletappi" wrote : 
  | BTW. I have just playing with this portal implementation for 3 days now. 
After using jetspeed2 and other portals this system feels nice and flexible. 
Much easier to deploy portal and edit layouts and themes. 
  | 

Nice to see someone appreciates this ;) 

"keletappi" wrote : 
  | However there are some severe limitations that prevent me to use it in 
production enviroment - like i really need to know how to limit access to 
portlet modes per role. Hopefully everything will be fixed in time.
  | 

This was in the original design, but was dropped early on, to keep the security 
impl in 2.2 simple. I agree with you that we need such a feature. 

Please add a JIRA task for it, and link to it from this thread.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: WYSIWYG editor

2006-02-15 Thread mholzner
to overwrite the styles for a portlet, you can use the css injection
there is a programmatic way, and a declarative way to inject a css. The 
injected css overwrites the theme css in the scop of the portlet that injects 
it. See the theme doc for details on how to do this. 

Another option you have is to use different classes and ids in this portlet, 
and add the selectors for those to the theme css



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: jbpm webapp application into a portlet in a portal

2006-02-14 Thread mholzner
I don't know web models, but it sounds like writing a portlet bridge (or better 
finding one that already exists) would be your best bet. That would allow you 
to consume your app unchanged, similar to a JSF or struts app that works with 
the appropriate portlet bridge.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Editing themes

2006-02-14 Thread mholzner
Since I came up with the render set, and wrote the doc , I'd like to know what 
the confusing parts are. Could you please elaborate so  that we can make it 
better . 

Thx ! 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: help in starting portal server (No null layout allowed h

2006-02-11 Thread mholzner
do you see any errors or warnings on server startup ? 

my guess would be that the stack trace you see is a result of something more 
profound going wrong earlier (like no connection to the database, etc. ) 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Show multiple region(left,center,right)

2006-02-09 Thread mholzner
almost right ;) 

Please don't confuse the Layout with the Theme. They are two very different 
things. 
The Layout is the one that lays out the general page and determines the 
portlets, and the regions they are in. 

The theme styles the rendered content using css. 

Layouts are described in portal-layouts.xml , and point to JSPs or Servlets

Themes are descibed in portal-themes.xml and point to css and js filles


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Layout Strategy

2006-02-09 Thread mholzner
"PMO" wrote : 
  | The layoutstrategy operates at the html page level, correct? 
  | 
--> yes

"PMO" wrote : 
  | so, if write my own strategy it becomes possible to propagate a parameter 
to every portlet by using the setAttribute() method of the PortletContext 
correct? 
  | 
--> no. the portlet context in the strategy is not the 
javax.portlet.PortletContext. It is a strategy specific context to propagate 
the things like the region name, and order in which the portlet resides.

"PMO" wrote : 
  | In addition to that I can access to the http request parameters using the 
method getHttpServletRequest()...
  | 
--> yes. the StrategyContext allows access to the HttpRequest



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Layout Strategy - ACTIVATED PORTLET ???????????

2006-02-09 Thread mholzner
see http://jira.jboss.com/jira/browse/JBPORTAL-578 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Different web applications(.war files) integrating with

2006-01-27 Thread mholzner
as long as all your wars are deployed on the same server, you can use the 
portlets in the same portal. In your *-object.xml descriptor you just need to 
point the instance to the correct context and portlet name. No need to do WSRP 

Here is a simple test: package a standard 168 portlet in a war and deploy it to 
the same server the portal is running on. Then go to the management console in 
the portal, and look up your portlet. It will be there, and you can create an 
istance of it and place a window pointing to it on a page. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Attempt to use variable theme on login page

2006-01-25 Thread mholzner
see http://jira.jboss.com/jira/browse/JBPORTAL-467 

please vote for it ;) 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to add security in a page ?

2006-01-25 Thread mholzner

You're missing the action that is allowed.  Add an action-name element like:


  |  
  | 
  |Authenticated
  |view
  | 
  |  
  | 

and it should work 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: getTargetPortlet returns null

2006-01-20 Thread mholzner
you are correct. This seems to be a regression. The 
StrategyContext.getTargetPortlet() method should give you the PortletContext 
for any portlet that is directly addressed by the current request via a 
"ctrl:window=" URL parameter

Please enter a JIRA issue for this

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Default to maximized state

2006-01-20 Thread mholzner
I really like this question. It made me realize that we're missing this in the 
layout strategy. That's where I beliefe this should be available. Currently, 
however, there is no way that I can see that would allow you to access the 
window/page/portal properties from the StrategyContext

We should also add user properties to have the user's ability to overwrite the  
default properties set for the portal/page/window , and make those available 
with the StrategyContext and the RenderContext in the renderSet


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal Instance Authentication

2006-01-18 Thread mholzner
make sure you are adding your web.xml entries in the correct war file. 
There are several wars involved here ! 

Note that the portal's login page is actually defined in the portal-server.war 
, and not in the portal-core war ! 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: MANAGEMENT PORTLET

2006-01-18 Thread mholzner
"ego2002" wrote : 
  | I've just installed 2.2 portal version and I've tried the management 
portlet to create new pages...
  | It looks like it works well, but where are new pages saved phisically? In 
wich file? Where does JBoss load them from?
  | 

They are stored in the database (via Hibernate)

"ego2002" wrote : 
  | Another question: is it possible to have a portlet displayed on the right 
of the page? Because you can specify only left, center or navigation as 
positions...
  | 

yes, all you need to do is add that 'region' to your layout. Effectively, you 
add a region tag  to the JSP that 'filters' for the 'right' region. Then, in 
your page definition, you assign portlets to the 'right' region. That gets the 
markup on the page. Then you can style it (and even position it again) via 
the theme CSS. Check out the regionA, regionB and regionC selectors for 
examples. 

"ego2002" wrote : 
  | What does "unknown" position mean?
  | 

We added the region names of a layout to the layout meta data 
(portal-layouts.xml). But that is only a convenience , and it is not enforced. 
In other words: pages can assign portlets to other regions as well, even though 
those regions might not exist in the layout you are using for the page. To give 
you at least a hint about that, we display those portlets in the 'unknown' area 
(which is a collector for all portlets that are assigned to regions that are 
not available on the currently selected layout according to the layout meta 
data). Note that the layout jsp could still have a region tag that actually 
filters for any of those unknown regions, and someone just forgot to update the 
layout meta data. Confusing , I know ;) 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: need help with portal2.2 configurations

2006-01-17 Thread mholzner
"axh1359" wrote : 
  | so I get a full portlet on top of the page, I add  for every page with 
NavigationPortletWindows, so how do I assign default properties to 
NavigationPortletWindow thanks.
  | 
I'm afraid there is no way to do this currently. You'll have to assign the 
properties to each window definition.

"axh1359" wrote : 
  | Second question, eventhough I can access the custom portal instance and run 
the portlets successfully..for the first time, but when I click maximized or 
minimized or help or submit it shows 404 error resources not found..anyone know 
where should I look at this problem? thanks again.
  | 
Did you specify a different layout strategy in the portal properties ? 
Check to make sure that the layout and the layout strategy you are using are 
both existing, and point to valid jsp's for all states defined in the layout 
descriptor.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Creating new Portal

2006-01-17 Thread mholzner
There is an excellent theme and layout guide as part of the user documentation. 
Check it out. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Creating new Portal

2006-01-17 Thread mholzner
"noicangi" wrote : 
  | also i'am trying to edit the maple theme (it's horrible) but how can i edit 
de *.css using a html page to see what i'm doing?
  | 

No need to edit it if it's horrible ! You can just write your own. 

I don't understand your question? What is it that you want to do ? 
The css follows common web design practices, so just follow those and you'll be 
ok. as I said, not sure what you are looking for .

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-12 Thread mholzner
you can get the lastest code from cvs HEAD 

The way this currently works (images and links for modes and states) is that 
the renderSet injects div tags with class attributes that are matched by the 
theme. So it is the theme that determines the image and the arrangement 
(look&feel). You can continue down that road and create your own class 
attributes for the special cases you want to cover. You can add those selectors 
to the theme css, or add an additional css file that handles those additional 
cases.  You could of corse change the renderSet so it directly injects the 
images, circumventing the theme all together. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal 2.2 - virtual portal / theme / layout / context r

2006-01-11 Thread mholzner
to be perfectly honest , I get those confused all the time. 

What I do is look at the available themes after I deployed them in the theme 
selector portlet. the "appID" that shows up there is what you want.
 
(and for the record: I think it's the context root, or the war file name (minus 
the .war) if none is provided). Anybody correct me if I'm wrong, please ;) 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal 2.2 - virtual portal / theme / layout / context r

2006-01-11 Thread mholzner
"PMO" wrote : 
  | I am deploying two virtual portals A and B.Both are using the same portlet 
P (deployed in A)
  | 
  |   | Scope
  |   | When deploying a page, window and instance of P in portal B I can refer 
to the portlet P using the scope "A" in the  tag, correct?
  |   |   | 
  |   | 

correct

"PMO" wrote : 
  | Theme
  | I am deploying ThemeA with A and ThemeB with B, each linking to a CSS file. 
Using the portal management interface, I can change the theme of a page of B 
using the themeA defined in A. Correct?
  |   | 
  |   | Thus theme names are global. correct?
  |   | 

correct. Theme names are defined by context + theme name, but you can use the 
theme name alone as a short hand, as long as the name is unique across all 
contexts. If you have two contexts containing the same theme name, you'll have 
to provide the context name as well to distinguish.

"PMO" wrote : 
  | Now, if the corresponding CSS file defines a background image as 
url(/images/clown.gif") where should be the images directory? Do I need to 
define a context root for A and another for B and use url(//images/clown.gif") instead?
  | 
  | 

You shouldn't have to do anything about the context. the theme will take care 
of that automagically. Theme references are all relative to the context in 
which the css resides.

"PMO" wrote : 
  | Layout
  | Same question with name and uri tags in layout.
  |   | 

same as in themes. Everything is interpreted relative to the context that hosts 
the layout.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Problems with security for portlets?

2006-01-10 Thread mholzner
You can secure the portal, or an instance of it, or a  window of an instance of 
it, via roles. You can do that either via a security-constraint element in the 
jboss-portlet.xml , or in the *-object.xml, or you can use the management UI to 
do the same after the portlet is deployed. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-10 Thread mholzner
I just looked at the code. It's not available. 

I created http://jira.jboss.com/jira/browse/JBPORTAL-555 for this 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How do I display tabs for subpages?

2006-01-09 Thread mholzner
please enter a JIRA issue for this 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Layout in JBossPortal-2.2

2006-01-09 Thread mholzner
'old style' layouts still work in 2.2 (see the phalanx theme for example) 

Do you get any kind of error , warning, etc. ? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Problem with StrategyInterceptor

2006-01-09 Thread mholzner
no need to change the interceptor. The interceptor is the one that detects that 
there was no strategy set. The strategy is set via a portal property, like: 


  | 
  |
  |   
  |   keep
  |   
  |  default
  |  
  | 
  |layout.strategyId
  |maximizedRegion
  | 
  | 
  | 

see the examples in the default portal. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-06 Thread mholzner
again: it's the renderSet that does that (inject the html that ultimately 
displays the images for the modes and states , in combination with the theme 
css). So do what I showed in the previous post and you get your tool tips. 
I actually changed the cvs HEAD to have that OTB now. 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-05 Thread mholzner
The title attribute can be added to the render set. The markup that spans the 
portlet decoration is generated by the renderSet. In the default OTB case of 
the portal, this is a class called 
/theme/src/main/org/jboss/portal/theme/impl/render/DivDecorationRenderer 

you can change the code, or create your own renderSet and configure it for your 
portal (see the doc for details on that) 


  |private static void renderModeAndStateLinks(RenderContext ctx, 
WindowResult result, String selector)
  |{
  |   log.debug("render modes and states");
  |   Collection modes = result.getTriggerableActions(selector);
  |   for (Iterator i=modes.iterator(); i.hasNext(); ){
  |  WindowResult.Action action = (WindowResult.Action)i.next();
  |  if (action.isEnabled()){
  | log.debug("action is enabled: " + action.getName());
  | ctx.getMarkupFragment().append("");
  |  }
  |   }
  |}
  | 

as you can see in this snippet, you can place whatever text into the title 
attribute. Since you have the mode and state (and much more), you can 
dynamically determine what to render in the title 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Getting a maximized Window to display

2006-01-05 Thread mholzner
you'll havwe to get the code from CVS: 

  | cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-portal-2.2 
  | 

the strategy is in the theme module : 
jboss-portal-2.2/theme/src/main/org/jboss/portal/theme/impl/strategy/MaximizingStrategyImpl.java)



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2006-01-05 Thread mholzner
Are your filter and your portlet deployed in the same WAR context ? 
Rembember: each context has its own distinct session! 

There is a config option to share the portal's session across all contexts 
though. Check the docs for how to activate that. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBP 2.2.0 Documentation Question - portal tree?

2006-01-05 Thread mholzner
"PMO" wrote : 
  | By the way, I understand that it is possible to not specify any parent ref 
for an object. The object is then not a part of the tree and therefore sort of 
hidden from the admin tree. Correct?
  | 

Not sure, I haven't tried that, but it sounds plausible.

"PMO" wrote : 
  | There is also some confusion with the "portal tree", "portal" and "page". 
As pages can be organised in a tree manner, ie with subpages, it is not crystal 
clear what makes a difference between "portal" and "page". Could you explain 
the difference? thanks.
  | 

A portal is a 'namespace' to group multiple pages, and set some general 
features for the group (like the supported modes and window states). 

A page is a 'namespace' to group portlets, and arrange them int the way they 
should be displayed. Since it is anticipated that portals will end up with many 
pages, a page hierarchy was introduced to better allow grouping and navigation 
of pages.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing Page name and Portlet title

2006-01-04 Thread mholzner
"jency" wrote : 
  | The title for portlets can be changed via portlet.xml; but the "default" 
page contains a portlet whose title is "JBoss portal" and I could not find any 
reference to it portlet.xml. Which files should I modify to change this? 
  | 

This portlet is the CMSPortlet. It sets the title programmatically at runtime. 
The title comes from the file name that is currently displayed : 


  |   String title = (file.getContent().getTitle() != null) ? 
file.getContent().getTitle() : file.getContent().getName();
  |   resp.setTitle(title);
  | 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Getting a maximized Window to display

2006-01-04 Thread mholzner
the behaviour of the maximizing strategy is that once a portlet is maximized, 
it will ommit the render process for all other portlets. It assumes that at the 
end of the render process all you want to display is the one maximized portlet, 
so it saves the portlet container the effort to render portlets that wont be 
displayed anyway. The only exception to that rule are portlets in the 
'navigation' region. They are being let through. Take a look at the Strategy 
implementation class 
(org.jboss.portal.theme.impl.strategy.MaximizingStrategyImpl in the theme 
module). 

If you want your portlets in the header region (and others) to still show up if 
there is a maximized portlet on the page, then you'll either need to change the 
strategy, or write your own, and point to it via the portal property:


  |   
  | layout.strategyId
  | your strategy here
  |   
  | 

Please consult the theme documentation for details on how to write and 
configure your own strategy. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBP 2.2.0 Documentation Question - portal tree?

2006-01-04 Thread mholzner
All PortalObjects make up the 'portal tree'
These are the portals, pages, and portlet windows that are defined in your 
portal runtime. 

A page is a child of a portal, a window is a child of a page. Pages can have 
children pages. To express where you want a page to be placed in that tree (as 
a child of what) you can use the paret-ref element. 

Let's say you have a  portal called 'MioPortale', and a page called 'PaginaMia'
Now you defined a child page of the PaginaMia called 'Picola' (a page that 
should be navigable only in the context of the 'PaginaMia'; or in other words: 
a page that has detail information that makes only sense in the context of the 
'PaginaMia'; the navigation portlet on the left should only show this child 
page, when the current page is the 'PaginaMia'; ...)

to achieve that, reference the 'MioPortale.PaginaMia' as the parent ref of this 
new page, like: 


  | MioPortale.PaginaMia
  | 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Getting a maximized Window to display

2006-01-04 Thread mholzner
does your maximized.jsp select for the maximized region ? 


  |   
  | 

Via

  |  
  |layout.strategyId
  |maximizedRegion
  |  
  | 
you are using the maximized region strategy, which 
  a) assures that there is only one maximized portlet at a time , and
  b) reassigns the maximized portlet to the 'maximized' region

The 'regionName' in the region tag selects that. The 'regionID' is the CSS id 
that is rendered for this region. This id is selected by the theme css 
(depending on what theme you are using that is one of the css files in the 
themes folder on the core war (like /themes/phalanx/portal_style.css)



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing Page name and Portlet title

2006-01-04 Thread mholzner
"jency" wrote : 
  | Do you mean we cannot change the name "default" for the default page(tab)?
  | 

At the moment (2.2), yes, that's what I'm saying. Not without coding.

"jency" wrote : 
  | The title for portlets can be changed via portlet.xml; but the "default" 
page contains a portlet whose title is "JBoss portal" and I could not find any 
reference to it portlet.xml. Which files should I modify to change this? 
  | 

I'll have to look at that. My build is currently broken, so give me some time 
;) 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing Page name and Portlet title

2006-01-04 Thread mholzner
"vmarco" wrote : 
  | Doesn't this prevent me from controlling the title per page?  Doesn't it 
also means to control the title of my site I am now required to create my own 
layout?  I must be missing something here.  I should have the ability to 
specify both a site-wide title or per page title in the *-object.xml 
descriptor.  Otherwise the ability to reuse layouts will be severely diminished.
  | 

I agree that this isn't at a level where it should be at the moment, but it 
should be rather simple to write a jsp tag that allows the layout to set the 
title via a JSTL expression (that can use the current page's title or whatever 
to create the title string); Once we have that, then what about localization of 
the page title? That's missing as well so far. Remeber: this is open source so 
feel free to chime in ;) 

"vmarco" wrote : 
  | This approach also seems insufficient.  Shouldn't I be able to specify the 
title on a per PortletInstance or Window granularity.  That way I could have 
multiple windows of the same Portlet (or multiple instances of the same 
portlet) with different displayed titles.
  | 

I agree 100%, but I'm not sure if this is currenty possible (i.e. I don't think 
so); again: the window title should be localizable as well


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change layout only in my portlet

2006-01-04 Thread mholzner
please be careful with the term you are using. I'm still confused by your use 
of 'portlet', but anyway: I hope I got it now. 

You can have a layout for the entire portal, but you can overwrite it for 
individual pages via page properties. You can define a jsp that does your 
layout with top, left,center,right,bottom, and assign it only to the page(s) 
that you want it for. All other pages in the portal will still get the layout 
that was defined for the portal (with the center, left, and navigation regions)

Here is an example for such a page level layout: 


  | 
  |
  |   
  |   keep
  |   
  |  default
  |  
  | 
  |layout.id
  |generic
  | 
  | 
  |  
  |  
  | myPage
  |  
  | 
  |layout.id
  |myspecialLayout
  | 
  | 
  |  
  | 
  | .  
  | 
  |  
  | 
  | 

'myPage' will get rendered with 'myspecialLayout', all other pages in the 
'default' portal will be rendered with the 'generic' layout. 

Please use the 'generic' layout as your starting point for a customized layout. 
The 'nodesk' layout is still in the 2.0 way (left there for compatibility 
reasons) of layouts and themes, and a lot harder to maintain, and less 
flexible. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Interceptor stack question

2006-01-04 Thread mholzner
the decoration is done in the renderSet. There is no interceptor stack for 
this. The LayoutStrategyInterceptor handles the layout strategy (as the name 
implies :) ; 

The strategy is something you might be able to use for the other feature you 
are mentioning here: it is called when the portal, page, and portlets that need 
to be rendered are determined. The strategy can change some of the artifacts 
that are about to be rendered. You can ommit portlets, you can switch to 
another layout (JSP) , etc. To make such a decission in the strategy, it allows 
access to the portlet modes and window states. 

To my knowledge, the portlet can not determine at runtime how it is decorated. 
What you could do is inject another css file, or change the class attributes in 
the rendered portlet fragment. This would allow you to change the look and feel 
via css, based on what the portlet renders. 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing Page name and Portlet title

2006-01-03 Thread mholzner
To my knowledge the 'default' is hard coded in 2.2. I don't know any way around 
it without coding. So I guess you did what was necessary. 

see also http://jira.jboss.com/jira/browse/JBPORTAL-465 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Setting the response Content-type

2006-01-03 Thread mholzner
ahem, I guess in theory it should ;) 

You are right. It is hard coded for now. I wasn't aware of that. 

Time for some community contributions :) 

Since we're on this topic, does anyone have experince with CC/PP? 
How would that fit into this discussion. 
My current thinking is that this , or a more specific, interceptor would have 
to disect the info from the http headers and construct the correct content 
type, and additional data in the StreamInfo class. How would portlets/ layouts 
/ themes take advantage of this information down the call stack? Anyone ? 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: org.jboss.portal.property.nodecoration ignored??

2006-01-03 Thread mholzner
ooops, sorry. that should not have made it into the final doc. 
It's corrected in cvs. Sorry for that! 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: filters

2006-01-03 Thread mholzner
the only thing I can think of right now is to intrduce a component invocation 
interceptor that does what you are interested in. 
PortletFilter are one possible new feature for the future Portlet 2.0 spec. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: NavigationPortlet enhancements

2006-01-03 Thread mholzner
Thanks ! You spare me from having to write this ;) 

I started the tabbed nav very late in the 2.2 cycle so it didn't get very far. 
Some things I'd like to see in it are: 
  * limit the amound of visible tabs ; add a paging mechanism for too many tabs 
to display
  * a bread crumb would be nice too

>From my experience: instead of trying to packa everything into one portlet, 
>use a common code base, but several portlets (or render utils) for specific 
>incarnations like tree vs list, vs popup , etc.  I found too many config 
>options for the same portlet to be confusing.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: org.jboss.portal.property.nodecoration ignored??

2006-01-03 Thread mholzner
where did you get the idea of using the nodecoration property ? 
This shouldn't be in the docs nore in the samples. If it is, please accept my 
appologies. 

The correct way to do this is by using the window properties, but instead of 
setting the nodecoration prop, you can now specify the renderSet from which you 
want the renderer to be taken. In your case you want the decoration renderer 
from the emptyRenderer renderSet. There is an example for that in the Test 
pages (theme test), but here is a snippet of the required window properties: 


  | 
  |NavigationPortletWindow
  |NavigationPortletInstance
  |navigation
  |0
  |
  |
  |   
  |  theme.windowRendererId
  |  emptyRenderer
  |   
  |
  |   
  |  theme.decorationRendererId
  |  emptyRenderer
  |   
  |
  |   
  |  theme.portletRendererId
  |  emptyRenderer
  |   
  |
  | 
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Can portlets be put in header?

2006-01-03 Thread mholzner
there are at least two ways to get this result: 

1) create a new layout that places this special portlet whereever you want, 
using the theme's portlet tag 

2) add a special layout region to your layout that will host this special 
portlet. Each page then has to have a window definition for this portlet with 
the special region name assigned to it. This is how the tabbed navigation is 
done in the default portal. Take a look.


Note: For the future (2.4) we are thinking about a page inheritence model where 
such common portlets could be assigned to a page definition that other pages 
inherit from (so that they inherit the portlet assignments from the parent page)


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Setting the response Content-type

2006-01-03 Thread mholzner
the content type interceptor determines the content type that the browser 
requested / can handle. The portal takes this content type as the allowed 
content type for the current request. Portlets that want to set a particular 
content type need to first check if the current request supports that content 
type. 
Just think about it: if the browser makes a request and the expected content 
type is text/html, what is the portal supposed to do if one of the portlets 
returns text/xml ? Or in the reverse: if the request's content type is text/xml 
and now one of the portlets tries to set it's content type to text/html . What 
should the portal do? Wrap the fragment in a CDATA section, or ...? 

If you want to be able to write text/xml from a portlet, your entire request 
needs to be rendering text/xml content. This requested content type is, as you 
correctly stated above, determined by the ContentTypeInterceptor. 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: change layout only in my portlet

2006-01-03 Thread mholzner
not sure, but I think your definition of layout is probably different from 
mine, so I don't know if what I can tell you makes sense to you. 

Let's try anyway: 
The layout is the jsp that renders the returned markup (the entire page). So it 
is the part that creates the HTML, TITLE, BODY , etc. tags 

A portlet is only a part of that rendered markup. So when you talk about the 
layout in a portlet, I'm not sure what you mean. My guess is that you are 
talking about the theme: the look and feel of the markup that is rendered by 
the portlet. If that assumption is correct, then I'd recommend to use the WSRP 
CSS selectors in your portlets markup , and a css file that uses these ids and 
classes to style / theme the page fragment. 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing Page name and Portlet title

2006-01-03 Thread mholzner
The title that is shown in the browser is set by the layout. 
In the portal core war look for layouts/generic/index.jsp , and there for the 
title tag. 

The title of each portlet is set in the portlet.xml descriptor 
Look for the portlets you want to change the title for (their title) and change 
it in the portlet.xml 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: url problem in my portlet

2006-01-03 Thread mholzner
did you try  http://localhost:8080/portal/carris/Registration ?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Customize number of columns

2006-01-01 Thread mholzner
correct : the layout is one part of that. There are several pieces that work 
together here. The page definition assigns portlets to regions. The layout 
strategy can move portlets temporarily (for the timespan of the current 
request) to any other region, and the layout is the one that takes the rendered 
portlet markup and places it into the page , using the region name as a filter 
to determine what portlets go where. The theme is the last piece in the puzzle. 
It can style the content that was created by the layout, and it could even 
decide to filter certain regions, or move regions around. 

So the shrt answer is : 
1) assign the portlet to the region you want in the page definition
2) add the region to the layout (add a region tag) 
3) add the region to the theme (if need be; all the default themes already have 
a regionC I beliefe) 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: different portlets to different users

2005-12-21 Thread mholzner
what you see there are (currently) pages, not portlets. 
But the good news is: yes, you can do that. 
You will have to create those pages, place the desired portlets on them, and 
then secure them via  a security constraint that allows the mentioned roles 
read access to the individual page. As a result, user a (in role A) will only 
see page A (if pages B and C are assigned to different roles)

You can provide all the needed info in the *-object.xml , or later on via the 
management UI


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Layout in JBossPortal-2.2

2005-12-21 Thread mholzner
there are two new layouts in 2.2: phalanx and generic 
"phanlanx" uses the same constructs as you saw them in 2.0. 
"generic" uses the new default approach, where the theme takes over a lot more 
of the look and feel of the portal. The portal now comes with four default 
themes that all work with the generic layout. 

So, instead of writing scriptlets in JSPs you can now use the generic layout 
and use one of the delivered themes as a starting point.
Or if you prefer the old way, take the phalanx layout as starting point.
To see a direct comparison of old vs new we implemented the phalanx layout as 
Nphalnax theme, again using the generic layout

There is also a lot of documentation about this in the reference guide

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal 2.2 - PAGES as Tab in the admin user interface

2005-12-18 Thread mholzner
you can also introduce a hierarchie in your pages. Only the root level pages 
are displayed in the tabbed navigation, so you could organize your pages in a 
much smaller set of top level pages (that will be displayed as tabs) , and 
children pages of those. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing portlets and pages on a running system?

2005-12-16 Thread mholzner
you are using portal 2.2, right ? 

there is a new descriptor that replaces the old 2.0 style ones. 
*-object.xml combines the -pages, -portal , and -instance descriptors. 

If you are on 2.0 , then you're right: you need to restart to get the changes 
to be recognized. A touch of the web.xml of the containing war should do the 
trick as well, since it's a deployer that picks up the descriptors, but I 
haven't tested that myself to be honest. 

Subpages: 
again, you dre correct for 2.0, however 2.2 does have subpages.  If you look at 
the OTB portal, the elements in the tabbed navigation are the top level pages 
of the default portal, if you pick any of those pages, the menu portlet in the 
left region shows the subpages of that selected top level page. I think this 
comes close to what you are describing here 



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Displaying Portlet of one application in another applica

2005-12-16 Thread mholzner
pages can feature portlets from any portlet app (WAR) deployed to the portal. 
when you add a portlet window to a page, make sure that the instance it points 
to references the portlet in the desired context, like: 


  |
  |   keep
  |   
  |  MyPortletInstance
  |  WarContextHere.MyPortlet
  |...
  | 

Note: I'm not quite sure what the explanation is, but in some deployment 
scenarios you'll have to prepend the context name with a '/', in others you 
don't. I deployed a portlet app contained in an EAR for example. The 
jbos-app.xml maps the app to a context name, but I have to refere to the 
context with a preceding '/' in the -object.xml, defining an instance of a 
portlet from this app. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Existing web applications integrating JBoss Portal

2005-12-15 Thread mholzner
not sure about the struts bridge, but the portal allows you to deploy separate 
wars containing portlet artifacts. You can do that with portlets, page, 
portals, themes, layouts, etc. 
All that should be required is the appropriate descriptor bundled into the war 
you deploy. So for example, if your war contains a WEB-INF/myportal-object.xml 
descriptor, then all the portals, pages, instance defined in there should be 
available to the portal after deployment. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Changing portlets and pages on a running system?

2005-12-15 Thread mholzner
hmm, works for me. What exactly are you doing ? 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portlet to Portlet Communication using Portal 2.2

2005-12-15 Thread mholzner
Look at the Test page . It contains a sample page (Event test) with two 
portlets that communicate (one portlet telling the other what color to use to 
display text )



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: localization/i18n support for page names and page titles

2005-12-15 Thread mholzner
good idea. 

I think we should keep in synch with the portlet spec and use the xml:lang 
attribute to separate the display-name for different languages, like: 


  |
  |  Hello World
  |   Hello
  |   Hallo  
  |  Hello World Page
  |   Hallo Welt Seite
  | 

Why would you separate the display name and the title ? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Role-based portlet layouts?

2005-12-14 Thread mholzner
I think I understand what your requirement is, but we'll see ;) 

What JBossPortal offers you is role based access control for portlets, portlet 
instances, portlet windows, pages and portals. So each one of them or any 
combination , can define security constraints that tie a role and actions to 
the portal object (the page, window, )

In other words: to achieve what I think you are trying to get to , you can 
define a page that has all the 'privileged' information and functions on it, 
and secure that via a constraint that allows only a certain role the view 
action, or you could keep the page open to everyone, and secure only individual 
portlets on the page (which would show a 'access denied' message in the 
protected portlets)


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How to set theme per page (without changing layout)?

2005-12-05 Thread mholzner
it is possible to set the theme for the page: 

in JBP 2.2 you would do that via page properties, like: 


  |   
  |  Secure Policy Config
  | 
  |org.jboss.portal.property.theme
  |Nphalanx
  | 
  | .
  | 

Note: the property name is subject to change (i.e. will be changed very soon; 
before the public beta)


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: deploy portlets, make roles automatically?

2005-12-01 Thread mholzner
not in JBP2.0, but in JBP 2.2 

Portal 2.2 offers the possibility to dynamically create security constraints 
for portal objects like portals, pages, and winodows. Note, however, that the 
API and meaning of portlet security has changed in 2.2

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portlet, themes and regions

2005-12-01 Thread mholzner
anonymous wrote : 
  | the JBoss portal reference guide in the chapter 5 (about theme and layouts) 
says that "left", "center" and "right" are acceptable values for regionName. 
Are there other values? If so which are? 
  | 
Effectively, you can use any. All there is to know is that the region you 
assign a portlet to needs to be present in the layout, otherwise the portlet 
will not show up on the page.

anonymous wrote : 
  | About the region tag I saw there also is the "orientation" value. Which are 
the possible values of this var? What is its meaning?
  | 
the values are vertical and horizontal per default, but again, you could use 
any name here. The region tag delegates the creation of the markup to the 
renderSet. the renderSet (divRenderer, tableRenderer) is the one that can 
decide to do something with the value of the orientation attribute. In JBP 2.0, 
the table renderer uses it to produce either a tr or a td for each portlet.

anonymous wrote : 
  | Finally when I put 2 portlets in the same region they are displayed 
vertically. How can I put them side by side? 
  | 
As mentioned before, that is the task of the renderSet. You could stay away 
from tables in the markup , and realize the orientation via css. For that to 
work, your renderSet needs to create the appropriate markup that the css can 
use to do its job.

In JBP2.2 the table renderer was removed in favour of the divRenderer. This 
renderSet however does not value the orientation attribute. Something to think 
about for me ;) 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2 CVS-HEAD, Layouts

2005-11-30 Thread mholzner
Layouts and Themes are (currently) being deployed as part of a war file (which 
can optionally be contained in an ear). 
I said currently because we are looking into getting themes to be deployable 
via Content Management for JBP 2.4.

A layout consists of one or more JSP or Servlets , and a layout descriptor. 
These jsps and servlets underly the same restrictions as any other jsp or 
servlet in a war file. The layout descriptor defines the uri (relative to the 
local servlet context) of the jsp or servlet that the portal's request 
dispatcher can use to include the jsp or servlet. 

The layout descriptor has to reside in the /WEB-INF/ folder , and has to be 
named portal-layouts.xml 

Themes are even simpler. Since themes consist of nothing but static resources 
(css, img, jpeg, etc.) , all that is needed is a theme descriptor that tells 
the portal what link and script tags need to be injected for the particular 
theme. 
The theme descriptor needs to reside in /WEB-INF/ and needs to be named 
portal-layouts.xml . Theme resources are declared, again just like layout jsps 
and servlets, relative to the containing servlet context. 

here is an example layout war layout :) :


  | /root
  |/jsp
  | /layout.jsp
  |/WEB-INF 
  | /web.xml
  | /portal-layouts.xml
  | 
  | 

and here is the content of the desriptor: 


  | 
  | 
  |
  |   foo
  |   /jsp/layout.jsp
  |   
  |  
  |  
  |   
  |
  | 
  | 

Note: the layout does not need the web.xml, but to form a valid WAR you need to 
pack one.

here is an example theme war :


  | /root
  |/themeFoo
  | /img
  |   /lots-of-images-here.jpg
  | theme.css
  |/WEB-INF 
  | /web.xml
  | /portal-themes.xml
  | 

and here is the content of the desriptor: 


  | 
  | 
  |
  |   foo
  |
  |
  |
  | 
  | 

Note: you can pack as many themes and layouts into the same war, as long as you 
give them a unique name in the scope of the war. Yes, you can mix themes and 
layouts in the same war.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2 CVS-HEAD, Layouts

2005-11-29 Thread mholzner
sent on it's way

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2 CVS-HEAD, Layouts

2005-11-23 Thread mholzner
np, just tell me where to send it (I won't be back until next Monday though ...)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2 CVS-HEAD, Layouts

2005-11-22 Thread mholzner
I just took your layout jsp and deployed it in a separate app (war part of an 
ear) and picked it as layout in my portal, and all is well. 

In other words: your jsp is fine. 

There must be a packaging issue. Are you packaging any of the portal jars with 
your archive ? You don't have to. You only need those for compilation, not for 
runtime!


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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >