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

2005-04-04 Thread Erik Weber
Craig McClanahan wrote: On Apr 2, 2005 8:38 AM, Erik Weber [EMAIL PROTECTED] wrote: I was playing a bit of devil's advocate when I wrote I have no interest in JSF. It probably sounded harsh. The truth is, I want both Struts and JSF in my toolbox. I don't want one to supplant the other. I have

Which version of Validator was shipped with Struts 1.1b2

2005-04-04 Thread tarek.nabil
Hi, I'm using Oracle's BC4J framework which was shipped with JDeveloper 9.0.3.4 and I can not upgrade to newer versions. This frameworks supports Struts 1.1b2 and not any other version. I'm currently facing a problem with getting the validation framework to work in my application and I need to

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

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,

RE: Define more than one messages.properties

2005-04-04 Thread Mark Benussi
Yes. message-resources parameter=ApplicationResources null=false / message-resources key=general parameter=general.ApplicationResources null=false / message-resources key=errors parameter=errors.ApplicationResources null=false / Then when you refer to a message from a message resource defined

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

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

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

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.

Missing resource/Modules

2005-04-04 Thread Michael Hansen
Hi, Im 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: action path=/logon

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 span=style_note_internal(note)/span, the note is still bolded. How can I make the style just _not_ bolded essentially overridding

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

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

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

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

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

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

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 the

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). LABEL FOR=step2QuestionID1 bean:message property=step2Question1LongLabel name=Step2Form / INPUT NAME=step2QuestionID1 TYPE=HIDDEN id=step2QuestionID1 /LABEL

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 are

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

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. label for=step2QuestionID1 bean:message property=step2Question1LongLabel name=Step2Form / /label input name=step2QuestionID1 type=hidden id=step2QuestionID1 /

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

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

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

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

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

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

Re: Multi Step Forms

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

Re: URGENT HELP

2005-04-04 Thread Dakota Jack
Where does this label 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

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 html:messages use the bundle key to refer to the key. I cant remember the syntax for bean:write _ From: Michael Hansen [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 13:44 To: user@struts.apache.org Subject: Missing

Re: URGENT HELP

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

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 c:out and POHTML), then what features of Struts are you using? i'm just trying to

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

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

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? snip do you just keep maximizing the server memory, and/or keep adding servers (clustering/load

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

[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! SUA - Session Users Anonymous - meeting/ 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

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

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 label and input in

Re: Multi Step Forms

2005-04-04 Thread Woodchuck
--- Rick Reumann [EMAIL PROTECTED] wrote: snip 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 simply

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

[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

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,

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

Concatinating 2 strings for a bean:message???

2005-04-04 Thread Mick.Knutson
I am trying to make the following work without success: bean:message key='label.owner.section.info.%= ownerNumber %' / for a property of... label.owner.section.info.1 = Owner One Details -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333

html:select: 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: html:select property=matTeacher c:set var=CURTEACHER value=${student.matTeacher.teacherId} / c:forEach var=teacher

Re: html:select: 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: html:select property=matTeacher c:set var=CURTEACHER value=${student.matTeacher.teacherId} / c:forEach var=teacher items=${TEACHERMAT} varStatus=status option value=${teacher.teacherId}

Re: html:select: 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

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

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