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 again

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

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 file.

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: Avoiding attempt to access validator dtd over the internet at startup

2003-02-08 Thread Max Cooper
Make sure that: !DOCTYPE whatever-config PUBLIC -//THIS//PART_OF_YOUR_DOCTYPE_TAG//EN 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.

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

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 \ / \/ \ /

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: [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

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 Subject:

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 -

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

2003-02-08 Thread Sundar Narasimhan
I notice that if I use nest: I end up getting input fields whose name looks like so input name=foo.bar 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,

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 nest: I end up getting input fields whose name looks like so input name=foo.bar This really doesn't play well with all the java script code we have that rely on eval'ing target names

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 nested:writeNesting/ tag will generate a string that describe the levels without the control name and the nested:writeNesting property=XXX/ will give you the full

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 nested:writeNesting/ tag will generate a string that describe the levels without the control name and the nested:writeNesting property=XXX/ will give you the full

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,

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

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 codetrue/code

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: 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=855007Act=105 Mark -Original Message- From: miguel angel rojas aquino [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 08, 2003 10:50 AM To:

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

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 There is

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 td nested:multibox property=dayStrings value=MondayMon/nested:multibox /td td nested:multibox property=dayStrings value=TuesdayTue/nested:multibox /td ... etc. I see that

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=855007Act=105 Mark already done that, even searching a little i've found that i'm not the only one with that problem, somebody

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 forces

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 tdnested:multibox property =dayStringsMon/nested:multiboxMonday/td tdnested:multibox property

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

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

(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

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.

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

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: definition name=menu.mypage extends=menu put name=activeMenu value=mypage/ /definition and: definition name=mypage extends=layout put name=menu value=menu.mypage/ put name=body

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: definition name=header.selectPage path=/selectPage.jsp tiles:put name=page value= / /definition definition name=header.selectPage extends=selectPage tiles:put name=page value=header.jsp / /definition

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.

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: tiles:insert attribute=Footer tiles:put name=Section

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. myTag id=bean:write name=bean property=property// 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

Re: nested custom tag

2003-02-08 Thread Jeff_Mychasiw
bean:define id=myValue name=bean property=property/ myTag id=%= myValue %/ you may also need to specify your type: bean:define id=myValue name=bean property=property type =java.lang.String/ Derek Shen [EMAIL PROTECTED] on 02/08/2003 04:24:08 PM Please respond to Struts Users Mailing List

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 to a

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

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 logic:iterate tag to process the item of your List one by one. logic:iterate id=row name=nameOfYourList trtdbean:write

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,

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

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 method,how