Changeset 19647


Ignore:
Timestamp:
02/03/12 15:45:01 (4 months ago)
Author:
anp
Message:

simpleTask : gestion de sm:help

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/collab/simpleTask/xml.xed.xml

    r19644 r19647  
    306306                                                                <element se:name="sm:onCreate" se:bind="element" se:card="?" tooltiptext="Traitements à la création d'une task avant affichage des widgets. Permet d'affecter des valeurs par défaut."> 
    307307                                                                        <childs> 
    308                                                                                 <se:choice se:id="script_choices" se:card="*" se:show="ifExist"> 
    309                                                                                         <element se:name="sm:addCurrentUser" se:bind="element"> 
     308                                                                                <insert4all se:bind="current"> 
     309                                                                                        <element se:name="sm:addCurrentUser" se:bind="element" insert="collapsed"> 
    310310                                                                                                <atts> 
    311311                                                                                                        <attribute se:name="involvement" se:bind="attribute"> 
     
    321321                                                                                                </atts> 
    322322                                                                                        </element> 
    323                                                                                 </se:choice> 
    324                                                                                 <insert se:bind="current"/> 
     323                                                                                </insert4all> 
    325324                                                                        </childs> 
    326325                                                                </element> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs/sm_simpleTask.xml

    r19633 r19647  
    333333                                                <!-- @closed --> 
    334334                                                <xsl:if test="$pFormWidget/@closed">.setClosed(<xsl:value-of select="$pFormWidget/@closed='true'"/>)</xsl:if> 
     335                                                <!-- sm:help --> 
     336                                                <xsl:if test="sm:help">.setDescription("<xsl:value-of select="sm:help/@quickHelp"/>")</xsl:if> 
    335337                                                <!-- sm:perms --> 
    336338                                                <!-- TODO perms  
  • trunk/Xul_Core/content/Core/widgets/jsForm/jsForm.xbl.xml

    r19573 r19647  
    532532                </resources>             
    533533                <content> 
    534                         <xul:hbox align="center" xbl:inherits="hidden" style="display:block;"> 
    535                                 <xul:label anonid="label" xbl:inherits="value=label"/> 
    536                                 <xul:hbox align="top"> 
     534                        <xul:hbox align="center" xbl:inherits="hidden,tooltiptext=description" style="display:block;"> 
     535                                <xul:label anonid="label" xbl:inherits="value=label" /> 
     536                                <xul:hbox align="top" xbl:inherits="tooltiptext=description"> 
    537537                                        <xul:toolbarbutton anonid="clear" class="smallbutton" xbl:inherits="disabled,disabled=readonly" oncommand="document.getBindingParent(this)._DeleteValue()"/> 
    538538                                        <xul:datepicker anonid="input" isnull="true" xbl:inherits="disabled,readonly,required" type="popup"/> 
  • trunk/Xul_Wsp/content/Wsp/widgets/jsForm/wspJsForm.xbl.xml

    r19633 r19647  
    5454                                <xul:xedToolBar anonid="toolBar" style="-moz-binding: url(chrome://scenariXedLib/content/libUiBase/widgets/xedUiBase.xbl.xml#xedToolBar);" /> 
    5555                        </xul:hbox> 
    56                         <xul:editXedBox anonid="xedBox" class="maskIfClosed" hideStructBar="true" xmlErrorsAllowed="false" style="-moz-binding: url(chrome://scenariXedLib/content/core/xed.xbl.xml#xedBoxNoScroll);" xbl:inherits="hideStructBar,xmlErrorsAllowed"/> 
     56                        <xul:editXedBox anonid="xedBox" class="maskIfClosed" hideStructBar="true" xmlErrorsAllowed="false" style="-moz-binding: url(chrome://scenariXedLib/content/core/xed.xbl.xml#xedBoxNoScroll);" xbl:inherits="hideStructBar,xmlErrorsAllowed,tooltiptext=description"/> 
    5757                </content> 
    5858                <implementation> 
  • trunk/Xul_Wsp/content/WspAdmin/widgets/jsForm/jsForm.xbl.css

    r19556 r19647  
    7575        margin:0px !important; 
    7676        border:none !important; 
     77        background-color: transparent; 
    7778} 
    7879 
     
    100101} 
    101102groupbox[anonid=valuePreviewBox]{ 
    102         /*min-height : 2em;*/ 
     103        min-height : 2em; 
    103104} 
    104105 
    105106groupbox[anonid=valuePreviewBox][error]  > .groupbox-body{ 
    106         border : solid 1px Red; 
     107        box-shadow: 0 0 1.5px 1px red; 
    107108} 
    108109 
  • trunk/Xul_Wsp/content/WspAdmin/widgets/jsForm/jsForm.xbl.xml

    r19645 r19647  
    5252                <content orient="horizontal" isMulti="false"> 
    5353                        <xul:label anonid="label" xbl:inherits="value=label" /> 
    54                         <xul:groupbox anonid="valuePreviewBox" flex="1" orient="horizontal" align="center" xbl:inherits="hidden,disabled=readonly"> 
     54                        <xul:groupbox anonid="valuePreviewBox" flex="1" orient="horizontal" align="center" xbl:inherits="hidden,disabled=readonly,tooltiptext=description"> 
    5555                                <xul:hbox anonid="usersBox" flex="1" onclick="document.getBindingParent(this).doEdit(event)"> 
    5656                                        <xul:label anonid="valuePreview" crop="center" value=""/> 
     
    8181                                this.xRefreshUi(); 
    8282                        </constructor> 
    83                          
    8483                        <field name="fValuePreviewBlock">document.getAnonymousElementByAttribute(this, 'anonid', 'valuePreviewBox')</field> 
    8584                        <field name="fValueUserBlock">document.getAnonymousElementByAttribute(this, 'anonid', 'usersBox')</field> 
Note: See TracChangeset for help on using the changeset viewer.