Nov 17, 2016, 9:59 AM
3 Posts

@Name within a repeat control

  • Category: Forum design
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: Repeat Control
  • Replies: 1

Hi All,


I have an app I am build which will allow the users to enter the approvers for each document manually.  I wanted to put this in a repeat control instead of hard coding all the fields in the xpage.  All is working as I want, except the names are stored in the document in the Canonical format.  I don't want to present this to the user, I want to just show the Abbreviated name.  I can't seem to get it working.  Below is my repeat. I highlighted the line I need to update.


Thanks in Advance


   <xp:this.value><![CDATA[#{javascript:["1", "2", "3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"]}]]></xp:this.value>

           <xp:label id="label31"><xp:this.value><![CDATA[#{javascript:"Approver - " + rowItem}]]></xp:this.value></xp:label><xp:label id="label33" value="Name"></xp:label>
           <xp:inputText id="nameinputText"
            style="width:333.0px" rendered="#{javascript:!document1.isEditable()}">

<xp:inputText id="inputText9" value="#{document1[fieldName]}" style="width:333.0px">
           <xe:namePicker id="namePicker1"
                addressBookSel="db-name" groups="false"
                <xe:this.addressBookDb><![CDATA[#{javascript:@Subset(@DbName(), 1) + "!!names.nsf"}]]></xe:this.addressBookDb>
       <xp:repeat id="repeat5" var="fieldName">
        <xp:label id="label32" value="Title"></xp:label>

        <xp:inputText id="inputText10"
                <xp:inputText id="inputText11" value="#{document1[fieldName]}">
                <xp:inputText id="inputText12" value="#{document1[fieldName]}">

The information contained in and transmitted with this Email may be privileged, proprietary, confidential and protected from disclosure. No privilege is hereby intended to be waived. This Email is intended only for the person to whom it is addressed. If you are not the intended recipient/addressee, any use of the Email and/or its contents, including, but not limited to, dissemination, distribution or copying is strictly prohibited and may be unlawful, and you must not take any action in reliance on it. If you receive this Email in error, please immediately notify the sender and delete the original message and any copies of it from your computer system. We deny any liability for damages resulting from the use of this Email by the unintended recipient, including the recipient in error.