Changeset 3526
- Timestamp:
- 03/29/12 13:52:49
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.8/deployment/webadmin/webapp/resources/default/default/default.xsl
r3525 r3526 2683 2683 <xsl:if test="form/location/preferred/select/option"> 2684 2684 <select name="prefLocationId" id="bwPreferredLocationList"> 2685 <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 2686 <xsl:attribute name="class">invisible</xsl:attribute> 2687 </xsl:if> 2685 2688 <option value=""> 2686 2689 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> … … 2690 2693 </xsl:if> 2691 2694 <select name="allLocationId" id="bwAllLocationList"> 2692 <xsl:if test="form/location/preferred/select/option ">2695 <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 2693 2696 <xsl:attribute name="class">invisible</xsl:attribute> 2694 2697 </xsl:if> … … 2702 2705 locations exist --> 2703 2706 <xsl:if test="form/location/preferred/select/option"> 2704 <input type="radio" name="toggleLocationLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"/> 2707 <input type="radio" name="toggleLocationLists" value="preferred" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"> 2708 <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 2709 <xsl:attribute name="checked">checked</xsl:attribute> 2710 </xsl:if> 2711 </input> 2705 2712 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 2706 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"/> 2713 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"> 2714 <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 2715 <xsl:attribute name="checked">checked</xsl:attribute> 2716 </xsl:if> 2717 </input> 2707 2718 <xsl:copy-of select="$bwStr-AEEF-All"/> 2708 2719 </xsl:if> … … 2759 2770 <xsl:if test="form/contact/preferred/select/option"> 2760 2771 <select name="prefContactId" id="bwPreferredContactList"> 2772 <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 2773 <xsl:attribute name="class">invisible</xsl:attribute> 2774 </xsl:if> 2761 2775 <option value=""> 2762 2776 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> … … 2766 2780 </xsl:if> 2767 2781 <select name="allContactId" id="bwAllContactList"> 2768 <xsl:if test="form/contact/preferred/select/option ">2782 <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 2769 2783 <xsl:attribute name="class">invisible</xsl:attribute> 2770 2784 </xsl:if> … … 2778 2792 contacts exist --> 2779 2793 <xsl:if test="form/contact/preferred/select/option"> 2780 <input type="radio" name="toggleContactLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"/> 2794 <input type="radio" name="toggleContactLists" value="preferred" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"> 2795 <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 2796 <xsl:attribute name="checked">checked</xsl:attribute> 2797 </xsl:if> 2798 </input> 2781 2799 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 2782 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"/> 2800 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"> 2801 <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 2802 <xsl:attribute name="checked">checked</xsl:attribute> 2803 </xsl:if> 2804 </input> 2783 2805 <xsl:copy-of select="$bwStr-AEEF-All"/> 2784 2806 </xsl:if> trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r3525 r3526 2683 2683 <xsl:if test="form/location/preferred/select/option"> 2684 2684 <select name="prefLocationId" id="bwPreferredLocationList"> 2685 <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 2686 <xsl:attribute name="class">invisible</xsl:attribute> 2687 </xsl:if> 2685 2688 <option value=""> 2686 2689 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> … … 2690 2693 </xsl:if> 2691 2694 <select name="allLocationId" id="bwAllLocationList"> 2692 <xsl:if test="form/location/preferred/select/option ">2695 <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 2693 2696 <xsl:attribute name="class">invisible</xsl:attribute> 2694 2697 </xsl:if> … … 2702 2705 locations exist --> 2703 2706 <xsl:if test="form/location/preferred/select/option"> 2704 <input type="radio" name="toggleLocationLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"/> 2707 <input type="radio" name="toggleLocationLists" value="preferred" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"> 2708 <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 2709 <xsl:attribute name="checked">checked</xsl:attribute> 2710 </xsl:if> 2711 </input> 2705 2712 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 2706 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"/> 2713 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"> 2714 <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 2715 <xsl:attribute name="checked">checked</xsl:attribute> 2716 </xsl:if> 2717 </input> 2707 2718 <xsl:copy-of select="$bwStr-AEEF-All"/> 2708 2719 </xsl:if> … … 2759 2770 <xsl:if test="form/contact/preferred/select/option"> 2760 2771 <select name="prefContactId" id="bwPreferredContactList"> 2772 <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 2773 <xsl:attribute name="class">invisible</xsl:attribute> 2774 </xsl:if> 2761 2775 <option value=""> 2762 2776 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> … … 2766 2780 </xsl:if> 2767 2781 <select name="allContactId" id="bwAllContactList"> 2768 <xsl:if test="form/contact/preferred/select/option ">2782 <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 2769 2783 <xsl:attribute name="class">invisible</xsl:attribute> 2770 2784 </xsl:if> … … 2778 2792 contacts exist --> 2779 2793 <xsl:if test="form/contact/preferred/select/option"> 2780 <input type="radio" name="toggleContactLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"/> 2794 <input type="radio" name="toggleContactLists" value="preferred" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"> 2795 <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 2796 <xsl:attribute name="checked">checked</xsl:attribute> 2797 </xsl:if> 2798 </input> 2781 2799 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 2782 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"/> 2800 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"> 2801 <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 2802 <xsl:attribute name="checked">checked</xsl:attribute> 2803 </xsl:if> 2804 </input> 2783 2805 <xsl:copy-of select="$bwStr-AEEF-All"/> 2784 2806 </xsl:if>
