2013-02-27 24 views
0

我的視圖專欄旨在顯示所有時間條目,並且我已驗證它在我的Notes視圖中顯示「14:56:28:42」。如何在Xpage視圖欄顯示毫秒數?

我想顯示它在我的viewpanel Xpages中的視圖列但失敗。

<xp:viewColumn 
    columnName="$2" 
    id="viewColumn1" 
> 
    <xp:this.converter> 
     <xp:convertDateTime 
      pattern="yyyy-MM-dd HH:mm:ss:SSS" 
      > 
     </xp:convertDateTime> 
    </xp:this.converter> 
    <xp:viewColumnHeader 
     value="Created" 
     id="viewColumnHeader1" 
    > 
    </xp:viewColumnHeader> 
</xp:viewColumn> 

它顯示所有毫秒的零(000)。如果我添加例如「z」的模式,它將顯示時區。

請指教!

回答

1

最簡單的方法是在Notes視圖中使用@Text()並讓它在那裏工作。