[Opensource] Problems with Resin 2.1.6 and Expresso 5.0.1

Kibler, Daniel (HQP) Daniel.Kibler at rhi.com
Wed Dec 4 09:49:35 PST 2002


I'm testing my app in Resin as that is what my prospective Hosting Service
uses. I've encountered several problems - mostly exceptions that don't occur
in Tomcat 4.0.6.

But the show stopper for me is anomalies when iterating thru OutputTag and
displaying attributes with expresso custom tags (not extended struts). The
problem is the attribute values stay the same from row to row. I get a table
of duplicated rows. I've verified that the controller is putting out the
correct values, so it must be the tags.

This code works fine in TomCat but not in Resin. Btw, the InputTags and
Transitions work correctly in both.

....
              <expresso:ElementCollection type="block">
                <expresso:ElementIterator> 
                    <tr valign="center" > 
                        <html:form action="/Mytours.do" method="POST"> 
                            <expresso:ElementCollection type="output">
                                <expresso:ElementIterator> 
                                    <expresso:OutputTag name="Cells"> 
                                        <td valign="center" ><a
href="/Tour.do?key=%27<expresso:AttributeTag
name="TourId"/>%27&state=promptTourView"><expresso:AttributeTag
name="Trail"/></a></td>
                                        <td valign="center"
><expresso:AttributeTag name="City"/></td>
                                    </expresso:OutputTag>
                                </expresso:ElementIterator>
                            </expresso:ElementCollection>
                            <expresso:ElementCollection type="input">
                                <expresso:ElementIterator> 
                                    <td valign="center" ><expresso:InputTag
name="x"/> </td>
                                </expresso:ElementIterator>
                            </expresso:ElementCollection>
                            <expresso:ElementCollection type="output"> 
                                <expresso:ElementIterator>
                                    <expresso:OutputTag name="Cells"> 
                                        <td valign="center"
><expresso:AttributeTag name="Distance"/> mi</td>
                                        <td valign="center" ><img
src="<%=appPath%>/images/<expresso:AttributeTag name="Scenic"/>_scenic.gif" 
                                            alt="Scenic Quality =
<expresso:AttributeTag name="Scenic"/> of 4">&nbsp;</td>
                                        <td valign="center"
align="center"><img src="<%=appPath%>/images/<expresso:AttributeTag
name="AbilityName"/>_ability.gif" 
                                            alt="Minimum Suggest Ability =
<expresso:AttributeTag name="AbilityName"/>">&nbsp;</td>
                                        <td valign="center"
align="center"><img src="<%=appPath%>/images/<expresso:AttributeTag
name="Pavement"/>.gif" 
                                            alt="Pavement Quality =
<expresso:AttributeTag name="Pavement"/>">&nbsp;</td>
                                    </expresso:OutputTag>
                                </expresso:ElementIterator>
                            </expresso:ElementCollection> 
                            <td valign="center" >
                                <expresso:ElementCollection
type="transition"> 
                                    <expresso:ElementIterator>
                                        <expresso:TransitionTag name="x" /> 
                                    </expresso:ElementIterator>
                                </expresso:ElementCollection>
                            </td>
                        </html:form>
                    </tr>
                 </expresso:ElementIterator>
            </expresso:ElementCollection>
....

Dan Kibler
Robert Half International
925 598-7860
925 437-3778 Cell
9254373778 at msg.att.com Wireless Text Message

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20021204/9a8e330a/attachment-0002.htm


More information about the Opensource mailing list