[Seasar-user:17800] Re: [Teedaーdjunit Error in dxo]について
Koichi Kobayashi
[E-MAIL ADDRESS DELETED]
2009年 6月 20日 (土) 01:30:00 JST
小林 (koichik) です.
Date: Fri, 19 Jun 2009 14:35:16 +0900
From: thomas <[E-MAIL ADDRESS DELETED]>
To: [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:17790] [Teedaーdjunit Error in dxo]について
> if i change my conversion rule like this there is no problem
Please try the following
@ConversionRule(
"'lastupdated':@[E-MAIL ADDRESS DELETED]()," +
"'basiccontractexcecutiondate':@[E-MAIL ADDRESS DELETED]('2008/11/11')," +
"'registereddate':registereddate==null?@[E-MAIL ADDRESS DELETED]():registereddate")
public void convert(AbstractCustomermasterPage src,Customermaster dest);
and
@ConversionRule(
"'lastupdated':@[E-MAIL ADDRESS DELETED]()," +
"'basiccontractexcecutiondate':@[E-MAIL ADDRESS DELETED](basiccontractexcecutiondate)"
public void convert(AbstractCustomermasterPage src,Customermaster dest);
The first case changed an argument to the literal.
The second case deleted the third rule.
It is a point not to change two places at the same time.
--
<component name="koichik">
<property name="fullName">"Koichi Kobayashi"</property>
<property name="email">"[E-MAIL ADDRESS DELETED]"</property>
<property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>
Seasar-user メーリングリストの案内