Re: [OT] tool to compate properties file

2005-04-04 Thread brenmcguire
NetBeans (www.netbeans.org) has a support for multiple-language properties file. It displays them in the same window. Ciao Antonio Petrelli Ashish Kulkarni wrote: >Hi >is there a tool which will compare properties file and >highlight missing keys. >I have a situtation where i have properties file

Re: Struts with Tiles

2005-04-04 Thread brenmcguire
>... but the the problem i'm facing is how to point to a particular region in tiles framework from struts config. > What do you exactly mean? Please expose your problem with more details. - To unsubscribe, e-mail: [EMAIL PROT

Re: Forward to tile definition when using modules-modules

2005-04-04 Thread brenmcguire
Check out the element of your struts-config.xml. It must be: Otherwise you won't be able to forward to a tile definition. Ciao Antonio Petrelli haim wrote: > The project is growing and we need few developers to work on it. > I am trying to deploy the application using the struts modules. > We a

RE: Concatinating 2 strings for a bean:message???

2005-04-04 Thread Günther Wieser
try to use instead (assuming ownerNumber is a defined bean in any context of this JSP) kr, guenther -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 10:21 PM To: user@struts.apache.org Subject: Concatinating 2 strings for a bean:message??

Shortcut action mapping from html:link?

2005-04-04 Thread Neil Aggarwal
Hello: I am a struts newbie and am wondering one thing: In my app, I am finding that I am writing a lot of html:link tags that have an action attribute. The action attribute directly forwards to a tiles definition. There is always a one-to-one mapping of the action to the tiles defition. Is the

Re: Locale-specific ActionForm population

2005-04-04 Thread Hubert Rabago
I don't have time right now to investigate the possible solutions to your problem using the approach you're following. I just wanted to point out that FormDef might be able to help you out depending on how you're using your action form. http://www.rabago.net/struts/formdef/manual.htm#specifyingfo

Re: Struts/Spring integration & Struts 1.3

2005-04-04 Thread Joe Germuska
Marco: This is clumsy, but you could probably figure out a way to instantiate commands and chains as Spring managed beans and then, rather than looking them up in a catalog, you could look them up in the ApplicationContext. If you did this, then it would be easy to set up your commands with re

Re: : Setting property directly instead of using a ####Id property and loading object when saving?

2005-04-04 Thread Rick Reumann
public class Student { ... private Teacher matTeacher; ... } Ah yes, I should have read your initial post longer. You definitely don't want to use an object for your property for the select. use the id of the matTeacher like I've shown and you should be all set. Rick Reumann wrote the

Re: : Setting property directly instead of using a ####Id property and loading object when saving?

2005-04-04 Thread Rick Reumann
Simon MARTIN wrote the following on 4/4/2005 5:37 PM: In my JSP, I'm using this property like this: selected> property="matTeacher". The property in your form "matTeacher" should be a number type (int, Integer, etc) or a String. Are you sure it's nott an Object of type

: Setting property directly instead of using a ####Id property and loading object when saving?

2005-04-04 Thread Simon MARTIN
Hi, I've got a Student class that looks like this: public class Student { ... private Teacher matTeacher; ... } In my JSP, I'm using this property like this: selected> Showing this works pretty fine, but when I change the dropdown box and submit the form, I get an

Concatinating 2 strings for a bean:message???

2005-04-04 Thread Mick.Knutson
I am trying to make the following work without success: for a property of... label.owner.section.info.1 = Owner One Details -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF, CA 94103 (415) 371-2553 [EMAIL PROTECTED] MAC A0

Re: Multi Step Forms

2005-04-04 Thread Rick Reumann
Woodchuck wrote the following on 4/4/2005 3:29 PM: how do you handle browser back button issues? (the bane of all web developers who use session objects) If multiple submits will mess things up, I implement the Token stuff. Works quite nicely for me. -- Rick -

Re: Multi Step Forms

2005-04-04 Thread Rick Reumann
To make your job a little easier with not using the Session this might work well for you (and maybe you already thought of it), but I'd try this ... Let's assume three pages that you need capture info. Build three objects that represent that page data you need to capture (A_Pojo, B_Pojo, C_Poj

[tiles] component Form issue.

2005-04-04 Thread Mick.Knutson
I have an OwnerOne.jsp and OwnerTwo.jsp tile that I want to use a general component (OWNERcomp.jsp). The ownercomp.jsp uses another component for states that also needs the Fom. So, I can't get the ownercomp.jsp to see the ownerForm. Can anyone help? OwnerOne.jsp: === <%@ page imp

RE: [OT] tool to compate properties file

2005-04-04 Thread Fogleson, Allen
I don't know about gui utils but here is a command line util which will probably do what you want. http://www.javaworld.com/javaworld/javatips/jw-javatip135.html Al -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 2:40 PM To: user@struts.

[OT] tool to compate properties file

2005-04-04 Thread Ashish Kulkarni
Hi is there a tool which will compare properties file and highlight missing keys. I have a situtation where i have properties files in different languages, i want to compare to see if there are any keys missing in any of those files Is there any open source or free tools?? Ashish

Re: Multi Step Forms

2005-04-04 Thread Woodchuck
--- Rick Reumann <[EMAIL PROTECTED]> wrote: > The thing to realize here is time is money. Does you company want to > spend a ton money creating code that is a pain to maintain? I'll bet > you > in the long run, it's cheaper to add more RAM than it would be to > maintain various solutions simpl

RE: URGENT HELP

2005-04-04 Thread Justin Morgan
> This is wrong. No, it's not. But it is incomplete. There are two ways of using labels. The first is the inline method, as you demonstrated. The second is using the FOR property, as the original code shows. The FOR property is very useful when you want to put the and in different s. I

Re: Multi Step Forms

2005-04-04 Thread Dave Newton
Brian McGovern wrote: I only use hidden html fields to save state on the weekends, with friends. What? Everyone does it!! I never inhal^H^H^H^H^Hsubmitted. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[OT: Session memory usage/other means] Re: Multi Step Forms

2005-04-04 Thread Dave Newton
Rick Reumann wrote: "Hi my name is Rick and I use the Session to store objects." "Hi Rick!" Let's all thank Rick for sharing his story. *clap clap clap* Group hug! Well after looking for what was actually causing the out of memory problems, and determining it was just a matter of some necessary b

RE: Multi Step Forms

2005-04-04 Thread Brian McGovern
I only use hidden html fields to save state on the weekends, with friends. What? Everyone does it!! -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 2:26 PM To: Struts Users Mailing List Subject: Re: Multi Step Forms Woodchuck wrote the follo

Re: Multi Step Forms

2005-04-04 Thread Rick Reumann
Woodchuck wrote the following on 4/4/2005 1:35 PM: for Rick: - if and when your web app does experience OutOfMemoryExceptions due to sheer volume (of users/sessions), then what can you do to fix this? do you just keep maximizing the server memory, and/or keep adding servers (clustering/load bala

Re: Multi Step Forms

2005-04-04 Thread Rick Reumann
Brian McGovern wrote the following on 4/4/2005 12:25 PM: And yeah im using c:out into POHTML tags. Bletch all ya want, i still think its a better way to go than action forms. My struts-config is nice and small too :) I still think (as Jack pointed out) you are having some confusion between ActionF

RE: Multi Step Forms

2005-04-04 Thread Fogleson, Allen
Brian, But you don't HAVE to define a COMPLETE form in the configuration. At least if you want to give up DynaActionForm you don't. You can define your own form in a class that extends ActionForm. Granted you have to add this to the config but with Xdoclet, or even just a gui editor (James Holme's

Re: URGENT HELP

2005-04-04 Thread Jeff Beal
> elements, including form controls. A few paragraphs before your link I meant 'below', not 'before'. -- Jeff Beal Webmedx, Inc. Pittsburgh, PA USA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: URGENT HELP

2005-04-04 Thread Jeff Beal
On Apr 4, 2005 11:49 AM, Justin Morgan <[EMAIL PROTECTED]> wrote: > The label is supposed to be closed before the input tag. IE is nicer This is wrong. The content model of LABEL includes all inline elements, including form controls. A few paragraphs before your link on W3.org, they include the

RE: Multi Step Forms

2005-04-04 Thread Brian McGovern
I think i have a fundemental misunderstanding of ActionForms not having used them that much. So forget everything i said about ActionForms, i was wrong. I still dont like em partially cause im stubborn, but also because i dont like that you have to define you whole form in your struts config.

Re: Multi Step Forms

2005-04-04 Thread Woodchuck
hihi all, i think we have trade-offs to both ways of persistence here... if i may ask: for Brian: - if you are not using ActionForm objects (nor any Struts tags for that matter, if you're only using and POHTML), then what features of Struts are you using? i'm just trying to understand the

Re: URGENT HELP

2005-04-04 Thread Dave Newton
Dakota Jack wrote: Where does this tag come from? is a POHTML tag. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URGENT HELP

2005-04-04 Thread Bryce Fischer
Label is not a taglib, but an HTML element. http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.9.1 Dakota Jack wrote: Where does this tag come from? And, how to you download the sandbox for taglibs? I cannot find the place. It is sure not easy to find. Jack On Apr 4, 2005 8:49 AM, Justin

Re: [OT] Re: Is It Possible to Code Using Struts and JSF at the S ame Time?

2005-04-04 Thread Dakota Jack
Do you have a URL for this Dice reference? That is interesting. Thanks. Jack On Apr 4, 2005 9:45 AM, NetSQL <[EMAIL PROTECTED]> wrote: > Benedict, Paul C wrote: > > It is very difficult to divorce that little phrase from the general > > implication that we should all move away from Struts in

RE: Missing resource/Modules

2005-04-04 Thread Mark Benussi
You need to give one of them a key key="module1" and then in your use the bundle key to refer to the key. I cant remember the syntax for _ From: Michael Hansen [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 13:44 To: user@struts.apache.org Subject: Missing resource/Modules Hi,

Re: URGENT HELP

2005-04-04 Thread Dakota Jack
Where does this tag come from? And, how to you download the sandbox for taglibs? I cannot find the place. It is sure not easy to find. Jack On Apr 4, 2005 8:49 AM, Justin Morgan <[EMAIL PROTECTED]> wrote: > The label is supposed to be closed before the input tag. IE is nicer > about mistakes

Re: Multi Step Forms

2005-04-04 Thread Dakota Jack
This is just the standard and too frequent mixup in talking too loosely about and tags as if they were ActionForms. He really is talking about the fact that tags resolve to html. Nothing particularly special. If he wants, he can always modify the tags to do anything he wants. Jack On Apr 4,

Re: Multi Step Forms

2005-04-04 Thread Dave Newton
Brian McGovern wrote: Action forms write out html for you. What if i wanted to put style attribs in my form tags or use javascript for submission wrappers on the button clicks, or stuff like that. Didn't think I could do that with action forms. They do? How/when? I'm not just being a smart-alec

Re: Multi Step Forms

2005-04-04 Thread Lucas Bern
Hello, I'm Lucas, I'm new to the list... and I have a problem: An ActionForm that has an array of others ActionForms where each one has another array of ActionForms. So i nedd to present the first form in a JSP page... One of the fields of the last ActionForm, the one in the lowest level, is

Re: [OT] Re: Is It Possible to Code Using Struts and JSF at the S ame Time?

2005-04-04 Thread NetSQL
Benedict, Paul C wrote: It is very difficult to divorce that little phrase from the general implication that we should all move away from Struts in new projects. I do not think it is true. +1. One can look at Dice new jobs on new projects and see what % is for Struts and what % is JSF. Go look

RE: Multi Step Forms

2005-04-04 Thread Brian McGovern
Nono.. im not saying the server is gonna crash on 1 little bean in session scope. Im just talkin about theory really. In theory, i want to avoid using the session, if it means i have to code a little bit more, and we are just talking about a LITTLE bit, then so be it. Im not doing a 1 for 1 m

RE: Multi Step Forms

2005-04-04 Thread Brian McGovern
I think this is where our school of thought parts ways. Network transmission is fininte, session usage lives as long as the user is on the site and session not expired. So if 400 people get a direct mailer and hit the site to sign up thats 400 people using portion of memory on a server. If hal

Re: Multi Step Forms

2005-04-04 Thread Rick Reumann
Brian McGovern wrote the following on 4/4/2005 12:01 PM: I see your points but I disagree. I try to keep session use to an ABSOLUTE minimum, because each session is stored in server memory and with every current user filling out form there is a change, be it slight or not, that the server will slow

Re: Multi Step Forms

2005-04-04 Thread Dave Newton
Brian McGovern wrote: I see your points but I disagree. I try to keep session use to an ABSOLUTE minimum, because each session is stored in server memory and with every current user filling out form there is a change, be it slight or not, that the server will slow down or crash. I know it might b

RE: Multi Step Forms

2005-04-04 Thread Brian McGovern
I see your points but I disagree. I try to keep session use to an ABSOLUTE minimum, because each session is stored in server memory and with every current user filling out form there is a change, be it slight or not, that the server will slow down or crash. I know it might be less desireable f

RE: URGENT HELP

2005-04-04 Thread Justin Morgan
The label is supposed to be closed before the input tag. IE is nicer about mistakes like this than Netscape is. Try the code below. Reference: http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.9.1 -Justin -Original Message- From: Sunu Mathew [mailto:[EMAIL PROTECTED] S

Re: Multi Step Forms

2005-04-04 Thread Rick Reumann
Brian McGovern wrote the following on 4/4/2005 10:16 AM: Sounds good. I think I want to only have 1 write to the db at the end of Action3, and im hoping to not use the session cause this app is gonna have alot of users. By saving it on the page, are you talkin about using hidden form fields acros

Re: [OT] Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-04 Thread Dave Newton
Rick Reumann wrote: For the record, so others don't think I'm a die-hard Struts or JSF person, the prediction Jack made was in reference to a question by Dave: "Anyway, how come no one is saying that the future is Struts 1.3 or 1.4? Why all the hoopla about the future IS JSF?" I didn't ask that,

RE: [OT] Re: Is It Possible to Code Using Struts and JSF at the S ame Time?

2005-04-04 Thread Benedict, Paul C
Rick, Since I really started this thread (and I speak for myself only!), I should clarify this statement: >>"Anyway, how come no one is saying that the future is Struts 1.3 or 1.4? >>Why all the hoopla about the future IS JSF?" On a habitual basis, I'll hear JSF is the future. I am glad people

URGENT HELP

2005-04-04 Thread Sunu Mathew
Hi, Could you please tell me how to use label tag in struts. Label tag is required in our application (deveice dependant users). This works fine in IE, but the label will not appear in Netscape 6.2 Sunu Mathew National Patient Safety Agency 4-8 Maple Street London W1T 5HD

Re: Multi Step Forms

2005-04-04 Thread Brandon Mercer
Brian McGovern wrote: >Sounds good. I think I want to only have 1 write to the db at the end of >Action3, and im hoping to not use the session cause this app is gonna have >alot of users. By saving it on the page, are you talkin about using hidden >form fields across the 3 pages or can i set

[OT] Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-04 Thread Rick Reumann
Dakota Jack wrote the following on 4/1/2005 8:03 PM: On Apr 1, 2005 12:01 PM, Dakota Jack <[EMAIL PROTECTED]> wrote: Because you get yelled at when you say that and some people cannot take being yelled at. Expect Craig, Ted, or someone to say the standard thing soon on this tread. I know I am do

Re: New to Struts

2005-04-04 Thread Kumar deepak
Hi, Please visit http://www.roseindia.net/struts/ They provide example with running code. Many advance topics like Tiles, Struts Validation Framework, Java Script validations are covered in this tutorial. Introduction to the Apache Struts This lesson is an introduction to the Struts and its ar

RE: Multi Step Forms

2005-04-04 Thread Brian McGovern
Sounds good. I think I want to only have 1 write to the db at the end of Action3, and im hoping to not use the session cause this app is gonna have alot of users. By saving it on the page, are you talkin about using hidden form fields across the 3 pages or can i set the oject in action 1 so th

Re: Multi Step Forms

2005-04-04 Thread Brandon Mercer
Brian McGovern wrote: >I have a situation where i need to have a multi screen form, lets say 3 steps. > On the successfull validation of the 3rd step. I want to save the data into >the DB. This data would have been collected starting on step one, through >step 3 and ecapsulated in 1 or more o

Multi Step Forms

2005-04-04 Thread Brian McGovern
I have a situation where i need to have a multi screen form, lets say 3 steps. On the successfull validation of the 3rd step. I want to save the data into the DB. This data would have been collected starting on step one, through step 3 and ecapsulated in 1 or more objects. My question is wha

Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-04 Thread Niall Pemberton
The Struts tags still scratch my itch and I have applied a few changes in the past year (including some re-factoring). http://www.niallp.pwp.blueyonder.co.uk/strutsversion126.html Having said that, my open source time is limited so I'm not promising masses of changes, but I don't yet see them

Re: [ot]CSS class name in bean:message ???

2005-04-04 Thread Jeff Beal
On Apr 1, 2005 7:16 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Now the Heading gets set just fine with the td.style_external, but when I > changed the (note) to (note), the note is > still bolded. > How can I make the style just _not_ bolded essentially overridding the > td.style_externa

Missing resource/Modules

2005-04-04 Thread Michael Hansen
Hi,   I’m working with struts (1.1), and am beginning to use modules instead of separate applications My problem is that when running the application the modules does not find their application resources.   My main struts-config has the message resource set as:      …      

Re: New to Struts

2005-04-04 Thread Jan-Jaap Endenburg - Vera
I have had a lot of help from: www.sourcebeat.com: sample chapter of book 'Jakarta Struts Live' Good luck, Jan-Jaap Balaji H. Kasal wrote: Hi, I am quite new to struts. Please guide me which is the best place to start. I will prefer to start with Struts example ()src code). Thanks in advance.

New to Struts

2005-04-04 Thread Balaji H. Kasal
Hi, I am quite new to struts. Please guide me which is the best place to start. I will prefer to start with Struts example ()src code). Thanks in advance. --Balaji - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Struts with Tiles

2005-04-04 Thread Kade Jeevan Kumar
Hi All, I'm using using tiles framework for my application.I'm using struts, jsp,servlets,xml as technologies. With tiles we are dividing my jsp into regions but the the problem i'm facing is how to point to a particular region in tiles framework from struts config. Do reply back Thanks i

Struts/Spring integration & Struts 1.3

2005-04-04 Thread Marco Mistroni
Hello all, I was wondering.. is using DelegatingActionProxy plus The Spring plugin for Struts the only way to integrate Spring beans Into struts? I am currently trying out Struts 1.3, and I would like to set my Spring beans in the command rather than in the action class.., or at least Make

RE: Define more than one messages.properties

2005-04-04 Thread Mark Benussi
Yes. Then when you refer to a message from a message resource defined above with a key just use the 'bundle' attribute of html:errors. -Original Message- From: Fleischle, Samuel [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 09:09 To: user@struts.apache.org Subject: Define more than o

Define more than one messages.properties

2005-04-04 Thread Fleischle, Samuel
I have a Struts-app with a really big messages.properties file. I want to split this file in some smaller and logic parts to get a better overview. I know there is the possibility to create modules with its own messages.properties. But I have some messages used in every module the same way, e.g

Forward to tile definition when using modules-modules

2005-04-04 Thread haim
The project is growing and we need few developers to work on it. I am trying to deploy the application using the struts modules. We are using tiles so every module has it's own module directory with both tiles-config.xml and struts-config.xml. I am having the following problems , a lot of my action