Re: Struts MVC design

2005-07-06 Thread Dakota Jack
Shale may purloin the name "Struts" but their is no Struts to Shale at all. Mark G. may or may not harm Struts (I don't think people are so stupid as to let that influence their career decisions actually) but Shale will kill Struts utterly, if Shale, which is very unlikely, should be chosen to sup

Re: banned

2005-07-06 Thread erikweber
You did not fire him. Maybe his boss didn't appreciate him enough to stick up for him. Maybe he'll get a better job because of it. Or maybe his boss will change his mind. I'm sorry it all turned out this way. Erik -Original Message- From: Niall Pemberton <[EMAIL PROTECTED]> Sent: Jul

RE: Question re html:select on the client

2005-07-06 Thread Nitesh Naveen
You could use JavaScript to submit the form on clicking the link. Have a hidden field to track which link is clicked. For e.g.. Use this function in the link... function clickLink(linkId) { document.formName.hiddenElementName.value=linkId; document.formName.submit(); } PS: you ne

Question re html:select on the client

2005-07-06 Thread Kent Boogaart
Hello, I have an html:select populated from a collection. Alongside the select box I have links to add, edit and delete items. I'm just wondering what the best way is to handle passing the ID of the selected item to the edit and delete actions. For example, if the user selects the option with val

Re: [OT] Using connection pools - security

2005-07-06 Thread Craig McClanahan
A couple of considerations are relevant here: * Is a single user ever going to really use more than one connection from the pool? If not, wouldn't it be better to create a *connection* for them, instead of a *pool*? (Note in particular that transactions don't cross connection boundaries,

Re: [OT] Using connection pools - security

2005-07-06 Thread Tamas Szabo
I guess I could use any implementation of a connection pool for a simple implementation. I just need to use a connection pool for every user (of course using a smaller number of connections than usually). The connection pool object will be created only when the user logs in (if it doesn't exist alr

Re: [OT] Using connection pools - security

2005-07-06 Thread Larry Meadors
I do not know of any, but it is possible to create one using something like proxool. Larry On 7/6/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question regarding connection pools and DB user rights. > > When you use connection pool objects you specify an user who will be the >

[OT] Using connection pools - security

2005-07-06 Thread Tamas Szabo
Hi, I have a question regarding connection pools and DB user rights. When you use connection pool objects you specify an user who will be the owner of all the Connection objects in the pool. I guess that the most usual case is to specify an user which has the DB permissions to execute all the DB

Re: further clarification on pre-populating form

2005-07-06 Thread Frank W. Zammetti
There's any number of ways you could accomplish this, but I like to think in terms of the simplest. Here's my suggestion... Instead of using a ForwardAction, use a real Action. In it, get the reference to the form (which is of course passed in to execute() automaticly), populate it, and your

further clarification on pre-populating form

2005-07-06 Thread Tony Dahbura
There is no way I could find to populate the editUserForm bean prior to it being called from the forwardAction. Note below in my struts config have a url to viewedituser.do which invokes the action below. This action needs to setup to display the form for the user to edit values. How do I ge

Re: banned

2005-07-06 Thread Craig McClanahan
On 7/6/05, Brian Lee <[EMAIL PROTECTED]> wrote: > Wow, this is shockingly lame. Like amazingly lame. To mess with someone's > livlihood because you think they are an jerk is inexcusable. > Keep in mind that, if Mark indeed did get fired (he has *no* credibility with me, so I don't believe anythin

prepopulating the form again

2005-07-06 Thread Tony Dahbura
Ok: I have seen much dialog on this topic I originally asked. I read the docs... "This method is *not* the appropriate place to initialize form value for an "update" type page (this should be done in a setup Action). You mainly need to worry about setting checkbox values to false; most of the

Re: banned

2005-07-06 Thread Frank W. Zammetti
This is a tricky one... On the one hand, I agree, taking away someones' income for any reason is serious business. It sounds like Niall recognizes what he did probably wasn't the best choice. That recognition wouldn't seem to me to matter much now though, does it? Yet on the other hand, y

Re: banned

2005-07-06 Thread Brian Lee
Wow, this is shockingly lame. Like amazingly lame. To mess with someone's livlihood because you think they are an jerk is inexcusable. BAL From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: Re: banned Date: Thu, 7 Jul 2005 03:10:08 +0100 I cc'd them on the m

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Brian Lee
Actually, in the US we have laws against age discrimination or discrimination based on race, religion, creed or nationality. These are termed "protected groups" under US labor law. If you were fired for one of these reasons, gather up some evidence and sue your way to wealth in the civil courts

Re: banned

2005-07-06 Thread Niall Pemberton
I cc'd them on the message I sent to this list in a moment of madness at the rubbish arriving in my inbox and which I now regret. http://www.mail-archive.com/user%40struts.apache.org/msg29119.html Niall - Original Message - From: "blah blah blah" <[EMAIL PROTECTED]> To: "Struts Users Ma

Re: banned

2005-07-06 Thread blah blah blah
I am absolutely NOT kidding. The point is NOT that I was using my government email address to subscribe to a technical mail list. Nor is it that I was posting irreverent nonsense. The point is that somebody on this list copied selective posts with my government email address in the subject line

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Brandon Goodin
Where do you work!? I am going to notify your boss of you disgruntle behavior on this list!!! No wonder why we have H1Bs. They never complain and just take their 2 cents an hour. And I mean that in the best possible way :p ;-) :D Brandon On 7/6/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > Unfo

Re: Struts MVC design

2005-07-06 Thread Craig McClanahan
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 7/6/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > On 7/6/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > > > > > > Now there is talk of Struts in the future containing ActionCommands > > > which can be substituted in place of Actions, a

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Martin Gainty
Unfortunately in the US you can be canned for being too old or having the wrong religious views we have a ton of laws on the books but they are unenforced My question is how do I (an older engineer with politically incorrect views) get work in Germany Vielen Danke, Martin- - Original Messag

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Brandon Goodin
A Christian named Christian... that's original :) On 7/6/05, Christian Bollmeyer <[EMAIL PROTECTED]> wrote: > On Wednesday 06 July 2005 19:48, Rick Reumann wrote: > > Hi, > > > Daniel Perry wrote the following on 7/6/2005 12:49 PM: > > > Hah, it's the business use of web/email they fire you for.

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Christian Bollmeyer
On Wednesday 06 July 2005 19:48, Rick Reumann wrote: Hi, > Daniel Perry wrote the following on 7/6/2005 12:49 PM: > > Hah, it's the business use of web/email they fire you for. Go read > > your terms of employment, and the reference to "IT acceptible use > > policy" that you inadvertantly agreed

Re: need 2 parameters for html:link

2005-07-06 Thread gvanmatre
> On 7/6/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I have the following that works almost fine: > > > > > paramId="commonEnrollmentID" > > paramName="consumerValidatorForm" > > paramProperty="commonEnrollmentID" > >

Re: need 2 parameters for html:link

2005-07-06 Thread Rick Reumann
Mick Knutson wrote the following on 7/6/2005 6:42 PM: Then what I get is "http://URL?commonEnrollmentID=12345"; What I need to be generated is: "http://URL?action=historical&commonEnrollmentID=12345"; Because historical is an action met

Re: need 2 parameters for html:link

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > I have the following that works almost fine: > > paramId="commonEnrollmentID" > paramName="consumerValidatorForm" > paramProperty="commonEnrollmentID" >

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Brandon Goodin
Would all you shad up and get back to talking about how dead struts 1.x is :) Long live Shale and JSF!!! Brandon On 7/6/05, Nick Andros <[EMAIL PROTECTED]> wrote: > talk about an OT thread! > > > 1) The inconsistency in what is protected. For example everyone today > > talks about "tolerance."

need 2 parameters for html:link

2005-07-06 Thread Mick Knutson
I have the following that works almost fine: Then what I get is "http://URL?commonEnrollmentID=12345"; What I need to be generated is: "http://URL?action=historical&commonEnrollmentID=12345"; Because historical is an action method on my Lo

Re: Struts MVC design

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote the following on 7/6/2005 5:03 PM: > > > The action class > > provides the event contract, while the action form does the dirty > > work. > > Well in this case the struts-config file would provide the contract and > you

Re: Struts and Generics

2005-07-06 Thread Michael Taylor
Java generics are a compile-time feature only. The compiler uses your extra information (parameterized types) in order to detect some errors and eliminate the drudgery of some casting for you. However, when you run the JVM it has no knowledge of generics. Therefore, if you have an instance o

Re: Struts MVC design

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 7/6/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > > > > Now there is talk of Struts in the future containing ActionCommands > > which can be substituted in place of Actions, and strung together in a > > chain, and presumably can perform View

Re: Struts MVC design

2005-07-06 Thread Rick Reumann
Michael Jouravlev wrote the following on 7/6/2005 5:03 PM: The action class provides the event contract, while the action form does the dirty work. Well in this case the struts-config file would provide the contract and you could simply use one ForwardAction for everything. You've substitu

(OT) Re: Struts vs .NET???

2005-07-06 Thread John Henry Xu
Hi Dakota Jack, very funny. I think someone had suggested to put this thread to OT. BTW, I don't want spend too much time on this and I had said enough about you in my emails. Now I can focus on my job and be more productive by not having to write getters and setters manually. Only when I wr

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Craig McClanahan
On 7/6/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > > Now there is talk of Struts in the future containing ActionCommands > which can be substituted in place of Actions, and strung together in a > chain, and presumably can perform View-Controller logic. > If you look at Shale (with its support fo

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Mick Knutson
Worked. Thanks.. Zarar Siddiqi wrote: > > Wel, I catually have something like form.cards[0].cardNumber, but it is > > also not an array. It is a collection. > > Doesn't matter, it works for both as long as you got a getCardNumber() in > there. > > > Wendy Smoak wrote: > > > >> From: "Mick Knutson

Re: [offlist] Re: Newbie Help

2005-07-06 Thread Frasso, Anthony
Thanks for your help, Rahul. My current web.xml file looks like this: http://java.sun.com/dtd/web-app_2_3.dtd";> ... According to the wiki, it seems that I should be changing it to this: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/20

Struts MVC design (was:: help with a newbie topic-prepopulating a form)

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > I pity the poor noob who asked the original question! Little did he > suspect that he would spark off a dialog on advanced MVC design. > > This debate has come up before and for me, it is one of the weak points > of struts - I remember a couple of

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Martin Gainty
Mick- Or you could use map entry.. - ${eo.name.value} HTH, Martin- - Original Message - From: "Mick Knutson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, July 06, 2005 4:19 PM Subject: Re: How to access the first item in a Collection in a JSP? Wel, I ca

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Nick Andros
talk about an OT thread! > 1) The inconsistency in what is protected. For example everyone today > talks about "tolerance." But what does this mean? What it ends up > meaning is "There are no moral absolutes so the only valid belief system > protected is one that doesn't espouse moral judgments."

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Zarar Siddiqi
Wel, I catually have something like form.cards[0].cardNumber, but it is also not an array. It is a collection. Doesn't matter, it works for both as long as you got a getCardNumber() in there. Wendy Smoak wrote: From: "Mick Knutson" <[EMAIL PROTECTED]> > I have a Collection in my ActionFo

Re: [offlist] Re: Newbie Help

2005-07-06 Thread Rahul Akolkar
On 7/6/05, Frasso, Anthony <[EMAIL PROTECTED]> wrote: > Instead of doing what I would expect, it prints out the the text of > "$(project.projectId}" instead of its value. > > Note that I also tried using your JSP 2.0 recommendation, replacing the > tag with just "${project.projectId}". Same r

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Mick Knutson
Wel, I catually have something like form.cards[0].cardNumber, but it is also not an array. It is a collection. Wendy Smoak wrote: > From: "Mick Knutson" <[EMAIL PROTECTED]> > > > I have a Collection in my ActionForm, and want to access just the > > first object in that Collection. > > How about..

RE: [offlist] Re: Newbie Help

2005-07-06 Thread Frasso, Anthony
Wendy, (and Struts Dev list) Thanks again for your help. I've started playing with the JSTL tags and they seem quite useful. This is my first Web development project, which could explain some of my confusion. I'm directly jumping into struts, so I'm not sure when some of my questions are abo

Re: Printing Bills

2005-07-06 Thread Ovidiu EFTIMIE
The simplest way to go is to generate RTF with this . http://javaby.sourceforge.net/. At least this is what I'm using for quite some time and it works pretty well. Ovidiu On 7/6/05, Aleksandar Matijaca <[EMAIL PROTECTED]> wrote: > Interesting, we didn't have that problem at all. I just wish that

Re: [OT] Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Adam Hardy
Bob, if you didn't realise, Mark had gone into voluntary exile about 2 years ago (on the advice of the 'list elders' I believe). His re-appearance in such a fashion was surprising (and slightly weird - I have no idea why he resubscribed unless it was just to play the troll. He didn't ask any

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Adam Hardy
Rick Reumann on 06/07/05 19:22, wrote: In regard to "To redisplay invalid user data it must not be overwritten by pre-loaded data, thus reset() seems as simple and easy way out..", I must be confused on what you see happening that I don't. I don't use the reset to pre-populate the form data and

RE: [OT] M Galbreath

2005-07-06 Thread Fogleson, Allen
Actually there would not have to be an ethics clause. Maryland is a right to work state so the employer can fire you at any time for any reason. Aren't most states this way? Not that I get fired but I would love to know where in the US it is different. I know in some European countries (for instanc

Re: M Galbreath

2005-07-06 Thread Ed Griebel
At the risk of feeding the troll even more: 7) Even though it feels like a club, this mailing list is a public place, and Google is not always your friend. If you leave tracks, make sure they don't reflect on you negatively. On 7/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I probably sho

Re: [OT] M Galbreath

2005-07-06 Thread Nick Andros
> Oh, please. That's why the idiot shouldn't have been using a government > email address. I've skipped almost all of this, but at the very least he > _did_ make threatening noises. You just can't go doing that on government > time. Yep. If you can't say it to your boss' face, then you shouldn

Re: Newbie: Where to put instance for database access?

2005-07-06 Thread BHansard
Depending on the level of usage to the database, I would recommend implementing a connection-pool and requesting a connection each time you need to query the database. If you hold a single connection for your application, you will limit your scalability and hurt performance based on the user load

Re: Struts Books Recommendations

2005-07-06 Thread James Mitchell
You are kidding right? -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] Skype: jmitchtx On Jul 6, 2005, at 10:19 AM, Mark Galbre

Re: Newbie: Where to put instance for database access?

2005-07-06 Thread Ed Griebel
You should be using some type of data source or preferrably a connection pool based on a data source. Most web servers include a connection pool implementation and all that's needed is to define the connection pool, define the data source, and then link the two. Your web app will then get a connect

Re: M Galbreath

2005-07-06 Thread Derek Broughton
Larry Meadors wrote: > I would like the person who sent this to know that they are the lowest > form of life on the planet. > Oh, please. That's why the idiot shouldn't have been using a government email address. I've skipped almost all of this, but at the very least he _did_ make threatening n

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Derek Broughton
Michael Jouravlev wrote: > The only book I would follow without asking for explanation would be a > nuclear power station operator's manual. In all other cases I have > time to sit down and think things over. Strictly speaking, you shouldn't actually be operating a nuclear power station without a

Re: Printing Bills

2005-07-06 Thread Aleksandar Matijaca
Interesting, we didn't have that problem at all. I just wish that there was a better way of including graphic objects that were created -on-the-fly... Regards, Alex. On 7/6/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > I would either use JasperReports to create a simple report definition,

Re: Newbie: Where to put instance for database access?

2005-07-06 Thread Aleksandar Matijaca
Create a singleton class, that holds the instance of a connection in a ThreadLocal class in that singleton -- this way you don't have to keep stuff in the session... Regards, Alex. On 7/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi! > > I have maybe a simple question: > > My web-

RE: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread rah
Just to add another perspective. I've been a Struts "list lurker" for about 3 years and have enjoyed reading the posts. Programmers are often crazy and outrageous (which gives us our "charm") , but I had a problem with Mark's remarks about East Indians being "faggots". As a guy who has been in

RE: Validator Form and inheritance

2005-07-06 Thread Charles . Gouin-Vallerand
Ok, i find the solution, it's pretty simple, I'm stupid to not find it more quickly. I was thinking that the validator get the field value with the set or the get method, but it access the value directly. So, my field was private ... the validator was not able to get it. I just need to use protecte

Re: Printing Bills

2005-07-06 Thread Nick Heudecker
I would either use JasperReports to create a simple report definition, or use IText to create the PDF. When we tried to use FOP, we had to embed the fonts which resulted in HUGE PDFs. On 7/6/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > Rafael > > Now I understand.. > You can use Crystal Report

Re: Printing Bills

2005-07-06 Thread Martin Gainty
Rafael Now I understand.. You can use Crystal Reports to pretty print using cascading style stylesheets for formatting but if you want hardcopy used by most of the agencies of the US I would output to PDF Saludos Cordiales! Martin- - Original Message - From: "Rafael Taboada" <[EMAIL

Re: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > I can't believe I now have to watch what I say on this mailing list. You always have to watch what you say and do, Big Brother is watching. Kidding aside, I know this first hand. Weather, football and cars seem to be safe topics. Until you call

Re: Printing Bills

2005-07-06 Thread Aleksandar Matijaca
There are a number of commercial products out there -- the products I outlined to you are open source, except the altova product... This is actualy much simpler then it seems Rafael -- have look at FOP... Regards, Alex. On 7/6/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > > So aren't there

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Rick Reumann
Michael Jouravlev wrote the following on 7/6/2005 12:26 PM: So, you use action forms both for input and output. This is great. Change the scope to "session", throw in some methods, and you get yourself a backing bean. This is what it should be. Well, not really. I should be able to use a POJO/

Re: Printing Bills

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Aleksandar Matijaca <[EMAIL PROTECTED]> wrote: > PDF is definitely the way to go I would not say that pdf is "definitely the way to go". CSS with "print" media type and points or cm or inches for units (not pixels) should work quite well. Michael.

Re: Printing Bills

2005-07-06 Thread Rafael Taboada
So aren't there any other way that PDF? -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Printing Bills

2005-07-06 Thread Aleksandar Matijaca
PDF is definitely the way to go While not strictly a struts thing -- the way to do it in my opinion is: text from the article ---> XML (data from the article in XML format) ---> create an XSL:FO file using some kind of a tool ( http://altova.com/ ) has demo software you can try for this -->

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Wendy Smoak
From: "Mick Knutson" <[EMAIL PROTECTED]> > I have a Collection in my ActionForm, and want to access just the > first object in that Collection. How about... <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> -- Wendy Smoak

[OT] Re: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Rick Reumann
Daniel Perry wrote the following on 7/6/2005 12:49 PM: Hah, it's the business use of web/email they fire you for. Go read your terms of employment, and the reference to "IT acceptible use policy" that you inadvertantly agreed to. (the below has nothing to do with Mark).. For the record, I'm no

Re: Printing Bills

2005-07-06 Thread Brad Balmer
Look at jasper for creating a pdf. Rafael Taboada wrote: Hi folks, i'm developing a project in struts, this project is about selling management. When the user selects some articles in order to sell them, there is a module with the client name and the articles list. I need to print that object:

How to access the first item in a Collection in a JSP?

2005-07-06 Thread Mick Knutson
I have a Collection in my ActionForm, and want to access just the first object in that Collection. How can I do this? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS " made the following annotations.

Printing Bills

2005-07-06 Thread Rafael Taboada
Hi folks, i'm developing a project in struts, this project is about selling management. When the user selects some articles in order to sell them, there is a module with the client name and the articles list. I need to print that object: the bill. I'm in a hurry and I need ur experience in thi

help with a newbie topic-prepopulating a form

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote: > On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Jeff, I don't have a blind faith in word written by someone whom I > > have not even had a drink with. > > > > ;-) > > > > Michael. > > I never asked you to go on "blind faith" -- I quoted

fake emails --- Re: M Galbreath

2005-07-06 Thread Aleksandar Matijaca
People, it is inconceivable to me that a dumb-witted employer can fire somebody over an email!! Don't these people know that a fake email can be created by anybody? I can make myself look like M. Galbreath in no time at all on email. All he had to say was --- "This is not me, somebody is faking

Re: Struts Books Recommendations

2005-07-06 Thread erikweber
Mark, I am sorry to hear it turned out this way. I hope this turns out to be a blessing in disguise and that you go on to get a better job after learning a tough lesson (not that I'm saying the punishment fit the crime -- in my opinion, based solely on postings to this list, it did not). Maybe

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Jeff Beal
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote: > > Here's the last paragraph of the JavaDoc for the reset() method > > (emphasis in original): > > > > "This method is *not* the appropriate place to initialize form value > > for an "update"

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: Hmm, the description for CRUDAction does not have a link to the live demo. Here it is: http://www.superinterface.com/strutsdialog/cruditemlist.do This one uses two separate actions: one for the list and another for all crud operations. Thus,

RE: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Daniel Perry
Hah, it's the business use of web/email they fire you for. Go read your terms of employment, and the reference to "IT acceptible use policy" that you inadvertantly agreed to. There have been cases in the uk where they have done this as it's much cheaper to hunt out employees who have sent dodgy em

Re: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Carlos Duque
Take a look at the original email thread to which I responded. Take a look at the addressees of the email. Your answer will lie there. Be careful about whom you tar, since it very well be someone you may justifiably hold in high regard. As for whether that person deserves to be chastised f

Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Rick Reumann
Mark Galbreath wrote the following on 7/6/2005 10:19 AM: Thanks to whomever emailed last weeks nonsense thread to the Director of the Board of Elections. It made me look like a racist and I was fired this morning. The State is also looking into whether my use of an official email address for th

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote: > Here's the last paragraph of the JavaDoc for the reset() method > (emphasis in original): > > "This method is *not* the appropriate place to initialize form value > for an "update" type page (this should be done in a setup Action). You > mainly nee

Re: Struts and Generics

2005-07-06 Thread Laurie Harper
I'd say it depends on how Struts processes the form bean declaration. Assuming it's using straight reflection, I don't see why generics wouldn't work. However, Kent, you will need to correct your XML: the error you're seeing is becuase what you have can't be parsed (it's not well formed). Give

Re: help with a newbie topic-prepopulating a form

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > 1) The person asking I believe was a beginner to Struts. Suggesting to > have a DAO used in ActionForm is something definitely unorthodox and > since the person is new to the framework it is unlikely he'll see many > examples of this and it can g

RE: M Galbreath

2005-07-06 Thread jacob.willig
I probably should not respond, but obviously I could not stop myself from doing so.. 1: How sure can we be that Mark wrote the message about him being fired over this 2: If he did write this, AND the message is true, it seems far fetched that one gets fired over just posting in this thread (althoug

RE: javascript

2005-07-06 Thread Bob Arnott
Vijay K Anand wrote: > Hi All > > I used the same way you have said > > id="create_portfolio">javascript:location.href=' page="/portfoliomgmt"/>' > property="Create" value="Create" styleClass="NPIButton" > onclick

Re: Newbie Help

2005-07-06 Thread Laurie Harper
Frasso, Anthony wrote the following on 7/5/2005 5:34 PM: <% ProjectsBean projectsBean = new ProjectsBean(); projectsBean.populate(); pageContext.setAttribute("pojectsBean", projectsBean); %> Any scope should work. Also make sure the Project object includes the appropriate (JavaBe

Re: M Galbreath

2005-07-06 Thread Larry Meadors
I would like the person who sent this to know that they are the lowest form of life on the planet. Larry On 7/6/05, netsql <[EMAIL PROTECTED]> wrote: > We all all sincererly very sorry, we just wanted a slap on the wrist > from all the noise. > > .V > > > Mark Galbreath wrote: > > Thanks to w

Re: javascript

2005-07-06 Thread Vijay K Anand
Thanks buddy , it is great... Jeff Beal wrote: Use the action attribute instead of the page attribute in your tag. See http://struts.apache.org/userGuide/struts-html.html#rewrite for the tag documentation. -- Jeff On 7/6/05, Vijay K Anand <[EMAIL PROTECTED]> wrote: Hi All I used the s

RE: Multibox problem

2005-07-06 Thread Shyam . Tummala
Hi- Thanks for the response. The map is in helper class and i dont want my helper class to know anything about struts or actionForm. Thanks, Shyam "Apte, Dhanashree (Noblestar)" <[EMAIL PROTECTED]> 07/06/2005 11:45 AM Please respond to "Struts Users Mailing List" To: "'Struts

Re: javascript

2005-07-06 Thread Jeff Beal
Use the action attribute instead of the page attribute in your tag. See http://struts.apache.org/userGuide/struts-html.html#rewrite for the tag documentation. -- Jeff On 7/6/05, Vijay K Anand <[EMAIL PROTECTED]> wrote: > Hi All > > I used the same way you have said > >

RE: Multibox problem

2005-07-06 Thread Apte, Dhanashree (Noblestar)
Code where i put the values back: map.put("districtIds", stringArr); where stringArr is an array of what the user selected. -> This is not the same as calling setDistrictIds. You need to call setDistrictIds(stringArr) explicitly.

Re: stopOnFirstError

2005-07-06 Thread Laurie Harper
I'm not sure why stopOnError isn't working for you, but why would you *not* want to show as much validation information as possible? I hate forms that tell me I've filled in one field incorrectly, only to complain about another when I fix the reported error... L. EROL TEZCAN wrote: Any sugg

Re: Marking fields having errors

2005-07-06 Thread Laurie Harper
Or see the errorClassId attributes on the the form tags. L. Rauf Khan wrote: Hi, In ur application resources file, u can add this errors.header=Error List errors.footer= here color = anycolor Regards Khan On 7/5/05, Kalra, Ashwani <[EMAIL PROTECTED]> wrote: Hi, Does struts has any fa

RE: Redirect request to home if session is expired

2005-07-06 Thread Juan Pablo Vagliati
Hi, I dont know if is a good design or exists other best practices for this scenario but that i have done is put a session attribute and test in my base action about it. (sorry by my english) bye, pablo. -Mensaje original- De: Franz-Josef Herpers [mailto:[EMAIL PROTECTED] Enviado el:

RE: Struts Books Recommendations

2005-07-06 Thread Daniel Perry
> -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED] > > Thanks to whomever emailed last weeks nonsense thread to the Director > of the Board of Elections. It made me look like a racist and I was > fired this morning. The State is also looking into whether my use of > an

Re:M Galbreath

2005-07-06 Thread netsql
We all all sincererly very sorry, we just wanted a slap on the wrist from all the noise. .V Mark Galbreath wrote: Thanks to whomever emailed last weeks nonsense thread to the Director of the Board of Elections. It made me look like a racist and I was fired this morning. The State is also lo

Multibox problem

2005-07-06 Thread Shyam . Tummala
Hi- I am having a problem with repopulating multiboxes. Scenario: My application is a wizard based one. User clicks on a couple of checkboxes(multibox) and does a submit and after a couple of screens he wants to come back to the checkboxes screen and the way i do is, i save the values he clic

Re: Struts vs .NET???

2005-07-06 Thread Dakota Jack
Okay, okay, Reumann. Do you want to be right or do you want to be loving? ///;-) Xu really is not all that atuned to computer stuff, even though he is a computer journalist, so you might take him on as your grasshopper? ///;-) On 7/5/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > John Henry Xu

Re: javascript

2005-07-06 Thread BHansard
_javascript_:location.href='' Vijay K Anand <[EMAIL PROTECTED]> Vijay K Anand <[EMAIL PROTECTED]> 07/06/2005 10:11 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: _javascript_ Hi All I used the same way  you have sai

Re: Struts Books Recommendations

2005-07-06 Thread Mark Galbreath
Thanks to whomever emailed last weeks nonsense thread to the Director of the Board of Elections. It made me look like a racist and I was fired this morning. The State is also looking into whether my use of an official email address for that discussion is in violation of state law. You did your w

Re: javascript

2005-07-06 Thread Vijay K Anand
Hi All I used the same way you have said id="create_portfolio">javascript:location.href='page="/portfoliomgmt"/>' value="Create" styleClass="NPIButton" onclick="<%=create_portfolio %>" />

Re: Multiple RequestProcessor

2005-07-06 Thread Joe Germuska
The appropriate way to use more than one RequestProcessor in Struts is to use modules. Each module has its own request processor. Struts can use part of the request path as a module identifier in much the same way that your servlet container uses a "context root" to know which servlet will pr

  1   2   >