Re: java.lang.IllegalArgumentException calling an Action

2005-04-19 Thread brenmcguire
This is real strange, AFAIK Tomcat 5.0 and 4.1 differ only in JSP and servlet version support, and other performance thingies, and anyway it's ActionServlet that populates ActionForms. Why don't you post the JSP page (especially the part with the form) and the ActionForm code? Ciao Antonio Petrelli

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Shey Rab Pawo
The problem with NET and JSF is not what they "do" client side but what they do server side. They are just too heavy and will never scale. This does not mean that they will not have a market. Hopefully they will so that those who love them will have money and leave us alone. But, for people who

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
According to the linguists, the "beauty" of language is just the opposite, viz. its public nature, so that private meanings are not only allowed, they categorically make no sense. This has been the rock-hard basis for modern linguistic analysis for as long as the Sun has risen. Technical terms ca

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
+1 also to Frank's suggestions, although I realize he was not ready to cash in the ticket yet. On the whole, I like his no nonsense and non-convoluted approach to these problems. That is what I liked about Struts from the beginning. The present course is not clear. Nor is there any perceived ne

Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Jason Lea
Good to hear :) getting all the character encoding stuff working right can be a bit tricky Pham Anh Tuan wrote: Thank you very much, Jason, my work is completed with ur help :) Pham - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednes

Re: requiredif

2005-04-19 Thread Erik Weber
tarek.nabil wrote: Hi Erik, Actually after some reasoning about the application I came to a conclusion that I will not use the integration between Struts and the Validator framework. I might still use the ready made validators, but I will call them explicitly. Yeah don't forget that you can sti

Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Pham Anh Tuan
Thank you very much, Jason, my work is completed with ur help :) Pham - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, April 20, 2005 10:00 AM Subject: Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese? Thank you,

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Martin Cooper wrote: My "Huh?" comment was in reference you your statement that the approach I was describing "doesn't really help people with existing apps", which I take issue with. If you put the JavaScript methods in separate file, it has the exact same impact on the JSP pages as your approach

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Martin Cooper wrote: That's why I said "or maybe somewhere else". It would be perfectly fine to put the JavaScript functions in a separate .js file and ed to from the page. And neither of us are talking scriptlets here. ;-) Glad neither of us are talking scriplets :) Didn't think we were anyway,

Re: [OT] RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Good insight Allen, thank you! Your experience echoes mine as well. P.S. - The way my father always said it is "sometimes you eat the salami, sometimes the salami eats you". I bet everyones' dad told them that with a different something or other eating something or other :) Fogleson, Allen wro

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
You say it jokingly, but... Vic Cekvenich (netsql) wrote: Martin Cooper wrote: "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote in message Again, by all means, use Dojo. Not everyone will agree it's a good answer though. Not everyone will see it as the greatest thing since sliced bread. Poor foo

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Martin Cooper wrote: "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote in message Again, by all means, use Dojo. Not everyone will agree it's a good answer though. Not everyone will see it as the greatest thing since sliced bread. Poor fools. ;-) ;-) ;-) -- Martin Cooper Headline for tmrw bloogers

Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Pham Anh Tuan
Thank you, Jason Lea, I'm very happy when I receive ur feedback! I will read it, and post reply to all you about my problem after I do follow the instructions. thank you Pham - Original Message - From: "Jason Lea" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, Apri

Validate indexed property problem

2005-04-19 Thread Cliff Lam
Hi all, could any one send me some best practice about Validating indexed property? Thanks a lot =) Best wishes, Cliff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Jason Lea
I setup my database to use Unicode, which is what Java uses. Then it is easier to either display the characters as UTF-8 on a webpage (so japanese/french/vietnamese etc can be shown). You can change to other encodings on the web page eg SJIS. I think you have several character set translation

[AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Pham Anh Tuan
This is the second times I post this topic, I'm in stuck of Struts with Japanese. I use to input and show Japanese characters and save them to mySQL (set charset sjis). The jsp page which contains above, I set charset is sjis. If everything does right, japanese character will be saved in mySQ

Re: JSF vs Struts

2005-04-19 Thread Ted Husted
Mastering JSF (Wiley) compares JSF with Struts and Spring, in the context of teaching JSF. To balance the ticket, you might also want to read something like Struts for Dummies (my favorite Struts book for newbies). If the project doesn't merit reading two books, then you might want to consider Mic

[OT] RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Fogleson, Allen
The move towards specialization has ups and downs, depending on where you live, what you do, and what your company's management thinks. As we specialize into very discreet tasks (that presumably can have very precise requirements wrapped around them) the business owners begin to gain the ability to

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Michael J. wrote: Glorified graphics artists do not do markup, they create nice mockups in Photoshop, which adore big bosses, who tell those unglofied ones to implement unearthy coolness in code. And those implementing this fancy stuff better know [at least about existence of] Javascript, XHTML, CS

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Michael J.
On 4/19/05, Shihgian Lee <[EMAIL PROTECTED]> wrote: > > What you demonstrate here I would also argue is worse for page authors, > > who now have to be concerned with script writing as well as layout of > > simple HTML tags. You can argue that a page author would know > > Javascript as well, and yo

Re: html:text area

2005-04-19 Thread Michael J.
On 4/19/05, Srilatha Salla <[EMAIL PROTECTED]> wrote: > Hi, > Can we restrict the length of textarea with any of the attributes? > I have textarea that should not accept more than 250 characters, so I want to > know if I can restrict the length with textarea attibutes. See: http://struts.apach

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Shihgian Lee
> What you demonstrate here I would also argue is worse for page authors, > who now have to be concerned with script writing as well as layout of > simple HTML tags. You can argue that a page author would know > Javascript as well, and you may be right in most cases, but the idea > that everyone s

html:text area

2005-04-19 Thread Srilatha Salla
Hi, Can we restrict the length of textarea with any of the attributes? I have textarea that should not accept more than 250 characters, so I want to know if I can restrict the length with textarea attibutes. Thanks. __ Do You Yahoo!? Tired of spam

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Martin Cooper
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Martin Cooper wrote: > >>>* Provide a client side JavaScript library that does the grunt work > >>> of making the back-end XmlHttpRequest call, and updating the > >>> corresponding portion of your DOM. Martin like

RE: Using checkbox value in Validator validwhen test

2005-04-19 Thread Dornback, Ken
Yes, it is cleared in the reset method of the session-scoped bean. I'm pretty methodical about that. Is my syntax ok? Ken -Original Message- From: Michael J. [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 4:33 PM To: Struts Users Mailing List Subject: Re: Using checkbox value i

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Martin Cooper
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Martin Cooper wrote: > > Perhaps I'm missing the simplicity of your proposal. Let's take the example > > from your original RFC. Here it is, for convenience: > > > > > > > Now let's look at the equivalent if I use t

Re: Dispatch Action "Whitespace In Label Text" and Missing Parameters

2005-04-19 Thread Michael J.
1) You checked that button value does not contain whitespaces? By the way, cannot action strip whitespaces itself? It even generates error message about this! Stupido. A method cannot contain spaces anyway. 2) Get HTTP sniffer or use Firefox and Live HTTP Header plugin. Oh, you say it is IE-specif

Dispatch Action "Whitespace In Label Text" and Missing Parameters

2005-04-19 Thread Nick Heudecker
I've run into a strange problem with DispatchAction occasionally failing to find the parameter used to lookup the method to process the request. I get the following familiar error: "Request[myAction] does not contain handler parameter named 'method'. This may be caused by whitespace in the label

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Martin Cooper wrote: * Provide a client side JavaScript library that does the grunt work of making the back-end XmlHttpRequest call, and updating the corresponding portion of your DOM. Martin likes DOJO for this; there are also a bunch of other libraries that do the same sort of thing that sho

Re: showing data

2005-04-19 Thread Michael J.
On 4/19/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > yeap. i have that... But i want to know what i have to do in the > detail jsp. I mean, how can i populate in the detail jsp using that > id. > > i have an lstCustomer object in my actionform. when i'm in detail jsp, > is it still populated? o

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Martin Cooper wrote: Perhaps I'm missing the simplicity of your proposal. Let's take the example from your original RFC. Here it is, for convenience: Now let's look at the equivalent if I use the existing Struts HTML tags and Dojo. In the JSP page: Elsewhere in the JSP page, or maybe somewhere

Re: showing data

2005-04-19 Thread Rafael Taboada
yeap. i have that... But i want to know what i have to do in the detail jsp. I mean, how can i populate in the detail jsp using that id. i have an lstCustomer object in my actionform. when i'm in detail jsp, is it still populated? or it depends on the scope?. thanks -- Rafael Taboada ---

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Martin Cooper
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Tue, April 19, 2005 2:47 am, Craig McClanahan said: > > This is exactly the area I've been having trouble with this proposal > > as well ... tell me again why you can't use Ajax techniques with the > > standard

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Martin Cooper
Perhaps I'm missing the simplicity of your proposal. Let's take the example from your original RFC. Here it is, for convenience: In the JSP page: In the Ajax config file: button1 onClick queryString buttonValue=button1,textValue=text1 http://www.om

Re: JSF vs Struts

2005-04-19 Thread Michael J.
On 4/19/05, Murali <[EMAIL PROTECTED]> wrote: > > Hi, > > I was trying to find which would be best choice for a website development. > JSF or Struts. JSF looks similar to Struts. does any one know any articles on > which framework should go for. If you don't have experience with either, than o

Re: JSF vs Struts

2005-04-19 Thread Frank W. Zammetti
Well, that's just about the most dangerous question to ask around these parts lately :) But in the end, the answer is what it should be for any vs. choice... examine them both, play with them, understand them, and then make the decision that fits your needs the best. Neither is going away any

Inheritance using multiple validator.xml

2005-04-19 Thread Narayan, Anand
Here's what I am trying to do: I need to use a "default" validator.xml file to configure validations for fields on forms. I also want to be able to specify another "custom" validator xml file, say "validator-custom.xml" which contain changes to the validations of some fields. When I do this using

Re: showing data

2005-04-19 Thread Michael J.
On 4/19/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > Hi folks. I have a problem. i don't really know how to do that.. > > i have a jsp it shows a list of customers. but for each costumer there > is a link to another jsp called detail. > > my problem is i don't know how to connect both jsp. i p

showing data

2005-04-19 Thread Rafael Taboada
Hi folks. I have a problem. i don't really know how to do that.. i have a jsp it shows a list of customers. but for each costumer there is a link to another jsp called detail. my problem is i don't know how to connect both jsp. i populate the list jsp with my actionform. that's ok. but if the use

Re: JSF vs Struts

2005-04-19 Thread Hubert Rabago
Take a look at http://www.jsfcentral.com/reading/index.html . There are several links there to articles or blogs that attempt to help you compare the two. Hubert On 4/19/05, Murali <[EMAIL PROTECTED]> wrote: > > Hi, > > I was trying to find which would be best choice for a website development

i18n best practices

2005-04-19 Thread Daniel Lipofsky
I am wondering about best practices in struts for internationalization of dates and numbers. Formatting is not too hard, but parsing and validation is trickier. We must simultaneously handle different formats for different users, so any validation or parsing has to take into account the user's loc

Re: Using checkbox value in Validator validwhen test

2005-04-19 Thread Michael J.
It is a classic. Look on Ted Husted's website for tip. Basically, you need to clear checkbox value each time in the reset() method of a form bean, because cleared value is not sent to server. So you think that you cleared it, but it is still set (do you use session-scoped form bean?) Michael Jou

RE: JSF vs Struts

2005-04-19 Thread Murali
Hi, I was trying to find which would be best choice for a website development. JSF or Struts. JSF looks similar to Struts. does any one know any articles on which framework should go for. Thanks - Do you Yahoo!? Yahoo! Small Business - Try

Using checkbox value in Validator validwhen test

2005-04-19 Thread Dornback, Ken
Problem: I don't know how to test a checkbox setting in the validwhen test var-value. I have a checkbox and a text field. I only need to validate the text field when the checkbox is checked. I cannot get this to work using validwhen (other validwhens do work that use different types of tests).

Re: Token question

2005-04-19 Thread Michael J.
On 4/19/05, Derrick Koes <[EMAIL PROTECTED]> wrote: > > if (null == request.getParameter(Constants.TOKEN_KEY)) { > saveToken(request); > } > else { > if (!isTokenValid(request, true)) { > response.sendError(HttpServletResponse.SC_CONFLICT, "The request > received was out >

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote: The problem arose, initially, because we were allowing for something like 300 records max at a time. Such a request was taking like 5 seconds on a P3 550. As it turns out, the response from the server was sub-second (VERY low, better than anything we see even today in cur

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
On Tue, April 19, 2005 2:33 pm, Vic Cekvenich (netsql) said: > Frank W. Zammetti wrote: >> Not if I complete my project! ;) >> > > > I hope you do! > See if you can put some version on struts.sf.net, this is how some > committers got in. That's my plan at the moment. There frankly isn't a ton lef

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote: Not if I complete my project! ;) I hope you do! See if you can put some version on struts.sf.net, this is how some committers got in. I am no JavaScript guru, but something similar to XUL and new W3 XForms, were it's even possible to just send XML-RPC style XML to the s

RE: Token question

2005-04-19 Thread Stunger, Kevin J
I typically save the token in the action responsible for forwarding to the page that displays the form. Then the action that reads the form data can check the token and re-save (and forward to the input page) if the user needs to retry a failed request (not validation related). -Original Mes

Token question

2005-04-19 Thread Derrick Koes
if (null == request.getParameter(Constants.TOKEN_KEY)) { saveToken(request); } else { if (!isTokenValid(request, true)) { response.sendError(HttpServletResponse.SC_CONFLICT, "The request received was out of sequence, perhaps due to a second submit, refresh

RE: requiredif

2005-04-19 Thread tarek.nabil
Hi Erik, Actually after some reasoning about the application I came to a conclusion that I will not use the integration between Struts and the Validator framework. I might still use the ready made validators, but I will call them explicitly. The reason is, the pages in the application are designe

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Not if I complete my project! ;) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 19, 2005 1:37 pm, Dave Newton said: > Dakota Jack wrote: > >>This may be straying a bit from the AJAX discussion? >> >> > ...which is straying a bi

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dave Newton
Dakota Jack wrote: I may be nuts, many have said I am on this list, unfairly, but isn't "rendering HTML" capable of being understood either as "rendering the HTML" meaning creating the HTML or "rendering the HTML" meaning creating the view from the HTML? At least people like David Geary talk about

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
I think this AJAX discussion was about integrating AJAX and Struts. Not complaining about your asides, Dave. Just trying to maintain some focus. ///;-) On 4/19/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Dakota Jack wrote: > > >This may be straying a bit from the AJAX discussion? > > > > > ..

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dave Newton
Dakota Jack wrote: This may be straying a bit from the AJAX discussion? ...which is straying a bit from Struts? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
I may be nuts, many have said I am on this list, unfairly, but isn't "rendering HTML" capable of being understood either as "rendering the HTML" meaning creating the HTML or "rendering the HTML" meaning creating the view from the HTML? At least people like David Geary talk about serverside renderi

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
That's actually a good point... We've all heard about JSF and ASP.Net, how they handle client-side events server-side, which is a concept I've never been especially enamored with. But, when you see some actual examples of this in things like what Google is doing, you start to reconsider that posit

RE: [ANN] Fw: Java DevCon 2005 - May 25

2005-04-19 Thread Fogleson, Allen
Dang, What's really bad is I live in Atlanta (well ok, north of Atlanta on the I-75 corridor) but I work in Chicago M-Thurs so I won't be able to make it. :( Al -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 12:20 PM To: Struts Users Ma

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
Well, to the extent that AJAX techniques can make a site seem faster, it is actually on-topic. And I don't care if this map thing is on-topic or not, it is cool as hell :) By the way, not sure who said it, but you can in fact scroll around this map, just like Google Maps, by dragging. The zoom i

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
You got me :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 19, 2005 1:26 pm, Dave Newton said: > Frank W. Zammetti wrote: > >>Simply put, there isn't the usual HTML rendering happening on the server >> because the >>HTML esse

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
This may be straying a bit from the AJAX discussion? On 4/19/05, Michael J. <[EMAIL PROTECTED]> wrote: > On 4/19/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > > > I like fast download times, but I hate the web: I want any page that's > > more complicated than "Here, download this, you'll be be

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dave Newton
Frank W. Zammetti wrote: Simply put, there isn't the usual HTML rendering happening on the server because the HTML essentially already exists. Just a nitpick; there's never any HTML rendering on the server. Generation, perhaps, but not rendering. Dave

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dave Newton
Frank W. Zammetti wrote: I'm interested in knowing if that's what you are actually saying because, while I have moved away from it a bit as I've said, I still believe that approach has significant advantages, but for a long time I thought I was the only one that thought so! :) I'm not Vic, but I

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
I have another perspective on this. Rich UIs are good, but what I like about AJAX in addition to that somewhat peripheral concern (to me) is that it cooperates with the serverside and allows the serverside to be more efficient. The relationship between the server and the client in AJAX is what is

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dave Newton
Michael J. wrote: Have you tried this one: http://map.search.ch/ Try to magnify ;) Oh, that's neat. If you could drag it it'd be like a real application! Cool! Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
You would, I think, love some of the apps I've put together. The problem though, as far as other developers go, is that they really are a whole different paradigm than what most are used to. Ironically, the very first web app I did for my current employer some five years ago is the best example o

[ANN] Fw: Java DevCon 2005 - May 25

2005-04-19 Thread James Mitchell
Our local Atlanta Java Users Group is hosting a Developer Conference and if you live anywhere in the Southeastern U.S. (or visiting at that time), I would encourage you to attend. This is going to be a great event and I look forward to meeting more of my fellow developers out there in the OSSC

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Michael J.
On 4/19/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > I like fast download times, but I hate the web: I want any page that's > more complicated than "Here, download this, you'll be better off" to > have functionality that doesn't make me wait all the time. For a server > round-trip. Sometimes it'

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dave Newton
Dakota Jack wrote: I don't think he said "absolutely everyone, including specifically Erik Weber", Erik. You turn out, in the end, to be just a person: not people. ///;-) Not me, though; I'm actually people. I may be schizophrenic, but at least I have each other. I like fast download times, b

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
That's an interesting comment Vic... are you saying you favor an approach where the entire client view itself is rendered on the client? I ask because that used to be my thinking, and I'm moved away from it to some degree. By way of example: * The little proof of concept thing I mentioned ealier

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
HUZZAH! +1 This is about AJAX, not about JavaScript. I am with those who say that if you don't like abortion, don't have one. Also, if you don't like JavaScript, don't use it. But, in the middle of an AJAX discussion all this pro and con JavaScript discussion is ridiculous. Jack On 4/19/05, J

RE: Slightly Off topic: JSTL vs Bean tags w/ message resources

2005-04-19 Thread Brian McGovern
I tried it but got no luck. I think the "pattern" attrib of formatDate only takes in literal strings in form of "mm/dd/" or something like that. Am i doing something wrong there? -B -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 11:51

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Michael J. wrote: People just should stop thinking in terms of "client-side scripting" and start thinking in terms of "client-side rendering" :-) (XAML, XUL, Flex, JDNC, DHTML(Ajax, JavaScript)). UI naturaly should be done on "client" side, asking for domain and other services from the

Re: Using validate() and returning to original page dynamically

2005-04-19 Thread Michael J.
On 4/19/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 11:06 PM -0700 4/18/05, Michael J. wrote: > >2) You can set the params too, it is not a big deal. Do not edit > >existing ActionForward from findForward, instead create a new one and > >append query parameters. > > Note that about two months

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
I don't think he said "absolutely everyone, including specifically Erik Weber", Erik. You turn out, in the end, to be just a person: not people. ///;-) Jack On 4/19/05, Erik Weber <[EMAIL PROTECTED]> wrote: > > > Frank W. Zammetti wrote: > > >On Tue, April 19, 2005 5:30 am, Jesse Alexander (

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Dakota Jack
+1 Frank! Good old agility and Xtreme principles say do it and worry about all this "wah wah wah wah" later. You have a simple and very useful idea which is at the beginning stages but which is well-thought out and which is based on a solid engineering foundation. Go for it as you initially conc

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Jason King
We need to agree to disagree on the virtue/detriment of javascript in web pages. Different applications for different audiences with different purposes have different solutions. At my company we've implemented intranet apps where the users do a significant amount of heads-down data entry. They

Re: requiredif

2005-04-19 Thread Erik Weber
Oh, I'm sorry. I pulled that from the last release of 1.1. Zoinks, you are stuck with a pre-1.1 version? Perhaps you could write a custom validator plugin that basically does the same thing? tarek.nabil wrote: Hi Erik, I tried it and it didn't work. I checked out the validator and struts jar fil

RE: requiredif

2005-04-19 Thread tarek.nabil
Hi Erik, I tried it and it didn't work. I checked out the validator and struts jar files and it turned out that the org.apache.struts.validator.FieldChecks class does not exist in either of them. Is it possible that it was introduced after 1.1b2? I'm sure it's in RC1 because I'm using the documen

Editing jsp pages

2005-04-19 Thread Joe_Russo
Thank you all for your responses. They are very helpful and will help in deciding which tool(s) to use. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Slightly Off topic: JSTL vs Bean tags w/ message resources

2005-04-19 Thread Karr, David
I'd say there's two approaches to dealing with this. In the scope of just this issue, I think "bean:write" is just a little more convenient, but there may be other considerations. One way would be to read in your properties file in an action and put them into application scope. That's probably o

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Michael J.
> Sometimes it takes more developer effort/technology to create something > that's easier to use. Sometimes it doesn't. But to say that > client-side scripting is completely unnecessary for "well designed" > application UIs is incorrect, IMO. It depends on what your users need > to do. People j

RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Scott Piker
I wholeheartedly agree that often times, simplicity is the best way to go for web (and webapp) UIs. However, end-user simplicity does not always imply developer simplicity (i.e. bare-bones HTML). Case in point: Google Maps vs. Mapquest, specifically in the Scroll Map use case. Which one is simp

RE: requiredif

2005-04-19 Thread tarek.nabil
Thanks Erik. I was wondering, is there a client side JavaScript part? Also, is it possible to use validwhen with the old versions of struts (1.1b2). Thanks for your help. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 3:24 PM To: Struts User

RE: Validation Problems

2005-04-19 Thread Folashade Adeyosoye
Not sure what the limitations might be, but I found out that worked for me. Also if you define your form as a DynaValidatorActionForm, you have to cast them as a DynaValidatorActionForm in our action classes -Original Message- From: Andrew Thorell [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Marsh-Bourdon, Christopher
Hear-hear. My users would brain me if I just provided that amount of interface on a web application. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 19 April 2005 16:17 To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: AJAX: Whoa, Nellie

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
On Tue, April 19, 2005 10:47 am, Erik Weber said: > I, with respect for the author, disagree with this entirely. > > I am people, and this is not what I expect or desire at all. As a user, > I expect and desire 1) A fast download 2) my bookmarks to work/easy to > remember URLs 3) an organized and w

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
On Tue, April 19, 2005 10:46 am, Michael J. said: > Struts-only or JSP-only solution is not good enough. The more portable > is the better, so when I read Frank's proposal I thought, why those > input controls are generated with custom tags? What if controls were > created with Javascript? Custom t

[ANN] Struts-JSF London Networking BOF VIII / Monday / 9th MAY 2 005 @ 18:30 / Oracle City of London

2005-04-19 Thread Pilgrim, Peter
WHAT: I would like to formally announce that ``The Struts-JSF London Networking'' group is holding the ninth meet-up event on Monday 9th May 2005 at Oracle office in the city of London at ``18:45'' The meeting will take place in a room with Audio/Visual facilities between 6:30-8:00 pm. After

Re: Validation Problems

2005-04-19 Thread Andrew Thorell
Thanks for the speedy reply, My time is limited to solve this particular problem, but I'll definitely look into using DynaValidatorActionForm. I do have another question though, why would not using DynaValidatorActionForm prevent my code from display the error back to the jsp? Is there a limitatio

Re: Editing jsp pages

2005-04-19 Thread edward griebel
I use My Eclipse, a plugin for Eclipse, http://myeclipseide.org. It works reasonably well and provides syntax coloring and XML validation for JSPs, and if things are set up right, it will provide context completion for standard JSP tags. I haven't had it work for JSTL tags, but that could be a setu

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Erik Weber
Frank W. Zammetti wrote: On Tue, April 19, 2005 5:30 am, Jesse Alexander (KBSA 21) said: I also think that a well-designed web-UI does not need JS at all... Then what results is exactly what you say: a WEB UI. This was good enough five years ago, it isn't today. People expect, generally,

RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
On Tue, April 19, 2005 10:37 am, Jesse Alexander (KBSA 21) said: > Maybe I'm to old (in respect to IT-technology), but for me most of those > highly sophisticated apps (be them client or web) are not very usable... > I prefer a simple processing scheme. No doubt there were (are still are) some ver

RE: Validation Problems

2005-04-19 Thread Folashade Adeyosoye
Try using DynaValidatorActionForm... -Original Message- From: Andrew Thorell [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 10:44 AM To: Struts Mailing List Subject: Validation Problems Hey all, I've been trying for some time now to figure out what my problem is with my Valid

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Michael J.
Since this group is more crowded, I took the liberty to crosspost a portion of my message, that I mistakingly sent to dev group. Struts-only or JSP-only solution is not good enough. The more portable is the better, so when I read Frank's proposal I thought, why those input controls are generated w

Validation Problems

2005-04-19 Thread Andrew Thorell
Hey all, I've been trying for some time now to figure out what my problem is with my Validations not displaying error messages back to the page from where the request came from. It's a simple login page which pretty much follows Ted's Struts in Action example. I'm using a Form which extends Valid

RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Jesse Alexander (KBSA 21)
-Original Message- > I also think that a well-designed web-UI does not need JS at all... Then what results is exactly what you say: a WEB UI. This was good enough five years ago, it isn't today. People expect, generally, more robust UIs delivered in a browser. They expect webapps that l

Re: Editing jsp pages

2005-04-19 Thread Simone-dev
I think this is not what Joe was looking for... you provided the solution for the question: "How can I edit an HTML text from a JSP?" I think he was looking for a JSP editor, to make JSP pages... unfortunately I cannot help you... I use e text editor, but I'm starting to use Eclipse... anyway ecl

Re: Apostrophes in bean:write

2005-04-19 Thread Rick Reumann
Mulligan, Scott H wrote the following on 4/19/2005 9:51 AM: ', '<%= rowIndex.toString() %>','editExternalNote')"/> The problem is the dastardly single quote embedded in the nested:write property, for example (Chris's Test Note). Have you tried: onClick='showExtNoteModal("","<%= rowIndex.toStrin

RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Frank W. Zammetti
On Tue, April 19, 2005 5:30 am, Jesse Alexander (KBSA 21) said: > I also think that a well-designed web-UI does not need JS at all... Then what results is exactly what you say: a WEB UI. This was good enough five years ago, it isn't today. People expect, generally, more robust UIs delivered in a

  1   2   >