Skip to content

Commit

Permalink
Fix #353
Browse files Browse the repository at this point in the history
  • Loading branch information
whitemx committed Oct 21, 2015
1 parent a11a738 commit 20391d9
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 3 deletions.
8 changes: 7 additions & 1 deletion sampler-app/CustomControls/UnpBootAccordionView.xsp
Expand Up @@ -84,7 +84,13 @@
</xp:attr>
</xp:this.attrs>
<i class="fa fa-plus"></i>
<span>&#160;Add</span>
<xp:label id="newlabel">
<xp:this.value><![CDATA[#{javascript:if(compositeData.newFormLabel == "" || compositeData.newFormLabel == null){
return "Add";
}else{
return compositeData.newFormLabel;
}}]]></xp:this.value>
</xp:label>
</xp:panel>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions sampler-app/CustomControls/UnpBootAccordionView.xsp-config
Expand Up @@ -115,5 +115,9 @@ no</editor-parameter>
</designer-extension>
</property-extension>
</property>
<property>
<property-name>newFormLabel</property-name>
<property-class>string</property-class>
</property>
</composite-component>
</faces-config>
8 changes: 7 additions & 1 deletion sampler-app/CustomControls/UnpBootDetailedView.xsp
Expand Up @@ -109,7 +109,13 @@
</xp:attr>
</xp:this.attrs>
<i class="fa fa-plus"></i>
<span>&#160;Add</span>
<xp:label id="newlabel">
<xp:this.value><![CDATA[#{javascript:if(compositeData.newFormLabel == "" || compositeData.newFormLabel == null){
return "Add";
}else{
return compositeData.newFormLabel;
}}]]></xp:this.value>
</xp:label>
</xp:panel>
</xp:div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions sampler-app/CustomControls/UnpBootDetailedView.xsp-config
Expand Up @@ -131,5 +131,9 @@ no</editor-parameter>
</designer-extension>
</property-extension>
</property>
<property>
<property-name>newFormLabel</property-name>
<property-class>string</property-class>
</property>
</composite-component>
</faces-config>
8 changes: 7 additions & 1 deletion sampler-app/CustomControls/UnpBootFlatView.xsp
Expand Up @@ -106,7 +106,13 @@
</xp:attr>
</xp:this.attrs>
<i class="fa fa-plus"></i>
<span>&#160;Add</span>
<xp:label id="newlabel">
<xp:this.value><![CDATA[#{javascript:if(compositeData.newFormLabel == "" || compositeData.newFormLabel == null){
return "Add";
}else{
return compositeData.newFormLabel;
}}]]></xp:this.value>
</xp:label>
</xp:panel>
</xp:div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions sampler-app/CustomControls/UnpBootFlatView.xsp-config
Expand Up @@ -123,5 +123,9 @@ no</editor-parameter>
</designer-extension>
</property-extension>
</property>
<property>
<property-name>newFormLabel</property-name>
<property-class>string</property-class>
</property>
</composite-component>
</faces-config>

0 comments on commit 20391d9

Please sign in to comment.