[Seasar-user:17802] Re: [Teedaーdjunit Error in dxo]について
thomas
[E-MAIL ADDRESS DELETED]
2009年 6月 20日 (土) 13:59:05 JST
小林 さん、
Thanks for your reply..
@ConversionRule("'lastupdated':@[E-MAIL ADDRESS DELETED](),"
+
"'basiccontractexcecutiondate':@[E-MAIL ADDRESS DELETED](basiccontractexcecutiondate),"
+
"'registereddate':registereddate==null?@[E-MAIL ADDRESS DELETED]
():registereddate")
public void convert(AbstractCustomermasterPage src,Customermaster dest);
But i want the above lines to execute in djunit.The above line execute
without error while running junit.
Is there any special settings needed for djunit?
Regards,
トマス
2009/6/20 Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>
> 小林 (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':@projectmgnt.util.CalcUtil
> @convertDate(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 mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20090620/6492f2cb/attachment.html>
Seasar-user メーリングリストの案内