Bundles are a group of resources.
Questions tagged [bundles]
179 questions
46
votes
1 answer
How to handle Translation in twig file using variables?
I have a twig file and a yml, in which I define the variables for translation
e.g.:
YML File -
variable.for.translation: Disponible, para tí
Content of Twig File -
"Hola, Follow {{ variableName }} en Twitter
I wanted to make a…
Arpit Rawat
- 1,817
- 2
- 20
- 28
16
votes
4 answers
Should we Use ViewModels to communicate between 2 different fragments or bundles in single activity App Architecture?
Scenario 1 - If we use ViewModels to communicate between fragments, then the ViewModel has to be created by activity reference and hence going to stay there in memory until the activity is destroyed.
Scenario 2 - In master-detail flow ViewModel…

Anand Kumar
- 1,439
- 1
- 15
- 22
13
votes
2 answers
Symfony2 : customize error pages for different bundles
I have several bundles and I'd like to know if it is possible to customize for each bundle their own error pages.
I read the cookbook and the examples show only a generic customize page for all bundles.
Is there a way to override the exception…

Boun
- 413
- 4
- 17
8
votes
1 answer
FOSFacebookBundle and FOSUserBundle working together
I'm developing a website with Symfony2.
I installed FOSUserBundle successfully. Now I would like to install FOSFacebookBundle so that it will work with FOSUserBundle.
I don't really understand the whole "provider user" thing. In the…

httpete
- 5,875
- 4
- 32
- 41
8
votes
3 answers
How do you organize your bundles in Symfony2 projects?
I have the exact question that this guy has: http://groups.google.com/group/symfony2/browse_thread/thread/cd35132cc6972f29
I'll just copy-paste it here:
I was wondering what different ways of organizing bundles within a
project people are…

Ohas
- 1,887
- 4
- 21
- 29
8
votes
3 answers
Maven: Unresolved references to [org.osgi.service.http]
I'm trying to create a bundle using HttpService for register Servlet using maven-bundle-plugin.
The pom.xml of the project is:

Simone Vellei
- 342
- 1
- 4
- 15
8
votes
3 answers
MVC4 Script Bundles Caching issue
We have an MVS application where we are bundling the javascript code using Bundle class ( don't do minification).
Bundling just works fine, but when we run the application, Cache value is set to Cache-Control:no-cache and at the same time every time…

Bhargava
- 329
- 5
- 13
8
votes
6 answers
Service References in OSGi
Once an instance of an OSGi service is retrieved from the bundle context does it become invalidated when the service is stopped?
My initial tests show that the service instance can be used even after the service bundle is stopped, which contradicts…

James Carr
- 797
- 2
- 10
- 21
6
votes
1 answer
what is the difference between framework and bundle in iphone OS?
what is the difference between framework and bundle in iphone OS?

suse
- 10,503
- 23
- 79
- 113
5
votes
1 answer
Equinox and OSGI bundles
I am trying to understand how Equinox works by looking through its underlying bundles.
Can someone explain in general terms (or point out a good resource to understand) the relationship/difference between the org.eclipse.osgi and org.eclipse.equinox…

alex28
- 552
- 2
- 10
- 19
5
votes
1 answer
How can I find app/AppKernel.php in Symfony 4?
I want to register a bundle in the AppKernel Class in Symfony 4 according to this tutorial:
https://symfony.com/doc/3.3/bundles.html
But I do not find a folder "app", and also not the file AppKernel.php, so not the class AppKernel. Did I made a…

peace_love
- 6,229
- 11
- 69
- 157
4
votes
2 answers
Symfony2: How to update a bundle whose source files have been modified?
I am using the KNP Pagination Bundle. I customized the twig file in the bundle source. Then I found a better way of doing it without touching the bundle's files.
Unfortunately, now everytime that I do
bin/vendors install
I get the following…

VishwaKumar
- 3,433
- 8
- 44
- 72
4
votes
3 answers
How can we install webpack on Windows?
I have installed webpack on Ubuntu using following command on terminal
npm install -g webpack
How to install same on Windows?

Mayank Sethi
- 197
- 1
- 1
- 10
4
votes
1 answer
Symfony 2 reusable bundles
Let's say I want to create a Blog in Symfony which lives in BlogBundle. But this BlogBundle has dependencies on other bundles like FOSUserBundle, KnpPaginator bundle, FMBbCodeBundle or whatever I end up using. Does this mean I can't really reuse the…

tobias ingold
- 129
- 1
- 9
4
votes
2 answers
ASP.NET MVC multiple virtualpath Bundle with CDN
I´m trying to add some CDN capable bundle with ASP.NET MVC 4. The purpose is to share content locally by many other sites hosted in the same data center
The first attempt was:
bundles.Add(new ScriptBundle("~/bundles/jquery",…

MarcosRP
- 41
- 1
- 4