$B>.NS(B $B$5$s!"(B<br><br>Thanks for your reply..<br><br><span style="background-color: rgb(255, 255, 255);">@ConversionRule("'lastupdated':@projectmgnt.util.CalcUtil@getCurrentDate()," +</span><br style="background-color: rgb(255, 255, 255);">
<span style="background-color: rgb(255, 255, 255);"> "'basiccontractexcecutiondate':@projectmgnt.util.CalcUtil@convertDate(basiccontractexcecutiondate)," +</span><br style="background-color: rgb(255, 255, 255);">
<span style="background-color: rgb(255, 255, 255);"> "'registereddate':registereddate==null?@projectmgnt.util.CalcUtil@getCurrentDate():registereddate")</span><br style="background-color: rgb(255, 255, 255);">
<span style="background-color: rgb(255, 255, 255);"> public void convert(AbstractCustomermasterPage src,Customermaster dest);</span><br><br><br>But i want the above lines to execute in djunit.The above line execute without error while running junit.<br>
<br>Is there any special settings needed for djunit?<br><br>Regards,<br>$B%H%^%9(B<br><br><br><div class="gmail_quote">2009/6/20 Koichi Kobayashi <span dir="ltr"><<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$B>.NS(B (koichik) $B$G$9!%(B<br>
<br>
Date: Fri, 19 Jun 2009 14:35:16 +0900<br>
From: thomas <<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>><br>
To: <a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
Subject: [Seasar-user:17790] [Teeda$B!<(Bdjunit Error in dxo]$B$K$D$$$F(B<br>
<div class="im"><br>
> if i change my conversion rule like this there is no problem<br>
<br>
</div>Please try the following<br>
<div class="im"><br>
@ConversionRule(<br>
"'lastupdated':@projectmgnt.util.CalcUtil@getCurrentDate()," +<br>
</div> "'basiccontractexcecutiondate':@projectmgnt.util.CalcUtil@convertDate('2008/11/11')," +<br>
<div class="im"> "'registereddate':registereddate==null?@projectmgnt.util.CalcUtil@getCurrentDate():registereddate")<br>
public void convert(AbstractCustomermasterPage src,Customermaster dest);<br>
<br>
</div>and<br>
<div class="im"><br>
@ConversionRule(<br>
"'lastupdated':@projectmgnt.util.CalcUtil@getCurrentDate()," +<br>
"'basiccontractexcecutiondate':@projectmgnt.util.CalcUtil@convertDate(basiccontractexcecutiondate)"<br>
</div><div class="im">public void convert(AbstractCustomermasterPage src,Customermaster dest);<br>
<br>
</div>The first case changed an argument to the literal.<br>
The second case deleted the third rule.<br>
It is a point not to change two places at the same time.<br>
<br>
<br>
--<br>
<component name="koichik"><br>
<property name="fullName">"Koichi Kobayashi"</property><br>
<property name="email">"<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>"</property><br>
<property name="blog">"<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>"</property><br>
</component><br>
<br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</blockquote></div><br>