Re: core struts -- best practise fundementals

2005-08-31 Thread Radu Badita
peru cheppanu wrote: Thanks for replying me. The basic idea is knowing the need for tag libraries.. for which the explanation was given as reusability. In my opinion, the purpose of tags, besides reusability (after all, plain objects and methods are reusable and easier to implement), is r

Re: core struts -- best practise fundementals

2005-08-30 Thread peru cheppanu
Thanks [EMAIL PROTECTED] wrote: On Tue, 2005-08-30 at 13:06 -0700, peru cheppanu wrote: > Thanks a lot Craig. That cleared up a lot. > > For the rest of 1%, I better put my question straight to the case. > > I want to display two properties on 40*10 cell table. I have these options. > 1. use a

Re: core struts -- best practise fundementals

2005-08-30 Thread amos
On Tue, 2005-08-30 at 13:06 -0700, peru cheppanu wrote: > Thanks a lot Craig. That cleared up a lot. > > For the rest of 1%, I better put my question straight to the case. > > I want to display two properties on 40*10 cell table. I have these options. > 1. use a hashmap that contains 400 value

Re: core struts -- best practise fundementals

2005-08-30 Thread peru cheppanu
Thanks a lot Craig. That cleared up a lot. For the rest of 1%, I better put my question straight to the case. I want to display two properties on 40*10 cell table. I have these options. 1. use a hashmap that contains 400 values. Or have four with 100 each so that I can have identical keys. 2

Re: core struts -- best practise fundementals

2005-08-30 Thread Craig McClanahan
On 8/30/05, peru cheppanu <[EMAIL PROTECTED]> wrote: > > Thanks for replying me. > > The basic idea is knowing the need for tag libraries.. for which the > explanation was given as reusability. > > Now, coming to specific example I have given: > > I agree that it should not be a part of logic:

Re: core struts -- best practise fundementals

2005-08-30 Thread peru cheppanu
Thanks for replying me. The basic idea is knowing the need for tag libraries.. for which the explanation was given as reusability. Now, coming to specific example I have given: I agree that it should not be a part of logic: library. But, I think one such tag (substring) is useful in some

Re: core struts -- best practise fundementals

2005-08-29 Thread Radu Badita
Although the previous two answers are basically correct, I don't think they really contain the response to Peru's initial question. I hope that the "elders" of this list will clarify things a bit for him. :-) I considered that I'd better avoid responding myself to this, as one that sometime ag

Re: core struts -- best practise fundementals

2005-08-29 Thread BHansard
peru cheppanu <[EMAIL PROTECTED]> 08/29/2005 12:41 PM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject core struts -- best practise fundementals Hi all, I am trying to understand the motivation behind seperation of logic and

RE: core struts -- best practise fundementals

2005-08-29 Thread Paranj, Bala
system that conforms to this principle. Bala -Original Message- From: peru cheppanu [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 12:42 PM To: user@struts.apache.org Subject: core struts -- best practise fundementals Hi all, I am trying to understand the motivation behind

core struts -- best practise fundementals

2005-08-29 Thread peru cheppanu
Hi all, I am trying to understand the motivation behind seperation of logic and presentation in struts framework. I was wondering if any of you can provide some light if I am thinking in right direction. Now, if you write scriptlets in JSP, that is a bad practice.., however if you hide that