validation of nested indexed properties

2003-02-25 Thread Brian Moseley
can anybody provide an example of validation for nested indexed properties? i've included the following form definition within validation.xml, but it causes NoSuchMethodExceptions to be thrown for each field with the message Property 'ip' has no getter method. now that's just completely

Re: indexed html-el and c:forEach

2003-02-19 Thread Brian Moseley
David M. Karr wrote: Brian == Brian Moseley [EMAIL PROTECTED] writes: Brian any chance that we can get support in struts-el for indexed html tags nested Brian within c:forEach, a much more flexible and useful iterator? Brian at the moment, BaseHandlerTag.prepareIndex is hardcoded

suppressing form bean population

2003-02-18 Thread Brian Moseley
i have a standard action - form - action setup in which the first action prepares the page that displays the form and the section action processes the form submission. when the form page's reset button is clicked, the processing action clears out some session state and forwards back to the

indexed properties problem

2003-02-18 Thread Brian Moseley
i'm having a problem with struts' population of a form with an indexed property. specifically, BeanUtils.setProperty is barfing (and something in the stack is annoyingly swallowing the exception) when trying to set a nested property on the indexed property. (see the form, jsp, generated html

indexed html-el and c:forEach

2003-02-18 Thread Brian Moseley
any chance that we can get support in struts-el for indexed html tags nested within c:forEach, a much more flexible and useful iterator? at the moment, BaseHandlerTag.prepareIndex is hardcoded to look for a parent IterateTag. i'm not sure if that could be cleanly overridden to look for a

ELFormTag.getFocusIndex() no such method

2003-01-02 Thread Brian Moseley
for some reason, almost every time i start up my app server (jboss 3.0.4 w/ tomcat 4.1.12) and click to a jsp with an html:form element, i get the following exception: java.lang.NoSuchMethodError: org.apache.strutsel.taglib.html.ELFormTag.getFocusIndex()Ljava/lang/String; at

Re: ELFormTag.getFocusIndex() no such method

2003-01-02 Thread Brian Moseley
David M. Karr wrote: On December 13th, the focusIndex attribute was added to the form tag in the base library. Later that day, I added focusIndex to the form tag in Struts-EL. If you're getting this error, then the version of strutsel.jar that you have does not match the version of struts.jar

ImageBeanButton attributes not populated

2002-12-24 Thread Brian Moseley
having read the tip about ImageButtonBean, i decided to give it a go with one of my forms. i added the relevant properties and accessor methods to my form [actually to a superclass of my form] (shown below) and changed the properties of each button in the associated jsp (i'm using several

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Brian Moseley
Hohlen, John wrote: I'm currently encountering the following error in my JSP trying to use Struts-EL tags. Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag' has no setter method corresponding to TLD declared

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Brian Moseley
Karr, David wrote: I think I found the problem in the latest code base. Adding styleId to html-el:image required one more change that I didn't think of. I had to uncomment the use of the styleId attribute in the BeanInfo class. I've submitted a fix which will hopefully be in tonight's build

Re: Help! Need Struts-El Library Compatible With Struts 1.1 B2

2002-12-10 Thread Brian Moseley
Hohlen, John wrote: P.S. If anyone has the 11/7 release of Struts-EL, I'd love it if they could send it to me. http://www.maz.org/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

dynamic input paths

2002-12-10 Thread Brian Moseley
i'm using struts 1.1b2 to perform a simple validation on an action form. it works great, except: when validation fails, i need to specify an additional request parameter for the input path, as the input page requires that parameter to exist. unfortunately, i get a configuration frozen error

whither validator taglib?

2002-12-10 Thread Brian Moseley
(apologies if this topic has been discussed before- i'm getting an error when searching the list archive: text search not supported for this list or some such.) chapter 12 of struts in action refers to a javascript taglib that doesn't appear to exist. i see the javascript tag in the html

why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
why does html-el:image not support styleId like most of the other html tags do? i found a message in the archive with the justification for options not supporting it, but not for image. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Struts-EL Tag Library Problem (Even More Info)

2002-12-04 Thread Brian Moseley
Karr, David wrote: If it's possible at all, you might try the first few nightly builds that included Struts-EL. I know the first one won't work very well, as I made some major mistakes in the first commit. It was a few days before I got it mostly right. Whether this (combining 1.1b2 with a

Re: why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
Karr, David wrote: Because I forgot to add it to html-el:image after I added it to html:image, even though I noted it was missing in the struts-html-el.xml file, that's why. I'll update that, hopefully today. cool, thanks. i thought it was something like that :) i tried to work up a patch,

Re: why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
Karr, David wrote: You'll find that humorous then, because all I did was add the attribute to the tld. It was already completely handled in the tag class, it just wasn't recognized by the JSP compiler. that was definitely the first thing i tried, but i got some kind of exception that i no