struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lucas owen <sr.ilus...@gmail.com>
Subject Re: possible s:submit with parameter?
Date Sat, 06 Mar 2010 10:08:13 GMT
Of course!!

The problem is I can't use javascript, the application is supposed to work
in any computer, any browser...no matter how old they are

Any suggestions?

2010/3/5 Burton Rhodes <burtonrhodes@gmail.com>

> Sounds like a good use for javascript , not a struts tag.
>
> On 3/5/10, lucas owen <sr.ilustre@gmail.com> wrote:
> > Hi Struts users:
> >
> > I'm wondering if it is possible to pass a parameter inside a s:submit
> tag.
> >
> > I'm working with the following form (this is just a sketch) on a webpage,
> in
> > which I collect some user data and display a list of elements (let's say
> > books):
> >
> >           ___________                         ____________
> > Name:|___________|         Surname: |____________|
> >
> >
> > List of Books:
> >
> >           Title
> > Author                                            Details
> >
> --------------------------------------------------------------------------------------------------------------------------------------------
> >            XYZ                                ABC
> > <s:submit action="bookDetails" param="bookId">
> >
> >
> > ...
> >
> > Note: it has to be a submit because if the user enters a name or surname,
> I
> > want it to be displayed when the users comes back from the book details
> > page!
> >
> > I dont know if this is possible with Struts 2
> >
> > Thanks in advance
> >
>
> --
> Sent from my mobile device
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message