RE: Resend : Multiple Struts-config files, multiple properties and validator

2005-07-08 Thread Sagar Naik
Hi I have used the latest tld's .xml's But still I get the error When I go by the way u suggested I get SEVERE: Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE All I have tried is :- in t

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

2005-07-08 Thread Nitesh Naveen
I agree with Craig here... He is quiet right about the mailing problem... I had been using my company id and have been told by them to unsubscribe from the due to the volume of messages coming in. Despite the volume if the mails had something to defend I could've done it. But the never ending flow

Our name has changed!! [struts-atlanta -> web-atlanta]

2005-07-08 Thread James Mitchell
What's in this email? o Name Change o August meeting and "Code Night" o September "Put up or shut up!" Name change --- As discussed on our mailing list, we have broadened the scope of our group. We are now officially called "The Atlanta Web Developers Users Group" It just so happens

RE: Using the form bean

2005-07-08 Thread Kent Boogaart
Thanks Abdullah, I took the JSP 2.0 approach. Didn't realize that was possible. The kind of worked but I wasn't able to put the inside it (it printed out static text though so it was obviously working). Thanks again, Kent -Original Message- From: Abdullah Jibaly [mailto:[EMAIL PROTECTED

Re: Shale Users

2005-07-08 Thread Brandon Goodin
sorry for emailing you privately. :) I meant it to go to the list as well. But, thanks for your info! Brandon On 7/8/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 7/8/05, Brandon Goodin <[EMAIL PROTECTED]> wrote: > > > Does Shale have any good documentation as of yet? > > I suppose that

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

2005-07-08 Thread netsql
Andrew Tomaka wrote the following on 7/8/2005 2:29 PM: in the past few weeks, it's all gone downhill. A good percentage of threads are now off-topic; not off topic like discussing the pros and cons of using an IDE, but off topic like what an H1B is and personal thoughts on outsourcing. I'm

Was [OT] Re: Fired???? ...

2005-07-08 Thread Michael Taylor
I move that we adjourn this thread. Nothing to see here. Please move along. Cheers, Mike Michael Taylor TXE Systems, Inc. [EMAIL PROTECTED]

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

2005-07-08 Thread Brandon Goodin
There are people who are taking things way too serious around here. They fall into two groups. #1 The easily offended #2 The lude and discourteous. What is funny is often they are one and the same. My comments have been very light hearted and not intended to offend. If folks take the lighter comme

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

2005-07-08 Thread Brandon Goodin
Yan Hu is our new troll! I wonder if Yan Hu is some kind of ancient code for Mark Galbreath :D Mark is that you? On 7/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > And so, the circle is complete. > > :) > > - Dennis > > > "James Mitchell" <[EMAIL PROTECTED]> > 07/08/2005 04:43 PM > Plea

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

2005-07-08 Thread Craig McClanahan
On 7/8/05, James Mitchell <[EMAIL PROTECTED]> wrote: > Andrew, you must be new here. See, on Fridays (usually), we like to cut up > and have a little fun. I think I've donated enough blood on this list to > deserve a break every now and then. And perhaps its time to reign in the freedom to cut u

RE: How to set tiles attribute dynamically?

2005-07-08 Thread Neil Aggarwal
Dave: That worked perfectly! Thanks for the hint. Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com > -O

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

2005-07-08 Thread DGraham
And so, the circle is complete. :) - Dennis "James Mitchell" <[EMAIL PROTECTED]> 07/08/2005 04:43 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" , "Andrew Tomaka" <[EMAIL PROTECTED]> cc Subject Re: [OT] Re: Fired was...Re: Struts Books Recommendations

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

2005-07-08 Thread James Mitchell
Andrew, you must be new here. See, on Fridays (usually), we like to cut up and have a little fun. I think I've donated enough blood on this list to deserve a break every now and then. If you don't like wasting time with [OT] posts, filter them. Every decent mail client will allow you to do

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

2005-07-08 Thread Michael Taylor
Too bad it also matches almost every ISP's domain name... :-O Michael Taylor TXE Systems, Inc. [EMAIL PROTECTED] Brady Hegberg wrote: Google results: struts: 2,330,000 sturts: 7,470 sruts: 1,700 srtuts: 1,040 strutus:

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

2005-07-08 Thread Larry Meadors
...but a real bugger to google for - #? .net? Too bad M$ couldn't somehow work an & and a ? into the name... Hmm, C#&ASP.NET? Looks like a cartoon character swearing...or me trying to write code with vs.net. Larry PS: it is friday, right? On 7/8/05, Brady Hegberg <[EMAIL PROTECTED]> wrote: >

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

2005-07-08 Thread Brady Hegberg
Google results: struts: 2,330,000 sturts: 7,470 sruts: 1,700 srtuts: 1,040 strutus: 328 The one big advantage of .net: it's easy to spell. -Brady > Why don't we get back to the reason this list exists and the purpose > of Sturts: making our lives easier. > > ~ Andrew Tomaka --

SOLVED! RE: Struts-config.xml Digester endElement problem

2005-07-08 Thread Sher, Allen - BLS CTR
Hubert was correct. The problem was a wrong value to the "type" attribute of the element. The type or className attributes of a tag is an ActionFormBean. An ActionFormBean is used to store definitions of Forms. It is not an ActionForm itself. I guess Digester's message "parameter type mismatch"

Re: Validation and Display Question

2005-07-08 Thread BHansard
To get the error appear next to the field add the following : to change the text of the field label (if your form is a table) ... class="error"> Field label ... ">"Scott Purcell" <[EMAIL PROTECTED]> "Scott Purcell" <[EMAIL PROTECTED]> 07/08/2005 02:58

Re: Validation and Display Question

2005-07-08 Thread erikweber
Sorry, I'm not at my home box and I'm also in a hurry or I would have a better answer. I have always done this the hard way -- using a logic:messagesPresent switch beside each field, seeing if a message for that particular property is present, highlighting if it is. It does work but it's a lot

Validation and Display Question

2005-07-08 Thread Scott Purcell
I am seeking some advice on the following: I have a site which uses the validator.xml and validation.xml files, and within the jsp pages, I am using the

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

2005-07-08 Thread Rick Reumann
Andrew Tomaka wrote the following on 7/8/2005 2:29 PM: When I joined the Struts list in May, it was an invaluable resource. I was able to quickly learn the framework through the questions others were asking. But in the past few weeks, it's all gone downhill. A good percentage of threads are

RE: How to set tiles attribute dynamically?

2005-07-08 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> The problem is that the pageTitle depends on the parameter > value and is not fixed. Is there a way to put a method > call in the tiles-defs.xml so I can pull the correct page > title from the database? IMO, the best way to do this is at the Tiles Controller level. Controllers receive a Compo

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

2005-07-08 Thread Goswami, Raj
Sorry, wrong posting. Not intended for this group. Thanks, -Original Message- From: Goswami, Raj Sent: Friday, July 08, 2005 2:33 PM To: 'Struts Users Mailing List'; 'Andrew Tomaka' Subject: RE: [OT] Re: Fired was...Re: Struts Books Recommendations [OT] Right click on the wsad app

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

2005-07-08 Thread Goswami, Raj
Right click on the wsad app and select property. Take out everything after "...\wsappdev.exe." Thanks, Raj -Original Message- From: Andrew Tomaka [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 2:30 PM To: Struts Users Mailing List Subject: Re: [OT] Re: Fired was...Re: Struts

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

2005-07-08 Thread Andrew Tomaka
I was trying to avoid jumping in here, but I couldn't hold out. How about we all grow up and act like adults? Never in my life have I seen such a childish display. I think Rick's "My mom can beat up your mom." made the same point I'm making here. And Yan, you may have given it a "hahaha +1," bu

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

2005-07-08 Thread Yan Hu
--- Rick Reumann <[EMAIL PROTECTED]> wrote: > Yan Hu wrote the following on 7/8/2005 1:29 PM: > > > I respect good people(regardless of races) not an asshole like you. > > My mom can beat up your mom. > > -- > Rick Do you have a Mom? Come on man.. Be strong. I understand how tought life ca

Re: Validator, sutrts-config and form-property's types

2005-07-08 Thread Laurie Harper
Actually, BeanUtils can convert from String to a variety of Java types; Date just doesn't happen to be one of them by default. However, it's generally recommended to use String properties in action forms exclusively so that invalid user inputs can be re-displayed as entered. For example, if yo

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

2005-07-08 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> ROFL > > Oh ya! My mom can beat up your dad! Your dad beat up my mom! BTW, she wants a rematch. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2005-07-08 Thread Yan Hu
--- James Mitchell <[EMAIL PROTECTED]> wrote: > ROFL > > Oh ya! My mom can beat up your dad! hahaha +1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: generate image by servlet for large amount of requests

2005-07-08 Thread Laurie Harper
Using a servlet seems reasonable. Whether or not you code will scale adequately really depends on how generateMap() is implemented. If it can process calls at the rate you anticipate needing you'll be fine. If it can't you'll have to optimize it, introduce caching, use client-side pre-fetching

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

2005-07-08 Thread James Mitchell
ROFL Oh ya! My mom can beat up your dad! -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] Skype: jmitchtx - Original Message - From: "

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

2005-07-08 Thread Rick Reumann
Yan Hu wrote the following on 7/8/2005 1:29 PM: I respect good people(regardless of races) not an asshole like you. My mom can beat up your mom. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

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

2005-07-08 Thread James Mitchell
Personally, I try not to discriminate against idiots. I like to treat them all the same. -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] Skype:

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

2005-07-08 Thread Yan Hu
Brandon: Now you perhaps have seen his email. Was he joking? No he was very serious. --- Brandon Goodin <[EMAIL PROTECTED]> wrote: > Yan Hu, > > Take it down a notch amigo. If you hadn't noticed we were being > playful. Maybe they don't have a since of humor in other countries ;-) > <-- please

Re: Spring

2005-07-08 Thread netsql
Alternatively, you could consider population of the chain Context to be roughly "application assembly" -- but the commons-chain library doesn't really provide much support for setting up a complicated Context. I know, but even digester lets me assemble objects. And hivemind. I do wish St

Re: Validator, sutrts-config and form-property's types

2005-07-08 Thread Borislav Sabev
Craig McClanahan wrote: Is this with JSP by specification or it's a implementation issue? I hope it's by spec ... Sorry, my mistake, I wanted to write JSF. It's not really a JSP issue, but a component issue. In JavaServer Faces (or Tapestry), the components themselves maintain the

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

2005-07-08 Thread Yan Hu
> Mr Yan: > > For most of us here this is not a game but a livelihood > If I go to China or India I understand that am a guest in that country and > aware that I must not abuse and or break the laws of the country.. Calling someone that makes fun of others an "idiot" definately does not break a

Re: Struts Tiles Question

2005-07-08 Thread Laurie Harper
[EMAIL PROTECTED] wrote: I am using Struts Tiles to layout my site. I have a vboxmenu design which contains 4 menu levels: I am wanting to control when the Authenticated menu and the Admin Menu are displayed. For example, only display the admin menu if the user is

Re: dialog stuff (was) Re: Refresher for newbies...

2005-07-08 Thread Adam Hardy
Michael Jouravlev wrote the following on 7/7/2005 5:13 PM: > The good thing that company I currently work at is about to have > another web project and hopefully I will be able to use my own stuff. > On the other hand, I am not sure how I can use it at work, and still > keep it for myself and as o

Re: Passing data between action forms

2005-07-08 Thread Michael Jouravlev
On 7/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > From: Wendy Smoak <[EMAIL PROTECTED]> > > Sent: Jul 8, 2005 12:51 PM > > To: Struts Users Mailing List > > Subject: Re: Passing data between action forms > > > > > From: "Michael Jouravlev" <[EMAIL PROTECTED]> > > > > > > It will soun

Re: Validator, sutrts-config and form-property's types

2005-07-08 Thread Craig McClanahan
On 7/8/05, Borislav Sabev <[EMAIL PROTECTED]> wrote: > Jeff Beal wrote: > > >I think that if Mark Galbreath were still around, he'd reply with > >"Validator sucks" or something similar. > > > >Basically, your statements below are all quite correct. I will add > >(in response to Point 1 below) tha

Re: logic iterate

2005-07-08 Thread Borislav Sabev
Why don't you try Struts-Layout(http://struts.application-servers.com/)? it's very nice library ..I use it and I have a special tag for this for every bean in the collection. Borislav Laurie Harper wrote: Why can't you just change your JSP? In other words, why does the markup you would like

Re: Validator, sutrts-config and form-property's types

2005-07-08 Thread Borislav Sabev
Jeff Beal wrote: I think that if Mark Galbreath were still around, he'd reply with "Validator sucks" or something similar. Basically, your statements below are all quite correct. I will add (in response to Point 1 below) that the BeanUtils library is what Struts uses internally to copy values

Re: logic iterate

2005-07-08 Thread Laurie Harper
Why can't you just change your JSP? In other words, why does the markup you would like to use not work for you? It looks fine to me. L. Vijay K Anand wrote: Hi All I have a problem in logic iterate .. I would like to dispaly checkbox in each row of the iteration like instead o

RE: Paging in DisplayTag

2005-07-08 Thread Phani
It worked when I set to blank -- > requestURI="" . How come ?? Also is there anyway I can customize the header.. The following thing is on a single line.. I want the links to appear on a seperate line.. 58 items found, displaying 51 to 58.[First/Prev] 1, 2, 3, 4, 5, 6 [Next/Last] Thanks. ---

Re: Passing data between action forms

2005-07-08 Thread erikweber
I'm not knocking your approach, but synchronizer tokens solve the same problem, with or without a redirect. Erik -Original Message- From: Wendy Smoak <[EMAIL PROTECTED]> Sent: Jul 8, 2005 12:51 PM To: Struts Users Mailing List Subject: Re: Passing data between action forms From: "Mich

Re: Validator, sutrts-config and form-property's types

2005-07-08 Thread Jeff Beal
I think that if Mark Galbreath were still around, he'd reply with "Validator sucks" or something similar. Basically, your statements below are all quite correct. I will add (in response to Point 1 below) that the BeanUtils library is what Struts uses internally to copy values from the request to

How to set tiles attribute dynamically?

2005-07-08 Thread Neil Aggarwal
Hello: I have a site I am developing that has some pages with direct content and some where the content comes from a database. For the direct pages, I have a layout that depends on a pageTitle attribute in the tiles definition. Here is an example: The layout.back embeds the pag

Re: Passing data between action forms

2005-07-08 Thread Wendy Smoak
From: "Michael Jouravlev" <[EMAIL PROTECTED]> > It will sound like a scratched vinil, but I believe that forwarding > from search page to result page is not the right thing to do, because > whenever you refresh result page, you run the search query again. So, > it should be a redirect. I think so

Re: read init parameters in action

2005-07-08 Thread Borislav Sabev
I think there are 2 cases: 1. you need a param that is available to the Servlet and is not uniquie to any particular Action for eample in my application users can uppload images, so after the upload I store them in a subfolder in the application. here is how I do it: a. this s

Re: Spring

2005-07-08 Thread Joe Germuska
At 12:14 PM -0400 7/8/05, Access Denied wrote: It seems like the Web Flow subproject of spring is pretty cool, especially for the age-old problem of the button. Yes, I thought it looked pretty cool as well; note however that I found it impossible to find a way to implement that in a Struts a

RE: Paging in DisplayTag

2005-07-08 Thread Abdullah Jibaly
Yes, I noticed. I find it works better when you set it to blank. I don't know whether it will resolve your problem but you may want to try it. -Original Message- From: Phani [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 11:34 AM To: Struts Users Mailing List Subject: RE: Paging in

RE: read init parameters in action

2005-07-08 Thread Frank W. Zammetti
You can do similar things in Actions, to a degree... you an do... String myParamValue = getServlet().getInitParameter("myParamName"); ...to get the parameter from within execute(). If you are looking to read things like this only once at startup, you want to look at a Struts plug-in or, probably

RE: Paging in DisplayTag

2005-07-08 Thread Phani
See my code.. I have requestURI set to my Action class.. --- Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > What happens when you set requestURI="" ? > > > -Original Message- > From: Phani [mailto:[EMAIL PROTECTED] > Sent: Friday, July 08, 2005 10:59 AM > To: Struts Users Mailing List > S

Re: Spring

2005-07-08 Thread Michael Jouravlev
On 7/8/05, Access Denied <[EMAIL PROTECTED]> wrote: > It seems like the Web Flow subproject of spring is pretty cool, > especially for the age-old problem of the button. > > buddy Buddy, last time I checked, the best Spring Web Flow could do about Back button is to inform you that you broke the

RE: Paging in DisplayTag

2005-07-08 Thread Abdullah Jibaly
What happens when you set requestURI="" ? -Original Message- From: Phani [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 10:59 AM To: Struts Users Mailing List Subject: RE: Paging in DisplayTag Here is my code: It displays f

RE: read init parameters in action

2005-07-08 Thread Abdullah Jibaly
Why not put it them in your properties file? -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 10:30 AM To: Struts Users Mailing List Subject: read init parameters in action For traditional servlets, you can set init parameters in the web.xml and r

Re: dialog stuff (was) Re: Refresher for newbies...

2005-07-08 Thread erikweber
Works great in Firefox on my Fedora box. Erik -Original Message- From: Michael Jouravlev <[EMAIL PROTECTED]> Sent: Jul 8, 2005 11:30 AM To: Struts Users Mailing List , Wendy Smoak <[EMAIL PROTECTED]> Subject: Re: dialog stuff (was) Re: Refresher for newbies... On 7/8/05, Wendy

Re: Database Connection

2005-07-08 Thread Access Denied
This is exactly how I've always done the DAO in Struts. I'm looking into Hibernate now, but don't yet see it's value over the POJ J2EE way. buddy On 7/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I suggest not involving Struts at all when it comes to configuration of and > access to dat

Validator, sutrts-config and form-property's types

2005-07-08 Thread Borislav Sabev
Hi all, The problem I'd like to discuss is how Validator works with form properties. IMHO there is a contradiction (or maybe I don't know how to resolve this problem - in this case, please help me) with types of Form properties. The end result is that if I want to use the Validator, all my fo

Re: Spring

2005-07-08 Thread Access Denied
It seems like the Web Flow subproject of spring is pretty cool, especially for the age-old problem of the button. buddy On 7/8/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 9:24 AM -0600 7/8/05, netsql wrote: > >David Whipple wrote: > >>We use it for the primarily for application assembly and

Re: Passing data between action forms

2005-07-08 Thread Michael Jouravlev
On 7/8/05, Mitchell, Steven C <[EMAIL PROTECTED]> wrote: > I'm curious to hear what other people are doing regarding the passing of > data between actions. Take for example an advanced search page with > validation, drop down lists, the works. Upon successful validation the > user should flow to

Re: Database Connection

2005-07-08 Thread erikweber
I suggest not involving Struts at all when it comes to configuration of and access to data stores. Write a ConnectionManager (sounds like you've already got that idea), who will be in charge of Connections. In the ConnectionManager's init block or constructor, look up your DataSource using a JN

Re: Spring

2005-07-08 Thread Joe Germuska
At 9:24 AM -0600 7/8/05, netsql wrote: David Whipple wrote: We use it for the primarily for application assembly and integration with iBATIS. The rap on Spring is that it's a bit more complicated than Struts. It does have a dao interfcace, and... Struts does not. A big benefit is that you

RE: Paging in DisplayTag

2005-07-08 Thread Phani
Here is my code: It displays fine without pagesize attribute..all the results in a single page.. But with pagsize attribute, it gives me null pointer exception when I hit next.. Thanks, Phani. --- Abdullah Jibaly <[EMAIL PROTECTED]> wrote:

Re: generate image by servlet for large amount of requests

2005-07-08 Thread BHansard
maps.google.com uses AJAX to update their maps "on the fly" This allows you to display on the portion of the image that is required on the page. As you zoom in, out, of move around the map, they use a XML connection to update the map. http://en.wikipedia.org/wiki/AJAX Tony Smith <[EMAIL PROTE

Re: Using struts forms as Value Objects: your opinion?

2005-07-08 Thread Craig McClanahan
On 7/7/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Vincent wrote: > > > > What do you thing about using forms as VO? Do you think it's a dirty > > solution? Forms are often mirrors of the database's table. > > Personally I prefer to keep form beans and value objects seperate, for two > key reas

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Tony Smith
Any ideas? --- Tony Smith <[EMAIL PROTECTED]> wrote: > Let's think about maps.yahoo.com. I do not know how > they handle > millions of request and generate the map pictures > quickly. If I use a > servlet, in the post or get method I use: > > > BufferedImage mapImage = > myTookKit.gener

Re: dialog stuff (was) Re: Refresher for newbies...

2005-07-08 Thread Michael Jouravlev
On 7/8/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Michael Jouravlev" <[EMAIL PROTECTED]> > > Rick, check out this one: > > http://www.superinterface.com/strutsdialog/crudactionlite.do > > All CRUD operations in one web island. Check out your Back button ;-) > > Michael, check your link...

read init parameters in action

2005-07-08 Thread Tony Smith
For traditional servlets, you can set init parameters in the web.xml and read it in a static init method in servlet class. Can I have similar things for action? If I need some of these init parameter for my web app, what is the best way to do it with struts? Thansk,

Re: Spring

2005-07-08 Thread netsql
David Whipple wrote: We use it for the primarily for application assembly and integration with iBATIS. The rap on Spring is that it's a bit more complicated than Struts. It does have a dao interfcace, and... Struts does not. A big benefit is that you can switch from EJB to something else.

Re: Spring

2005-07-08 Thread David Whipple
We use Spring as well, but also not for the MVC portions (we use struts). We use it for the primarily for application assembly and integration with iBATIS. The AOP support seems very interesting, but at this point we are only using that w.r.t transactions. I am thinking about incorporating it in

Re: Spring

2005-07-08 Thread Joe Germuska
At 10:32 AM -0400 7/8/05, Access Denied wrote: hi alls, I've been reading about the Spring framework at www.springframework.org and I am wondering what the advantage, if any, is over struts? Has/does anybody use Spring and how does it compare to Struts? I use Spring avidly as an application a

Re: Passing data between action forms

2005-07-08 Thread Wendy Smoak
From: "Mitchell, Steven C" <[EMAIL PROTECTED]> > I'm curious to hear what other people are doing regarding the passing of > data between actions. Take for example an advanced search page with > validation, drop down lists, the works. Upon successful validation the > user should flow to a search r

Re: dialog stuff (was) Re: Refresher for newbies...

2005-07-08 Thread Michael Jouravlev
On 7/7/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Oh, I am sorry, you misunderstood me. What I did, is combined > ItemListAction with CRUDAction, so I show list from the same location. > It gives the usual benefits of web island. Basically, the whole thing, > list and edit and view forms, a

Spring

2005-07-08 Thread Access Denied
hi alls, I've been reading about the Spring framework at www.springframework.org and I am wondering what the advantage, if any, is over struts? Has/does anybody use Spring and how does it compare to Struts? tia, buddy - To unsu

RE: Using the form bean

2005-07-08 Thread Abdullah Jibaly
Don't know if this is the reason but you probably want focus="${focus}" Try using c:if instead of logic:equal, but the cleanest way if you are using jsp 2.0: focus="${form.edit ? 'password' : 'userName'}" Regards, Abdullah -Original Message- From: Kent Boogaart [mailto:[EMAIL PROTECTED

RE: IE Globe issue

2005-07-08 Thread Mohammad Shoaib
Hi, I am also facing same problem, does anybody have any idea how to handle it. As per my understanding the control comes back to client but if there is more data then page will wait for all data to loaded first. Because in my case the whole page was under one . Regards Shoaib -Original Mes

RE: access entries in MessageResources.properties from java code

2005-07-08 Thread Abdullah Jibaly
MessageResources mr = getResources(request); String messageValue = mr.getMessage(messageKey); -Abdullah -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 12:05 AM To: Struts Users Mailing List Subject: access entries in MessageResources.properties f

RE: IE Globe issue

2005-07-08 Thread Abhinav Bhatnagar
Any body has any idea on this? Please let me know. Thx -Original Message- From: Abhinav Bhatnagar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 7:49 PM To: Struts Users Mailing List Subject: IE Globe issue Hi All, I have a strange issue in my struts application. When I g

RE: Paging in DisplayTag

2005-07-08 Thread Abdullah Jibaly
Nope, you shouldnt have to. Setting requestURI="" works just fine for me. Are you using el: ${storeForm.myList} ? -Original Message- From: Phani [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 5:20 PM To: Struts Users Mailing List; Michael Jouravlev Subject: Paging in DisplayTag

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

2005-07-08 Thread Daniel Perry
"requires theoretical and practical application of a body of specialized knowledge along with at least a bachelor’s degree" **or** "fashion model of distinguished merit and ability" Just think where you could get if you're a model with a degree! i love some of the obscure things in american law

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

2005-07-08 Thread Simon Chappell
Hey, I had an H-1B when I first came to America. Does that mean I can be a fashion model? :-) On 7/8/05, Daniel Perry <[EMAIL PROTECTED]> wrote: > "What is an H-1B? > > The H-1B is a nonimmigrant classification used by an alien who will be > employed temporarily in a specialty occupation or as a

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

2005-07-08 Thread Daniel Perry
"What is an H-1B? The H-1B is a nonimmigrant classification used by an alien who will be employed temporarily in a specialty occupation or as a fashion model of distinguished merit and ability." Now, why doesn't it suprise me that the americans make a special case for a fashion model!!! Daniel.

Re: Using struts forms as Value Objects: your opinion?

2005-07-08 Thread Bill Schneider
Well put. To expand on #2, it's good to confine dependencies on the org.apache.struts packages to the presentation layer, and not build a Struts dependency into business logic. Personally I prefer to keep form beans and value objects seperate, for two key reasons: 1) form beans generally sh

Using the form bean

2005-07-08 Thread Kent Boogaart
Hello, I'm trying to set focus on the first enabled field in my form. The first field is disabled if the data is being edited. I thought this would work: But this complains about "No bean found under attribute key form". The weird thing is, I use that same bean further down the

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

2005-07-08 Thread Martin Gainty
Mr Yan: For most of us here this is not a game but a livelihood If I go to China or India I understand that am a guest in that country and aware that I must not abuse and or break the laws of the country.. Remembering that it is against anti-discrimination law here to denigrate or vilify anyone

Re: Which request is used in automatic Validation when the requirements aren't met?

2005-07-08 Thread Thai Dang Vu
Thanks Jeff and Laurie and excuse me for my slow understanding :) I understand what you said now :) >>> [EMAIL PROTECTED] 7/7/2005 11:13:46 PM >>> Thai Dang Vu wrote: > Perhaps I stated it unclearly. > > I am using automatic validation, not manual validation (which uses validate > method of the

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

2005-07-08 Thread Brandon Goodin
Yan Hu, Take it down a notch amigo. If you hadn't noticed we were being playful. Maybe they don't have a since of humor in other countries ;-) <-- please notice wink face so that you are not offended and under the assumption that i am serious. Brandon On 7/8/05, Yan Hu <[EMAIL PROTECTED]> wrote:

Re: Passing data between action forms

2005-07-08 Thread BHansard
Typically, I will create a SearchBean with all of the search parameters on it. Included in this bean is a collection to store the results in. On the ActionForm, I will include the SearchBean as a parameter on the search bean. On the JSP, I use nested tags or the . notation ( ">"Mitchell, Stev

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

2005-07-08 Thread Scott Piker
It's a type of temporary work visa in the US. http://uscis.gov/graphics/howdoi/h1b.htm > -Original Message- > From: Daniel Perry [mailto:[EMAIL PROTECTED] > Sent: Friday, July 08, 2005 5:33 AM > To: Struts Users Mailing List > Subject: RE: [OT] Re: Fired was...Re: Struts Books > Re

Passing data between action forms

2005-07-08 Thread Mitchell, Steven C
I'm curious to hear what other people are doing regarding the passing of data between actions. Take for example an advanced search page with validation, drop down lists, the works. Upon successful validation the user should flow to a search results page. Assume the results page is part of someth

Re: Paging in DisplayTag

2005-07-08 Thread BHansard
This is dependent on how you have structured you database query. There are multiple solutions to what you are attempting to do. 1. Create a query that will return the entire resultset and store that resultset in the session as you metion. If you are returning an extremely large result set, run

Re: Validating nested, indexed properties

2005-07-08 Thread Kjersti Berg
I should probably slap myself now. This works just fine, if the struts-config doesn't turn validation off. :) Kjersti - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using struts forms as Value Objects: your opinion?

2005-07-08 Thread Ted Husted
On 7/8/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Personally I prefer to keep form beans and value objects seperate, for two > key reasons: +1 == me too. -T. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: Using struts forms as Value Objects: your opinion?

2005-07-08 Thread Daniel Perry
> 1) form beans generally should consist of String data to facilitate > round-tripping of invalid inputs. I like to constrain them to a clearly > defined role of marshaling data 'into' and 'out of' the > presentation layer, > i.e. across the boundary between presentation and application. This i wo

RE: [OT] Recommend a UK Tomcat host

2005-07-08 Thread Daniel Perry
UK2 dedicated linux servers. (uk2.net) We've got a few of these, and they're cheap and reliable. Only negative is you have to setup/manage them yourself. But with linux you honestly have to do very little. Daniel. > -Original Message- > From: Mark Benussi [mailto:[EMAIL PROTECTED] > Sent

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

2005-07-08 Thread Daniel Perry
Applogies for being english or maybe just naive, but what the hell is a H1B? Daniel. > -Original Message- > From: Yan Hu [mailto:[EMAIL PROTECTED] > Sent: 08 July 2005 07:40 > To: Struts Users Mailing List > Subject: Re: [OT] Re: Fired was...Re: Struts Books Recommendations > [OT] > >

Re: and Struts 1.2.7 possible bug?

2005-07-08 Thread Ivan Rodriguez
I have the same situation that yours. My solution is to save the static part of validator in an static .js file ...and replace all ocurrences of var formName = form.getAttributeNode("name"); with var formName = form.getAttributeNode("id"); My previous setup was "> Inside validator.

Re: Struts-config.xml Digester endElement problem

2005-07-08 Thread Steve Bosman
On 7/7/05, Sher, Allen - BLS CTR <[EMAIL PROTECTED]> wrote: > Got this stack trace while deploying my struts 1.2.7 app into WebLogic > 8.1.4. > It seems to relate to Digester complaining something about > struts-config.xml. > Adding Xerces 2.5 into the WAR file does not help. > Can someone point a

  1   2   >