validation question (message resources)

2004-06-01 Thread Hengge Joachim
Hi All, i'm trying to set up automatic validation (required validator), everything is working, except the key lookup in the message resources. Every time i submit my form i get a 'null is required' instead of the textfield label. I double-checked the settings about a thousand times, searched the

SOFIA?

2004-06-01 Thread Bjørn T Johansen
I recently came over SOFIA and after a quick look it looks promising. Does anyone have any experience with this framework? Is it worth looking further into? Regards, BTJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

How to Install Apache Web Server On Windows

2004-06-01 Thread Srinivas Rao
Hi all, How to Install Apache Web Server and How to start it. Anybody Know kindly send to me Thanks Srinivas - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

RE: [SOLVED] Default methodName for DispatchAction

2004-06-01 Thread Kunal H. Parikh
Hi All! Just went through the source code. This problem can be attacked by overriding the method unspecified(...) === public ActionForward unspecified( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse

Default methodName for DispatchAction

2004-06-01 Thread Kunal H. Parikh
Hi All! I was wondering if it were possible to have a "default" method called when there is no parameter matched or the parameter is null. TIA, Kunal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Struts Tag Library

2004-06-01 Thread Rick Reumann
Rick Reumann wrote: It does you no good to use the Struts tags without using tags. he he meant '..without using the "Struts framework" of course:) -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Struts Tag Library

2004-06-01 Thread Rick Reumann
Srinivasa Jagannadh Gade wrote: I've a question with Tag Library. Can we use only the Struts Tag Library without using Struts Framework as a whole(Controller ,Action,Form etc). It does you no good to use the Struts tags without using tags. The ones you need from Struts are used in conjunction wit

Struts Tag Library

2004-06-01 Thread Srinivasa Jagannadh Gade
Hi I'm Srini. I've a question with Tag Library. Can we use only the Struts Tag Library without using Struts Framework as a whole(Controller ,Action,Form etc). I would like to know the pros and cons. If we can,will there be any impact when we upgrade the struts version. Have a good day Thanks Srin

Re: [OT] JSF Tutorial

2004-06-01 Thread snpe
On Tuesday 01 June 2004 08:04 pm, Christian Bollmeyer wrote: > On Tuesday 01 June 2004 23:07, snpe wrote: > > You try http://horstmann.com/corejsf/ > > One of my favorite Java authors. Just to drop > a note Sun has released JSF RI 1.1 just recently, > so it might be time for an update again :-) >

RE: Struts/tiles: Run-time definition of which tile to include

2004-06-01 Thread David Friedman
If it is only "logged in" versus "not logged in", why not use this simple 2-step process: 1. Set the tiles:put, tiles:add, etc. in your tiles xml file to be the "not logged in" page. 2. In your action, subclass the TilesAction (class org.apache.struts.tiles.actions.TilesAction) and, in it's exec

Hidden Variables

2004-06-01 Thread Joshi, Naveen
All, one out of 300 times my hidden variable would not set to form. Any ideas what could be the issue. I'am thinking that it is a browser issue. Is any one in the group facing similar problem. Thanks Joe - To unsubscribe, e-ma

Hi

2004-06-01 Thread Srinivasa Jagannadh Gade
Hi I'm Srini .Worked on struts for a couple of projects. I've question regarding Struts Tag Library.. Can we use only Struts Tag Library without using the Struts Framework as a whole( Controller etc). Could you let me know the pros and cons. Thanks Srini __

radio button

2004-06-01 Thread ravishankar boddupalli
Hi, how to keep one of the radio buttons selected by default? Thanks ravi - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

Error Messages Using tiles-defs.xml from Properties Files

2004-06-01 Thread Srinivas Rao
Hi to all, How to Display Error Messages from ApplicationResource Bundle Using Tiles by tiles-defs.xml. I am able to display messages without using Tiles. Thanks Srinivas - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

RE: Struts/tiles: Run-time definition of which tile to include

2004-06-01 Thread Lokanath
-Original Message- From: Struts Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 4:00 PM To: Struts Users Mailing List Subject: Re: Struts/tiles: Run-time definition of which tile to include On 31/5/04 2:52, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Why don'

Re: Multiple Forms per Submits

2004-06-01 Thread [EMAIL PROTECTED]
It works but the syntax is a bit weird.. \T, David Friedman wrote: Hey James, Why not nest your form beans inside another, main form bean? Then you could access them using dot notation mainBean.thatBean.thisProperty, mainBean.someOtherBean.thatOtherProperty, etc. Regards, David -Original Mess

why does RequestUtils.message(...) work but does not

2004-06-01 Thread Marcella Turner
Hi All, I"m trying to understand why in my Tiles layout page the following code renders the string from my properties file: However, the following use of the tag does NOT render the string from the properties file: Any thoughts on tihs are much appreciated. Marcella ___

RE: validator.xml usage

2004-06-01 Thread Matthias Wessendorf
type="org.apache.struts.validator.DynaValidatorActionForm"> try type="org.apache.struts.validator.DynaValidatorForm"> because of ---> for ACTIONform you must (in validation.xml) -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 01, 20

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
Please see my last email. I have everything you mentioned -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 1:59 PM To: 'Struts Users Mailing List' Subject: RE: validator.xml usage Did you got i work? DynaValidatorActionForm is for P

RE: validator.xml usage

2004-06-01 Thread Matthias Wessendorf
Did you got i work? DynaValidatorActionForm is for PATH-attribute of so edit /Action in validation.xml like: validation.xml == -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 01, 2004 10:29 PM > To: [EMAIL PR

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
OK, Here is the lot then of what I have already configured. Note that nothing happends though when I run it. So when I go to productSelection.do and do not select anything, I should get an error. I do not get any error. validation.xml ==

Re: validator.xml usage

2004-06-01 Thread Rodrigo Oliveira
Yes. if by any force the client validation failure, the server validation will validate the data. Rodrigo Oliveira [EMAIL PROTECTED] - Original Message - From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 5:20 P

RE: validator.xml usage

2004-06-01 Thread Zhang, Larry \(L.\)
You can define you own validator if you like: Say you define this in validation.xml (meaning you want to validate attributeA by myRequried() method) In your validator-rules.xml you define: Now you s

Re: validator.xml usage

2004-06-01 Thread Rodrigo Oliveira
That is true! if u specify that in the struts-config.xml!!! :) Rodrigo Oliveira [EMAIL PROTECTED] - Original Message - From: "gads zooks" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 5:32 PM Subject: Re: validator.xml usage > tha

RE: WHO IS shaikh.sohrab@rave-tech.com?

2004-06-01 Thread Kathy Zhou
I have the same problem and I emailed to the owner of the list to see if he could figure it out this morning. Kathy -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 4:34 PM To: [EMAIL PROTECTED] Subject:WHO IS [EMAIL PROTECTE

Re: Problem with Dynamic text boxes

2004-06-01 Thread Rick Reumann
[EMAIL PROTECTED] wrote: i have to display a screen in which the no of rows are dynamic. in each row there are 2 text boxes where user can enter values. after entering the values in the text boxes user press 'SAVE' button . in the Action form i have to validate the values in the validate()

WHO IS shaikh.sohrab@rave-tech.com?

2004-06-01 Thread Mick . Knutson
[EMAIL PROTECTED] Keeps bouncing back to me when I post to this group. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 1:29 PM To: [EMAIL PROTECTED] Subject: RE: validator.xml usage I tried to call form.validate(), but there was not any v

Re: validator.xml usage

2004-06-01 Thread gads zooks
that is trueif u want to use server side validation you can specify that in the struts-config.html something like this if you want to use javascript toowith the same setup (validation.xml, validator-rules.xml) u can add the tag to your jsp and it will show u the errorsthere are

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
I tried to call form.validate(), but there was not any validation that was performed. Right now I have DynaValidationActionForm's. -Original Message- From: Rodrigo Oliveira [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 1:13 PM To: Struts Users Mailing List Subject: Re: validato

Re: validator.xml usage

2004-06-01 Thread Rodrigo Oliveira
The validation.xml you put the rules for client and server validation. The struts validator validate your forms based on same validation rules. []´s Rodrigo Oliveira [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 5:

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
I can't seem to find any examples about the server-side though. Can you help? I just can't use any JavaScript at all, and I need to get the validation working. I already have used the JavaScript on another project, so I am pretty comfortable on the validation.xml -Original Message- From: Z

RE: validator.xml usage

2004-06-01 Thread Zhang, Larry \(L.\)
validation.xml and validator-rules.xml in Struts validation framework are used for both client and server side validation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 4:15 PM To: [EMAIL PROTECTED] Subject: validator.xml usage Is the

validator.xml usage

2004-06-01 Thread Mick . Knutson
Is the validator.xml just for client-side validation? Or also for server-side validation --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubs

Struts Tag Library

2004-06-01 Thread Srinivasa Jagannadh Gade
Hi I'm Srini. I've a question with Tag Library. Can we use only the Struts Tag Library with using Struts Framework as a whole(Controller ,Action,Form etc). I would like to know the pros and cons. If we can,will there be any impact when we upgrade the struts version. Have a good day Thanks Srini.

Re: [OT] JSF Tutorial

2004-06-01 Thread Christian Bollmeyer
On Tuesday 01 June 2004 23:07, snpe wrote: > You try http://horstmann.com/corejsf/ One of my favorite Java authors. Just to drop a note Sun has released JSF RI 1.1 just recently, so it might be time for an update again :-) http://java.sun.com/j2ee/javaserverfaces/download.html -- Chris > regard

Re: workers2.properties

2004-06-01 Thread Mark Lowe
More sensibly.. in server.xml directory="logs" prefix="mywebapp_access_log." suffix=".log" pattern="common" resolveHosts="false"/> This needs to match the stuff in your httpd.conf and you will have what you want. The only problem you might get with jk2 is

Re: workers2.properties

2004-06-01 Thread David Cervigni
Maybe it can be useful: ServerName countryfitness.it ServerAlias *.countryfitness.it ServerAdmin [EMAIL PROTECTED] RewriteEngine On RewriteRule ^/$ /countryfitness/index.do [R] ProxyPass /countryfitness http://localhost:9000/countryfitness

Re: [OT] JSF Tutorial

2004-06-01 Thread Mark Lowe
The http://horstmann.com/corejsf/ link looks really good. I've got all the available chapters of JSF in action and so far I'm not that impressed. Its a lot of IDE stuff, that I really cant be arsed with. But the horstman link looks like the canine's genitalia. On 1 Jun 2004, at 21:09, Michael M

RE: More than one submit buttons

2004-06-01 Thread Voinea, Marina
Thank you Frank!!! your help is really appreciated, I'll try to incorporate this code, the problem is that we are using Struts tags, (html:submit buttons and html:input fields, also the html:form, I'll try to see if this java script works with those Struts tags, I had some problems doing that

Re: [OT] JSF Tutorial

2004-06-01 Thread Michael McGrady
Excellent! Thank you! At 02:07 PM 6/1/2004, snpe wrote: You try http://horstmann.com/corejsf/ regards On Tuesday 01 June 2004 12:47 pm, Michael McGrady wrote: > Anyone have a good manual, tutorial, etc. on JavaServer Faces they would > recommend? I saw the O'Reilly book, but it was a bit pricey,

Re: [OT] JSF Tutorial

2004-06-01 Thread snpe
You try http://horstmann.com/corejsf/ regards On Tuesday 01 June 2004 12:47 pm, Michael McGrady wrote: > Anyone have a good manual, tutorial, etc. on JavaServer Faces they would > recommend? I saw the O'Reilly book, but it was a bit pricey, I thought. I > paged through the book a bit, though,

RE: [OT] JSF Tutorial

2004-06-01 Thread Michael McGrady
Thanks, James, Much appreciated! Michael At 05:59 AM 6/1/2004, James Holmes wrote: Hi Mike, I've compiled an exhaustive list of JavaServer Faces articles, tutorials, presentations, etc. on my website at: http://www.jamesholmes.com/JavaServerFaces/ I would recommend you take a look at one of the mor

RE: jsp problem

2004-06-01 Thread Mick . Knutson
This is because the webserver looks for processing everything after mydomain.com except for */examples, which is delegated to tomcat. You need to configure tomcat and apache to delegate all requests on mydomain.com/*.jsp to Tomcat. -Original Message- From: Charles Jordan [mailto:[EMAIL PR

jsp problem

2004-06-01 Thread Charles Jordan
In my never ending quest to setup my server to use: http://mydomain.com instead of: http://mydomain.com/examples I am now able to use http://mydomain.com but my index.jsp source code is being displayed, instead of it executing. Any idess as to what I'm doing wrong? Charles (Allen) Jordan <[EM

dynavalidator form problem: some fields (all text) are reset when validate fails

2004-06-01 Thread gads zooks
hi, im using a dynavalidator actionform for a multi-page (wizard style) input form and using a DispatchAction as the Action class. I can navigate thru the form without a problem if i turn off validation (not using html:javascript > right now ) here is the setup page1.jsp action1.step1(

RE: More than one submit buttons

2004-06-01 Thread Frank Zammetti
Unfortunately I'm just starting to play with JSTL myself, so I can't give you any help there. Here's a complete example of both things... I even tested it, and it does work (although come to think of it, I'm not 100% sure it'll work in anything besides IE, I'll leave that to you to find out...

RE: More than one submit buttons

2004-06-01 Thread Voinea, Marina
Thank you very much, Frank, we'll use your idea. we also need to do what you've done : your "reverse behaviour:submit the form when any of the fields has focus rather than just the submit button" . Because I'm not that experienced with java script, could please forward an example from your

Argument in exception tag

2004-06-01 Thread Alvaro Martinez
Hello, How can I include an argument in an exception tag? For example, this is a piece of my "struts_config.xml": ... ... Could I have a "errors.deleted" with the following sentence: "{0} is an invalid number." I would like to include an argument in my "errors.deleted" which I can t

RE: Removing form bean from where ever it is saved

2004-06-01 Thread Tim Penhey
Aaah, so that is what the attribute is for. I did wonder why the form name appeared twice (using MyEclipseIDE). Thanks, Tim > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: 01 June 2004 17:13 > To: Struts Users Mailing List > Subject: Re: Removing form bean f

Re: MessageResources Problem in Action

2004-06-01 Thread Ralf Schneider
Am Dienstag, 1. Juni 2004 15:15 schrieb None None: > I use the following code: > > myActionForm.setMessage(getResources(request).getMessage(getLocale(request) >, "messages.deleteFailed")); Great! This works fine! The only thing that I missed was to get the locale from the request. Thanks, Ralf.

RE: More than one submit buttons

2004-06-01 Thread Frank Zammetti
I've never tried this, but I've done the reverse, so it probably should work... you should be able to just eat the enter key event via client-side scripting. This SHOULD work: if (window.event.keyCode == 13) { return false; } Attach that as a page-level event handler and I think it'll do the tr

Re: Refresh problem

2004-06-01 Thread Hubert Rabago
search the mailing list archive for information on Token Processing. Here's a start: http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=token&q=b Also, consider redirecting to the "list" page after processing a delete, or performing any DB update you don't want repeated by a refresh operation

Refresh problem

2004-06-01 Thread terry Highfield
HI, I have a list of related items on my JSP page and each item in the list has a delete button. This tells the action to remove the item from the ArrayList, thank fully this works nicely. The trouble is; after deleting an item I click "refresh" on the browser, this will then delete the next it

Re: DispatchAction URL

2004-06-01 Thread David Erickson
What is your url-matching you are doing with your Action servlet in web.xml? if your matching *.do you may need history.do in there. Also remove that trailing / from the end of your url. -David - Original Message - From: Naresh Sharma To: [EMAIL PROTECTED] Sent: Tuesday, Jun

Re: best error page approach

2004-06-01 Thread Lucas Gonzalez
Julio, Using a global forward for error pages might be a good choice, and if you combine it with global-exceptions you have a pretty good solution. ie: Hope it helps Best Regards, Lucas ps.- vivis en argentina? - Original Message - From: "Julio Cesar

Re: Removing form bean from where ever it is saved

2004-06-01 Thread Hubert Rabago
Sounds like a better approach for you is to put your form in request scope. Try something like: In any case, the attribute name is usually the same as the bean name, although an action mapping can change this by using the "attribute" attribute. Hubert --- Tim Penhey <[EMAIL PROTECTED]> wrot

Re: Removing form bean from where ever it is saved

2004-06-01 Thread David Erickson
The key its stored under is simply the name you define it as in the form-bean section in your struts config. IE: and then an action using this Would put an instance of com.something.Form into the session scoped attribute named myBean. If you want to remove that bean from session at the end of

RE: More than one submit buttons

2004-06-01 Thread Kamholz, Keith (corp-staff) USX
I have a similar but different problem. I'm using multiple submit buttons on a form, using the Lookup Dispatch Action. Are you using that too? Anyway, when I click on a button, it works just fine. However, when the enter button is pressed, I get an error. It probably doesn't know which method t

DispatchAction URL

2004-06-01 Thread Naresh Sharma
Hi,   I am using DispatchAction class and trying to invoke my method using following URL, but WL 8.1 is giving HTTP 404 error.   http://localhost:7001/abcSet/history?method=executeHistoryEdit/   abcSet is my app. Context root. And “history” is path as specified in struts-config.xml  

RE: Frank (was: None)

2004-06-01 Thread Hubert Rabago
"Frank Zammetti" sounds and looks better than "None None". Nice to finally learn your name! Hubert --- Frank Zammetti <[EMAIL PROTECTED]> wrote: > None none, it's funny seeing that there :) Guess I should change my > profile > to have my real name. There we go (I think). > > > >From: Irfa

Removing form bean from where ever it is saved

2004-06-01 Thread Tim Penhey
Hi All, I am trying to test some validation that I have set up for one of my actions. I am using the org.apache.struts.validator.DynaValidatorForm with a couple of Strings and an Integer. However in my test to check the required validation, it appears to be grabbing an existing form from some sc

best error page approach

2004-06-01 Thread Julio Cesar De Salvo
Hi, what would be the best error handling approach in the Strut framework. I need to caught the error in the jsp pages and forward to an action that sends an email with error information and then redirects to a jsp that shows a message. Thanks, Julio Cesar De Salvo - Project Leader iTechnology S

RE: Struts tutorial on forwarding to action needing different request parameters

2004-06-01 Thread Frank Zammetti
None none, it's funny seeing that there :) Guess I should change my profile to have my real name. There we go (I think). From: Irfandhy Franciscus <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts tutorial on forwarding to action needing different request p

Struts tutorial on forwarding to action needing different request parameters

2004-06-01 Thread Irfandhy Franciscus
Hi, After following this discussion on how to forward to action with different parameters : http://article.gmane.org/gmane.comp.jakarta.struts.user/83362/match=forwarding+action+needing+different+request+parameters I decided to summarize the discussion in : http://wiki.apache.org/struts/Forward

Re: Problem with Dynamic text boxes

2004-06-01 Thread David Erickson
You might also want to use indexed properties. Look into the indexed=true flag on the html taglibs. -David - Original Message - From: "sean jones" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 8:29 AM Subject: Re: Problem with Dynamic text boxes > tcs.com> wr

RE: Reccomendations for good reference book

2004-06-01 Thread mike . raath
Personally, I found the best reference was Rick Reumann's (of this parish) excellent Struttin with Struts. http://www.reumann.net/do/struts/main -Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: 01 June 2004 15:16 To: 'Struts Users Mailing List' Subject: Reccomenda

RE: workers2.properties - reply

2004-06-01 Thread Kathy Zhou
It could relate to context root setting on your web app server. I did this on Jrun 4. fyi. Kathy -Original Message- From: Charles Jordan [SMTP:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 10:18 AM To: [EMAIL PROTECTED] Subject:workers2.properties This may be more apache

Re: Problem with Dynamic text boxes

2004-06-01 Thread sean jones
tcs.com> writes: > > > hiÂi have to display a screen in > which the no of rows are dynamic. in each row there are 2 text boxes where > user can enter values.Âafter entering the values in the > text boxes user press 'SAVE' Âbutton . Âin the Action form Âi > have to validate the values in the va

Re: Reccomendations for good reference book

2004-06-01 Thread James Mitchell
I would recommend the Struts Complete Reference (not that I am partial or anything;). http://www.jamesholmes.com/StrutsTCR/ -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Adam Lipscombe" <[EMAIL PROT

workers2.properties

2004-06-01 Thread Charles Jordan
This may be more apache specific, but I'm not sure. I can access http://my.domain.com/struts-example but I want to be able to only type in http://my.domain.com to access my struts-example Can anyone tell me how to do this? Thanks. Charles (Allen) Jordan <[EMAIL PROTECTED]> System Administr

Reccomendations for good reference book

2004-06-01 Thread Adam Lipscombe
Folks, I am a newbie. I want a good reference that is easy to digest, yet contains advanced examples (for later:-) Searching on a book site reveals at least 20 publications Any recommendations? TIA - Adam -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: 13 M

Problem with Dynamic text boxes

2004-06-01 Thread biswajit . basak
hi  i have to display a screen in which the no of rows are dynamic. in each row there are 2 text boxes where user can enter values.  after entering the values in the text boxes user press 'SAVE'  button .  in the Action form  i have to validate the values in the validate() method . also in the Ac

Re: checkbox on indexed form field

2004-06-01 Thread Matt Bathje
I actually found a much better way to do this. If you have a hidden form field with a blank value that you name the same thing as your checkbox, then something always gets passed with the form. If you don't have the checkbox checked, then just a blank field with that name gets passed. If the checkb

Re: Hibernate configuration problems

2004-06-01 Thread snpe
In tomcat 5 I configure JNDi in few second with tomcat admin application - I don't know is there admin in tomcat 4 regards Haris Peco On Tuesday 01 June 2004 09:15 am, Tuncay Baskan (Yazilim Muh. - Proje Gel. ve Uyg. Gr.) wrote: > I wonder why configuring a simple JNDI datasource with Tomcat is

Updating a HashMap backed Form

2004-06-01 Thread sean jones
Problem - salaries are to be split between N entities. CLASS SplitBean (String entity, double sal, double percent) //getter and setters for each CLASS SalarySplit () String getTotalPercent() String getTotalSalary() HashMap splits HashMap getSplits() setEntity(String key, String ent) setSalar

RE: Page pre-processing - reply - reply

2004-06-01 Thread Kathy Zhou
You need to have your action bean. In your action bean, you could do like: if (!errors.empty()) { saveErrors(request, errors); // call the action/or other beans to initialize your collections/data here, then forward to input, // Return to same page return (new

ActionError Property

2004-06-01 Thread Rodrigo Oliveira
Hi, I´m using Struts Validator to validate my forms. I want to show each ActionError message in the same element of field. But i don´t know what name of property the Struts Validator attribute for each field of validation.xml file. Some body can help-me??? thanks! . . . . . . . . . . . . . .

RE: MessageResources Problem in Action

2004-06-01 Thread None None
I use the following code: myActionForm.setMessage(getResources(request).getMessage(getLocale(request), "messages.deleteFailed")); I have two property files, ofmResources_en.properties and ofmResources_de.properties. The above code fetches the messages.deleteFailed message from the appropriate

RE: [OT] JSF Tutorial

2004-06-01 Thread James Holmes
Hi Mike, I've compiled an exhaustive list of JavaServer Faces articles, tutorials, presentations, etc. on my website at: http://www.jamesholmes.com/JavaServerFaces/ I would recommend you take a look at one of the more recent articles as JSF has recently finalized and then just last week 1.1 was

[OT] JSF Tutorial

2004-06-01 Thread Michael McGrady
Anyone have a good manual, tutorial, etc. on JavaServer Faces they would recommend? I saw the O'Reilly book, but it was a bit pricey, I thought. I paged through the book a bit, though, and became convinced that this is a direction to take. Thanks. Michael --

Re: Error messages in tiles using tiles-defs.xml

2004-06-01 Thread Michael McGrady
I would recommend any of the standard textbooks, Ganesh. Do you have access? You can also look at the manuals on the struts sight. There is a lot of documentation on this. The fact that you use tiles is irrelevant to this question. I think I own all the books, etc., so if you get stuck, pl

MessageResources Problem in Action

2004-06-01 Thread Ralf Schneider
Hi, I want to access the strings in a resource bundle from within an action. I have two resource files (ApplicationResources.properties and ApplicationResources_de.properties) and they are accessed correctly from the JSP, but not from the action. When I look at the locale with request.getLocal

RE: Hibernate configuration problems

2004-06-01 Thread Marco Mistroni
Hi, U can download the source and comment the JNDI part urself :-) Regards marco -Original Message- From: Zaid [mailto:[EMAIL PROTECTED] Sent: 08 May 2004 10:48 To: Struts Users Mailing List Subject: Re: Hibernate configuration problems HI Marko and Mark and all friends

Re: Hibernate configuration problems

2004-06-01 Thread Mark Lowe
Perhaps there are better ways but this works http://www.hibernate.org/42.html it will certainly avoid jndi problems and give you breathing space. On 8 May 2004, at 11:47, Zaid wrote: HI Marko and Mark and all friends in this Group, Thanx alot for being such a help for me, anyhow, does any one has

Re: Hibernate configuration problems

2004-06-01 Thread Zaid
HI Marko and Mark and all friends in this Group, Thanx alot for being such a help for me, anyhow, does any one has some HibernatePlugin with suppressed JNDI ?. I would be very much appreciated. Regards, - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users M

RE: Hibernate configuration problems

2004-06-01 Thread Tuncay Baskan \(Yazilim Muh. - Proje Gel. ve Uyg. Gr.\)
I wonder why configuring a simple JNDI datasource with Tomcat is so awful. This is why I love Resin so much. One can configure a JNDI datasource in a few seconds. /tb. > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: 01 Haziran 2004 Salı 12:08 > To: 'Struts

RE: nested tiles:insert tags

2004-06-01 Thread Pilgrim, Peter
Well the first thing I would suggest is that are you using a Struts Template of Definition. I quick cursory glance looks like if you are just using Tiles as a replacement for . It looks messy. does work very well. It returns a bean property just like a toString() method. -- Peter Pilgrim Opera

RE: Hibernate configuration problems

2004-06-01 Thread Marco Mistroni
Hi, That COULD be the problem I've heard of users getting JNDI problems with tomcat.. I m sure there is a post either on hibernate or this mailing lists about That.. I have also dropped the use of struts plugin... Nothing wrong with that, it was cool, but after seeing users getting pro

Re: Hibernate configuration problems

2004-06-01 Thread Zaid
HI Marco, Thanx for responding, Acually, I am using it with Tomcat 4.1 (which comes with Struts Studio). Do u use JNDI with Hibernate ? Rgards, - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, June 01,

Re: Hibernate configuration problems

2004-06-01 Thread Mark Lowe
There are alternatives to using the struts plugin, but the plugin is as reasonable option as any other, especially if you're not trying to minimize the dependency on struts. 1. One alternative is to take a look at the struts plugin code and write a servlet that runs the jndi service. 2. Anothe

RE: Hibernate configuration problems

2004-06-01 Thread Marco Mistroni
And which app server r u using? I have used plugin with jboss and everything looks fine for me... Regards marco -Original Message- From: Zaid [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 06:18 To: Struts Users Mailing List Subject: Hibernate configuration problems HI Friends, I