Re: Link in iterate

2002-04-11 Thread Victor Hadianto


If your earlier code 



works then there is no reason why it should failed. Check your struts-config 
and your pre-compiled java file to see exactly what has gone wrong.

victor

On Thu, 11 Apr 2002 20:14, you wrote:
> Thank you,
> I tried it but an ServletException told me:
> "Cannot find bean myFrom in scope null"
> Everything was put into request scope, so
> at the moment it is displayed, myForm should
> still be alive.
> Any idea?
>
> Wolfgang
>
> > this is a JSP limitation, not a struts limitation.
> >
> > Hopefully Struts will soon be integrated with the upcoming standard tag
> > library which will give us a powerful expression evaluator to use in tag
> > properties
> >
> > >>> [EMAIL PROTECTED] 04/11/02 09:14am >>>
> >
> > You can not nest tags in Struts. What you can do is do something like
> > this:
> >
> >  > paramProperty="spec"/>
> >
> > Another note, using page is not recomended, it is better to define a
> > forward
> > in your Struts-config.xml and use "forward" instead of page.
> >
> > Cheers,
> >
> > Victor
> >
> > On Thu, 11 Apr 2002 17:52, you wrote:
> > > Hello,
> > > can anyone show me how to manage that
> > > I can do the following: under out_put there is an
> > > ArrayList of OutDataForms that take the records of
> > > a ResultSet.
> > >
> > >  > > name="out_put"
> > > scope="request"
> > > type="org.apache.struts.example.OutDataForm">
> > > 
> > >
> > >  > > property="spec"/>">
> > >
> > > 
> > > 
> > > 
> > >
> > >
> > > In my SelectAction (/select.do) I would like to access the species
> >
> > String:
> > > request.getParameter("species");
> > > and query the database again to edit or delete this row.
> > >
> > > Everything works fine except that the ?species=.. parameter to the
> > > link-Tag seems to be forbidden.
> > > But I need the link to expedite the value to the action.
> > > What can I do?
> > >
> > > Thanks
> > > Wolfgang
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
> >
> > --
> > To unsubscribe, e-mail:
>
> 
>
> > For additional commands, e-mail:
>
> 
>
>
>
> --
> To unsubscribe, e-mail:  
>  For additional
> commands, e-mail: 

-- 
Victor Hadianto
---
Revolution, n.: In politics, an abrupt change in the form of misgovernment. 
-- Ambrose Bierce

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Link in iterate

2002-04-11 Thread Galbreath, Mark

Of course you can - search the archive:

http://www.mail-archive.com/struts-user%40jakarta.apache.org/

Mark

-Original Message-
From: Victor Hadianto [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 4:14 AM
To: Struts Users Mailing List
Subject: Re: Link in iterate



You can not nest tags in Struts. What you can do is do something like this:



Another note, using page is not recomended, it is better to define a forward

in your Struts-config.xml and use "forward" instead of page.

Cheers,

Victor


On Thu, 11 Apr 2002 17:52, you wrote:
> Hello,
> can anyone show me how to manage that
> I can do the following: under out_put there is an
> ArrayList of OutDataForms that take the records of
> a ResultSet.
>
>  name="out_put"
> scope="request"
> type="org.apache.struts.example.OutDataForm">
> 
>
>  property="spec"/>">
>
> 
> 
> 
>
>
> In my SelectAction (/select.do) I would like to access the species String:
> request.getParameter("species");
> and query the database again to edit or delete this row.
>
> Everything works fine except that the ?species=.. parameter to the
> link-Tag seems to be forbidden.
> But I need the link to expedite the value to the action.
> What can I do?
>
> Thanks
> Wolfgang


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Link in iterate

2002-04-11 Thread Johannes Wolfgang Woger


Thank you,
I tried it but an ServletException told me:
"Cannot find bean myFrom in scope null"
Everything was put into request scope, so
at the moment it is displayed, myForm should
still be alive.
Any idea?

Wolfgang




> this is a JSP limitation, not a struts limitation.
>
> Hopefully Struts will soon be integrated with the upcoming standard tag
> library which will give us a powerful expression evaluator to use in tag
> properties
>
> >>> [EMAIL PROTECTED] 04/11/02 09:14am >>>
>
> You can not nest tags in Struts. What you can do is do something like
> this:
>
>  paramProperty="spec"/>
>
> Another note, using page is not recomended, it is better to define a
> forward
> in your Struts-config.xml and use "forward" instead of page.
>
> Cheers,
>
> Victor
>
>
> On Thu, 11 Apr 2002 17:52, you wrote:
> > Hello,
> > can anyone show me how to manage that
> > I can do the following: under out_put there is an
> > ArrayList of OutDataForms that take the records of
> > a ResultSet.
> >
> >  > name="out_put"
> > scope="request"
> > type="org.apache.struts.example.OutDataForm">
> > 
> >
> >  > property="spec"/>">
> >
> > 
> > 
> > 
> >
> >
> > In my SelectAction (/select.do) I would like to access the species
> String:
> > request.getParameter("species");
> > and query the database again to edit or delete this row.
> >
> > Everything works fine except that the ?species=.. parameter to the
> > link-Tag seems to be forbidden.
> > But I need the link to expedite the value to the action.
> > What can I do?
> >
> > Thanks
> > Wolfgang
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Link in iterate

2002-04-11 Thread Ian Tomey


this is a JSP limitation, not a struts limitation.

Hopefully Struts will soon be integrated with the upcoming standard tag
library which will give us a powerful expression evaluator to use in tag
properties

>>> [EMAIL PROTECTED] 04/11/02 09:14am >>>

You can not nest tags in Struts. What you can do is do something like
this:



Another note, using page is not recomended, it is better to define a
forward 
in your Struts-config.xml and use "forward" instead of page.

Cheers,

Victor


On Thu, 11 Apr 2002 17:52, you wrote:
> Hello,
> can anyone show me how to manage that
> I can do the following: under out_put there is an
> ArrayList of OutDataForms that take the records of
> a ResultSet.
>
>  name="out_put"
> scope="request"
> type="org.apache.struts.example.OutDataForm">
> 
>
>  property="spec"/>">
>
> 
> 
> 
>
>
> In my SelectAction (/select.do) I would like to access the species
String:
> request.getParameter("species");
> and query the database again to edit or delete this row.
>
> Everything works fine except that the ?species=.. parameter to the
> link-Tag seems to be forbidden.
> But I need the link to expedite the value to the action.
> What can I do?
>
> Thanks
> Wolfgang


--
To unsubscribe, e-mail:  

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Link in iterate

2002-04-11 Thread Victor Hadianto


You can not nest tags in Struts. What you can do is do something like this:



Another note, using page is not recomended, it is better to define a forward 
in your Struts-config.xml and use "forward" instead of page.

Cheers,

Victor


On Thu, 11 Apr 2002 17:52, you wrote:
> Hello,
> can anyone show me how to manage that
> I can do the following: under out_put there is an
> ArrayList of OutDataForms that take the records of
> a ResultSet.
>
>  name="out_put"
> scope="request"
> type="org.apache.struts.example.OutDataForm">
> 
>
>  property="spec"/>">
>
> 
> 
> 
>
>
> In my SelectAction (/select.do) I would like to access the species String:
> request.getParameter("species");
> and query the database again to edit or delete this row.
>
> Everything works fine except that the ?species=.. parameter to the
> link-Tag seems to be forbidden.
> But I need the link to expedite the value to the action.
> What can I do?
>
> Thanks
> Wolfgang


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Link in iterate

2002-04-11 Thread Johannes Wolfgang Woger

Hello,
can anyone show me how to manage that
I can do the following: under out_put there is an 
ArrayList of OutDataForms that take the records of
a ResultSet.




">






In my SelectAction (/select.do) I would like to access the species String:
request.getParameter("species");
and query the database again to edit or delete this row.

Everything works fine except that the ?species=.. parameter to the 
link-Tag seems to be forbidden.
But I need the link to expedite the value to the action.
What can I do?

Thanks
Wolfgang