orchestra

Laravel7 orchestral/tenanti with multiple databases not working

人盡茶涼 提交于 2020-12-15 06:04:00
问题 Can anyone please help on this. Tenanti Version: ^5.0 Laravel Version: 7.x PHP Version: 7.4 Database Driver & Version: mysql-5.7.31 Description : When I install tenanti version getting an error in service provider. Illuminate\Contracts\Container\BindingResolutionException Unable to resolve dependency [Parameter #1 [ array $config ]] in class App\Providers\AppServiceProvider Steps To Reproduce: "orchestra/tenanti": "^5.0", In appServiceProvider page added like below. I have removed my code and

Laravel7 orchestral/tenanti with multiple databases not working

孤街醉人 提交于 2020-12-15 06:03:48
问题 Can anyone please help on this. Tenanti Version: ^5.0 Laravel Version: 7.x PHP Version: 7.4 Database Driver & Version: mysql-5.7.31 Description : When I install tenanti version getting an error in service provider. Illuminate\Contracts\Container\BindingResolutionException Unable to resolve dependency [Parameter #1 [ array $config ]] in class App\Providers\AppServiceProvider Steps To Reproduce: "orchestra/tenanti": "^5.0", In appServiceProvider page added like below. I have removed my code and

Laravel7 orchestral/tenanti with multiple databases not working

三世轮回 提交于 2020-12-15 06:03:25
问题 Can anyone please help on this. Tenanti Version: ^5.0 Laravel Version: 7.x PHP Version: 7.4 Database Driver & Version: mysql-5.7.31 Description : When I install tenanti version getting an error in service provider. Illuminate\Contracts\Container\BindingResolutionException Unable to resolve dependency [Parameter #1 [ array $config ]] in class App\Providers\AppServiceProvider Steps To Reproduce: "orchestra/tenanti": "^5.0", In appServiceProvider page added like below. I have removed my code and

Removing MyFaces Orchestra's “conversationContext” GET parameter from static resources (css, images)

徘徊边缘 提交于 2019-12-10 17:24:46
问题 MyFaces Orchestra adds a ?conversationContext=x to each resource on a page. Since I'm not using the conversation scope for the public part of my project (only for the admin part), I'd like to get rid of that parameter for two reasons: it breaks the browser caching of static resources it's ugly :) I'm now going to take a look at Orchestra's source-code, and perhaps bypass something, but it would be best if there is an option for this I'm unaware of 回答1: The answer to that question is simple,

How to remove Orchestra converstation context parameter for static resources?

泪湿孤枕 提交于 2019-12-10 10:46:38
问题 To provide proper browser caching I want to get rid of the conversationContext parameter, that Apache MyFaces Orchestra adds to every request, for requests to css files. As Bozho suggested, I've implemented a filter that sets the attribute Orchestra is looking for. public class ResourceFilter implements Filter { @Override public void doFilter(ServletRequest request, ServletResponse theResponse, FilterChain theChain) throws IOException, ServletException { if(shouldNotAppendConversation(request

WARN: Could not register destruction callback

巧了我就是萌 提交于 2019-11-30 06:56:37
15:11:14,676 WARN FacesRequestAttributes:121 - Could not register destruction callback [org.springframework.beans.factory.support.DisposableBeanAdapter@1059fd6] for attribute 'purchaseController' because FacesRequestAttributes does not support such callbacks This warn message appears in my log a lot . For every managed bean whenever it expires. It expires after a given time, because I'm using MyFaces Orchestra. I have defined the org.springframework.web.context.request.RequestContextListener in my web.xml , and I don't have the spring jar only ones on my classpath (i.e. not a class-loading

WARN: Could not register destruction callback

不打扰是莪最后的温柔 提交于 2019-11-29 08:07:09
问题 15:11:14,676 WARN FacesRequestAttributes:121 - Could not register destruction callback [org.springframework.beans.factory.support.DisposableBeanAdapter@1059fd6] for attribute 'purchaseController' because FacesRequestAttributes does not support such callbacks This warn message appears in my log a lot . For every managed bean whenever it expires. It expires after a given time, because I'm using MyFaces Orchestra. I have defined the org.springframework.web.context.request.RequestContextListener