Add ability to edit "Add" label in Flat/Accordion View #353

RichSharpe opened this Issue Aug 5, 2015 · 0 comments


None yet
2 participants

Rather than static text for the 'new' form button at the top of a FlatView or Accordion. Can we have a property that allows the developer to set this?
I've edited line 68 in UnpFlatView (local version) with the following code:

<i class="fa fa-plus"></i>
<xp:label id="label2">
<xp:this.value><![CDATA[#{javascript:if(compositeData.newFormLabel == "" || compositeData.newFormLabel == null){
return "Add";
return compositeData.newFormLabel;

@whitemx whitemx added the enhancement label Oct 15, 2015

@whitemx whitemx added this to the 1.5.2 milestone Oct 15, 2015

@whitemx whitemx self-assigned this Oct 15, 2015

@whitemx whitemx closed this in 20391d9 Oct 21, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment