Re: Validator: Validation based on action path and not by form name

2004-03-18 Thread Axel Groß
form name=/resolveAsset as far as i can remember On 2004-03-18 at 19:36:05 +0900, Prasad, Kamakshya wrote: Thanks Adam, But what exactly I have to put in validation.xml Now the xml has these lines formset form name=assetForm Should I change it to? formset action

EL buggy? this shouldn't happen

2004-03-18 Thread Axel Groß
hi all! while trying to figure out how indexed/mapped properties work I get some strange behaviour - I'm pretty sure this doesn't conform to standard (hope I'm mistaken): logic:iterate id=foo indexId=ctr name=mappedTest property=testPrimKey tr td${foo}/td td${ctr}/td

[SOLVED] - my fault - Re: EL buggy? this shouldn't happen

2004-03-18 Thread Axel Groß
sorry! in my code (on the other machine), I reference once the not existing EL variable crt so the code i posted works as expected sorry again :(( (should have taken a break) regards, Axel On 2004-03-18 at 12:46:41 +0100, Axel Groß wrote: hi all! while trying to figure out how indexed

indexed property problem

2004-03-18 Thread Axel Groß
help me with that one, i'd be relieved thanks, axel or perhaps with the wrappers c:set var=key value=${testPrimKey[ctr]} / ${key} what does that do? On 18 Mar 2004, at 12:46, Axel Groß wrote: hi all! while trying to figure out how indexed/mapped properties work I get some

Re: adding items to list in a tile definition using extension

2004-03-18 Thread Axel Groß
On 2004-03-18 at 14:11:43 +0100, nicolas De Loof wrote: Hello, Is it possible when extending a tile definition to ADD some items to an existing list (defined by parent tile definition) ? no, not with the current tiles implementation i posted a generic request for solving this a while ago,

Re: indexed property problem

2004-03-18 Thread Axel Groß
] value= / should that version work? if so it doesnt seem to be the EL part which is amiss. On 18 Mar 2004, at 14:49, Axel Groß wrote: Hi Mark! thanks for your answer tdtestPrimKey[${ctr}]/td evaluates to as it should to testPrimKey[0], testPrimKey[1].. ( i did a stupid mistake

[REPOST] tiles - smth like addToList?

2004-03-18 Thread Axel Groß
as I wanted to start a discussion and evaluate how important this is to the community (~ which didnt work first time; beginning of march) I repost this as nicolas De Loof just again asked the question which led to this mail. To the first posting just Adam Hardy answered - that it would be useful.

Re: adding items to list in a tile definition using extension

2004-03-18 Thread Axel Groß
=currentLocation value=0.1.2/ /definition I use c:forTokens to get indexes in locations (0, 1 2) from currentLocation and print ${locations[index].value} in the JSP. Nico. Axel Groß a écrit : On 2004-03-18 at 14:11:43 +0100, nicolas De Loof wrote: Hello, Is it possible when

Re: Re: Performace Improvement :: Struts based applications

2004-03-18 Thread Axel Groß
some IDEs also precompile the pages... axel On 2004-03-18 at 14:16:26 +0100, [EMAIL PROTECTED] wrote: The reason is jsps are not compiled when you hit the pages the first time.So the first call will always be slow as it alos has to compile jsps.The subsequent calls will use the compiled jsps

Re: indexed property problem

2004-03-18 Thread Axel Groß
the structure look like? I cant see what you're drilling to. On 18 Mar 2004, at 15:23, Axel Groß wrote: On 2004-03-18 at 15:10:47 +0100, Mark Lowe wrote: try html-el:text name=mappedTest property=testPrimKey(${ctr}) / doesnt exist in struts 1.1,right? should be evaluated anyway... i tried now

Re: indexed property problem

2004-03-18 Thread Axel Groß
went through the beanutils code to find the reason for the ArrayIndexOutOfBounds. found that it doesn't use my setter method, which would adjust the array size, but just my getter method (which returns an array, which isn't big enough); moving over to lists instead so i suppose my html was

Re: validation

2004-03-16 Thread Axel Groß
ok, trying that on my machine (struts 1.1) ..at least bean:message bundle=alternate does find it ..no bundle attribute in field tag in this version ..there's a bundle attribute in the msg tag ..and it's plainly ignored looks like a bug to me. ok, spent enough time on this... hm in the commons

Re: is struts UI internationalized?

2004-03-01 Thread Axel Groß
yes, you can i use smth like: bean:define id=buttonText bean:message key=button.submit / /bean:define html:submit value=${buttonText} / hope it helps, Axel On 2004-02-24 at 09:50:21 -0500, Glanville, Jay wrote: Are the UI components of Struts internationalized for me, or do I need

Re: tiles - smth like addToList?

2004-03-01 Thread Axel Groß
On 2004-03-01 at 17:53:30 +0100, Adam Hardy wrote: On 03/01/2004 02:37 PM Axel Gross wrote: I see the need for extending the entries of a putList without overriding the entries in the super definition. Example: definition name=.head.common path=htmlHead.jsp putList name=httpEquiv

EL - can't get access to my constants

2004-02-25 Thread Axel Groß
dear friends! i declared a getter method for a constant, but i can't use it using jsp2.0 Expression Language. public class Constants{ .. public static String getBEAN_PROP_SYSTEM() { return BEAN_PROP_SYSTEM; } .. } in the jsp: works fine: %=

Re: ActionErrors deprecated?

2004-02-17 Thread Axel Groß
Hi Wendy! On 2004-02-09 at 13:04:36 -0700, Wendy Smoak wrote: ... I was trying to get it straight recently, and made this note to myself: In the Action: ActionMessages am = new ActionMessages(); am.add( ActionMessages.GLOBAL_MESSAGE, new ActionMessage(