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

[OT] Re: [To sum it up] Re: Confused / one little question

2005-06-15 Thread Radu Badita
In fact, this thread was really about Struts and how it integrates with various J2EE technologies and containers, not "about Hibernate/EJBs"... Anyway: I don't think that anyone says that Hibernate is better than EJB period; but maybe easier and more flexible to use than Entity EJBs CMP, which

Re: session and request scope

2005-03-14 Thread Radu Badita
At 08:14 14.03.2005, Craig McClanahan wrote: For a developer, though, you should train yourself to good habits in the first place -- use request scope for *everything* unless it absolutely must be saved, on the server side, in between requests from the same user. This sounds like common-sense but i

Re: Typical Struts development team and distribution of tasks?

2005-03-12 Thread Radu Badita
At 21:49 11.03.2005, you wrote: Same here. It's kind of odd because we are a very large organization, yet, it's still "one guy doing everything" kind of a place. The only thing we don't do any more is actual server administration, but we used to. We're also moving towards not doing DBA work,

Re: Typical Struts development team and distribution of tasks?

2005-03-12 Thread Radu Badita
At 21:35 11.03.2005, you wrote: > In practice, there are mutliple iterations of this, and I couldn't > conceive of it working unless the framework person and the developer > person work well together and are close both in the organization chart > and geographically. You can't get any closer than th

Re: Typical Struts development team and distribution of tasks?

2005-03-12 Thread Radu Badita
n a pixel perfect html representation as well as meeting the MVC business requirements. -Original Message- From: Radu Badita [mailto:[EMAIL PROTECTED] Sent: 11 March 2005 17:20 To: Struts Users Mailing List Subject: Re: Typical Struts development team and distribution of tasks? Good question

Re: Typical Struts development team and distribution of tasks?

2005-03-11 Thread Radu Badita
Good question! I barely can wait for answers from the other guys out there; cuz in what I saw so far, the Java Developers are supposed to be able to turn static visual models (often not even html) into Struts web applications, finding "clever" solutions (usually good ol' javascript) to UI design

Re: using Taglibs

2005-03-11 Thread Radu Badita
In theory, you could... But in practice it's virtually impossible (unless you're building an app with just a few pages/forms/actions). I suggest you take a look at Tapestry - it uses more than simple pages (they are "instrumented" HTML, not even JSPs) that can even be designed by a designer tota

Re: map-backed forms with multibox/multiselect lists?

2005-03-08 Thread Radu Badita
ike -Original Message----- From: Radu Badita [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:10 AM To: Struts Users Mailing List Subject: RE: map-backed forms with multibox/multiselect lists? I had the same problem some time ago (the solution vaguely suggested by Jack wouldn&

RE: map-backed forms with multibox/multiselect lists?

2005-03-07 Thread Radu Badita
I had the same problem some time ago (the solution vaguely suggested by Jack wouldn't had been an option since the properties were dynamic so I needed the key to distinguish between them). I asked on this list for help at that time, but didn't got an answer, so I guess nobody succeeded in doing

Re: [Very OT] Hypothetical challege

2005-01-27 Thread Radu Badita
Hi, there It happens that I'm having this same design problem today :-) (pretty interesting how things matched, huh?!) I totally agree with Wiebe here - his is the only reasonable work-around that i could imagine to this problem. I also thought about serializing the Handle, but i think it won't

Re: Nested and javascript'

2005-01-13 Thread Radu Badita
Sure it is a way to access those: just assign an unique id - maybe same as the name, but without the dots. At 13:56 13.01.2005, you wrote: Well, this is kinda off topic, but I thought that maybe some of you may ran into this problem. I have a nested text field. It's name is : destiny[0].airShip

Re: Unable to delete Object form Session scope - help needed

2004-12-28 Thread Radu Badita
Hi Peter, I think you gave far too less information for someone to really be able to help you with this problem. However I do have an observation about your code: I suppose that the "userSelection" HashMap is first retrieved from session, then modified (by removing something). You don't need to re

Re: prevent reset of bean after submit

2004-12-28 Thread Radu Badita
As Hubert pointed out: your form won't hold the state from your first.jsp unless you store it in session scope, as the request created on first.jsp submit will cease to exist after second.jsp is run. But if you really don't wanna keep it in user's session, the only workaround I see possible it's co

Re: Inheritance of DynaActionForms

2004-12-23 Thread Radu Badita
Regarding the inheritance of DynaActionForms I've once read an very good and interesting article of someone who found an workaround. I don't have the url though, so maybe you'll get lucky with google ;-) Hi, I am looking for a "Best practice" of using the ActionForms. We are using lot of Forms(b

RE: ActionMessage replacement "keys" ?

2004-12-21 Thread Radu Badita
For the 99.9% of the situations I agree with you Jim, but when you do some kind of generic subsystem to reuse across applications it's very possible to need such behavior. Here might be arguable that such situations can be avoided, but still... you might end up presenting messages that are much

Re: Missing message for key "analystprofile.edit.screen.title"

2004-12-16 Thread Radu Badita
The problem here is the tag in your jsp: It should be: "Why without '/ad' ?" you may ask. Probably the example you copied from is a Struts module named 'ad'; in such cases, when the message-resources tag is in a Struts module config, then / is appended to the name of the messages resource. In

Re: [ot] Naming generated files

2004-11-25 Thread Radu Badita
I see no point in such design... That will be replicating the same data (the images) in two separate systems (your database and your file system) and keeping the two synchronized. Too much overhead for a simple problem. Why don't you just make your servlet simply output the images (read from t

Re: Problem downloading file

2004-11-23 Thread Radu Badita
I have the same problem trying to do the same as Morales... To overcome this, i've made a JSP (just because i was too lazy to write a Servlet :) where I get the OutputStream from the response, set the content type and content-disposintion: response.setContentType("application/octet-stream");

Re: [Validation] and local string insertion

2004-11-22 Thread Radu Badita
I think the problem might be that you don't get the right MessageResources. Here is what Struts API says about public MessageResources getInternal() : "Return the MessageResources instance containing our internal message strings." You should use: MessageResources resources = request.getSession().g

Alternate bundle with ActionMessage

2004-11-22 Thread Radu Badita
Hi, I have a problem related with using a keyed MessageResources in a module and creating an ActionMessage with keys from it. Sorry if it has been discussed before, but I haven't found anything searching the list... So here it is: in my module I have defined a message-resource with a key (let's s

Re: Help with message resource on Struts module

2004-11-22 Thread Radu Badita
2004 10:49:56 +0200, Radu Badita <[EMAIL PROTECTED]> wrote: > > Actually you are right - it is a typo, but only in the email (in the real > files I have other names, and there are spelled right). > > > > At 21:53 18.11.2004, you wrote: > >Maybe this is just a

Re: Help with message resource on Struts module

2004-11-19 Thread Radu Badita
Actually you are right - it is a typo, but only in the email (in the real files I have other names, and there are spelled right). At 21:53 18.11.2004, you wrote: Maybe this is just a typo but shouldn't you be using 'bundle="mymodulekey"' instead of 'bundle=&q

Help with message resource on Struts module

2004-11-18 Thread Radu Badita
Hello, I have a Struts module with the following message bundle: Inside an Action I can get messages from it with: dateFormat = getResources(request,"mymodulekey").getMessage("date.format"); and it works fine. But this Action forwards to a jsp in which I have this tag: it doesn't work because it

Re: How to use getServletConfig( ) outside a Servlet.

2004-11-12 Thread Radu Badita
eans. > > Can you help me? > > Thanx in Advance, > Lukas > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >

Re: How use the BeanUtils and interface converts

2004-11-12 Thread Radu Badita
-- > >Gabriel França Campolina > >Sun Certified Programmer for the Java 2 Plataform > > > >----- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTE

Re: Question about multiple fields in forms

2004-11-12 Thread Radu Badita
e send to the action: > > Cheers, > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Radu Badita Galati, R

Map-backed form property and multi-select

2004-11-04 Thread Radu Badita
Hi, I'm using a map-backed property to get the data from a run-time generated form. If one of the controls in the form is a multi-select, I only get the first selected option. The form definition: ... Setter method: public void setParamValue(String paramId, Object value) The select: