Hello,<br><br>I created ProjectmemberCreate.html by referring the attached files.<br><br>In the attached Sample also i got the same result when validation error Occures.<br><br>Thanks ,<br>$B%H%^%9(B<br><br><br><br><br><br><div class="gmail_quote">
2009/7/22 thomas <span dir="ltr"><<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</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;">
Hello,<br><br>The following is my ProjectmemberCreatePage.java and ProjectmemberCreate.html Files<br><br><b>Page Class:</b><br><br>public class ProjectmemberCreatePage extends AbstractProjectmemberPage {<br><br> public int projectmemberIndex;<br>
<br> public List<MemberlistDto> projectmemberItems;<br><br> public MemberlistDxo memberlistDxo;<br><br> @Length(maximum=30,maximumMessageId="E15")<br> public String member;<br><br> public ProjectmemberBhv projectmemberBhv;<br>
<br> public Class doSave() {<br> <br> return null;<br> }<br><br> public Class initialize() {<br> return null;<br> }<br><br> public Class prerender() {<br> return null;<br> }<br>
<br> public List<MemberlistDto> getProjectmemberItems() {<br> projectmemberItems = new LinkedList();<br> ProjectmemberCB memberCB = projectmemberBhv.newMyConditionBean();<br>
<br>
memberCB.query().setMember_Equal("XXzsxXXX");<br> projectmemberItems=memberlistDxo.convert(projectmemberBhv.selectList(memberCB)); <br> <br> return projectmemberItems;<br> }<br><br> public void setProjectmemberItems(List<MemberlistDto> projectmemberItems) {<br>
this.projectmemberItems = projectmemberItems;<br> }<br><br>}<br><br><br><b>Html:</b><div class="im"><br><br><br><script><br><br>function openmemberPopup(val){<br>addRow();<br>}<br><br>function addRow() {<br>
<br>var rowStr = '<tr class="item">';<br>
rowStr += '<td><input type="text" id="member"></input><input type="hidden" id="hiddenmember"></input><input type="button" value="memberselectLabel" id="selectmember" onclick="openmemberPopup(this)"></input></td>';<br>
rowStr += '<td><input type="text" id="standardunitprice" size="8" class="alignright" readonly="1"></input></td>';<br>rowStr += '<td><input type="text" id="applicationunitprice" size="8" class="alignright"></input></td>';<br>
rowStr += '<td><input type="text" id="fixedunitprice" size="8" class="alignright"></input></td>';<br>rowStr += '<td><input type="text" id="mamhour" size="2" class="alignright" ></input></td>';<br>
rowStr += '<td><input type="text" id="lowertime" size="4" class="alignright" ></input></td>';<br>rowStr += '<td><input type="text" id="lowertimeunitprice" size="8" class="alignright" ></input></td>';<br>
rowStr += '<td><input type="text" id="uppertime" size="4" class="alignright" ></input></td>';<br>rowStr += '<td><input type="text" id="uppertimeunitprice" size="8" class="alignright" ></input></td>';<br>
<br></div>rowStr += '</tr>';<br>$('#projectmemberItems').append(rowStr);<br><br><br>resetIndex();<br><br>}<br><br><br>function resetIndex(){<br><br>var nameVal = 'layoutChildBody:projectmberCreateForm:projectmemberItems:';<div class="im">
<br>
$('#projectmemberItems tr').each(function(idx, obj){<br><br></div><div class="im">$(obj).find('#member').attr('name', nameVal + idx + ':member');<br>$(obj).find('#hiddenmember').attr('name', nameVal + idx + ':hiddenmember');<br>
$(obj).find('#standardunitprice').attr('name', nameVal + idx + ':standardunitprice');<br>$(obj).find('#applicationunitprice').attr('name', nameVal + idx + ':applicationunitprice');<br>
$(obj).find('#fixedunitprice').attr('name', nameVal + idx + ':fixedunitprice');<br>$(obj).find('#mamhour').attr('name', nameVal + idx + ':mamhour');<br>$(obj).find('#lowertime').attr('name', nameVal + idx + ':lowertime');<br>
$(obj).find('#lowertimeunitprice').attr('name', nameVal + idx + ':lowertimeunitprice');<br>$(obj).find('#uppertime').attr('name', nameVal + idx + ':uppertime');<br>$(obj).find('#uppertimeunitprice').attr('name', nameVal + idx + ':uppertimeunitprice');<br>
<br></div>});<br>}<br><br><br></script><br><br><br><form id="projectmberCreateForm"><br><br><input type="hidden" id="projectmemberItemsSave"/><br><table><br><tr align="center" class="mainheading"><br>
<td><label id="yearmonths"/></td><br><td colspan="8"><span id="yearmonth1"></span></td><br></tr><br><tr class="heading" align="center"><br>
<td rowspan="2"><label id="projectmember"/></td><br><td rowspan="2"><label id="standardunitprice"/></td><br><td rowspan="2"><label id="applicationunitprice"/></td><br>
<td rowspan="2"><label id="fixedunitprice"/></td><br><td rowspan="2"><label id="manhour"/></td><br><td colspan="2"><label id="lower"/></td><br>
<td colspan="2"><label id="upper"/></td><br></tr><br><tr class="heading" align="center"><br><td><label id="lowertime"/></td><br>
<td><label id="lowertimeunitprice"/></td><br><td><label id="uppertime"/></td><br><td><label id="uppertimeunitprice"/></td><br></tr><div class="im">
<br>
<tbody id="projectmemberItems"><br><br><br><tr class="item"><br><td><input type="text" id="member"></input><input type="hidden" id="hiddenmember"></input><br>
<input type="button" value="memberselectLabel" id="selectmember" onclick="openmemberPopup(this)"></input></td><br><td><input type="text" id="standardunitprice" size="8" class="alignright" readonly="1"></input></td><br>
<td><input type="text" id="applicationunitprice" size="8" class="alignright"></input></td><br><td><input type="text" id="fixedunitprice" size="8" class="alignright"></input></td><br>
<td><input type="text" id="mamhour" size="2" class="alignright"></input></td><br><td><input type="text" id="lowertime" size="4" class="alignright"></input></td><br>
<td><input type="text" id="lowertimeunitprice" size="8" class="alignright"></input></td><br><td><input type="text" id="uppertime" size="4" class="alignright"></input></td><br>
<td><input type="text" id="uppertimeunitprice" size="8" class="alignright"></input></td><br></tr><br><br></tbody><br></div></table><br><br>
<br></form><br>
<br><br><br>Thanks,<br>$B%H%^%9(B<br><br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">2009/7/22 Koichi Kobayashi <span dir="ltr"><<a href="mailto:koichik@gmail.com" target="_blank">koichik@gmail.com</a>></span><div>
<div></div><div class="h5"><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>
Is type of the projectmemberItems an array or a generic List?<br>
<br>
public ProjectMemberDto[] projectmemberItems; //right<br>
public List<ProjectMemberDto> projectmemberItems; //right<br>
public List projectmemberItems; //wrong<br>
<br>
Can you show the *minimum* Page class and HTML<br>
that I can confirm with the Teeda HTML Example?<br>
<br>
Date: Tue, 21 Jul 2009 19:39:53 +0900<br>
<div>From: thomas <<a href="mailto:jp.mcy.10@gmail.com" target="_blank">jp.mcy.10@gmail.com</a>><br>
To: <a href="mailto:seasar-user@ml.seasar.org" target="_blank">seasar-user@ml.seasar.org</a><br>
</div>Subject: [Seasar-user:18035] Re: [Teeda]xxxItems$B$K(BJavaScript$B$G9TDI2C8e!"%5%V%_%C%H$9$k$HDI2C$7$?9T$,$J$/$J$k(B<br>
<div><div></div><div><br>
> >Before adding rows, how many rows were there in a <table>?<br>
><br>
><br>
> There* is only one row* before adding Rows....<br>
><br>
><br>
><br>
> 2009/7/21 Koichi Kobayashi <<a href="mailto:koichik@gmail.com" target="_blank">koichik@gmail.com</a>><br>
><br>
> > $B>.NS(B (koichik) $B$G$9!%(B<br>
> ><br>
> > Date: Tue, 21 Jul 2009 18:37:47 +0900<br>
> > From: thomas <<a href="mailto:jp.mcy.10@gmail.com" target="_blank">jp.mcy.10@gmail.com</a>><br>
> > To: <a href="mailto:seasar-user@ml.seasar.org" target="_blank">seasar-user@ml.seasar.org</a><br>
> > Subject: [Seasar-user:18033] Re:<br>
> > [Teeda]xxxItems$B$K(BJavaScript$B$G9TDI2C8e!"%5%V%_%C%H$9$k$HDI2C$7$?9T$,$J$/$J$k(B<br>
> ><br>
> > > The following is the log of requestDumpFilter.<br>
> ><br>
> > Before adding rows, how many rows were there in a <table>?<br>
> ><br>
> ><br>
> > --<br>
> > <component name="koichik"><br>
> > <property name="fullName">"Koichi Kobayashi"</property><br>
> > <property name="email">"<a href="mailto:koichik@gmail.com" target="_blank">koichik@gmail.com</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" target="_blank">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>
> ><br>
<br>
</div></div>--<br>
<div><div></div><div><component name="koichik"><br>
<property name="fullName">"Koichi Kobayashi"</property><br>
<property name="email">"<a href="mailto:koichik@gmail.com" target="_blank">koichik@gmail.com</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" target="_blank">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>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>