valueExpression

<?xml version="1.0" encoding="UTF-8"?>
<pages>
    <editPage id="editWmsPackageUnitPage" title="editWmsPackageUnitPage" 
		entityClass="com.ww.wms.server.model.organization.PackageUnit" 
			width="600" height="300" onClose="refreshParent">
        <workflow/>
        <initListeners/>
        <inputUIs>
            <hidden id="packageUnit.id" reserve="false"/>
            <text id="packageUnit.convertFigure" title="packageUnit.convertFigure" 
				row="1" col="3" readOnly="false" required="true" reserve="false" 
				forceOverride="false" inVisible="false" 
				validator="positiveIntegerRequired" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="packageUnit.level" title="packageUnit.level" row="2" col="1" 
				defaultValue="箱" span="1" readOnly="true" required="false" 
				reserve="false" forceOverride="false" 
				focusUI="false" inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <separator id="separator1" title="separator1" row="3"/>
            <numberText id="length" title="packageUnitLength" row="4" col="1" 
				span="1" width="120" readOnly="false" required="false" 
				reserve="false" forceOverride="true" focusUI="false" 
				inVisible="false">
                <visibleExpression/>
                <hql/>
                <eventListeners>
                    <eventListener id="packageUnit.length" refreshUI="true"/>
                </eventListeners>
            </numberText>
            <numberText id="width" title="packageUnitWidth" row="4" col="2" 
				span="1" width="120" readOnly="false" required="false" 
				reserve="false" forceOverride="true" focusUI="false" 
				inVisible="false">
                <visibleExpression/>
                <hql/>
                <eventListeners>
                    <eventListener id="packageUnit.width" refreshUI="true"/>
                </eventListeners>
            </numberText>
            <numberText id="height" title="packageUnitHeight" row="4" col="3" 
				span="1" width="120" readOnly="false" required="false" 
				reserve="false" 
				forceOverride="true" focusUI="false" inVisible="false">
                <visibleExpression/>
                <hql/>
                <eventListeners>
                    <eventListener id="packageUnit.height" refreshUI="true"/>
                </eventListeners>
            </numberText>
            <numberText id="packageUnit.weight" title="packageUnit.weight" 
				row="5" col="1" span="1" width="120" readOnly="false" 
				required="false" 
				reserve="false" forceOverride="true" 
				focusUI="false" inVisible="false" decimal="3">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </numberText>
            <separator id="separator" title="separator" row="6"/>
            <numberText id="packageUnit.length" title="packageUnit.length" row="7" 
				col="1" span="1" width="120" readOnly="false" required="false" 
				reserve="false" forceOverride="true" focusUI="false" inVisible="false" 
				valueExpression="if(${length}!=null){ ${length}*1*0.01 }" 
				decimal="3">
                <visibleExpression/>
                <hql/>
                <eventListeners>
                    <eventListener id="packageUnit.volume" refreshUI="true"/>
                </eventListeners>
            </numberText>
            <numberText id="packageUnit.width" title="packageUnit.width" 
				row="7" col="2" span="1" width="120" readOnly="false" 
				required="false" reserve="false" forceOverride="true" 
				focusUI="false" inVisible="false" 
				valueExpression="if(${width}!=null){ ${width}*1*0.01 }" 
				decimal="3">
                <visibleExpression/>
                <hql/>
                <eventListeners>
                    <eventListener id="packageUnit.volume" refreshUI="true"/>
                </eventListeners>
            </numberText>
            <numberText id="packageUnit.height" title="packageUnit.height" 
				row="7" col="3" span="1" width="120" readOnly="false" 
				required="false" reserve="false" forceOverride="true" 
				focusUI="false" inVisible="false" 
				valueExpression="if(${height}!=null){ ${height}*1*0.01 }" 
				decimal="3">
                <visibleExpression/>
                <hql/>
                <eventListeners>
                    <eventListener id="packageUnit.volume" refreshUI="true"/>
                </eventListeners>
            </numberText>
            <numberText id="packageUnit.volume" title="packageUnit.volume" 
				row="8" col="1" span="1" width="120" readOnly="false" 
				required="false" reserve="false" forceOverride="true" 
				focusUI="false" inVisible="false" 
				valueExpression="if(${packageUnit.height}!=null){ 
				${packageUnit.height}*${packageUnit.length}*${packageUnit.width} 
					             }" decimal="3">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </numberText>
        </inputUIs>
    </editPage>
</pages>

 

你可能感兴趣的:(express)