RE: What is the best way to pass a parameter to a forward?

2004-03-16 Thread Menke, John
i found this class a while ago on this list it works great, just create a parameter action forward and then add params forward.addParameter("name", "value"); return forward; import java.util.HashMap; import java.util.Iterator; public final class ParameterActionForward e

RE: What is the best way to pass a parameter to a forward?

2004-03-16 Thread Jay Glanville
Latest stable release: 1.1 -- Jay Glanville > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Cooper > Sent: Tuesday, March 16, 2004 1:33 PM > To: [EMAIL PROTECTED] > Subject: Re: What is the best way to pass a parameter to a forward?

Re: What is the best way to pass a parameter to a forward?

2004-03-16 Thread Martin Cooper
tionForward class doesn't > have a copy constructor > > -- > Jay Glanville > > > > -Original Message- > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Cooper > > Sent: Monday, March 15, 2004 8:30 PM > > To: [EMAIL PROTECTED] > >

RE: What is the best way to pass a parameter to a forward?

2004-03-16 Thread Hubert Rabago
I wrote an extension to help me do this. I use this in all my projects. http://www.rabago.net/struts/redirect hth, Hubert --- Jay Glanville <[EMAIL PROTECTED]> wrote:> > I'm trying to solve a problem, but I'm not sure my solution > is the best > way. Basically, I

SV: What is the best way to pass a parameter to a forward? Create a utility class .Client code

2004-03-16 Thread Tommy Holm - TELMORE
) ; -Oprindelig meddelelse- Fra: Tommy Holm - TELMORE Sendt: 16. marts 2004 13:48 Til: Struts Users Mailing List Emne: SV: What is the best way to pass a parameter to a forward? Create a utility class Some time ago this question has been asked before and someone showed some utility class c

SV: What is the best way to pass a parameter to a forward? Create a utility class

2004-03-16 Thread Tommy Holm - TELMORE
()); Iterator iter = params.entrySet().iterator(); if (iter.hasNext()) { //add first parameter, if avaliable Map.Entry entry = (Map.Entry) iter.next(); path.append("?" + entry.getKey() + "=" + entry.getValue()); //

RE: What is the best way to pass a parameter to a forward?

2004-03-16 Thread Jay Glanville
Glanville > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Cooper > Sent: Monday, March 15, 2004 8:30 PM > To: [EMAIL PROTECTED] > Subject: Re: What is the best way to pass a parameter to a forward? > > > What you are doing will no

Re: What is the best way to pass a parameter to a forward?

2004-03-15 Thread Martin Cooper
- Martin Cooper "Glanville, Jay" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm trying to solve a problem, but I'm not sure my solution is the best way. Basically, I want to set a parameter on a forward within the action's execute. I'm in my action&

Re: What is the best way to pass a parameter to a forward?

2004-03-15 Thread Joshua Tuberville
s helps, Joshua On Mon, 2004-03-15 at 16:46, Glanville, Jay wrote: > I'm trying to solve a problem, but I'm not sure my solution is the best > way. Basically, I want to set a parameter on a forward within the > action's execute. > > I'm in my action's e

RE: What is the best way to pass a parameter to a forward?

2004-03-15 Thread Gopalakrishnan, Jayesh
anville, Jay [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 4:47 PM To: Struts User List Subject: What is the best way to pass a parameter to a forward? I'm trying to solve a problem, but I'm not sure my solution is the best way. Basically, I want to set a parameter on a forward wit

What is the best way to pass a parameter to a forward?

2004-03-15 Thread Glanville, Jay
I'm trying to solve a problem, but I'm not sure my solution is the best way. Basically, I want to set a parameter on a forward within the action's execute. I'm in my action's execute method. I've just successfully performed some work, and I now want to forward/

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
ot;) response.setDateHeader("Expires", "1") Comments welcome. Niall - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 07, 2004 1:12 AM Subject: Re: Extend

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Niall Pemberton
quot;) response.setDateHeader("Expires", "1") Comments welcome. Niall - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 07, 2004 1:12 AM Subject: Re:

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
> From: "Geeta Ramani" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Saturday, March 06, 2004 10:15 PM > Subject: Re: Extending Request Processor to append request parameter > > > Brad: > > > > I looked

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Niall Pemberton
ssage - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 10:15 PM Subject: Re: Extending Request Processor to append request parameter > Brad: > > I looked at the API and notice

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Geeta Ramani <[EMAIL PROTECTED]>: > Brad: > > I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your > solution seems nice and clear! I only have one question for you though: How > do you "connect" the subclass of RequestProcessor that you wrote with the > struts Ac

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
while and can't figure out how to > >> do this easily. > >> > >> I would like to append a unique number to each request in an attempt > >> to defeat caching (setting all the normal META tags as well as the > >> 'nocache' in the controller doesn&#

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
I am failing to see what the problem is. Just create a new parameter and give it a new number. Why is that a problem? At 09:23 AM 3/6/2004, you wrote: Hi Brad, Someone on this list (sorry; can't remember who) subclassed ActionForward to do exactly this. Search the archive

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Brad Balmer <[EMAIL PROTECTED]>: > Well, I searched through the archives with no luck on > 'ParameterActionForward' or similar. I ended up trying to ovveride the > ActionForward class but couldn't get it to work well. Then I noticed in > the RequestProcessor there is a doForward() tha

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Brad Balmer
t figure out how to do this easily. I would like to append a unique number to each request in an attempt to defeat caching (setting all the normal META tags as well as the 'nocache' in the controller doesn't seem to ALWAYS work). Therefore I wanted to append a Parameter to eac

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Curtis Taylor
controller doesn't seem to ALWAYS work). Therefore I wanted to append a Parameter to each request and add a unique number so that the server would not look in the cache. (Having the user change their browser caching mechanism isn't an option). I see where I can SEE the different

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Oops, typo.. > In your Action classes, where you usually have something like: > return mapping.findForward("success") > > you instead could have: > > return (Util.makeUnique("success")); I meant: return (Util.makeUnique(mapping.findForward("success"))); Geeta --

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
ta Brad Balmer wrote: > I've been looking into this for a while and can't figure out how to do > this easily. > > I would like to append a unique number to each request in an attempt to > defeat caching (setting all the normal META tags as well as the > 'nocache'

Extending Request Processor to append request parameter

2004-03-06 Thread Brad Balmer
LWAYS work). Therefore I wanted to append a Parameter to each request and add a unique number so that the server would not look in the cache. (Having the user change their browser caching mechanism isn't an option). I see where I can SEE the different request parameters, but where can I ap

RE: JavaScript Parameter

2004-02-26 Thread Andrew Hill
!) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 February 2004 18:58 To: Struts Users Mailing List Subject: Re: JavaScript Parameter First when debuging javascript alert boxes are handy. alert(this.form,'<%= val %>') or alert(this.form,'

[ot]Re: JavaScript Parameter

2004-02-26 Thread Mark Lowe
n say! (alerts() are still very useful though. Espcially for bugs that only come up in IE!) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 February 2004 18:58 To: Struts Users Mailing List Subject: Re: JavaScript Parameter First when debuging javascript a

Re: [ot]Re: JavaScript Parameter

2004-02-26 Thread Jim Theodoridis
Another solution is to to see the source of the page ie->View->source - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 3:22 PM Subject: [ot]Re: JavaScri

Re: [ot]Re: JavaScript Parameter

2004-02-26 Thread Mark Lowe
Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 3:22 PM Subject: [ot]Re: JavaScript Parameter IE on PC (when i have to test) seems to also like complaining about javascript where it says it doesn't find object but then the script proceed to work anyway. And I thought

RE: JavaScript Parameter

2004-02-26 Thread Randy Dillon
Have you tried: :-> -Original Message- :-> From: Anirudh Jayanth [mailto:[EMAIL PROTECTED] :-> Sent: Wednesday, February 25, 2004 10:32 PM :-> To: 'Struts Users Mailing List' :-> Subject: JavaScript Parameter :-> :-> :-> Hi, :-> I have a scriptle

RE: JavaScript Parameter

2004-02-26 Thread Anirudh Jayanth
Hi, The solution that Randy suggested works perfectly. Another possible solution is to use the scriptlet as a declaration. ie <%! String val=obj.getValue("Key"); %> Then val can be used within the javascript function directly without have to pass it as a parameter. Ie Fun

Re: JavaScript Parameter

2004-02-26 Thread Mark Lowe
pt I prefer to stick to " as more readable). and so on. You should get to the bottom of your problem soon enough. On 26 Feb 2004, at 05:32, Anirudh Jayanth wrote: Hi, I have a scriptlet <% String val=obj.getValue("Key"); %> I need to use this value to be passed as a javascr

JavaScript Parameter

2004-02-25 Thread Anirudh Jayanth
Hi, I have a scriptlet <% String val=obj.getValue("Key"); %> I need to use this value to be passed as a javascript parameter inorder to set a property value. ")" /> The parameter value is not being passed to jsFunction This works when I use a hardcoded value

Re: Global Forward with parameter not giving expected results

2004-02-24 Thread Niall Pemberton
y 24, 2004 11:19 PM Subject: Global Forward with parameter not giving expected results > Hi, > > I am trying to use global forwards as suggested in the struts patterns on > husted dot com but I am not seeing the request parameter (type) in the > Action class. Here are the relevant pie

Global Forward with parameter not giving expected results

2004-02-24 Thread asif . jiwani
Hi, I am trying to use global forwards as suggested in the struts patterns on husted dot com but I am not seeing the request parameter (type) in the Action class. Here are the relevant pieces from different files. JSP Code HW struts-config

Setter method signature when using the 'indexed' parameter of 'ht ml:checkbox'

2004-02-10 Thread Markus . Malmqvist
Hi, I have a checkbox inside a collection which is iterated inside JSP page. Thus I must index the checkboxes to be able to tell which ones are checked. However, I have been unable to find out which signature the corresponding setter method of the actionform should have. I think I have tried

RE: Using Parameter in Action via the struts-config.xml

2004-02-05 Thread Anand Patil
It worked!!! Thanks a lot Anand -Original Message- From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 1:49 PM To: Struts Users Mailing List Subject: RE: Using Parameter in Action via the struts-config.xml There's a mapping.getParameter() m

RE: Using Parameter in Action via the struts-config.xml

2004-02-04 Thread Gopalakrishnan, Jayesh
There's a mapping.getParameter() method to fetch the parameter value. I remember reading that its mostly used while using LookupDispatchAction. Personally, I have used this parameter attibute to represent a flag/indicator to my action & it works fine. -jayash -Origina

RE: Using Parameter in Action via the struts-config.xml

2004-02-04 Thread Robert Taylor
> But how can I get the value specified in the "parameter" > attribute in my action class. ActionMapping.getParameter() will get you the value of the parameter attribute. > Also using "set-property" inside a > "action" tag does not w

Using Parameter in Action via the struts-config.xml

2004-02-04 Thread Anand Patil
Hi All, The struts configuration DTD supports having a "parameter" attribute to a "action". But how can I get the value specified in the "parameter" attribute in my action class. Also using "set-property" inside a "action" tag does not work?

Re: Parameter ???

2004-01-31 Thread Otávio Augusto
Don't use the "ção" expression. Is that possible? HTH Otávio Augusto On Thu, 29 Jan 2004 19:42:51 -0200 "Mauricio T. Ferraz" <[EMAIL PROTECTED]> wrote: > How can I compare a parameter in my URL (someAction.do?type=Alteração) with > the tag do something &

RE: parameter

2004-01-30 Thread Matthias Wessendorf
oh... saw the special char... sorry... -Original Message- From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 11:25 AM To: Struts Users Mailing List Subject: parameter How can I compare a parameter in my URL (someAction.do?type=Alteração) with the tag do

RE: parameter

2004-01-30 Thread Matthias Wessendorf
hi Mauricio, yes it is Alteração :-) cheers, -Original Message- From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 11:25 AM To: Struts Users Mailing List Subject: parameter How can I compare a parameter in my URL (someAction.do?type=Alteração

parameter

2004-01-30 Thread Mauricio T. Ferraz
How can I compare a parameter in my URL (someAction.do?type=Alteração) with the tag do something The problem is the "ção" . How can I sove this ??? thanks

Parameter ???

2004-01-30 Thread Mauricio T. Ferraz
How can I compare a parameter in my URL (someAction.do?type=Alteração) with the tag do something The problem is the "ção" . How can I sove this ??? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

{ICICICARE#005-218-242}frame encode parameter in UTF-8

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

frame encode parameter in UTF-8

2004-01-29 Thread dutrieux
Hello, I do that on my JSP: The problem is that the parameter is encode in UTF-8 and all my page is in ISO-8859-1. How can solve my problem. Best regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

frame encode parameter in UTF-8

2004-01-29 Thread dutrieux
Hello, I do that on my JSP: The problem is that the parameter is encode in UTF-8 and all my page is in ISO-8859-1. How can solve my problem. Best regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Jerry Jalenak
-1496 [EMAIL PROTECTED] > -Original Message- > From: Paul McCulloch [mailto:[EMAIL PROTECTED] > Sent: Friday, January 23, 2004 9:00 AM > To: 'Struts Users Mailing List' > Subject: RE: [DisplayTag] Use of ID= Parameter > > > Another thought. I believe t

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
004 14:29 > To: 'Struts Users Mailing List' > Subject: RE: [DisplayTag] Use of ID= Parameter > > > Paul - > > Thanks! I modifed the TLD, added the get/set methods for the > tableId parm, > and modified the encodeParameter() method as suggested, and > eve

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
4:29 > To: 'Struts Users Mailing List' > Subject: RE: [DisplayTag] Use of ID= Parameter > > > Paul - > > Thanks! I modifed the TLD, added the get/set methods for the > tableId parm, > and modified the encodeParameter() method as suggested, and > everythi

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Jerry Jalenak
(913) 577-1496 [EMAIL PROTECTED] > -Original Message- > From: Paul McCulloch [mailto:[EMAIL PROTECTED] > Sent: Friday, January 23, 2004 4:20 AM > To: 'Struts Users Mailing List' > Subject: RE: [DisplayTag] Use of ID= Parameter > > > This has

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
this.name; Paul > -Original Message- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED] > Sent: 22 January 2004 16:27 > To: '[EMAIL PROTECTED]' > Subject: [DisplayTag] Use of ID= Parameter > > > All, > > I'm in the process of implementing the n

[DisplayTag] Use of ID= Parameter

2004-01-22 Thread Jerry Jalenak
All, I'm in the process of implementing the new taglib, and am really excited about the ability to have multiple, independent, tables on the same page. In order to make this work, though, the ID= parameter for each table has to be different. This is where I'm running into problems.

RE: passing request parameter to mapping.findForward(alias)

2004-01-08 Thread Richard Hightower
Hightower [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 12:20 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: passing request parameter to mapping.findForward(alias) there are at least two ways static parameter? dynamic? (in execute method) ActionForward

RE: passing request parameter to mapping.findForward(alias)

2004-01-08 Thread Richard Hightower
there are at least two ways static parameter? dynamic? (in execute method) ActionForward forward = mapping.findForward("success"); return new ActionForward(forward.getPath() + "?foo=" + bar); [check the java docs on the second one... i am doing it from memory, i

passing request parameter to mapping.findForward(alias)

2004-01-07 Thread N.N.S.S Ravi Krishna
Hi All, how to send a parameter along with the forward alias name in mapping .findForward(xyz).any help is appreciated thanks in advance, ravi

Bean As A Parameter In A Method - Compilation Error

2003-12-31 Thread Caroline Jen
I followed the MVC design. I give the data access activity (insertThread) to the ThreadHandler class. And a bean is passed as a parameter of the insertThread method. However, I got compilation error saying that insertThread(java.lang.String, java.lang.String, ... , java.sql.Timastamp, int

Re: findByProperty() in the scaffold.sql.AccessBase - Need One Additional Parameter to the Pair of Property/Value

2003-10-31 Thread Caroline Jen
Please help. Need your clever ideas. Thank you. --- Caroline Jen <[EMAIL PROTECTED]> wrote: > I am using the findByProperty method in the > org.apache.commons.scaffold.sql.AccessBase. The > findByProperty method takes "one" pair of > property/value as it parameters. As such, visitors > of > the

findByProperty() in the scaffold.sql.AccessBase - Need One Additional Parameter to the Pair of Property/Value

2003-10-30 Thread Caroline Jen
I am using the findByProperty method in the org.apache.commons.scaffold.sql.AccessBase. The findByProperty method takes "one" pair of property/value as it parameters. As such, visitors of the web site can query all articles in the database by providing 'author' as the property and supply the name

Re: Redirect w. generic parameter using action forward

2003-10-14 Thread Morten
Robert Taylor wrote: You can do this in your action class manually: ActionForward forward = mapping.findForward("success"); String path = forward.getPath(); path += "?file=" + fileName; // url encoded file name return new ActionForward(path, true); // redirect Ooh, thanks. There are more slick wa

RE: Redirect w. generic parameter using action forward

2003-10-13 Thread Robert Taylor
his, but this should put you on the right track. robert > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Morten > Sent: Monday, October 13, 2003 12:37 PM > To: [EMAIL PROTECTED] > Subject: Redirect w. generic parameter using action forward > &g

Redirect w. generic parameter using action forward

2003-10-13 Thread Morten
Hi, Is it possible to add a parameter to the redirect when redirecting via an action forward? Eg. In my.struts.Action I wish to set the parameter file=foo.txt parameter in the redirect request, ie. effectively, I want the following to happen: response.sendRedirect("/streamingservlet/

RE: Can I get parameter using bean tag?

2003-10-03 Thread Richard J. Duncan
Try Regards,   Rich -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:11 PM To: Struts Users Mailing List Subject: Can I get parameter using bean tag? I have the following fowarding jsp's myjsp.jsp?type=type1 myjsp.jsp?type=type2

RE: Can I get parameter using bean tag?

2003-10-03 Thread Wendy Smoak
> I wanted to use this information to set radio button default values. One default when > type=type1 and the other default value > when type = type2 (calling the same jsp, myjsp.jsp). Make your decisions in the Action code, set the appropriate property of the ActionForm to the correct value, the

RE: Can I get parameter using bean tag?

2003-10-03 Thread Hibbs, David
Yep. See the bean:parameter tag at http://jakarta.apache.org/struts/userGuide/struts-bean.html#parameter David Hibbs Staff Programmer / Analyst American National Insurance Company > -Original Message- > From: Barry Volpe [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 200

Can I get parameter using bean tag?

2003-10-03 Thread Barry Volpe
I have the following fowarding jsp's myjsp.jsp?type=type1 myjsp.jsp?type=type2 I'm not sure if this is valid but I would like to use a tag(bean tag?) in my jsp to identify if type = type1 or type = type 2. I wanted to use this information to set radio button default values. One default when typ

RE: How can I place a parameter back on the URL

2003-10-02 Thread Menke, John
Use JSTL: "> Link Text -Original Message- From: John Habbouche [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 12:51 PM To: Struts Users Mailing List Subject: How can I place a parameter back on the URL I have invoking a JSP with a parameter appended to

RE: default for parameter

2003-09-29 Thread Steve Raeburn
ist > Subject: default for parameter > > > Hi, > I have a action class extended for DispatchAction class. > Is there any way if the parameter value is not define it will > call some predefine method. > > e.g > my strut config is as follows > path="/Projec

default for parameter

2003-09-29 Thread deepaksawdekar
Hi, I have a action class extended for DispatchAction class. Is there any way if the parameter value is not define it will call some predefine method. e.g my strut config is as follows Now if there is no dispatch variable in any scope, is there any way by which a some

Action parameter field

2003-09-19 Thread Gregory F. March
I have an tag that is passing paramId, paramName and paramProperty to a LookupDispatchAction action. How can I set the parameter so the LookupDispatchAction functions properly? I know I can do it with javascript, but I don't like hardcoding the parameter in the jsp. I also know tha

RE: REPOST: IMP :: Defining a single parameter when returning Col lection of F orm Beans as Request Attribute

2003-09-18 Thread Chawla, Yogesh
Thanks Matt. Not able to find relevant info for what to do for Search in the archives too.. -Original Message- From: Sgarlata Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 8:27 PM To: Struts Users Mailing List Subject: Re: REPOST: IMP :: Defining a single parameter

Re: REPOST: IMP :: Defining a single parameter when returning Collection of F orm Beans as Request Attribute

2003-09-18 Thread Sgarlata Matt
If you are using then the hidden parameter you are passing MUST be a property of the form bean. A simple work-around is to just use directly instead of using the Struts HTML taglib. Search results is a long discussion, and I'm not sure what the best practices are. There's no i

REPOST: IMP :: Defining a single parameter when returning Collect ion of F orm Beans as Request Attribute

2003-09-18 Thread Chawla, Yogesh
parameter called "pageNo". Now when I use the html:hidden, it requires the property="pageNo" to be a bean parameter !! And gives error when I pass this as request object. As under :: "> Anybody can give ideas for this: Another Design Issue : Search Results page, h

IMP :: Defining a single parameter when returning Collection of F orm Beans as Request Attribute

2003-09-18 Thread Chawla, Yogesh
parameter called "pageNo". Now when I use the html:hidden, it requires the property="pageNo" to be a bean parameter !! And gives error when I pass this as request object. As under :: "> Anybody can give ideas for this: Another Design Issue : Search Results page, h

RE: Using the tag as a parameter for itself

2003-09-11 Thread hari_s
What will you do with bean:massage is it for throw an output to page How about if you try with bean:write -Original Message- From: Mehdi EL AKARI [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: Using the tag as a parameter for

RE: How can I place a parameter back on the URL

2003-09-11 Thread Pady Srinivasan
, 2003 12:51 PM To: Struts Users Mailing List Subject: How can I place a parameter back on the URL I have invoking a JSP with a parameter appended to the jsp name (i.e. jsname.jsp?from=main) using Struts and Tag libraries. This parameter is specified as part of the struts-config.xml forward

How can I place a parameter back on the URL

2003-09-11 Thread John Habbouche
I have invoking a JSP with a parameter appended to the jsp name (i.e. jsname.jsp?from=main) using Struts and Tag libraries. This parameter is specified as part of the struts-config.xml forward element. When I enter my jsp, I check to see if my parameter is there by invoking: This

Re: Using the tag as a parameter for itself

2003-09-11 Thread Mehdi EL AKARI
Thank you it has worked Mehdi - Original Message - From: "Paul McCulloch" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 8:30 AM Subject: RE: Using the tag as a

RE: Using the tag as a parameter for itself

2003-09-11 Thread Paul McCulloch
Using struts tags: Using JSTL: Paul -Original Message- From: Mehdi EL AKARI [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 09:02 To: [EMAIL PROTECTED] Subject: Using the tag as a parameter for itself Hello everybody, I'm

Using the tag as a parameter for itself

2003-09-11 Thread Mehdi EL AKARI
Hello everybody, I'm a new struts developper, and i need to do the following thing: but this does not work! Do yo have any suggestions please? Thank you

[HELP] how passing in list sql statement parameter using scaffold

2003-09-10 Thread Lázaro Miguel Fung
Hi. I'm using scaffold, how I can pass a numeric list in this sql statement select * from table_name where key in (?) key is an integer. When I try to pass a list like this: 8,2,5,10 the select only return the record related to the first item (8). Any help will be highly apretiated. TIA LFung

How can I construct STRUTS select options tag according to a parameter ?

2003-08-30 Thread Fumitada Hattori
Hi there. How can I construct STRUTS select options tag according to a parameter ? I got a jsp named "example_1.jsp". One accesses the page with a parameter like example_1.jsp?id=2 . Now what I wanna do is that the example_1.jsp get the value of id parameter and construct select o

Re: File Upload and Request Parameter

2003-08-29 Thread Jason Lea
David Stemm wrote: All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like th

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like th

RE: adding a parameter to html:link with a map

2003-08-20 Thread Kamholz, Keith (corp-staff) USX
: adding a parameter to html:link with a map >I want to be able to add a literal parameter to a link > >but I already successfully use >this adds a Map of parameters, but I'd like to be able to add further >parameters literally (ie not from a bean). > >Is there any way I ca

RE: adding a parameter to html:link with a map

2003-08-19 Thread Greg Ludington
>Okay I can do this: > > >Printer page > > >seems a bit of a kludge, be nice to just specify an addition rather than put >in and take it out of the map. I am not sure it is recommended practice to mix Map and single params in the same html:link tag, but, if all you need is to add a print=true to t

RE: adding a parameter to html:link with a map

2003-08-19 Thread Mike Whittaker
>I want to be able to add a literal parameter to a link > >but I already successfully use >this adds a Map of parameters, but I'd like to be able to add further >parameters literally (ie not from a bean). > >Is there any way I can achieve this, by struts or jstl or a

adding a parameter to html:link with a map

2003-08-19 Thread Mike Whittaker
I want to be able to add a literal parameter to a link but I already successfully use this adds a Map of parameters, but I'd like to be able to add further parameters literally (ie not from a bean). Is there any way I can achieve this, by struts or jstl or anything!? -- M

Parameter with message resources

2003-08-14 Thread Vincent Peytavin
Hello, I'm wondering on how to parameter a message, when there is a "{number}" in the .properties. This is an example : In the ApplicationResources.properties, there is a little sentence "my.text=The {0} t-shirt(s) cost ${1}". In the JSP, how could I change "{0}&qu

RE: Newbie: Passing parameter using html:link, but how to get it back?

2003-08-04 Thread DE BACKER Sam
> > If I do the data access part in UserDetailAction, how can I retrieve > > the UserId parameter that was specified from the link part in > > UserList.jsp? > > request.getParameter("UserId"); or add a form bean to your action, in struts-config.xml, (static

Re: Newbie: Passing parameter using html:link, but how to get itback?

2003-08-03 Thread Rick Reumann
On Mon, Aug 04,'03 (11:36 AM GMT+0800), Andy wrote: > If I do the data access part in UserDetailAction, how can I retrieve > the UserId parameter that was specified from the link part in > UserList.jsp? request.getParameter("U

Newbie: Passing parameter using html:link, but how to get it back?

2003-08-03 Thread Andy Cheng
action mapping, which then will forward the request to UserDetail.jsp. If I do the data access part in UserDetailAction, how can I retrieve the UserId parameter that was specified from the link part in UserList.jsp? Andy

[OT] Approaches to URL Parameter masking in Struts

2003-08-01 Thread John Cavacas
k the way he refers to this practice is correct. I'm more used to referring to it as URL parameter rewrite or masking. For those that don't know what I am talking about, here's an example. Say you have an URL like so: http://www.mysite.com/do/SomeAction?param1=value1¶m2=value2 After

passing parameter to a getter method

2003-07-29 Thread Richard Raquepo
help. how can i pass a parameter to a getter method using JSTL of Struts-EL? example in a java i can get values from my bean using ArrayList values = mybean.getSampleValues("id01"); now how can i do that in struts/jsp. using logic-el:iterate or for each. "Id01"

passing parameter to a getter method

2003-07-29 Thread Richard Raquepo
help. how can i pass a parameter to a getter method using JSTL of Struts-EL? example in a java i can get values from my bean using ArrayList values = mybean.getSampleValues("id01"); now how can i do that in struts/jsp. using logic-el:iterate or for each. "Id01"

Pb with UTF-8 parameter encoding for

2003-07-16 Thread Marc Guillemot
Hi, my links generating with with a parameter map don't work when the value of one of the attributes contains non ascii characters like "Türkei". The generated link looks like: /search.do?freetext=T%C3%BCrkei with the "ü" encod

Re: newbie question - setting form parameter in Javascript

2003-07-13 Thread Mark Lowe
HttpServletResponse response) throws Exception { ... } } ///struts config On Saturday, July 12, 2003, at 11:11 PM, Shyam A wrote: Mark, Thanks a lot for your mails. I have used "action" as a form bean property and not as a parameter in

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Shyam A
Mark, Thanks a lot for your mails. I have used "action" as a form bean property and not as a parameter in struts-config. Unfortunately, the Javascript function doesn't seem to work...it does not set the value of the ActionForm property, "action". When I tried to p

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Rick Reumann
> > My Javascript function is given below: > > > > > > > >

  1   2   3   4   5   6   >