<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 閱讀(472) 評論(0)  編輯  收藏 所屬分類: Documentum


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


    網站導航:
     
    主站蜘蛛池模板: 亚洲人成网站在线观看播放| 免费大黄网站在线观看| 在线看片免费人成视频福利| 免费看片在线观看| 免费一级毛片不卡在线播放| 亚洲日本中文字幕天天更新| 中国国产高清免费av片| 99久久国产热无码精品免费| 国产啪亚洲国产精品无码| 亚洲va精品中文字幕| 久久国产一片免费观看| 在线精品免费视频| 亚洲春色在线观看| 国产日韩AV免费无码一区二区| 国产亚洲一区二区精品| 免费一级特黄特色大片| 国产2021精品视频免费播放| 日韩精品一区二区亚洲AV观看| 黄色网址大全免费| 成人免费无遮挡无码黄漫视频| 亚洲gv猛男gv无码男同短文| 色妞www精品视频免费看| 亚洲国产精品国产自在在线| 大桥未久亚洲无av码在线| 精品国产无限资源免费观看| 国产亚洲玖玖玖在线观看| 久久免费精品一区二区| 亚洲综合色在线观看亚洲| 大桥未久亚洲无av码在线| 久久久久亚洲?V成人无码| 先锋影音资源片午夜在线观看视频免费播放| 国产亚洲福利一区二区免费看| 亚洲沟沟美女亚洲沟沟| 免费毛片a线观看| 亚洲fuli在线观看| 亚洲国产成人五月综合网| 中文字幕免费视频| 18亚洲男同志videos网站| 人禽伦免费交视频播放| 手机在线看永久av片免费| 亚洲福利秒拍一区二区|