velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish" <prol...@gmx.net>
Subject Re: can't get the strutslinktool to work.
Date Fri, 20 May 2005 07:33:21 GMT
Use -
 <form action="$link.setAction("DBafdslet")">

provided you have configured action "DBafdslet" properly in your
struts-config

HTH,
- Manish

----- Original Message -----
From: "marc" <wdkmaol@wilson.dk>
To: <velocity-user@jakarta.apache.org>
Sent: Friday, May 20, 2005 11:44 AM
Subject: Re: can't get the strutslinktool to work.


> Well tryed it did't work. It still puts in blanks.
>
> This for example:
> <form action="$link.setAction("/DBafdslet")>
>
> Will porduce this in my htmlpage:
>
> <form action="/HelpDesk>
>
> As you can see not apending /DBafdslet after /HelpDesk. Is this a common
> problem, or is it just that can't get it to work?
>
>
> PS using struts 1.2.4 and have tryed with both velocity-tools 1.1 and
> the dev souces.
>
> Shinobu Kawai wrote:
> > Hi Marc,
> >
> >
> >>I have just started playing with velocity and struts.
> >>
> >>But got a problem with the setAction in strutslinktool. Every time I try
> >>to use it just fills in blanks. That be in a link or in a form. Just
BLANK.
> >>
> >>I can use the  setForward just fin.
> >>
> >>Any ideas?
> >
> >
> > Which versions of Struts/VelocityTools are you using?  For Struts 1.2,
> > you need VelocityTools 1.2, which is still under development.
> >    http://cvs.apache.org/snapshots/velocity-tools/
> >
> > Best regards,
> > -- Shinobu
> >
> > --
> > Shinobu Kawai <shinobu.kawai@gmail.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message