Letractively / wro4j

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

Dynamically create WroModel #821

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It should be possible to create WroModel dynamically based on 
HttpServletRequest. Example: extract the required resources from the request 
based on provided parameters.

Currently, the model can be created dynamically, but once created, it will be 
reused for subsequent requests. 

It should be possible to "grow" the model (add new groups and resources) 
dynamically. This approach provides a high degree of flexibility and it should 
be clear for the developer implementing this, that it might have a cost of 
"model security" and "model size explosion". In other words, allowing anybody 
to mutate the model using a simple get request might have unwanted 
consequences. So, this feature must be implemented carefully.

Original issue reported on code.google.com by alex.obj...@gmail.com on 3 Dec 2013 at 3:55