You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Espey <je...@Tallan.com> on 2003/02/19 03:02:54 UTC
RE: Tiles, Struts 1.1 and index.jsp in EAR file
you can do a forward from index JSP
> -----Original Message-----
> From: John Dubchak [mailto:jdubchak@qwest.net]
> Sent: Tuesday, February 18, 2003 9:17 PM
> To: struts-user@jakarta.apache.org
> Subject: Tiles, Struts 1.1 and index.jsp in EAR file
>
>
> Hello Everyone,
>
> I'm trying to configure tiles and struts for use in a Web
> application packaged
> as an EAR file. In the application.xml file I can specify the
> <welcome-page>
> tag.
>
> Prior to using tiles it was simply /index.jsp, but now I want to
> configure it
> so that it can do the proper forwarding through the ActionServlet.
>
> Does anyone know the proper URL I can use to get it to display
> correctly?
> I've tried a number of different ones, including naming it as a
> .do action
> but this does not work.
>
> Any help is greatly appreciated as I don't want to have to create
> a separate
> definition for the welcome-page and then use a different one,
> once you're in
> the site.
>
> Thanks,
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Nested iterate tags
Posted by Andrew Shirk <sh...@ncsa.uiuc.edu>.
Using the nested:iterate inside of logic:iterate should work. I've modified
the code below, but of course have not tested this.
<logic:iterate id="comp" name="results">
<tr>
<td><a href="/DisplayComponents.do?component_ID=<bean:write
name="comp" property="component_ID"/>"><bean:write
name="comp" property="component_ID"/></a></td>
<td><bean:write name="comp" property="description"/></td>
</tr>
<nested:root name="comp">
<nested:iterate id="part" property="parts">
<tr>
<td><a href="/DisplayParts.do?part_ID=<bean:write
name="part" property="part_ID"/>"><bean:write name="part"
property="part_ID"/></a></td>
<td><bean:write name="part"
property="description"/></td>
</tr>
</nested:iterate>
</nested:root>
</logic:iterate>
At 07:32 PM 2/19/2003 -0500, you wrote:
>Hi, I'm hoping someone can help me out.
>
>I have a vector object where each element contains an object, which has
>another vector element.
>
>I need to traverse through the first one, while inside the loop, also
>traversing the vector within each object.
>
>Can someone give me a lead on how can this possibly be accomplished.
>
>I've tried just nesting one iterate tag within the other and use the
>first one's item property for the second one's iteration, but I keep
>getting an error that even my outter iterate is telling me that it can't
>find a getter method, which exists.
>
><logic:iterate id="comp" name="results">
> <tr>
> <td><a href="/DisplayComponents.do?component_ID=<bean:write
>name="comp" property="component_ID"/>"><bean:write
>name="comp" property="component_ID"/></a></td>
> <td><bean:write name="comp" property="description"/></td>
> </tr>
> <logic:iterate id="part" name="comp" property="parts">
> <tr>
> <td><a href="/DisplayParts.do?part_ID=<bean:write
>name="part" property="part_ID"/>"><bean:write name="part"
>property="part_ID"/></a></td>
> <td><bean:write name="part"
>property="description"/></td>
> </tr>
> </logic:iterate>
></logic:iterate>
>
>
>Can someone please help or give a simple example.
>
>Thanks.
>
>Ilya
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: html:form
Posted by Affan Qureshi <qu...@etilize.com>.
Your form bean name is the html form name.
Affan
----- Original Message -----
From: "Ray Madigan" <ra...@madigans.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, February 20, 2003 9:47 AM
Subject: html:form
> Greetings:
>
> I am still trying to figure things out to port my application.
>
> In the past I have used the form name as a locator for JavaScript.
>
> <html:form doesn't have a name attribute, so how do I refer to a form
> that is in another frame then the one I am in now?
>
> Thanks
> Ray Madigan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
html:form
Posted by Ray Madigan <ra...@madigans.org>.
Greetings:
I am still trying to figure things out to port my application.
In the past I have used the form name as a locator for JavaScript.
<html:form doesn't have a name attribute, so how do I refer to a form
that is in another frame then the one I am in now?
Thanks
Ray Madigan
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Nested iterate tags
Posted by "Sterin, Ilya" <Is...@ciber.com>.
Hi, I'm hoping someone can help me out.
I have a vector object where each element contains an object, which has
another vector element.
I need to traverse through the first one, while inside the loop, also
traversing the vector within each object.
Can someone give me a lead on how can this possibly be accomplished.
I've tried just nesting one iterate tag within the other and use the
first one's item property for the second one's iteration, but I keep
getting an error that even my outter iterate is telling me that it can't
find a getter method, which exists.
<logic:iterate id="comp" name="results">
<tr>
<td><a href="/DisplayComponents.do?component_ID=<bean:write
name="comp" property="component_ID"/>"><bean:write
name="comp" property="component_ID"/></a></td>
<td><bean:write name="comp" property="description"/></td>
</tr>
<logic:iterate id="part" name="comp" property="parts">
<tr>
<td><a href="/DisplayParts.do?part_ID=<bean:write
name="part" property="part_ID"/>"><bean:write name="part"
property="part_ID"/></a></td>
<td><bean:write name="part"
property="description"/></td>
</tr>
</logic:iterate>
</logic:iterate>
Can someone please help or give a simple example.
Thanks.
Ilya
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Tiles, Struts 1.1 and index.jsp in EAR file
Posted by John Dubchak <jd...@qwest.net>.
On Tuesday 18 February 2003 20:02, John Espey wrote:
> you can do a forward from index JSP
Except I keep getting this error:
HTTP ERROR: 500 Error - tag put : enclosing tag doesn't accept 'put' tag.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org