<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    love fish大鵬一曰同風起,扶搖直上九萬里

    常用鏈接

    統計

    積分與排名

    friends

    link

    最新評論

    Webtop 多行顯示文件屬性值


    處理前


    處理后



    package com.documentum.devprog.control;

    import com.documentum.web.formext.config.IConfigElement;
    import com.documentum.web.formext.control.docbase.DocbaseAttributeValue;
    import com.documentum.web.formext.control.docbase.DocbaseAttributeValueTag;
    import com.documentum.web.formext.control.docbase.DocbaseObject;
    import java.io.IOException;
    import javax.servlet.jsp.JspTagException;
    import javax.servlet.jsp.JspWriter;

    /**
     * 
    @author liaojiyong
     * @date Aug 3, 2009
     * 
    @version 1.0
     
    */

    public class SubjectAttributeValueTag extends DocbaseAttributeValueTag {
        
    protected void renderSingleAttribute(String strFormattedValue, String strValue, boolean bReadonly, boolean bHasCompleteList, JspWriter out) throws IOException, JspTagException {
            String strLines 
    = "1";
            DocbaseAttributeValue value 
    = (DocbaseAttributeValue) getControl();
            DocbaseObject obj 
    = (DocbaseObject) getForm().getControl(value.getObject());

            IConfigElement iConfigElement 
    = obj.getConfigForAttribute(value.getAttribute(), "lines");
            
    if (iConfigElement != null{
                strLines 
    = (iConfigElement.getValue());
            }

            value.setLines(strLines);
            
    super.renderSingleAttribute(strFormattedValue, strValue, bReadonly, bHasCompleteList, out);

        }

    }



    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
        
    <!--***********************************************************************-->
        
    <!-- Copyright (c) 2004-2008. EMC Corporation.  All Rights Reserved.       -->
        
    <!--***********************************************************************-->
        
    <!--                                                                       -->
        
    <!-- Project        Component Library                                      -->
        
    <!-- Module         Attributes                                             -->
        
    <!-- File           docbaseobjectconfiguration_dm_sysobject.xml            -->
        
    <!-- Description    Attributes customization file                          -->
        
    <!-- Created on     August 4, 2004                                         -->
        
    <!-- Tab width      3                                                      -->
        
    <!--                                                                       -->
        
    <!--***********************************************************************-->
        
    <!--                                                                       -->
        
    <!-- VCS Maintained Data                                                   -->
        
    <!--                                                                       -->
        
    <!-- Revision       $Revision: 15$                                           -->
        
    <!-- Modified on    $Date: 4/14/2008 7:56:41 PM$                             -->
        
    <!--                                                                       -->
        
    <!--***********************************************************************-->
    <config version="1.0">
        
    <scope type="dm_sysobject">
            
    <docbaseobjectconfiguration id="attributes">
                
    <names>
                    
    <!-- apply to attribute -->
                    
    <!--            <attribute name='attribute_name'>-->
                    
    <!--               <valuehandler>class.which.implements.IDocbaseAttributeSetValueHandler</valuehandler>-->
                    
    <!--               <valueformatter>class.which.implements.IDocbaseAttributeValueFormatter</valueformatter>-->
                    
    <!--               <tagclass>class.which.extends.DocbaseAttributeTag</tagclass>-->
                    
    <!--               <labeltagclass>class.which.extends.DocbaseAttributeLabelTag</labeltagclass>-->
                    
    <!--               <valuetagclass>class.which.extends.DocbaseAttributeValueTag</valuetagclass>-->
                    
    <!--               <editcomponent>editComponentName</editcomponent>-->
                    
    <!--               <somecustomelement>values specific to tag implementation</somecustomelement>-->
                    
    <!--            </attribute>-->
                    
    <!-- Apply custom behavior to the 'a_storage_type' attribute -->

                    
    <!-- Apply custom behavior to the 'subject' attribute -->
                    
    <attribute name='subject'>
                        
    <valuetagclass>com.documentum.devprog.control.SubjectAttributeValueTag</valuetagclass>
                        
    <lines>3</lines>
                    
    </attribute>
                    
    <attribute name="a_storage_type">
                        
    <valuehandler>com.documentum.web.formext.control.docbase.DocbaseAttributeStorageTypeValueHandler</valuehandler>
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeStorageTypeValueFormatter</valueformatter>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'r_object_id' attribute -->
                    
    <attribute name="r_object_id">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeObjectIdValueFormatter</valueformatter>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'i_chronicle_id' attribute -->
                    
    <attribute name="i_chronicle_id">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeChronicleIdValueFormatter</valueformatter>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'r_policy_id' attribute -->
                    
    <attribute name="r_policy_id">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributePolicyIdValueFormatter</valueformatter>
                        
    <valuehandler>com.documentum.webcomponent.library.actions.lifecycle.DocbaseAttributePolicyIdValueHandler</valuehandler>
                        
    <valuetagclass>com.documentum.webcomponent.library.actions.lifecycle.DocbaseAttributePolicyIdValueTag</valuetagclass>
                        
    <editcomponent>selectlifecycle</editcomponent>
                        
    <invocation>
                            
    <modalpopup>
                                
    <windowsize>large</windowsize>
                                
    <refreshparentwindow>onok</refreshparentwindow>
                            
    </modalpopup>
                        
    </invocation>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'r_version_label' attribute -->
                    
    <attribute name="r_version_label">
                        
    <valuehandler>com.documentum.web.formext.control.docbase.DocbaseAttributeVersionLabelSetValueHandler</valuehandler>
                        
    <editcomponent>versionlabels</editcomponent>
                        
    <invocation>
                            
    <modalpopup>
                                
    <windowsize>small</windowsize>
                                
    <refreshparentwindow>onok</refreshparentwindow>
                            
    </modalpopup>
                        
    </invocation>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'r_current_state' attribute -->
                    
    <attribute name="r_current_state">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeLifecycleStateValueFormatter</valueformatter>
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.DocbaseAttributeLifecycleStateValueTag</valuetagclass>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'r_resume_state' attribute -->
                    
    <attribute name="r_resume_state">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeLifecycleStateValueFormatter</valueformatter>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'r_alias_set_id' attribute -->
                    
    <attribute name="r_alias_set_id">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeAliasSetIdValueFormatter</valueformatter>
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.DocbaseAttributeAliasSetIdValueTag</valuetagclass>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'owner_name' attribute -->
                    
    <attribute name="owner_name">
                        
    <editcomponent>selectuserorgroupattributevalue</editcomponent>
                        
    <invocation>
                            
    <modalpopup>
                                
    <windowsize>large</windowsize>
                                
    <refreshparentwindow>onok</refreshparentwindow>
                            
    </modalpopup>
                        
    </invocation>
                    
    </attribute>
                    
    <!-- Apply custom behavior to the 'object_name' attribute -->
                    
    <attribute name="object_name">
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.RequiredDocbaseAttributeValueTag</valuetagclass>
                    
    </attribute>
                
    </names>
                
    <types>
                    
    <!--            <attribute type='type_name (e.g., boolean, integer, string, id, time, double) or psuedo_type_name' -->
                    
    <!--                       [repeatingonly='true/false'] -->
                    
    <!--                       [singleonly='true/false']>-->
                    
    <!--               <valuehandler>class.which.implements.IDocbaseAttributeSetValueHandler</valuehandler>-->
                    
    <!--               <valueformatter>class.which.implements.IDocbaseAttributeValueFormatter</valueformatter>-->
                    
    <!--               <tagclass>class.which.extends.DocbaseAttributeTag</tagclass>-->
                    
    <!--               <labeltagclass>class.which.extends.DocbaseAttributeLabelTag</labeltagclass>-->
                    
    <!--               <valuetagclass>class.which.extends.DocbaseAttributeValueTag</valuetagclass>-->
                    
    <!--               <editcomponent>editComponentName</editcomponent>-->
                    
    <!--               <somecustomelement>values specific to tag implementation</somecustomelement>-->
                    
    <!--            </attribute>-->
                    
    <attribute type="rich_text" repeatingonly="false" singleonly="false">
                        
    <!--   <valuehandler>class.which.implements.RichTextDocbaseAttributeTag</valuehandler>-->
                        
    <tagclass>com.documentum.web.formext.control.docbase.RichTextDocbaseAttributeTag</tagclass>
                        
    <labeltagclass>com.documentum.web.formext.control.docbase.RichTextDocbaseAttributeLabelTag</labeltagclass>
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.RichTextDocbaseAttributeValueTag</valuetagclass>
                        
    <!-- To turn off toolbar items, uncomment the attribute-->
                        
    <!--               <showfonts>false</showfonts>-->
                        
    <!--               <showcharformatting>false</showcharformatting>-->
                        
    <!--               <showsparaformatting>false</showsparaformatting>-->
                        
    <!--               <showclipboard>false</showclipboard>-->
                        
    <!--               <showimages>false</showimages>-->
                        
    <!--               <showspellchecker>false</showspellchecker>-->
                        
    <!--               <showlinks>false</showlinks>-->
                    
    </attribute>
                    
    <attribute type="show_topic" repeatingonly="false" singleonly="true">
                        
    <tagclass>com.documentum.web.formext.control.docbase.ShowTopicDocbaseAttributeTag</tagclass>
                        
    <labeltagclass>com.documentum.web.formext.control.docbase.ShowTopicDocbaseAttributeLabelTag</labeltagclass>
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.ShowTopicDocbaseAttributeValueTag</valuetagclass>
                        
    <valuehandler>com.documentum.web.formext.control.docbase.ShowTopicDocbaseAttributeValueHandler</valuehandler>
                        
    <showtopic>false</showtopic>
                        
    <!-- default setting for this attribute-->
                    
    </attribute>
                    
    <attribute type="mail_addr" repeatingonly="false" singleonly="false">
                        
    <tagclass>com.documentum.web.formext.control.docbase.messagearchive.MessageArchiveAddrDocbaseAttributeTag</tagclass>
                        
    <labeltagclass>com.documentum.web.formext.control.docbase.messagearchive.MessageArchiveAddrDocbaseAttributeLabelTag</labeltagclass>
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.messagearchive.MessageArchiveAddrDocbaseAttributeValueTag</valuetagclass>
                    
    </attribute>
                    
    <attribute type="mail_attachment" repeatingonly="false" singleonly="false">
                        
    <tagclass>com.documentum.web.formext.control.docbase.messagearchive.MessageArchiveAttachDocbaseAttributeTag</tagclass>
                        
    <labeltagclass>com.documentum.web.formext.control.docbase.messagearchive.MessageArchiveAttachDocbaseAttributeLabelTag</labeltagclass>
                        
    <valuetagclass>com.documentum.web.formext.control.docbase.messagearchive.MessageArchiveAttachDocbaseAttributeValueTag</valuetagclass>
                    
    </attribute>
                    
    <!-- Formatter for IDs -->
                    
    <attribute type="id" repeatingonly="false" singleonly="true">
                        
    <valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeIdValueFormatter</valueformatter>
                    
    </attribute>

                    
    <!-- Default invocation setting for all type if none is specified for specific type or specific attribute name -->
                    
    <attribute type="*" repeatingonly="false" singleonly="false">
                        
    <invocation>
                            
    <modalpopup>
                                
    <windowsize>small</windowsize>
                                
    <refreshparentwindow>onok</refreshparentwindow>
                            
    </modalpopup>
                        
    </invocation>
                    
    </attribute>
                
    </types>
            
    </docbaseobjectconfiguration>
        
    </scope>
    </config>

    posted on 2009-08-03 12:26 liaojiyong 閱讀(471) 評論(0)  編輯  收藏 所屬分類: Documentum


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲国产精品18久久久久久| 9i9精品国产免费久久| 亚洲高清无码专区视频| 亚洲av区一区二区三| 永久免费av无码网站yy| 亚洲影视自拍揄拍愉拍| 亚洲欧洲中文日韩av乱码| 69av免费视频| aa级毛片毛片免费观看久| 亚洲乱码在线播放| 亚洲人JIZZ日本人| 日本视频在线观看永久免费| 成人亚洲国产va天堂| 欧洲亚洲国产清在高| 成人永久免费福利视频网站| 无码一区二区三区免费| 免费人成大片在线观看播放电影| 久久久久久亚洲Av无码精品专口| 免费国产不卡午夜福在线| 人成午夜免费视频在线观看| 国产视频精品免费视频| 亚洲精品国产首次亮相| 亚洲人成在线播放网站岛国| 亚洲国产成人久久一区久久| 成年在线观看网站免费| 久久99毛片免费观看不卡| 羞羞网站免费观看| 亚洲精品二区国产综合野狼| 色吊丝最新永久免费观看网站| 3344永久在线观看视频免费首页 | 我想看一级毛片免费的| 国产午夜无码精品免费看| 黄色大片免费网站| 亚洲深深色噜噜狠狠网站| 亚洲一区二区在线视频| 亚洲人成人无码网www电影首页| 免费无码又爽又高潮视频| 黄色片在线免费观看| 99久久国产免费中文无字幕| 免费无码又爽又刺激高潮软件| 色费女人18女人毛片免费视频|