Re: [orchestra] Navigation with new conversation context

2009-02-09 Thread Simon Kitching
Hi Bernd,

Dipl. -Ing. Winterstein Bernd schrieb:
> Hello,
> I try to open a new conversation context in a new browser window  when
> navigating to another page.
> The backing bean of the new page is in flash scope. The old one is
> manual scope.
> But when I use the  tag around the form
> the new page opens the current page again.
> 
> Any ideas?
> 
> Regards,
> Bernd
> 
> 
> 
>  value="#{doctorAnalysisController.results}" var="info" rows="20">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>action="doctorDetails" 
>  
> actionListener="#{contactHistory.addContactId}" 
>   target="_blank" >
>value="#{info.doctor.id}" />
> 
>
> 
> 
> 
> 
>  for="resultsTable" />
> 
> 
> 

Orchestra intercepts all calls to
HttpServletResponse.encodeURL(url)
and ensures the param "?conversationContext=n" is added.

Using o:separateConversationContext simply sets a flag to suppress this.

But you are using ajax controls. My suspicion is that when a "partial
submit" occurs, richfaces doesn't process any of the JSF components
outside the activated one. So for example when the a4j:htmlCommandLink
is activated, the o:separateConversationContext component simply never
gets run.

I can't be sure, as I've never tried using an ajax commandLink inside an
o:separateConversationContext tag before. But it seems the most likely
cause.

If this is true, then I'm not sure what the solution could be. If
richfaces really does not support running any ancestor components, then
how can the htmlCommandLink be marked as one that should be "in a new
context"?

Perhaps a custom ActionListener could be created which looks in the
ancestry of the component that triggers the action, and "activates" an
o:separateConversationContext if it finds one. It should be possible to
do this without needing to modify Orchestra itself, ie you wouldn't need
to wait for an Orchestra patch in order to solve this issue (though
obviously it would be good for Orchestra to do this by default).


Regards,
Simon
-- 
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)


[orchestra] Navigation with new conversation context

2009-02-09 Thread Dipl. -Ing. Winterstein Bernd

Hello,
I try to open a new conversation context in a new browser window  when  
navigating to another page.
The backing bean of the new page is in flash scope. The old one is  
manual scope.
But when I use the  tag around the form  
the new page opens the current page again.


Any ideas?

Regards,
Bernd



			value="#{doctorAnalysisController.results}" var="info" rows="20">












  actionListener="#{contactHistory.addContactId}" 

  target="_blank" >
  






			for="resultsTable" />





--
Dipl.-Ing. Bernd Winterstein
Softwarearchitektur & Entwicklung
Friedenstr. 8
40724 Hilden
Tel 02103 910800
Mobil 0171 6877230



Re: Replacing font color with trinidad skinning?

2009-02-09 Thread Omar Elprince

try modifying those selectors in you css.

.AFRequiredIconStyle

.AFRequiredIconStyle:alias

On Feb 9, 2009, at 12:20 PM,  > wrote:



Hi,

Trinidad/myfaces is using a special green for required „*“ and for  
table headers. This green doesn’t fit to our corporate identity so I  
want tot change it to another color. Do I have to parse the whole  
trinidad stylesheet file and replace the green at every place  
through my own or is there a more comfortable way to do this?


Thank you and best regards

Felix




Replacing font color with trinidad skinning?

2009-02-09 Thread Felix.Becker
Hi,

 

Trinidad/myfaces is using a special green for required "*" and for table
headers. This green doesn't fit to our corporate identity so I want tot
change it to another color. Do I have to parse the whole trinidad
stylesheet file and replace the green at every place through my own or
is there a more comfortable way to do this?

 

Thank you and best regards

 

Felix



[Tobago] getting started

2009-02-09 Thread Daphna Deutsch
Hello,

I'm trying to add Tobago to my project, so I can use its JSF components.
Please see the attached file.

Thanks,
Daphna Deutsch

So far I performed:
1)  Copy the following jars to my WebRoot\WEB-INF\lib directory:
a.  myfaces-api-1.1.6
b.  myfaces-impl-1.1.6
c.  tobago-core-1.0.20
d.  tobago-theme-charlotteville-1.0.20
e.  tobago-theme-richmond-1.0.20
f.  tobago-theme-scarborough-1.0.20
g.  tobago-theme-speyside-1.0.20
h.  tobago-theme-standard-1.0.20
2)  I add the tobago-config.xml file to the WebRoot\WEB-INF directory.
3)  I add the following lines to the web.xml file:
  
  
  MyFacesExtensionsFilter
  
  Faces Servlet
  
  
  
  
  MyFacesExtensionsFilter
  /faces/myFacesExtensionResource/*
  

  
multipartFormdataFilter

org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter
  
  
multipartFormdataFilter
/faces/*
  
  
FacesServlet
javax.faces.webapp.FacesServlet
3
  

  
ResourceServlet

org.apache.myfaces.tobago.servlet.ResourceServlet
  

  

  
FacesServlet
/faces/*
  

  
ResourceServlet
/org/apache/myfaces/tobago/renderkit/*
  

Is there something else I need to do?

After deploying I’m getting:
12:16:17 ScannerThread INFO   TobagoLifecycleFactory  - new 
TobagoLifecycleFactory   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycleIds()   
12:16:18 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:18 ScannerThread ERROR  STDERR  - Feb 9, 2009 12:16:18 PM 
com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans 
methods marked with these annotations will have said annotations processed.   
12:16:18 ScannerThread INFO   ViewHandlerImpl  - Hiding RI base implemation: 
com.sun.faces.application.viewhandleri...@13a05d2   
12:16:20 ScannerThread INFO   TobagoMultipartFormdataFilter  - Configure 
uploadRepositryPath for 
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter to 
C:\Users\daphnad\AppData\Local\Temp\   
12:16:20 ScannerThread INFO   TobagoMultipartFormdataFilter  - Configure 
uploadMaxFileSize for 
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter to 1048576   
12:16:20 ScannerThread INFO   CacheManager  - Selected 
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory   
12:16:20 ScannerThread INFO   LRUMapCacheFactory  - Creating LRUMap cache 
instance using parameters: {javax.faces.DEFAULT_SUFFIX=.xhtml, 
javax.faces.CONFIG_FILES=/WEB-INF/faces-config.xml, 
javax.faces.STATE_SAVING_METHOD=server, org.richfaces.SKIN=blueSky, 
net.sf.jsfcomp.chartcreator.USE_CHARTLET=true}   
12:16:20 ScannerThread INFO   LRUMapCacheFactory  - Creating LRUMap cache 
instance of default capacity   
12:16:20 ScannerThread INFO   CacheManager  - Selected 
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory   
12:16:20 ScannerThread INFO   LRUMapCacheFactory  - Creating LRUMap cache 
instance using parameters: {javax.faces.DEFAULT_SUFFIX=.xhtml, 
javax.faces.CONFIG_FILES=/WEB-INF/faces-config.xml, 
javax.faces.STATE_SAVING_METHOD=server, org.richfaces.SKIN=blueSky, 
net.sf.jsfcomp.chartcreator.USE_CHARTLET=true}   
12:16:20 ScannerThread INFO   LRUMapCacheFactory  - Creating LRUMap cache 
instance of default capacity   

When I tried to access my application I’m getting the following exception:

12:16:20 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:16:20 ScannerThread INFO   TobagoLifecycleFactory  - getLifecycle("DEFAULT") 
 -> TobagoLifecycle   
12:17:04 http-0.0.0.0-443-