Wildcard parameter matches Polymer elements (like dom-if)

Hello,

I have a project, where I basically want to match every incoming request, so it’s @Route(“”) and also has the @WildcardParameter.

This should work flawlessly, and does, except for 1 thing.

My Polymer component uses dom-if, which creates a separate request to the servlet, which is then matched by my previously mentioned class, doubling the whole page and possibly losing functionality as well (Couldn’t test it yet, as the functionality is not fully implemented).

The request comes to the “frontend/bower_components/ropi-template/components/polymer/lib/elements/dom-if.html” address.

Is there any way to fully solve this discrepancy easily? Is it a problem with vaadin, or with my polymer project?

I realized, that I had an import: “/components/polymer/lib/elements/dom-if.html” which caused this, I removed it and now it’s okay, I don’t seem to have lost any functionality yet either.