Udo Schnurpfeil created TOBAGO-2122:
---------------------------------------

             Summary: TobagoContext: No own data store
                 Key: TOBAGO-2122
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2122
             Project: MyFaces Tobago
          Issue Type: Bug
            Reporter: Udo Schnurpfeil


The TobagoContext is currently in RequestScope and stores information about the 
used theme and others. In some cases this object can't be injected. (It also 
needs to run with CDI and SpringBoot.) 

Problem: There are rare cases, there are two different objects inside the same 
request.

Possible solution: The accessed via the TobagoContext should not stored insite 
this object, but via FacesContext.

TobagoContext is than only a "helper util" to access information relevant to 
Tobago.

The scope will be irrelevant, but shouldn't be changed in Tobago 5. But may in 
Tobago 6. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to