Skip to content

Commit

Permalink
Prepare release of version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flange-ipb committed Feb 16, 2021
1 parent 576e1a7 commit 4f07b99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.ipb_halle</groupId>
<artifactId>molecularfaces</artifactId>
<version>0.1-SNAPSHOT</version>
<version>0.1.0</version>
<packaging>jar</packaging>

<scm>
Expand Down Expand Up @@ -106,10 +106,5 @@
<version>7.0</version>
<scope>provided</scope>
</dependency>
<!--<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<version>3.10.1</version>
</dependency>-->
</dependencies>
</project>
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The artifacts have not been submitted to Maven Central yet. To include Molecular
<dependency>
<groupId>de.ipb_halle</groupId>
<artifactId>molecularfaces</artifactId>
<version>0.1-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>
```

Expand Down Expand Up @@ -88,7 +88,7 @@ private String structure = "";
The component `<mol:molecule>` uses the JSTL tag `<c:if test="...">` internally for switching the plugin type. Thus, it shall [not be used inside iterating JSF components](https://stackoverflow.com/a/3343681) like `<h:dataTable>` or `<ui:repeat>` if they iterate the `pluginType` attribute. The functionally identical component `<mol:moleculeRepeatable>` is available for this case, which uses `<ui:fragment rendered="...">` internally. Note: This component adds all possible plugins to the component tree (including JS and CSS resources), but renders only one of them.

##### Use in modals
Popular JSF component frameworks like (BootsFaces)[https://github.com/TheCoder4eu/BootsFaces-OSP] and (PrimeFaces)[https://github.com/primefaces/primefaces] offer modal components, which can include MolecularFaces plugin components. It might be necessary to execute the init() method of the JavaScript object provided via the `widgetVar` attribute to reinitialize the plugin.
Popular JSF component frameworks like [BootsFaces](https://github.com/TheCoder4eu/BootsFaces-OSP) and [PrimeFaces](https://github.com/primefaces/primefaces) offer modal components, which can include MolecularFaces plugin components. It might be necessary to execute the init() method of the JavaScript object provided via the `widgetVar` attribute to reinitialize the plugin.

Example using a BootsFaces modal:

Expand Down

0 comments on commit 4f07b99

Please sign in to comment.