You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/09/09 06:10:07 UTC

[GitHub] [netbeans] t-oster opened a new pull request #2357: Add Plugin for BootsFaces in order to support
t-oster opened a new pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357


   Hi,
   
   I am using NetBeans with BootsFaces (https://www.bootsfaces.net/). It works quite good, but the autocomplete fails on tags, which create scoped variables like `<b:dataTable value=[ListOfType<B>] var="x"/>` which creates a scoped variable `x` of type `B`.
   I just copied the `@ServiceProvider(service = TagFeatureProvider.class)` from the PrimeFaces plugin, but since the org.netbeans.modules.web.jsfapi does not seem to expose this API I had to add my plugin as friend module.
   
   I failed at creating a standalone module without adding a friend module, so my question is if you would include this module or what would be the correct way to add this functionality?
   
   I also thought about a more generic plugin, where the user can specify a list of tags (namespace, tagName, var, value) which enables autocomplete in EL for those without creating a separate plugin for every taglib.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on a change in pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on a change in pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#discussion_r487246397



##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-705554995


   Just remove the empty layer.xml I've checked out this PR removed the layer.xml, it still builds fine. Then we can finally merge this.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-705559977


   > Just remove the empty layer.xml I've checked out this PR removed the layer.xml, it still builds fine. Then we can finally merge this.
   
   I will do this, but i think it will build fine, but it won't run when you try to install the plugin.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-705554995


   Just remove the empty layer.xml I've checked out this PR removed the layer.xml, it still builds fine. Then we can finally merge this.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-732402699


   This will not be part of 12.2 as the registration of the module in the cluster is missing: https://issues.apache.org/jira/browse/NETBEANS-5054


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-705559977


   > Just remove the empty layer.xml I've checked out this PR removed the layer.xml, it still builds fine. Then we can finally merge this.
   
   I will do this, but i think it will build fine, but it won't run when you try to install the plugin.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on a change in pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
lkishalmi commented on a change in pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#discussion_r485833903



##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on a change in pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
lkishalmi commented on a change in pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#discussion_r485833903



##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on a change in pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
lkishalmi commented on a change in pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#discussion_r485833903



##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing

##########
File path: enterprise/web.bootsfaces/nbproject/project.properties
##########
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+javac.source=1.7

Review comment:
       Use 1.8

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       If the layer file is empty, it shall be not committed.

##########
File path: enterprise/web.bootsfaces/licenseinfo.xml
##########
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<licenseinfo>

Review comment:
       Empty licenseinfo is not required.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";

Review comment:
       //NOI18N-s are missing

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/BootsFacesTagFeatureProvider.java
##########
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.web.bootsfaces;
+
+import java.util.Collection;
+import java.util.Collections;
+import org.netbeans.modules.web.jsfapi.api.Attribute;
+import org.netbeans.modules.web.jsfapi.api.Library;
+import org.netbeans.modules.web.jsfapi.api.Tag;
+import org.netbeans.modules.web.jsfapi.api.TagFeature;
+import org.netbeans.modules.web.jsfapi.spi.TagFeatureProvider;
+import org.openide.util.lookup.ServiceProvider;
+
+/**
+ * {@link TagFeatureProvider} for BootsFaces.
+ * 
+ * @author toster
+ */
+@ServiceProvider(service = TagFeatureProvider.class)
+public class BootsFacesTagFeatureProvider implements TagFeatureProvider {
+
+    private static final String BOOTSFACES_UI_NAMESPACE = "http://bootsfaces.net/ui";
+
+    private static final String VALUE = "value";
+    private static final String VAR = "var";
+        
+    @Override
+    public <T extends TagFeature> Collection<T> getFeatures(final Tag tag, Library library, Class<T> clazz) {
+        if (clazz.equals(TagFeature.IterableTagPattern.class)) {
+            final BootsFacesTagFeatureProvider.IterableTag iterableTag = resolveIterableTag(library, tag);
+            if (iterableTag != null) {
+                return Collections.singleton(clazz.cast(new TagFeature.IterableTagPattern() {
+                    @Override
+                    public Attribute getVariable() {
+                        return tag.getAttribute(iterableTag.getVariableAtribute());
+                    }
+
+                    @Override
+                    public Attribute getItems() {
+                        return tag.getAttribute(iterableTag.getItemsAtribute());
+                    }
+                }));
+            }
+
+        }
+        return Collections.emptyList();
+    }
+
+    private BootsFacesTagFeatureProvider.IterableTag resolveIterableTag(Library library, Tag tag) {
+        for (BootsFacesTagFeatureProvider.IterableTag iterableTag : BootsFacesTagFeatureProvider.IterableTag.values()) {
+            if (library.getNamespace() != null
+                    && iterableTag.getNamespace() != null
+                    && library.getNamespace().equalsIgnoreCase(iterableTag.getNamespace())) {
+                return iterableTag;
+            }
+        }
+        return null;
+    }
+
+    private enum IterableTag {
+
+        DATA_TABLE(BOOTSFACES_UI_NAMESPACE, "dataTable", VALUE, VAR);

Review comment:
       Trailing //NOI18N is missing




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-691273981






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-691273981


   Thank you for the review, I will update it asap


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-732434240


   @matthiasblaesing is #2559 what I should do? I added it underneath web.primefaces, because that's what it is based on.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on a change in pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on a change in pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#discussion_r487246397



##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.

##########
File path: enterprise/web.bootsfaces/src/org/netbeans/modules/web/bootsfaces/resources/layer.xml
##########
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review comment:
       I tried to run without it, but it threw an Exception.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] t-oster commented on pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
t-oster commented on pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357#issuecomment-691273981


   Thank you for the review, I will update it asap


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi merged pull request #2357: Add Plugin for BootsFaces in order to support Posted by GitBox <gi...@apache.org>.
lkishalmi merged pull request #2357:
URL: https://github.com/apache/netbeans/pull/2357


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists