Re: how to dynamically generate select fields

2006-07-16 Thread Yanroy
Well, I already documented as much of it as I'm sure I've got right on the wiki for the group I work for. Unfortunately, it's not a public wiki. I'd be happy to copy/paste it to a public wiki if someone would direct me to one. The one that wendy has appears not to be public, as I mentioned befo

Re: how to dynamically generate select fields

2006-07-14 Thread Yanroy
I'm glad you confirmed for me that the Servlet version has little or nothing to do with the struts version... I was beginning to suspect this. There should be a wiki page somewhere that demystifies all this... Things I'd like to be able to find (all in one place) are the relations between differe

Re: how to dynamically generate select fields

2006-07-14 Thread Yanroy
I guess I'm using 2.2... I've got this: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> I'm glad you could settle that more or less definitively... The lab manager here (who IS in charge of server configuration) doesn't know what struts version we're using any more than I do. The second time

Re: how to dynamically generate select fields

2006-07-14 Thread Yanroy
Thank you very much for your reply. That looks like it could solve my problem. I guess I'd have to code the input fields by hand (i.e. using instead of a taglib tag), but that's not at all a problem. However, I've never before seen or used those tags that begin with c:. After a little googlin

how to dynamically generate select fields

2006-07-13 Thread Yanroy
Hello again, I've found plenty of examples online for how to create dynamic sets of checkboxes and radio buttons (and I've put them to good use), but I need to also dynamically create select and text fields. I managed the text field by coding the HTML for it by hand, since I don't need to pre-pop

RE: how do I use a LazyDynaBean as an ActionForm?

2006-07-11 Thread Yanroy
It's exactly the "lazy" part of the functionality that I need. I have a large and arbitrary (because they can be defined by the user) set of classes that need fields populated inside them to configure them. I'm assembling the forms to get the user input based on the heirarchy of the class - they

RE: how do I use a LazyDynaBean as an ActionForm?

2006-07-11 Thread Yanroy
I've seen the LazyValidatorForm referenced on a number of websites. I actually tried it before I tried the LazyDynaBean, but it causes an exception. Apparently there's some related class missing? Here's what I get from tomcat when I try to use it: java.lang.NoClassDefFoundError: org/apache/com

how do I use a LazyDynaBean as an ActionForm?

2006-07-11 Thread Yanroy
Hi, You may recall I posted a message similar to this one several days ago. I never received a reply, so I'm hoping that this shorter (and hopefully simpler) version will get one. I'm using a LazyDynaBean as the form associated with a strut, which the docs seem to say will work by being wrapped

Re: Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Yanroy
I'm not 100% sure I understand what you're doing, but it sounds like you're having a problem I just recently had as well. I'm new to struts, and I don't really understand what Tiles means. It sounds like you're including a header and footer file into a main jsp file. I assume this is done with

ActionForm is null when using dynabean

2006-07-07 Thread Yanroy
// TODO: configure analysis here exp.addAnalysis(analysis); return mapping.findForward("AnalysisConfigReturn"); } I hope you'll forgive the long post... I just wanted to provide enough information for someo