We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I have a simple component that extends GridPanel, e.g.,
class ExpandableGridPanel < Netzke::Basepack::GridPanel js_include Netzke::Core.ext_location.join("examples/ux/ RowExpander.js"), css_include "#{File.dirname(FILE)}/ajaxrowexpander/ RowExpander.css"
[other stuff here...] end
and then i create a tab panel, e.g,
<%= netzke :tabs, :class_name => "Basepack::TabPanel", :items => [ {:class_name => 'ExpandableGridPanel', :model => 'User'}, {:class_name => 'ExpandableGridPanel', :model => 'Membership'}, {:class_name => 'ExpandableGridPanel', :model => 'Asset'}, [several more like the above...] ], %>
Then I get the js and css files included numerous times, once for each time the class is used.
The text was updated successfully, but these errors were encountered:
Fixed with https://github.com/skozlov/netzke-core/commit/fdbb1663c476f0c295e07116a5cb3419e66322d0
Sorry, something went wrong.
No branches or pull requests
If I have a simple component that extends GridPanel, e.g.,
class ExpandableGridPanel < Netzke::Basepack::GridPanel
js_include Netzke::Core.ext_location.join("examples/ux/
RowExpander.js"),
css_include "#{File.dirname(FILE)}/ajaxrowexpander/
RowExpander.css"
[other stuff here...]
end
and then i create a tab panel, e.g,
<%= netzke :tabs,
:class_name => "Basepack::TabPanel",
:items => [
{:class_name => 'ExpandableGridPanel', :model => 'User'},
{:class_name => 'ExpandableGridPanel', :model =>
'Membership'},
{:class_name => 'ExpandableGridPanel', :model => 'Asset'},
[several more like the above...]
],
%>
Then I get the js and css files included numerous times, once for each
time the class is used.
The text was updated successfully, but these errors were encountered: