RE: Help ! Question regarding Action and Form Bean(in detail )!

2004-10-16 Thread Joe Hertz
What you want is for A1 to forward to J2. Not A2. J2 will display and then submit F2 to A2. Forwarding from one action to another is almost always bad (Okay, I admit that I've done it in some cases where I *know* the Action won't ever care about the request parameters. This clearly isn't one of t

Re: logic:iterate and table display

2004-10-16 Thread Erik Weber
Unfortunately, the Struts documentation isn't much help this department (unless I'm missing something), except that I think it tells you which Struts tags *don't* support the EL. But this page ought to help: http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL4.html There is also a blurb a

Help ! Question regarding Action and Form Bean(in detail )!

2004-10-16 Thread t t
Hi, Joe, Thank you for your answer.Let me describe it in detail. I have two jsp files, let me name them j1 and j2.j1 has form f1, and j2 f2. In f2, there is a checkbox. f1 triggers an action (a1) which will look at the data in f1 and end up in j2. Currently, I let a1 associate f1, and forward to a

RE: Help ! Question regarding Action and Form Bean!

2004-10-16 Thread Joe Hertz
It would help if you described this in more detail. I hope this explains it for you. If you have a JSP that submits a form using , you have to have that action associated to that form, otherwise you will get an exception when that JSP is loaded. If you have a JSP that wants to display data in a f

Help ! Question regarding Action and Form Bean!

2004-10-16 Thread t t
Hi,all, My action is triggered in one jsp file, and will end up in another JSP file, both have a form bean inside. And the action has to deal with both form beans. Question: How can I associate both form bean to one action? Thanks in advance! Tong

Re: Where is the html:label tag???

2004-10-16 Thread Craig McClanahan
'Cause nobody ever thought about it and proposed it? :-) Actually, I'm not sure how much value add there would really be, since you can already do things like: to create a localized field label. Craig On Sat, 16 Oct 2004 16:44:41 -0300 (ART), Leandro Melo <[EMAIL PROTECTED]> wrote: > Hi, >

Where is the html:label tag???

2004-10-16 Thread Leandro Melo
Hi, what is the reason for not having a html:label tag? Leandro. ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ --

RE: Exposing ActionForm and MVC fields

2004-10-16 Thread Leandro Melo
Well, i actually end up doing the update only on the required fields on my ejb layer. This way, i don't need to worry about the exposure of the ActionForm fields. --- "Freddy Villalba A." <[EMAIL PROTECTED]> escreveu: > Hi, > > > I believe you shouldn't abuse neither from the MVC > pattern o

Re: About Action Form

2004-10-16 Thread Michael McGrady
Frank is definitely right. You will have to decide. You can store data in a database too. If you have a situation where the data is particularly session oriented, then storing in the session makes sense. However, remember the odd things that can happen with things like popups, frames, etc.

RE: logic:iterate and table display

2004-10-16 Thread Vijay Vishvas Dharap
Can you tell how to use EL code. Am kind of newbie to Struts and and not much aware of EL tags. But my containier is only JSP 1.2 Also I am using struts 1.1 -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Saturday, October 16, 2004 7:57 PM To: Struts Users Mailing L

Re: logic:iterate and table display

2004-10-16 Thread Rick Reumann
Vijay Vishvas Dharap wrote the following on 10/15/2004 9:41 PM: Hi all, I have following scenario.. I have FormBean which has getter and setter for my VO object In VO I have a list of another VO. Now on this form I want to display the contents of the list using logic.iterate tags. I will make mat

Re: About Action Form

2004-10-16 Thread Frank W. Zammetti
Session is probably the way to go. For things like this, i.e., data that is transient on the whole but needs to persists across a number of requests, session is probably the right choice. Why WOULDN'T it be the right choice? If your storing a lot of data, session can become a problem, especia

Re: About Action Form

2004-10-16 Thread Koon Yue Lam
oh, so I need some way to store data in the respond object I know session can be help, is it a right way to do? It is not very big object but it would be an array of String (which contains user's multiple selection) thanks for your help, ^^

Re: About Action Form

2004-10-16 Thread Michael McGrady
The answer can be determined by thinking it through. Start with where the data is and where it goes. You do not say if data prepopulates a form, so I will assume it does not. JSP1 has some data which is submitted and shows up in F1 and maybe A1. Right? There it is. Your data. All of it a