Skip to content

Commit

Permalink
adapted naming
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Jul 28, 2023
1 parent 3ea1f63 commit 4cc7eec
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
* Now you can utilize the back functionality quite easily:
*
* <pre>
* {@code <cui:button icon="ui-icon-cancel" id="cancel" titleKey="common.button.cancel" labelKey="common.button.cancel" outcome="back" />}
* {@code <boot:button icon="ui-icon-cancel" id="cancel" titleKey="common.button.cancel" labelKey="common.button.cancel" outcome="back" />}
* </pre>
*
* or
*
* <pre>
* {@code <cui:commandButton icon="ui-icon-disk" id="saveSubscriptions"
* {@code <boot:commandButton icon="ui-icon-disk" id="saveSubscriptions"
* titleKey="common.button.save"
* labelKey="common.button.save" action="back"
* actionListener=#&#123;subscriptionsDialogPageBean.saveSubscriptions&#125;" />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
* <h2>Usage</h2>
*
* <pre>
* &lt;cui:labeledContainer&gt;
* &lt;boot:labeledContainer&gt;
* &lt;h:inputText /&gt;
* &lt;cui:helpText contentKey="xy" /&gt;
* &lt;/cui:labeledContainer&gt;
* &lt;/boot:labeledContainer&gt;
* </pre>
*
* @author Matthias Walliczek
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
* <h2>Usage</h2>
*
* <pre>
* &lt;cui:labeledContainer&gt;&lt;h:inputText /&gt;&lt;/cui:labeledContainer&gt;
* &lt;boot:labeledContainer&gt;&lt;h:inputText /&gt;&lt;/boot:labeledContainer&gt;
* </pre>
*
* @author Matthias Walliczek
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
* <h2>Usage</h2>
*
* <pre>
* &lt;cui:navigationMenu model="#{model}" /&gt;
* &lt;cui:navigationMenu modelItems="#{modelItems}" /&gt;
* &lt;boot:navigationMenu model="#{model}" /&gt;
* &lt;boot:navigationMenu modelItems="#{modelItems}" /&gt;
* </pre>
*
* @author Sven Haag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import de.cuioss.jsf.bootstrap.BootstrapFamily;

/**
* Enables a parent element like cui:button to control a {@link ModalDialogComponent} to show or
* Enables a parent element like boot:button to control a {@link ModalDialogComponent} to show or
* hide. It acts as an {@link AbstractParentDecorator} saying it writes Html-5 attributes to
* the parent components, the actual heavy-lifting is done by the javascript
* 'javascript.enabler/enabler.modal.js'
Expand All @@ -29,12 +29,12 @@
* <h2>Usage</h2>
*
* <pre>
* &lt;cui:button labelValue="Open"&gt;
* &lt;boot:button labelValue="Open"&gt;
* &lt;cui:modalControl for="dialogId"/&gt;
* &lt;/cui:button&gt;
* &lt;cui:modalDialog id="dialogId" headerValue="Dialog-Header"&gt;
* &lt;/boot:button&gt;
* &lt;boot:modalDialog id="dialogId" headerValue="Dialog-Header"&gt;
* Some Dialog Content
* &lt;/cui:modalDialog&gt;
* &lt;/boot:modalDialog&gt;
* </pre>
* <p>
* <em>Opening</em>: Use {@link ModalControl} attached to button or other control for opening a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
* <h2>Usage</h2>
*
* <pre>
* &lt;cui:button labelValue="Open"&gt;
* &lt;boot:button labelValue="Open"&gt;
* &lt;cui:modalControl for="dialogId"/&gt;
* &lt;/cui:button&gt;
* &lt;cui:modalDialog id="dialogId" headerValue="Dialog-Header"&gt;
* &lt;/boot:button&gt;
* &lt;boot:modalDialog id="dialogId" headerValue="Dialog-Header"&gt;
* Some Dialog Content
* &lt;/cui:modalDialog&gt;
* &lt;/boot:modalDialog&gt;
* </pre>
* <p>
* <em>Opening</em>: Use {@link ModalControl} attached to button or other control for opening a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* <h2>Usage</h2>
*
* <pre>
* &lt;cui:notificationBox state="WARN" /&gt;
* &lt;boot:notificationBox state="WARN" /&gt;
* </pre>
*
* @author Matthias Walliczek
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd">
<namespace>https://cuioss.de/jsf/bootstrap</namespace>
<short-name>boot</short-name>
<tag>
<description>
<![CDATA[Renders a message list. It is based on h:messages but implicitly sets Bootstrap-styling]]></description>
Expand Down Expand Up @@ -1775,15 +1776,15 @@
<description>
<![CDATA[
<p>
Enables a parent element like cui:button to control a ModalDialogComponent to show or hide.
Enables a parent element like boot:button to control a ModalDialogComponent to show or hide.
It acts as an AbstractParentDecorator saying it solely write Html-5 attributes to the parent components,
the actual heavy-lifting is done by the javascript 'javascript.enabler/enabler.modal.js'
<cui:button labelValue="Open">
<boot:button labelValue="Open">
<cui:modalControl for="dialogId"/>
</cui:button>
<cui:modalDialog id="dialogId" headerValue="Dialog-Header">
</boot:button>
<boot:modalDialog id="dialogId" headerValue="Dialog-Header">
Some Dialog Content
</cui:modalDialog>
</boot:modalDialog>
</p>
]]></description>
<tag-name>modalControl</tag-name>
Expand Down Expand Up @@ -1838,10 +1839,10 @@
<pre>
&lt;cui-boot:button labelValue="Open"&gt;
&lt;cui-boot:modalControl for="dialogId"/&gt;
&lt;/cui:button&gt;
&lt;/boot:button&gt;
&lt;cui-boot:modalDialog id="dialogId" headerValue="Dialog-Header"&gt;
Some Dialog Content
&lt;/cui:modalDialog&gt;
&lt;/boot:modalDialog&gt;
</pre>
<h3>Using JavaScript</h3>
<pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
* <h2>Example</h2>
*
* <pre>
* &lt;cui:commandButton ... &gt;
* &lt;boot:commandButton ... &gt;
* &lt;f:ajax render="@this" /&gt;
* &lt;cui:blockElement /&gt;
* &lt;/cui:commandButton &gt;
* &lt;/boot:commandButton &gt;
* </pre>
*
* @author Matthias Walliczek
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd">
<namespace>"https://cuioss.de/jsf/core"</namespace>
<short-name>cui</short-name>
<tag>
<description><![CDATA[Formatting converter for creating / resolving the label of a given CodeType. It
uses the standard LocaleProducerAccessor for accessing the needed Locale]]></description>
Expand Down Expand Up @@ -207,7 +208,7 @@
<description><![CDATA[The inlineConfirm is an alternative to modal confirm dialogs.
<p>In the basic variant it renders the content of the required &lt;facet name="initial"/&gt; as the content, usually a button
and the renders the actual child if the content is clicked. In case you want to close / cancel the inline confirm you can add
a corresponding button with 'data-inline-confirm-cancel', e.g. &lt;cui:button labelKey="common.button.cancel" pt:data-inline-confirm-cancel="cancel" /&gt;</p>]]>
a corresponding button with 'data-inline-confirm-cancel', e.g. &lt;boot:button labelKey="common.button.cancel" pt:data-inline-confirm-cancel="cancel" /&gt;</p>]]>
</description>
<tag-name>inlineConfirm</tag-name>
<component>
Expand Down

0 comments on commit 4cc7eec

Please sign in to comment.