changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Tag Library for render separate scripts and links tags for each resource in a group #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The main use case would be to have the tag library render separate <script> and 
<link> tags for each resource in a group, at least when in development mode. In 
other words, we would prefer not to merge resources when developing/debugging, 
for all the obvious reasons (identifiable source files, line numbers, and so 
on).

Original issue reported on code.google.com by alex.obj...@gmail.com on 12 Sep 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Hey Alex,

do you have maybe a timeline for this in my opinion important feature?

Thanks,
Oilid

Original comment by oilid.a...@gmail.com on 14 Mar 2013 at 9:57

GoogleCodeExporter commented 9 years ago
This is a large task which would probably take more time for development. 
However, you have the following alternatives:

1) wro4j-taglib project:https://github.com/Orange-OpenSource/wro4j-taglib this 
one is not part of default wro4j distribution and is being developed 
independently.
2) Develop a js widget which uses the /wroAPI/model endpoint (which returns the 
JSON representation of the model using modelAsJsonRequestHandler: 
http://code.google.com/p/wro4j/wiki/RequestHandler). The js widget would 
iterate through all json nodes describing model resources and would add script 
and link tags...  If you need more guidance on this, I can help..

Original comment by alex.obj...@gmail.com on 14 Mar 2013 at 10:04

GoogleCodeExporter commented 9 years ago
Is there any update on this? This is very needed feature.

Original comment by sveryo...@gmail.com on 17 Jan 2014 at 1:44

GoogleCodeExporter commented 9 years ago
Have you considered using wro4j-taglib 
(https://github.com/Orange-OpenSource/wro4j-taglib) or appfuse approach 
described here:
http://www.operatornew.com/2012/10/adding-web-resource-fingerprinting-to.html

I cannot provide any timeline yet, since there are other features and bug fixes 
I'm working on. Unless there is a community driven contributions provided, I 
don't see how this kind of features can be released very soon.

Original comment by alex.obj...@gmail.com on 17 Jan 2014 at 1:49