Taglibs without RTExpr

2005-04-29 Thread Laurent
Hi, I am using the Cache taglib from Jakarta Taglibs. On the documentation page: http://jakarta.apache.org/taglibs/doc/cache-doc/ there are examples of attributes having RTExpressions (one example is key="${user}.${verbosity}"), but the tld says none of the attributes can be RTExpressions (you ca

Re: Tiles Exception

2005-04-29 Thread Laurent
Nimish Chourey , Tidel Park - Chennai wrote: > Are you sure there is no way out ? I really feel , there might be some way > out . Hi, I use tiles and I personnaly have no problem getting the error messages. I use the NetBeans IDE. All my logs and 'normal' exceptions (that occur in Java classes) c

Accessing path extra info: possible action-mapping bug

2005-04-29 Thread Laurie Harper
Hi, I'm trying to use path extra info to pass data into my JSPs and actions and I'm getting some odd behaviour. If I put this into struts-config.xml: if works fine, but what I actually want to do is more like: My intention was to replace ForwardAc

Actions with wildcards

2005-04-29 Thread rmanchu
hi guys is there an order in which actions are associated with? action1 ... path="/action/*/delete" action2 ... path="/action/*/*" if they were in that order, is it guaranteed that action1 will be evaluated first and then action2? thanx riyaz --

Re: ActionForm key in request/session

2005-04-29 Thread Frank W. Zammetti
Alternatively, you could use the Commons Servlet packages' getRequestParameter(), getRequestHeaders() and getRequestAttributes() methods of the RequestUtils class, and if you need it there is also a getSessionAttributes() method in SessionUtils (I know because I added all four!) http://svn.apa

Re: modules

2005-04-29 Thread Niall Pemberton
http://struts.apache.org/userGuide/configuration.html - Original Message - From: "Lucas Bern" <[EMAIL PROTECTED]> Sent: Friday, April 29, 2005 10:39 PM > Any resource that explains how to configure modules in struts??? -

Re: [OT] Looking for a tree control tag library

2005-04-29 Thread Lucas Bern
check it... http://struts.application-servers.com/ it helps to create tabs, trees, several UI components integrated with struts... tell if it works... Lucas "Barnett, Brian W." <[EMAIL PROTECTED]> wrote: If you know of a good, configurable tree control tag library for use in jsp pages, pl

modules

2005-04-29 Thread Lucas Bern
Any resource that explains how to configure modules in struts??? thanks Lucas - 250MB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo Abrí tu cuenta aquí

Re: ActionForm key in request/session

2005-04-29 Thread Wendy Smoak
From: "rmanchu" <[EMAIL PROTECTED]> > > anyone know what is the key under which the actionform is stored within > a request? > It's under whatever name (as in ) you configured in struts-config.xml. Here's the "debug.jsp" that I include at the bottom of my main layout page during development. It

Re: AW: ActionForm key in request/session

2005-04-29 Thread rmanchu
in request/session? what about when using modules? is the prefix appended somewhere? thanx Leon Rosenberg wrote: How about the name? anyone know what is the key under which the actionform is stored within a request? - To unsu

AW: ActionForm key in request/session

2005-04-29 Thread Leon Rosenberg
How about the name? > -Ursprüngliche Nachricht- > Von: rmanchu [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 29. April 2005 22:33 > An: Struts Users Mailing List > Betreff: ActionForm key in request/session > > > anyone know what is the key under which the actionform is > stored with

AW: ActionForm key in request/session

2005-04-29 Thread Leon Rosenberg
How about the name? > -Ursprüngliche Nachricht- > Von: rmanchu [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 29. April 2005 22:33 > An: Struts Users Mailing List > Betreff: ActionForm key in request/session > > > anyone know what is the key under which the actionform is > stored with

ActionForm key in request/session

2005-04-29 Thread rmanchu
anyone know what is the key under which the actionform is stored within a request? riyaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] JSTL + Collection size

2005-04-29 Thread Robert Taylor
Sorry, I left out a paren. Try this: Yes, you have to import the following: <%@ taglib uri="http://jakarta.apache.org/taglibs/fmt"; prefix="fmt" %> BTW, functions are part of JSTL1.1. /robert -Original Message- From: draegoon Z [mailto:[EMAIL PROTECTED] Sent: Friday, April 29, 200

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Michael Jouravlev
After reading "Form Submission" at http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13 this behaviour seems correct. === cut here === 17.13.3 Processing form data When the user submits a form (e.g., by activating a submit button), the user agent processes it as follows. Step one: Identify

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Eoin Dunne
Rick you hit the nail on the head. In my mind I thought that when I hit 'enter' and when I clicked the button they were doing the same thing (in fact someone asked me this ealier). But now I realize it was failing when I hit enter and working when I pushed the button. The reason for this is I

Re: [OT] JSTL + Collection size

2005-04-29 Thread Rick Reumann
draegoon Z wrote the following on 4/29/2005 2:21 PM: I tried it, said the syntax is wrong. I didn't see anything about "fn" in the JSTL spec. Where can I find documentation on this? Do I need to import a library? For now, I am just using a c:for loop to count the collection, but this can't be the c

RE: [OT] JSTL + Collection size

2005-04-29 Thread Brian McGovern
It works now. Thanks to everyone for helpin. im looping through an array list of hashtables.. so my syntax goes like this.. it actually turned out to be easy cause i know the names of my key. Where my hashtable has keys named (firstname, lastname) -B -Original Message

Re: Cannot find global ActionForward for name

2005-04-29 Thread Morris Jones
Daniel Kies wrote: Greetings. I am getting this error on an App and I can't seem to find out why. Any suggestions? Struts-Config: [...] Result: Error 500: Cannot f

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Niall Pemberton
DispatchAction isn't going to change, since it would create compatibilty problems. But you could always submit a new DispatchAction flavour - it would be pretty simple, just override the getMethodName() method. This type of behaviour has been advocated before, but no ones submitted anything for co

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Michael Jouravlev
Absolutely agree. but I hate to use javascript unless really needed. Yesterday I suggested to use name instead of value for DispatchAction ("DispatchAction: use name instead of value" in dev list). It did not get any responses though. On 4/29/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > I really

Re: [OT] JSTL + Collection size

2005-04-29 Thread draegoon Z
I tried it, said the syntax is wrong. I didn't see anything about "fn" in the JSTL spec. Where can I find documentation on this? Do I need to import a library? For now, I am just using a c:for loop to count the collection, but this can't be the cleanest way. From: Robert Taylor <[EMAIL PROTECTED]>

Re: [OT] JSTL and hashtable

2005-04-29 Thread Rick Reumann
Brian McGovern wrote the following on 4/29/2005 1:38 PM: Slightly off topic, but has anyone ever been able to get a hashtable to display using jstl, calling the hash's values by key. > > I can loop through em all just fine, but i want to be able to call > each directly like > > Not sure wha

Re: [OT] JSTL and hashtable

2005-04-29 Thread [EMAIL PROTECTED]
Brian McGovern wrote: Slightly off topic, but has anyone ever been able to get a hashtable to display using jstl, calling the hash's values by key. I can loop through em all just fine, but i want to be able to call each directly like I think it is: or Wolfgang ? THanks -B --

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Rick Reumann
I really don't like using the property on the button for the dispatch parameter. I've run into problems with this before. For example are you use the page always looks the same each time you are doing the post? The reason I ask is I found really weird behavior when you end up with more than one

[OT] JSTL and hashtable

2005-04-29 Thread Brian McGovern
Slightly off topic, but has anyone ever been able to get a hashtable to display using jstl, calling the hash's values by key. I can loop through em all just fine, but i want to be able to call each directly like ? THanks -B ---

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Niall Pemberton
Its not impossible that it could be a bug in the Struts tags - but those tags have been in use for a long time by alot of people so I would be surprised if that was the case. I don't actually use this technique - all my submit buttons just do a submit and I don't have their "name" attributes set. Y

problem with checkbox values and map backed properties

2005-04-29 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
hi, i have the following problem with map backed properties: i created a form bean with a map called inCampaignMap, and the getter and setters being "boolean getInCampaign(String key)" and "setInCampaign(String key, boolean value)". internally, of course, the map value entries are of type Boolean

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Eoin Dunne
Nial I used a packet sniffer to see what was actually being posted from the browser to the server. for some reason the &method=addcomponent gets dropped off the post. There doesn't seem to be any logic to it either. I tried spaces in the text field and that works fine most of the time. But i

LAZLO + Struts

2005-04-29 Thread kjc
Any experiences using Lazlo and Struts - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

validator - date validation

2005-04-29 Thread rmanchu
hi guys in validator, date validation is based on locale. i want to fix it to SQL type dates only; -mm-dd is there a way to do this? or do i write the rule? riyaz. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Base Context

2005-04-29 Thread Andrew Thorell
I'm not sure if this is a struts ... 'thing' or it's just for web development in general, but perhaps someone can explain this for me. My file structure is set up like this. My index.jsp is in the root directory, all my other .jsps are located in the /pages/ directory. A link off the index pages

Re: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Eoin Dunne
Hey Niall I tried that debugging solution you suggested and here's the result. In this case the submit worked about 5 times in a row (so I manually clicked submit then went back to that page...etc.etc), then resolved to the unspecified method. Here's the output Value =[null] Locale=[en_US

RE: DynaActionForm unable to find parameter method that happens every 2-3 times

2005-04-29 Thread Eoin Dunne
No, I'm always doing the submit by actually clicking the button with a mouse. At least I certainly am now. Same behavior. I'm going to try Nial's debugging suggestion to see if I can add any more information to our discussion. thanks for the feedback guys. From: "David G. Friedman" <[EMAIL PR

[OT] Looking for a tree control tag library

2005-04-29 Thread Barnett, Brian W.
If you know of a good, configurable tree control tag library for use in jsp pages, please advise. Thanks, Brian Barnett This email may contain confidential material. If you were not an intended recipient, Please notif

Cannot find global ActionForward for name

2005-04-29 Thread Daniel Kies
Greetings. I am getting this error on an App and I can't seem to find out why. Any suggestions? Struts-Config: Index.jsp: <%@ taglib uri="/WEB-INF/struts-logic

Re: For Lucas Bern, getOutputStream already called for this response

2005-04-29 Thread Lucas Bern
thanks! i excuse for having sent this mail this way, it was not mi intention... the problem is what you say, i can not change the content type for the same response, i have to implement a servlet... thanks again! Lucas Rick Reumann <[EMAIL PROTECTED]> wrote: Lucas Bern wrote the following on

tiles - mapping.getInput()

2005-04-29 Thread rmanchu
hi menuAction and formAction are tiles definitions i've defined. both works fine - i can see from the first action mapping what i want to do here is that, if form validation fails, it should forward to the tiles definition formAction. (though not shown

Re: [OT] JSTL + Collection size

2005-04-29 Thread Joe Germuska
At 7:30 AM -0400 4/29/05, Robert Taylor wrote: Size: If you can't use JSTL 1.1 functions yet, you can use the tag from Struts' taglib to define a bean with the collection's size as its value. Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are wea

Re: [OT] JSTL + Collection size

2005-04-29 Thread Robert Taylor
Size: draegoon Z wrote: Just trying to find the ${my_collection.size} or ${my_collection.length}! Why is it not that simple? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---

Re: multipart-formdata

2005-04-29 Thread Dakota Jack
I am not sure what you are planning to do, so it is a bit hard to be helpful. It does not matter if there are file uploads on the form. If the RequestProcessor detects that it is a multipart request and you have associated an ActionForm with your Action, Struts will grab the multipart request and