"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 <compoent-ref> 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(/<context-root of 
A>/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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to