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

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

2002-11-13 Thread Cohan, Sean
I'm in one action class and I'm want to forward to another DispatchAction class. The second DispatchAction class requires a 'method' parameter which is used to determine which method to call within the DispatchAction. How can I set the method parameter in the first action cla

parameter?

2002-09-05 Thread Michael
I'm generating images dynamically from database info. I want to make the image a clickable map. The following works for a non-clickable image. Is there an easy way to add the parameter information if I use instead of ? Action for map c

with Parameter

2003-01-29 Thread modena
") +"&CorsoSId="+CorsoSId; %> Vis. Corsi Insegn. where corsoSIter is an customtag that i create for iterate on DB.Now i need to pass to action the CorsoSId and the IDFacolta(this is another parameter from another controller).I tryed to p

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

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-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 &

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

Indexed Parameter

2002-10-31 Thread Savantraj, Chennamakal Subramanian
Hi All, How do we handle the Indexed HTML objects in STRUTS. For Example In normal cases when we submit this form we will access the values as String [] abc=request.getParameterValues("myField") ;. How to

Re: Parameter

2002-11-13 Thread Gemes Tibor
2002-11-13, sze keltezéssel Cohan, Sean ezt írta: > Right now, I trying request.setAttribute("method", > "getChangesSinceLastCertified") just before forwarding, but I'm getting a > "HTTP Status 400 - Request[/recertify] does not contain handler parameter

request parameter

2002-11-18 Thread Amit Badheka
I would like to add some request parameter in my action class , before forwarding it to jsp page. Is there any way to do it?

ActionMapping parameter

2001-09-04 Thread Ernest Jones
I wanted some feedback on a feature request before I submit it. In the ActionMapping api you can only get one nameless config parameter (public String getParameter()). I would find it useful if I could specify any number of named parameters (public String getParameter(String key)). The xml in

Forward + parameter

2002-05-28 Thread Damien VIEL
Hi all, Is it possible to set a forward like this in the struts-config.xml ? And then, call from the perform method in the Action Class other customPerform method like following : import ...; public final class AddCompanyAction extends Action { public ActionForward perform(

form parameter

2002-06-05 Thread Nicolas Lapenne
Hello, If I have a jsp file with an undeterminated number of components, how can I use the ActionForm validation with parametred name fields ? Is it possible with struts ? How ? example : I want the user put the surname and name of n men in a form, and use a form without create n instance values.

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

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

LookupDispatchAction, setting parameter?

2003-01-16 Thread Cook, Graham
Small problem, I am using the LookupDispatchAction to handle multple actions, SAVE, DELETE etc. In my JSP page i have a 'submitAction' text field. When the value of 'supplierNumber' has been entered the 'onchange' event will set the 'submitAction' field to the value 'SEARCH' and then submit the fo

RE: with Parameter

2003-01-29 Thread shirishchandra . sakhare
PROTECTED]] Sent: Wednesday, January 29, 2003 9:16 AM To: struts-user Cc: modena Subject: with Parameter Good day! I'm new to struts and i need to help..my problem is: <%=CorsoSId%> <%=CorsoSName%> <%=CorsoSFacolta%> <%=CorsoSCredit

RE: with Parameter

2003-01-29 Thread modena
Scrive [EMAIL PROTECTED]: > a bit out of context but after looking at u r jsp it seems that u are packing > > too much logic in u r jsp..cant u prepare the link parameers in u r action > and > set them on the form... > > and then in the jsp just acces that property of form... Thanks,but i don'

Parameter and html:link

2003-01-30 Thread modena
Vis. Corsi Insegn. where IDFacolta is an parameter that I get from the request and CorsoStudioId is a value that I get from my taglibrary (this iterate on a collection that i pass with the controller). Now I want to know if is possible use the tag < html

quick: parameter question.

2003-06-05 Thread Mick Knutson
I am wondering if the default, if I omit the input="/action.do", what it will default to? I have all of mine the same as the name of my actions, and really don't want to keep adding the parameter each action as I feel it may be redundant. --- Thanks.

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

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,'

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 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

Multiple parameter to

2002-10-18 Thread atta ur-rehman
Hi, How do I include multiple parameters in the tag? currently I got it working for one parameter like: now, what if I want to add another parameter to this list? thanks. ATTA

parameter in session

2002-10-28 Thread Marcus Biel
Hi, I got an select box, where you can select a value. When you hit submit, you get displayed a list of data records that fit to that value. But the selected value should get stored for the whole session, so if you hit on "edit" or "delete" that you directly get displayed the table, wihout selecti

RE: Indexed Parameter

2002-10-31 Thread Joe Latty
[mailto:Savant.Rcs@;ap.sony.com] Sent: Friday, 1 November 2002 2:57 PM To: 'Struts Users Mailing List' Subject: Indexed Parameter Hi All, How do we handle the Indexed HTML objects in STRUTS. For Example

RE: Indexed Parameter

2002-10-31 Thread Savantraj, Chennamakal Subramanian
manually set values in JSP it works. Is this the normal way to do? Rgds -Original Message- From: Joe Latty [mailto:joe@;team2media.com] Sent: Friday, November 01, 2002 2:03 PM To: Struts Users Mailing List Subject: RE: Indexed Parameter In your form protected String[] myField = null

Re: Indexed Parameter

2002-10-31 Thread V. Cekvenich
Struts does this for you! 1.Turn on indexed property for your html:text field. 2. Have your form bean implement iterator. On Submit, Struts fires the setters. (Learned this from Ted H. way back, it's on his pages) (Code example of how is Bean in DAO package on basicPortal.sf.net) Also, when you

Re: request parameter

2002-11-18 Thread Gemes Tibor
2002. november 18. 13:05 dátummal Amit Badheka ezt írtad: > I would like to add some request parameter in my action class , before > forwarding it to jsp page. > > Is there any way to do it? You'd better store the data you'd like to pass to your jsp in request as an attr

RE: request parameter

2002-11-18 Thread Andrew Hill
from other ppl as to how viable a solution it is and any potential problems. -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 20:05 To: Struts Users Mailing List Subject: request parameter I would like to add some request parameter in

RE: request parameter

2002-11-18 Thread Kris Schneider
oblems. > > > -Original Message- > From: Amit Badheka [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 20:05 > To: Struts Users Mailing List > Subject: request parameter > > > I would like to add some request parameter in my action class , before &

Re: request parameter

2002-11-18 Thread Gemes Tibor
2002. november 18. 13:36 dátummal Andrew Hill ezt írtad: > As Gemes says, your best bet is to use an attribute for this. > > I myself however also have a few places where Id really like to 'decorate' > an incoming request's parameters. > > I have not tried this myself so Ive no idea if it will actu

RE: request parameter

2002-11-18 Thread Vipul Sanghi
this will work. I use it. -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:08 PM To: Struts Users Mailing List Subject: Re: request parameter 2002. november 18. 13:36 dátummal Andrew Hill ezt írtad: > As Gemes says, your best bet is

RE: request parameter

2002-11-18 Thread Andrew Hill
was right under my nose the whole time!). Thanks Kris :-) -Original Message- From: Vipul Sanghi [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 21:16 To: Struts Users Mailing List Subject: RE: request parameter this will work. I use it. -Original Message- From

Removing request parameter

2002-07-29 Thread Marius Gabor
Hi! I need help: I have a form that contains a couple of hidden fields. I've tried 2 modify fields values working with JavaScript. It didn't do it. Somehow, these fields are not visible and I can't read or set them. I know that I can getParameter() or getParameterNames() and then I can see the

remove request parameter

2002-07-29 Thread Marius Gabor
Hi! I need help: I have a form that contains a couple of hidden fields. I've tried 2 modify fields values working with JavaScript. It didn't do it. Somehow, these fields are not visible and I can't read or set them. I know that I can getParameter() or getParameterNames() and then I can see the

Remove request parameter

2002-07-29 Thread Marius Gabor
Hi! I need help: I have a form that contains a couple of hidden fields. I've tried 2 modify fields values working with JavaScript. It didn't do it. Somehow, these fields are not visible and I can't read or set them. I know that I can getParameter() or getParameterNames() and then I can see the

struts-config parameter

2001-07-19 Thread Christoph Breidert
Hi everyone, in the dtd of struts-config it says: 'parameter General purpose configuration parameter that can be used to pass extra information to the Action selected by this mapping.' How can I access this parameter in the action. Am I missing something ? Thanks

passing a parameter

2001-08-15 Thread Mike Dewhirst
how would I have a list in struts with each item as a link to a uri (a struts action) and a parameter to pass? in jsp: while (i < items.length) { %> item <%=items[i].getId()%> <% i++; } %> in struts: ? =

Re: ActionMapping parameter

2001-09-04 Thread David Corbin
[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 11:50 AM Subject: ActionMapping parameter > I wanted some feedback on a feature request before I submit it. > > In the ActionMapping api you can only get one nameless config parameter > (public String getPara

Re: ActionMapping parameter

2001-09-04 Thread Ernest Jones
have to be watched for. 2. Using a properties file drawbacks: --if the file location is hard coded, you have the same problem of only one configuration possible of an Action per servlet-context or (to get around that): --if the property file is specified as the parameter value, you still have

Re: ActionMapping parameter

2001-09-04 Thread Ted Husted
So far, on the DEV list, we've had three suggestions about what to do about this: 1. Use named parameters instead of a single parameter (as just mentioned) 2. Use parameter as the name of a property file or other resource where the actual parameters are kept. 3. Add methods to ActionMappin

Re: ActionMapping parameter

2001-09-04 Thread Ted Husted
David Corbin wrote: > I'm not saying it's a bad idea, but be very careful what road you start > down. If you're not careful, you end up "programming" in xml, which can > have its down sides I think we're already doing that ;-) What's happening now is that people are embedding a lot of contr

ActionMappings parameter - field

2001-12-13 Thread Tuomo Syvänperä
Hi, What is the parameter - field for in the ActionMapping class ? I was thinking about storing some info there that I use to communicate some things between my actions. Is it safe to just call ActionMapping.setParameter and set its value or should it be put inside a synchronized block

session parameter values

2002-04-29 Thread ajTreece
This should be fairly simple, but for some reason I can't get it to work. In my LogonAction servlet, after a valid login, I set some session parameters with your basic method like session.getAttribute("UserName");. Now from my jsp I want to display the value of that parameter

Multiple Dynamic Parameter Alternatives

2003-07-08 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I need to use multiple dynamic parameters for some of my links, and I have this working nicely using a map. Unfortunately, my boss doesn't like scriptlets in the JSP pages, and wants me to find out about any alternatives. It's alright if there aren't, but I have to at least try to f

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: 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

tag multiple parameter gotcha!

2003-02-04 Thread ab588
Hi, I have been struggling in vain to use the tag with multiple parameters. I know you're supposed to use a java.util.Map to hold the parameters, since there could be any number of them, but the question is, how do you set up this map within a scriptlet when you can't access formbean properties f

parameter pass to xslt

2003-03-09 Thread bobd
I'm having some problems with passing a DOM Document as a parameter in an XSL transform. TransformerFactory tFac = TransformerFactory.newInstance(); Transformer trans = tFac.newTransformer(xsl-source); trans.setParameter("sched", w3c-DomDoc); trans.transform(DOMSource, DOMResult

RE: LookupDispatchAction, setting parameter?

2003-01-16 Thread Cook, Graham
]] Sent: 16 January 2003 11:59 To: Struts Users Mailing List Subject: LookupDispatchAction, setting parameter? Small problem, I am using the LookupDispatchAction to handle multple actions, SAVE, DELETE etc. In my JSP page i have a 'submitAction' text field. When the value of 'supp

Accessing query string parameter

2003-03-28 Thread Pat Young
I need to be able to access a parameter from a query string. My url looks like... http://localhost:8080/myApp/reports/summaryReport.jsp?reportType=print I need to be able to access the reportType parameter from this URL. What is the best way to do this? Pat Young

Global request parameter filtering

2003-05-28 Thread Mike Whittaker
Say for instance you want to filter for all the ' " \ characters in request parameters either removing them, or escaping them. Either way if you do it before the action form gets them, then on prepopulation of form fields the user will see these alterations (not desirable). If you do it after you

[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

no action parameter defined

2002-09-20 Thread kiuma
Hello I have a jsp page connected to a LookupDispatchAction. when I press enter into a text box the server reports: HTTP ERROR: 500 Request[/listedCustomer] does not contain handler parameter named action What's the solution ? -- To unsubscribe, e-mail: <mailto:[EMAIL P

submit button - request parameter

2002-09-23 Thread Karen Lee
I don't get what the user guide says about the submit button: > property: Name of the request parameter that will be included with this submission, set to the specified value. [RT Expr] What specified value? I read this as, if I have the tag Delete selected the request p

bean property parameter problem

2002-10-16 Thread Heiko . Mesech . extern
hi, my databean contains an property which uses an parameter like this getColumnValue( int column_key ) when i try to get this property in struts collection tag like it will not work ;-) thanks for help heiko mesech -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For addi

Re: Multiple parameter to

2002-10-18 Thread Kris Schneider
>working for one parameter like: > > paramProperty="value"> > > now, what if I want to add another parameter to this list? > > thanks. > > ATTA -- Kris Schneider <mailto:kris@;dotech.com> D.O.Tech <http://www.dotech.com/> smime.p7s Description: S/MIME Cryptographic Signature

Re: parameter in session

2002-10-28 Thread Affan Qureshi
I think placing the Form Bean in the session scope will help. /* A - Original Message - From: "Marcus Biel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 4:57 PM Subject: parameter in session > Hi, > > I got an select box, whe

Re: parameter in session

2002-10-28 Thread Marcus Biel
Monday, October 28, 2002 4:57 PM > Subject: parameter in session > > > Hi, > > > > I got an select box, where you can select a value. When you hit submit, > > you get displayed a list of data records that fit to that value. > > But the selected value should get

Request "parameter" with actionMapping

2002-11-06 Thread Aladar The Dinosaur
Hello, I'm trying to send request parameter (i.e. /uri.do?parameter=value) to the redirected page actionMapping returns, but couldn't find an easy way to do this. Can someone help? I suppose I can forward the control back to the intended page by creating a new instance of ActionForward

html:hidden and request parameter

2002-11-19 Thread Jean-Baptiste Onofré
Hello all, in a jsp, i use : > I would like to use the tag from struts html taglib. Somebody has a sample ? Best regards -- Jean-Baptiste Onofré (Nanthrax) Membre fondateur de phpFR.org http://www.phpfr.org [EMAIL PROTECTED] Membre fondateur du LUG Béziers http://www.lug-beziers.org [EMAIL P

Sending a Dynamic parameter

2002-07-15 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I have an issue that I could use a little help with. I have a link to edit a stored entry. A tag displays the various entries. In the body of the tag, I have that link which sends 2 static parameters 1 dynamic parameter (the indexId). I have tried a few different combinations

RE: Removing request parameter

2002-07-29 Thread Leblon Jean-marc
hail, try request.removeAttribute("ParameterName"); JML [EMAIL PROTECTED] -Original Message- From: Marius Gabor [mailto:[EMAIL PROTECTED]] Sent: lundi 29 juillet 2002 16:46 To: Struts Users Mailing List Subject: Removing request parameter Hi! I need help: I have a

Re: Remove request parameter

2002-07-29 Thread Eddie Bush
*maybe* you could try replying to the threads you have already? And maybe you could wait longer than 15 minutes in between postings of the *exact same material*? I know it can be frustrating to be stuck, but many of us have things to do other than just reply to your query :-) I'm not exactly

Re: Remove request parameter

2002-07-29 Thread Jan Fetyko
Listen to Eddie, he knows what he is talking about, I know from my own experience. J Eddie Bush wrote: > *maybe* you could try replying to the threads you have already? And > maybe you could wait longer than 15 minutes in between postings of the > *exact same material*? I know it can be fru

Re: Remove request parameter

2002-07-29 Thread Marius Gabor
Hi, Eddie! I'm sorry!!! I thought that the massage wasn't posted, that's the reason I did it many times!!! In my mailing list, the thread doesn't seem to be open. So, please excuse me for being so silly! That's for all, not only for you. :) So, my problem is: I have some JSPs and in taglibs.

Re: Removing request parameter

2002-07-29 Thread Marius Gabor
This is completely wrong, because is a PARAMETER, not an attribute. Thanx, anyway! Marius Leblon Jean-marc wrote: > hail, > > try > request.removeAttribute("ParameterName"); > > > JML > [EMAIL PROTECTED] > > > > > > -Origi

Re: Remove request parameter

2002-07-29 Thread Eddie Bush
absolute guess at what you're trying to do. There's not really a way for you to "delete" the parameters from the form (that I am aware of) using JavaScript (I think this what you were wanting to do, but I don't understand your statements well still). Remember: This is

Re: Remove request parameter

2002-07-29 Thread Marius Gabor
guess at what you're trying to do. > > There's not really a way for you to "delete" the parameters from the > form (that I am aware of) using JavaScript (I think this what you were > wanting to do, but I don't understand your statements well still). > R

Re: Remove request parameter

2002-07-30 Thread Eddie Bush
Marius Gabor wrote: >> Does this rambling help any?! Restate your problem, again, and be as >> deliberate (thorough/detail-oriented) with you description as you can >> about your problem and attempted implementation. > > Again?! Well, I can't waste time writing mails all day, u know... > I'l

Re: Remove request parameter

2002-07-30 Thread Marius Gabor
Hi, Eddie! Looks like u r the only one interrested in this s... > What I think I'm unclear about is: At what point are you wanting to > manipulate them? ... on the page? ... at the action itself? I'm trying to manipulate them in the action, for a specific action that user chooses, i.e. whe

Re: Remove request parameter

2002-07-31 Thread Jan Fetyko
set them >> to some well-established value that says "ignore me - I'm not here" >> (which you should then document heavily!). Is this maybe an option? > > > Could be, if u explain me more about that... :) I think Eddie means something like this ( correct me if I&

Re: Remove request parameter

2002-07-31 Thread Eddie Bush
Marius Gabor wrote: >> What I think I'm unclear about is: At what point are you wanting to >> manipulate them? ... on the page? ... at the action itself? > > I'm trying to manipulate them in the action, for a specific action > that user chooses, i.e. when user pushes some stupid button, se

Re: Remove request parameter

2002-07-31 Thread Marius Gabor
> Ok - you should know what the valid range of values is for a given > field. Typically there values which you can use to denote that a field > has explicitly been set/reset to "default" - like setting a variable > used as a loop-index to -1 - there is no language that lets you have -1 > as a

Re: remove request parameter

2002-07-31 Thread Scott Carlson
PROTECTED]> >Subject: remove request parameter >Content-Type: text/plain; charset=us-ascii; format=flowed >> I would think that, based off how the user submits the form (ie. which >> button did they push?) you should know which values to use/ignore - but >> this may not

Re: Remove request parameter

2002-07-31 Thread Eddie Bush
Marius Gabor wrote: >> What I typically do is have a button for each "action" I want to >> perform on a given form's data. Then, by naming the buttons all the >> same name, and providing different "Value" attributes, you can tell >> what the user intended to do, just by which button they pus

request parameter is null

2002-02-19 Thread subhendukumar mohanty
One of my jsp has Struts form tag. Inside that form there is no form element but some static data in form of table. When submitting the form I am passing some querystring. After submitting the jsp page , inside the action class the request parameter is being null. If I am adding a dummy hidden

parameter in a request

2002-04-05 Thread Mike Dewhirst
I have an action: the someInputPage has a hidden input called "type" the someOutputPage does not have it (via request.getParameter()) Any ideas why it does not get passed through? I thought the request would follow all the way through. Any advice will be greatly appreciated.. We've got a

Multiple HTTP Parameter Problem

2002-04-22 Thread Kipnis, Adam
Hi all. I'm trying to execute the following simple jsp, but it's resulting in a parse error on the bean:parameter tag (error message says Bean type 'java.lang.String[]' not found). If I take off the multiple="true" attribute, it works fine. I also know that taking out the bean:write doesn't help e

additional parameter in web.xml

2001-05-28 Thread Hartmut Bernecker
hello, is it possible to add some additional parameter (param-name, param-value) to the web.xml in order to enriche the org.apache.struts.action.ActionServlet with more custom information? How can it be done? Hartmut Bernecker http://www.dhw.de/

RE: struts-config parameter

2001-07-19 Thread Martin, Margaret
in your action code you can retrieve it from the ActionMapping passed in to the perform method via: mapping.getParameter(); We are using this parameter to indicate the method name to invoke from perform, so that we have a handful of action classes with many methods on them rather than a lot of

html:link parameter within logic:iterate

2001-07-30 Thread Warwick Boote
The output of this shows a list of links, but i want &stencilName= apended to the url... how do i do that? I need to use the paramName="stencilName" or somthing like that but nothing seems to work. Waz. =)

RE: struts-config parameter

2001-08-01 Thread Craig R. McClanahan
On Thu, 19 Jul 2001, Martin, Margaret wrote: > in your action code you can retrieve it from the ActionMapping passed in to > the perform method via: > mapping.getParameter(); > > We are using this parameter to indicate the method name to invoke from > perform, so that we

Iterate with offset=parameter

2001-08-09 Thread MacKellar, Kimberly
I am trying to iterate over a Vector using the logic:iterate tag. Everything works fine until I try to set an offset. The offset for where I need to start iterating from is passed in as a parameter to the page and I retrieve it using when I try to use fromRecord in the iterate tag I get

Re: passing a parameter

2001-08-15 Thread Scott Ryan
This is how I do it. It uses a request list stored under the name ListObject which is a Vector of objects. The link passed the payeeId value of the object in the request parameter userId

RE: passing a parameter

2001-08-15 Thread Mike Dewhirst
Ryan [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 18:04 To: [EMAIL PROTECTED] Subject: Re: passing a parameter This is how I do it. It uses a request list stored under the name ListObject which is a Vector of objects. The link passed the payeeId value of the object in the request parameter u

RE: passing a parameter

2001-08-15 Thread Larry Maturo
k, that represents an item in the reviewsList. In the link tag you set that as the parameter to the link with paramName specifying the name specified in id, paramProperty specifying a property of review, and paramName specifying the name you will retrieve this with in the Action Class yo

RE: passing a parameter

2001-08-15 Thread Scott Ryan
YEs it generates the code as your example states. The parameter will be in the request under the name userId. I don't know if the contoller will fill in a field in your action form with a similar name but it should. Scott Ryan Developer First Bank Data Corporation Work: (303) 235-1485

prefix for forward parameter

2001-08-22 Thread Mike Dewhirst
Is it be possible to add a prefix to the "forward" parameter in an action mapping. I'm not too hot with xml, so could you explain how to do this? I presume you could define _something_ in the struts-config.xml/web.xml and include it in the forward value... Thanks

bean tag parameter confusion

2001-02-07 Thread Mike Campbell
"name" parameters.   I can't use , since the "id" parameter is required.  However, gives me an error. (null pointer exception in the page context findAttribute() call).   What DOES seem to work is followed by   Also curiously (to me anyway), seems to work if

Problem using toScope parameter

2001-12-06 Thread Rob Parker
I am having trouble with the tag, specifically the toScope parameter. Here is the situation: I set up some collections in an action class to use as options in a form and set them as attributes on the request object. These collections contain information pulled from a database, customized for

RE: ActionMappings parameter - field

2001-12-13 Thread Jon.Ridgway
Hi Tuomo, The mapping parameter is an arbitrary string associated with a mapping that can be accessed via mapping.getParameter (). Jon. -Original Message- From: Tuomo Syvänperä [mailto:[EMAIL PROTECTED]] Sent: 13 December 2001 12:45 To: [EMAIL PROTECTED] Subject: ActionMappings

Re: ActionMappings parameter - field

2001-12-13 Thread Tuomo Syvänperä
Thx.. But is it safe to use setParameter in your own actions and if I do should i enclose it in a synchronized block ? /tuomo Jon.Ridgway wrote: > Hi Tuomo, > > The mapping parameter is an arbitrary string associated with a mapping that > can be accessed via mapping.getParameter

RE: ActionMappings parameter - field

2001-12-13 Thread Sobkowski, Andrej
Hello, careful with the "parameter" if you're using DispatchAction in your application: it's _reserved_ in that case as it's related to determining the method to call on your Action (check out the DispatchAction doc for more info). For example, if your Action loo

RE: ActionMappings parameter - field

2001-12-13 Thread Tom Klaasen (TeleRelay)
cember 2001 13:45 > To: [EMAIL PROTECTED] > Subject: ActionMappings parameter - field > > > Hi, > What is the parameter - field for in the ActionMapping class ? > I was thinking about storing some info there that I use to communicate > some things betwe

RE: session parameter values

2002-04-29 Thread Galbreath, Mark
Whatever you named it with the session.setAttribute( "[name]", userName). And change parameter to property. Mark -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 5:52 PM To: Struts Users Mailing List Subject: session parameter val

  1   2   3   4   5   6   >