problem of souce code of populate method of RequstUtil class

2003-02-08 Thread wu qihua
It same that populate mothod does not deal with form method of GET,but just work with POST,for the sake of conditon contentType != null) && (contentType.startsWith("multipart/form-data")) && (method.equalsIgnoreCase("POST"))) If the custom render the page with get met

can tapestry work with struts

2003-02-08 Thread wu qihua
Struts is so popular and has a large user community,and tapestry have a good component based idea,can there work together?or can refactor struts to be more component? _ Tired of spam? Get advanced junk mail protection with M

Implications of Various Forms and Validators

2003-02-08 Thread Robert S. Sfeir
I am trying to get full grasp on how to decide how to approach which validator and form to use for my framework. I've successfully managed to setup demos of ActionForm and ValidatorForm, as well as DynaActionForm with DynaValidatorForm. (If some of you are taring your hair out with this, don't

Re: noob question - iteration of a table

2003-02-08 Thread Derek Shen
You need to fetch your table content as a List and put the List inside the session with a name. All these should happen inside an Action. On the result page, you need to use tag to process the item of your List one by one. ... Read through the struts document, it will help. From: Jason Vi

Re: nested custom tag

2003-02-08 Thread Derek Shen
Thanks. Maybe that's the only way. Just wondering how come I can not nest one custom tag inside the attribute of another custom tag. I know that we can nest one tag inside the content body of another custom tag. Maybe jsp should come up with a better way to handle it. Basically, the container

RE: Validator Question

2003-02-08 Thread James Turner
> From: Swish [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 08, 2003 3:51 PM > To: Struts Users Mailing List > Subject: Validator Question > > > > I was wondering, is there a way to configure the validator to > perform a validation on a field only if value of another > field is equal

Re: nested custom tag

2003-02-08 Thread Jeff_Mychasiw
you may also need to specify your type: "Derek Shen" <[EMAIL PROTECTED]> on 02/08/2003 04:24:08 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:nested custom tag trying to figure out how can I put struts tag into t

nested custom tag

2003-02-08 Thread Derek Shen
trying to figure out how can I put struts tag into the attribute of another customer tag. e.g. "/> The container does not like it. What's the way to do it? Thanks ds From: Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Strut

Re: Tiles useAttribute

2003-02-08 Thread Cedric Dumoulin
Hi, Tiles attributes are like method parameters: they are only accessible in the current tiles or method. They aren't accessible in parent or nested tiles. But, you can pass them explicitly to the nested tile in your template.jsp: Hope this help, Cedric Max Kremer wrote: Hi I

Re: dynamic tiles:put

2003-02-08 Thread Cedric Dumoulin
Hi, Attributes of a definition are like parameters of a method: they can be defined before the method is called, but not after. Tiles allows you to define attribute dynamically before you insert the tile. In your case, you want to set an attribute of a parent tile inside a nested tile. This

Re: using tiles, but without knowing the specific jsp's until runtime?

2003-02-08 Thread Cedric Dumoulin
If you use the tiles-config.xml file, you can try to add one definition level: Cedric [EMAIL PROTECTED] wrote: Is there a way to pass a parameter to each tile in the def file? I am using tiles to do the layout of my page, but I do not know until runtime what my header, f

Re: Tiles: passing attributes to definitions

2003-02-08 Thread Cedric Dumoulin
Hi, The solution is to declare a menu definition for each of your different menu: and: Another solution is to add an attribute to mypage, and let the layout pass this attribute to the menu: and in layout.jsp: Ho

Validator Question

2003-02-08 Thread Swish
I was wondering, is there a way to configure the validator to perform a validation on a field only if value of another field is equal to a specific value? If so, how would one go about doing so? Can I write my own validator component to do this if not and how do I go about doing that (are the

RE:[OT] jbuilder8 and struts: "missing message key" error

2003-02-08 Thread Mark Galbreath
Good man! I use vi + ant 1.5 myself. -Original Message- From: miguel angel rojas aquino [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 08, 2003 11:47 AM Mark Galbreath wrote: >You could also consider throwing JBuilder away and using JDeveloper. >It's free, too. > >http://www.ora

(done) Re: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread miguel angel rojas aquino
thanks khalid and david, now my app works :) better to printout your advices and staple them in my cubicle in a really visible place :) David Bolsover wrote: When you create the .properties file, normally you would place it in with all your other .java files JB8 will only put the .properties f

RE: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread David Bolsover
When you create the .properties file, normally you would place it in with all your other .java files JB8 will only put the .properties file in with the compiled classes (where it needs to be) when you rebuild the project. I can't count the number of times I have edited the .properties and run my

RequestProcessor overload error

2003-02-08 Thread John Dubchak
Hi, I've managed to find the documentation on creating a custom RequestProcessor that overloads the processPreProcess method. Everything compiles fine but when the application is deployed (on jBoss as an ear file with the struts jars in the WEB-INF/lib directory of the war file), I get a NoCla

Re: nested:multibox broken? in 1.1b3?

2003-02-08 Thread Jeff_Mychasiw
I got this from Ted's book: The value attribute is the body of the tag. The label falls outside the tag. Assuming that the user will see Monday and the code will be Mon then MonMonday TueTuesday hope this helps.. --

RE: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread Khalid K.
Had as similar problem... If you change the Resource_en.properties, You have to "touch" the corresponding jsp that uses that particular key, otherwise you get a "missing key" errorso 1. make changes to your property file 2. open xyz.jsp and make a small modification and save it (this forc

Re: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread miguel angel rojas aquino
Mark Galbreath wrote: You could also consider throwing JBuilder away and using JDeveloper. It's free, too. http://www.oracle.com/start/jdevelopereap/intro.html?src=855007&Act=105 Mark already done that, even searching a little i've found that i'm not the only one with that problem, somebody

nested:multibox broken? in 1.1b3?

2003-02-08 Thread Sundar Narasimhan
Hi, I'm trying to use nested:multibox, but I can't seem to get Values printed out. I'd like to be able to write Mon Tue ... etc. I see that the checkboxes are rendered ok when I do this. But I don't see any of the "Mon" or "Tue" strings. If I do a view source.. I see No tag or the Mon/

Re: SSL and Struts

2003-02-08 Thread John D. Dubchak
On Saturday 08 February 2003 09:26, Rabih Yazbeck wrote: > Hello, > > I have question regarding the use and the compatibility of SSL and > Struts. My application requires SSL-only connection. Is there any cost > for that? Any compatibility issue by using Struts? Thanks in advance... > > - Rabih Th

RE: SSL and Struts

2003-02-08 Thread mech
Hi, I mix http and https protocol in my current webapp development. My container and form based login is switching to https by a container security constraint. Afterwards I'm also using session beans and almost everything struts offers. So far I encountered not special difficulties with regards to

RE: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread Mark Galbreath
You could also consider throwing JBuilder away and using JDeveloper. It's free, too. http://www.oracle.com/start/jdevelopereap/intro.html?src=855007&Act=105 Mark -Original Message- From: miguel angel rojas aquino [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 08, 2003 10:50 AM To:

Re: [TILES] controllerClass on definitions

2003-02-08 Thread Cedric Dumoulin
Hi, In a general manner, processing related to the business should be in the business layer (in beans associted to the business), and processing related to the rendering (control and view) should be in the webapp layer (struts, tiles, ...). In your case, if you need to rearange or prepare

RE: Extending the RequestProcessor class

2003-02-08 Thread Jörg Maurer
Don't want to be that a wacky answer, but I read the source - only free hotspot for myself newby-level seemed to be (quoting org.apache.struts.action.RequestProcessor): /** * General-purpose preprocessing hook that can be overridden as required * by subclasses. Return true if you wa

Re: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread miguel angel rojas aquino
Thorsten Schäfer wrote: Hi, hi, i'm evaluaring jbuilder8 ee for development with struts, i've setup a sample app with no database acces or anything fancy, and it works well, but now i'm trying to build a prototype app with oracle, and now it seems like jbuilder can't find the Applicat

Extending the RequestProcessor class

2003-02-08 Thread John D. Dubchak
Hi, I've been searching through the documentation to find information on extending the RequestProcessor class but can't seem to find it. Can someone point me in the right direction? Thanks in advance, John - To unsubscribe, e

Re: is there a way to get struts to interact well w/ scriptlets

2003-02-08 Thread Jeff_Mychasiw
In agreement with Kris, I will elaborate. In short I was able to avoid hard coding element names by passing in control names. The tag will generate a string that describe the levels without the control name and the will give you the full name with control. so in lists I found my self doing st

Re: is there a way to get struts to interact well w/ scriptlets

2003-02-08 Thread Jeff_Mychasiw
In agreement with Kris, I will elaborate. In short I was able to avoid hard coding element names by passing in control names. The tag will generate a string that describe the levels without the control name and the will give you the full name with control. so in lists I found my self doing st

Re: is there a way to get struts to interact well w/ scriptlets

2003-02-08 Thread Kris Schneider
Can't you use window.document.someform.elements["foo.bar"]? Sundar Narasimhan wrote: I notice that if I use I end up getting input fields whose name looks like so This really doesn't play well with all the java script code we have that rely on "eval'ing" target names such as "window.docu

is there a way to get struts to interact well w/ scriptlets

2003-02-08 Thread Sundar Narasimhan
I notice that if I use I end up getting input fields whose name looks like so This really doesn't play well with all the java script code we have that rely on "eval'ing" target names such as "window.document.someform.somelement". If someelement is in dotted notation, eval on the java sc

SSL and Struts

2003-02-08 Thread Rabih Yazbeck
Hello, I have question regarding the use and the compatibility of SSL and Struts. My application requires SSL-only connection. Is there any cost for that? Any compatibility issue by using Struts? Thanks in advance... - Rabih -

RE: What is the best practice for reseting dynamic lists?

2003-02-08 Thread mech
I had a similar question recently. Maybe I asked too "complex" or unclear so i didn't get an answer yet. But I tried to find an answer myself. > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED]] > Sent: Samstag, 8. Februar 2003 11:30 > To: Struts Users Mailing List > Subj

Re: [Q] How to tell Struts to ReLoad (reread) struts-config.xml?

2003-02-08 Thread Emmanuel Bernard
I'd like make some changes in struts-congis.xml like a add new action or etc. and apply those changes without restart WebLogic. Launch your weblogic instance on development mode (startmode=true, if I remember well) Then touch (or create) a REDEPLOY (that's it's name) file in the META-INF (or

pickup fonts from property file.

2003-02-08 Thread Dinesh Samson J
Greetings, Can anybody suggest me how to pickup fonts from property files? regards,   Dinesh Samson J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Design Question

2003-02-08 Thread Justin F. Knotzke
On Sat, Feb 08, 2003 at 12:34:35AM -0500, Rob Leland wrote: > EditAAction SaveAAction -->EditBAction SaveBAction > \ > / \/ >\ > /

Re: Design Questio

2003-02-08 Thread Justin F. Knotzke
On Sat, Feb 08, 2003 at 03:34:07PM +1030, Scott Barr wrote: > > Correcting :) > > Consider this scenario > > 1. An ActionForwardA forwards to a a.jsp with ActionFormA > 2. a.jsp is submitted > 3. ActionForwardB gets an ActionFormA, does some 'happy-happy' stuff, > then forwards to x.jsp with Act

Re: Avoiding attempt to access validator dtd over the internet at startup

2003-02-08 Thread Max Cooper
Make sure that: http://yadayadayada";> THIS//PART... matches the name of the validator doctype exactly. I'd give you a more solid example if I knew what it was supposed to be, but I don't know what it is supposed to be. I do know that I used Digester with a local DTD for validation, and the name

RE: Avoiding attempt to access validator dtd over the internet at startup

2003-02-08 Thread James Turner
> > By the way, why does validator-rules.xml still use the 1.0 > dtd? I thought we had moved on to the 1.1 version which is > what is included in the struts distribution. It now uses 1.0 of the Commons Validator DTD. The DTD was moved from Struts to Commons to maintain a uniform DTD. James

RE: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread Thorsten Schäfer
Hi, > hi, i'm evaluaring jbuilder8 ee for development with struts, i've setup > a sample app with no database acces or anything fancy, and it works > well, but now i'm trying to build a prototype app with oracle, and now > it seems like jbuilder can't find the ApplicationResources.properties > fil

Avoiding attempt to access validator dtd over the internet at startup

2003-02-08 Thread Alan P Sexton
As shipped, the current struts nightly tries to access the dtd for validator-rules.xml over the web. If at all, I want it only to look locally as my development machine is usually disconnected from the web. The end result is that the attempt to load validator-rules.xml throws an exception. For the

What is the best practice for reseting dynamic lists?

2003-02-08 Thread Rick Reumann
As a hypothetical, say you have a form where a user is to select "favorite song." Now also assume that the songs to choose from change very frequently. You also want to validate the form. Where is it best to repopulate this type of dynamic list which is necessary so that the list will show up agai