Validator URL and error message

2004-11-10 Thread Roland Carlsson
Hi! I'm trying to validate an URL, but it seems like whatever I write it will not validate any url:s (eg http://www.apache.org ). I'm using the following form in my validation.xml: Is there anything wrong or doesn't the url-validator work? Anoth

Re: Validator URL and error message

2004-11-10 Thread Erik Weber
Sorry, I can't help with the first question, but . . . Roland Carlsson wrote: Hi! I'm trying to validate an URL, but it seems like whatever I write it will not validate any url:s (eg http://www.apache.org ). I'm using the following form in my validation.xml:

Re: clearing the content of the file upload control

2004-11-10 Thread Erik Weber
. . .
function clearAllFormFields(form) {
for (var x = 0; x < form.length; x++) {
var current = form.elements[x];
if (current.type == "text") {
current.value = "";

Re: Bean:define : Newbie Question

2004-11-10 Thread Richard
yes its an arraylist On Wed, 10 Nov 2004 15:50:36 +0800, Peng Tuck <[EMAIL PROTECTED]> wrote: > Hi Richard, > You use to define a bean with a id of user but yet > in you refer to originatingHost ? >I think it should be refering to user instead for . > Also is originatingHost a collec

Re: Bean:define : Newbie Question

2004-11-10 Thread Peng Tuck
So in you should refer to the bean you defined, using right ? Richard wrote: yes its an arraylist On Wed, 10 Nov 2004 15:50:36 +0800, Peng Tuck <[EMAIL PROTECTED]> wrote: Hi Richard, You use to define a bean with a id of user but yet in you refer to originatingHost ? I think it sho

Why stick with struts.

2004-11-10 Thread Mark Lowe
I read various postings yesterday on whether any real applications are written in struts, and then on different threads bits of talk on JSF. Struts is used all over the place by heavy duty clients, I'd be interested if the same can me said of JSF. Having tried to make the move to JSF (as there are

Re: A new paradigm of Struts development

2004-11-10 Thread Adam Hardy
On 11/10/2004 01:01 AM Zoran Avtarovski wrote: Am I missing something or is everybody saying the same thing. What struts needs is a view controller mechanism. The only difference is the specifics of the mechanism. JSF v. a struts specific mechanism (OzStruts) or the adaptation of something else. Wh

Date validations using Validator

2004-11-10 Thread Kinjal Sonpal
Dear All, Any recommended practice for date validations using the Validator framework? I've tried searching the web and many mailing lists, including this without any real success. Please share your views on this. Thanks and regards, Kinjal Sonpal Everyth

Local (server based) search engine?

2004-11-10 Thread Joachim Dagerot
Best practice to incorporate a search engine in a struts environment? I'm writing a quotation involving full text searching of attachments and conten. These attachments can be either stored in the DB or on disk. However there will be an accesscontrol for the attachments, so different users can ac

Re: Local (server based) search engine?

2004-11-10 Thread Emmanouil Batsis
Joachim , You might want to check out Apache Lucene. Cheers, Manos Joachim Dagerot wrote: Best practice to incorporate a search engine in a struts environment? I'm writing a quotation involving full text searching of attachments and conten. These attachments can be either stored in the DB or on dis

Re: Local (server based) search engine?

2004-11-10 Thread Peng Tuck
Lucene does full text searching, but according to the faq doesn't yet do pdf, looks like something you would have to add to it. Joachim Dagerot wrote: Best practice to incorporate a search engine in a struts environment? I'm writing a quotation involving full text searching of attachments and c

RE: form submision using javascript using html:link tag

2004-11-10 Thread Girish Kumar K. P.
U can use document.menuForm.name = "the value" -Original Message- From: Srilatha Salla [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 1:02 AM To: Struts Users Mailing List Subject: RE: form submision using javascript using html:link tag Hi Girish, Can you please let me

variable number of elements in form

2004-11-10 Thread Nitin Gupta
Hi All, I am having a form in which the number of elements are not fixed . How can i retrieve the values of these elements in Action class. Is there any way by which we can handle dynamic elements . Thanks Nitin __ Do You Yahoo!? Tired of spam

RE: variable number of elements in form

2004-11-10 Thread Girish Kumar K. P.
I giuess u can declare a String array and use indexed getter setters -Original Message- From: Nitin Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 4:35 PM To: [EMAIL PROTECTED] Subject: variable number of elements in form Hi All, I am having a form in which the numb

Re: variable number of elements in form

2004-11-10 Thread Koushik
use DynaAction Form - Original Message - From: "Nitin Gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 10, 2004 4:34 PM Subject: variable number of elements in form > Hi All, > > I am having a form in which the number of elements are not fixed . > How can i

Re: Bean:define : Newbie Question

2004-11-10 Thread Richard
Hi Peng. Please tell me what how exactly should I do it? Should I define bean user then define bean originatingHost which is an attr of user object? On Wed, 10 Nov 2004 17:52:54 +0800, Peng Tuck <[EMAIL PROTECTED]> wrote: > So in you should refer to the bean you defined, using > right ? > >

Re: Bean:define : Newbie Question

2004-11-10 Thread Peng Tuck
Uh, you already have defined it using . Check the original code snippet you sent. You're just referring to the wrong bean in . To be clear you might want to have a look see at the taglib docs right here http://struts.apache.org/userGuide/struts-bean.html#define Richard wrote: Hi Peng. Please tel

RE: Hiding Url File Parameters

2004-11-10 Thread Daniel Perry
In short no. To execute a struts action, the browser MUST make an HTTP request. This request MUST specify an object (in HTTP context) to retrieve. There is no way to fully hide this url. It can appear to be achieved using a frameset with one frame 100%x100% - only the frameset url is shown in t

RE: Bean:define : Newbie Question

2004-11-10 Thread Girish Kumar K. P.
-Original Message- From: Richard [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 4:45 PM To: Struts Users Mailing List Subject: Re: Bean:define : Newbie Question Hi Peng.

Paged data output

2004-11-10 Thread Yaroslav Novytskyy
Hi all! Can anyone explain (or point to an example) of how to output data on JSP by pages with page navigation. Example: I have a products DB table with _lots_ of products. then (as far as I could understand) I should 1. create a DAO factory 2. create a ProductDAO class 3. create a Product bean-typ

Tooltip with logic:iterate tag

2004-11-10 Thread Heligon Sandra
Hi, I have a table in my application that I display through the logic:iterate Struts tag, One of the column contents a long text, I would like to add a 'Tooltip' in order to view the whole text, is it possible ? Thanks a lot in advance -

AW: Paged data output

2004-11-10 Thread Stahlhut, Axel
Hi Yaroslav, try the displaytag tag library (http://displaytag.sourceforge.net/). Maybe it is useful. Regards Axel > -Ursprüngliche Nachricht- > Von: Yaroslav Novytskyy [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 10. November 2004 12:55 > An: [EMAIL PROTECTED] > Betreff: Paged data

RE: [Tiles] Forwarding to an specific anchor link of a Tile

2004-11-10 Thread Daniel Perry
This is not a good idea... As far as i'm aware anchors are not part of the http specification. They are only implemented in html. Eg. You type /myAnchor.do#myAnchor into the url bar in your browser, the browser actually requests /myAnchor.do - it doesnt send the anchor - it just uses it to show

Re: Local (server based) search engine?

2004-11-10 Thread Vic (Vinny) Cekvenich
Take a look at Apache Lucene for FTS (it's the Struts of FTS), it rocks. And ... the Struts based CMS portal: http://infonoia.com/en/content.jsp?d=inf.01.05 (award wining, w/ training videos) .V Joachim Dagerot wrote: Best practice to incorporate a search engine in a struts environment? I'm wri

RE: A new paradigm of Struts development

2004-11-10 Thread Daniel Perry
> Yes you are missing something ;) > > I am saying struts doesn't need a "view controller" because you can > implement the post-redirect-get pattern and struts is complicated enough > already. Although no-one is arguing for or against me :) > > I think it is more a case of JSF needing a better con

[ANN] "Struts" meeting in Zürich on 23rd

2004-11-10 Thread Vic (Vinny) Cekvenich
http://www.ch-open.ch/events/2004/struts.html .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why stick with struts.

2004-11-10 Thread Vic (Vinny) Cekvenich
Mark Lowe wrote: Having tried to make the move to JSF (as there are many things I really like about it) I've had to admit defeat and I'm looking back to struts. Welcome back. I hate to say "I told you so". No amout of skill or effort would have helped you. You have 1 backing bean which controls

Re: AW: Paged data output

2004-11-10 Thread Vic (Vinny) Cekvenich
Also iBatis DAO w/ Displaytag. BUT I allways do paginiation in DB. For example select limit ofset. Depends of what you think lots of products are (and if you also have lots of users) .V Stahlhut, Axel wrote: Hi Yaroslav, try the displaytag tag library (http://displaytag.sourceforge.net/). May

RE: Are there Struts Applications in real life out there?

2004-11-10 Thread Chappell, Simon P
>-Original Message- >From: Andrew Hill [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 09, 2004 8:42 PM >To: Struts Users Mailing List >Subject: Re: Are there Struts Applications in real life out there? > > > >selling over a hundred thousand copies combined -- but no one is >actually

Re: Why stick with struts.

2004-11-10 Thread Mark Lowe
On Wed, 10 Nov 2004 07:17:41 -0600, Vic (Vinny) Cekvenich <[EMAIL PROTECTED]> wrote: > Mark Lowe wrote: > Having tried to make the > > move to JSF (as there are many things I really like about it) I've had > > to admit defeat and I'm looking back to struts. > > Welcome back. I hate to say "I tol

Re: Why stick with struts.

2004-11-10 Thread Niall Pemberton
Matt Raible now seems to have changed his view on JSF. A more recent post on his blog says hes now on the JSF expert group and hes now v.positive about shale: http://raibledesigns.com/page/rd?anchor=can_you_base_a_web Niall - Original Message - From: "Vic (Vinny) Cekvenich" <[EMAIL PROT

RE: AW: Paged data output

2004-11-10 Thread Geeta Ramani
Hi Yaroslav: In case you cannot or don't want to do pagination in the db, follow Axel's advice and use the display tag. I used it for the first time two days ago and it is *sweet*! Plus the docs are chock full of examples..:) Cheers, Geeta -Original Message- From: news [mailto:[EMAIL P

Re: Why stick with struts.

2004-11-10 Thread Vic (Vinny) Cekvenich
Mark Lowe wrote: I bet you don't hate saying it that much :o) :-) these 5 minute examples get tiresome. The books are full of them. Not all books. http://www.amazon.de/exec/obidos/ASIN/3898642844/qid=1100095286/ref=pd_ka_0/302-4029301-6736807 Above best selling Struts book (in German for now :-(

Indexed Properties

2004-11-10 Thread sebastian . steinfeld
Hi, I need help for indexed properties. On one page I have different "input-fields" and I want to commit the changes when pushing the "submit-button" to realize this I am using the indexed propertie. Is this the right way? Or is the someone better? -- This is m

installing struts with websphere 4.0.5

2004-11-10 Thread Maria Sole Franzin
Hi all, i'm new Struts-user :-). I'd like to use it in my web application (WAS 4.0.5), I read the documentation and I found these links: http://struts.apache.org/userGuide/installation.html#Containers http://struts.apache.org/userGuide/installation-was352.html Well, this second document speaks ab

Re: Why stick with struts.

2004-11-10 Thread Vic (Vinny) Cekvenich
Well lets all brown-nose now ;-) I am not positive on Shale and hope you will consider my alternative. .V Niall Pemberton wrote: Matt Raible now seems to have changed his view on JSF. A more recent post on his blog says hes now on the JSF expert group and hes now v.positive about shale: http://raib

RE: [ANN] "Struts" meeting in Zürich on 23rd

2004-11-10 Thread Jesse Alexander (KBSA 21)
who's gonna be there? (from this list) Regards Alexander -Original Message- From: Vic (Vinny) Cekvenich [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 2:05 PM To: [EMAIL PROTECTED] Subject: [ANN] "Struts" meeting in Zürich on 23rd http://www.ch-open.ch/events/2004/struts.

RE: [****] Including a Struts action in a JSP - IllegalStateException / truncated response issue

2004-11-10 Thread Parke Jeff
Thanks for your help David. This is very informative and confirms many of my suspicions. My perspective on the issue is this. I can understand the technical constraints on including a Struts action in a JSP given the design (though, oddly this seems to work fairly well if you do it only once p

Re: Hiding Url File Parameters

2004-11-10 Thread Peter Neu
OK. Then I will have rely on the filter mechanism defined in the web.xml. Regards, Peter In short no. To execute a struts action, the browser MUST make an HTTP request. This request MUST specify an object (in HTTP context) to retrieve. There is no way to fully hide this url. It can appear to be

RE: Hiding Url File Parameters

2004-11-10 Thread Daniel Perry
What exactly is it that you're trying to stop people accessing/doing? Daniel. > -Original Message- > From: Peter Neu [mailto:[EMAIL PROTECTED] > Sent: 10 November 2004 14:24 > To: Struts Users Mailing List > Subject: Re: Hiding Url File Parameters > > > OK. Then I will have rely on the fi

Re: Why stick with struts.

2004-11-10 Thread Niall Pemberton
Can't remember what your proposal was Vic, why not stick it on the wiki: http://wiki.apache.org/struts/StrutsWhiteboard Niall - Original Message - From: "Vic (Vinny) Cekvenich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 10, 2004 2:04 PM Subject: Re: Why stick

dynamic html:text property with map-backed form

2004-11-10 Thread Emmanouil Batsis
My map-backed form has keys like "index1", "index2"..."indexN" and i'm trying to out put hits by iterating like (according to the docos): <% |String name = "value(foo" + |rId| + ")";| %> || But my output is What am i missing? Thanks, MAnos --

Re: Why stick with struts.

2004-11-10 Thread Vic (Vinny) Cekvenich
I did not publish yet. It based on a working sample app based on chain command controller/dispatcher and hessian (so no view at all, just a dispatcher and very KISS). I will put it up there. I guess it will take me a month or 3. .V Niall Pemberton wrote: Can't remember what your proposal was Vic

Re: AW: Paged data output

2004-11-10 Thread Yaroslav Novytskyy
Hi! Yes, I think that paging in DB queries is what I need. (I don't whant to select all the data from the table) That's why I'm asking about working examples. I have taken a look at Displaytag and it is realy nice, but this is not exactly what I need. iBatis is a closer solution, but it is needed t

Re: Hiding Url File Parameters

2004-11-10 Thread Peter Neu
I'm just trying to hide all the technical details from the user. Nobody should attempt to bookmark a page using the Action.do even if it's technically not possible (when using a filter). Regards, Peter Daniel Perry schrieb: What exactly is it that you're trying to stop people accessing/doing? Dani

Re: dynamic html:text property with map-backed form

2004-11-10 Thread Emmanouil Batsis
Emmanouil Batsis wrote: But my output is What am i missing? Let me rephrase that; can i output "foo1" as the name attribute in the resulting HTML? Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: Hiding Url File Parameters

2004-11-10 Thread Daniel Perry
Hmm... difficult one. What about creating a 'BaseAction' which all actions inherit, which checks a session attribute. A session attribute could be set by the valid site entrance action. All other actions inherit the default behaviour: if the session attribute doesnt exist then redirect to entran

Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Julian
Hi all, I am an avid user of Cocoon and really love the sitemap concept. I am wondering if the current direction of the struts-chain component is to only manage action chaining.IMHO, Struts is great as a controller, but not nec. for the View in the MVC world. In other words, will it be possi

Help needed on question regarding html:select and html:options...

2004-11-10 Thread t t
Hi, all, I have two html:select as below: --- when user choose item2 from s1, I want to change the collection in s2 from "c2" to "itemC". How can I do that? T

Re: Help needed on question regarding html:select and html:options...

2004-11-10 Thread Erik Weber
I don't know exactly how do it using JavaScript. However, I know there's a way to do it. But, you'd have to have all list data downloaded to the client's browser (could be undesirable depending on list size), so you may want to rethink that approach once you figure out how to do it. Obviously i

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Don Brown
Well, pipelines won't work for Struts in the strictest sense, as they rely on SAX and Struts isn't an XML transformation framework. The difference as I see it is struts-chain benefits the controller process, in other words, the process that is global to all requests. The actual handling of the re

How to go from action to action

2004-11-10 Thread Morales de Frías, David
Hello ¡¡ First thanks in advance if you are reading me, and please be patient with my english... I have an action which forward is another action. (A1, A2). And his actionForm (AF1, AF2) My question is how can i pass to A2 any parameter? Can i establish values for its actionForm (A2) from th

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Emmanouil Batsis
Don Brown wrote: Well, pipelines won't work for Struts in the strictest sense, as they rely on SAX and Struts isn't an XML transformation framework. Struts could use a sitemap thingy to pass a request along actions (without having the action choose an ActionForward). I guess that could work by

Re: How to go from action to action

2004-11-10 Thread Emmanouil Batsis
Morales de Frías wrote: Hello ¡¡ First thanks in advance if you are reading me, and please be patient with my english... I have an action which forward is another action. (A1, A2). And his actionForm (AF1, AF2) My question is how can i pass to A2 any parameter? Can i establish values for its acti

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Joe Germuska
At 8:37 AM -0800 11/10/04, Julian wrote: Hi all, I am an avid user of Cocoon and really love the sitemap concept. I am wondering if the current direction of the struts-chain component is to only manage action chaining.IMHO, Struts is great as a controller, but not nec. for the View in the MVC

Re: Help needed on question regarding html:select and html:options...

2004-11-10 Thread t t
Thank you for the hint. I will try. Erik Weber <[EMAIL PROTECTED]> wrote:I don't know exactly how do it using JavaScript. However, I know there's a way to do it. But, you'd have to have all list data downloaded to the client's browser (could be undesirable depending on list size), so you may w

(newbie) 404 error - Servlet action is not available

2004-11-10 Thread Robin . Clarke
Hi, I am not sure if this is really a Struts issues, or a Tomcat issue ... but I'll post it here to start with as it is a Struts application that I am trying to build. When my laptop is connected to the internet, I am able to start Tomcat without any problems, and my very simple Struts applicat

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Don Brown
Well, you could do that with chain now by writing an action that deferred handling to a particular chain, but I do like the sitemap concept as evidenced by my porting of their wildcard matching to Struts. It might be interesting for an alternate struts-config format that does allow us to stick cha

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread PJ97
Hi I am pradeep Jain . Currently I am using Struts 1.2.X . But I am facing some problems. 1.I am trying to create my own action mapping but in Action class when ever I am try to use that it is giving me class cast exception . following is my web.xml action org.apache.struts.a

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Julian
Don, Thanks for the prompt reply. Comments inline: > The difference as I see it is struts-chain benefits > the controller > process, in other words, the process that is global > to all requests. > The actual handling of the request, the "action", is > still one class. > Cocoon, as I understa

Validator javascript generation errors

2004-11-10 Thread Ashwin Desai
Hi, I am having a problem with the javascript that is generated by the validator framework. ** JAVASCRIPT ** Here is a snippet of the generated javascript function validate/testAction(form) { if (bCancel) ret

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Joe Germuska
At 1:00 PM -0500 11/10/04, [EMAIL PROTECTED] wrote: Hi I am pradeep Jain . Currently I am using Struts 1.2.X . But I am facing some problems. 1.I am trying to create my own action mapping but in Action class when ever I am try to use that it is giving me class cast exception . following is my

Re: Validator javascript generation errors

2004-11-10 Thread Matt Bathje
Ashwin Desai wrote: Hi, I am having a problem with the javascript that is generated by the validator framework. ** JAVASCRIPT ** Here is a snippet of the generated javascript function validate/testAction(form) { [snip] The ser

RE: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread David G. Friedman
Predeep, I think you want to move your mapping from the web.xml to struts-config.xml so your struts-config.xml has an action-mapping tag like this: ... In Struts 1.2.X and onward, setting mapping, forward, and many other classes will not work. I had a discussion on the list about it about 2 mo

RE: (newbie) 404 error - Servlet action is not available

2004-11-10 Thread David G. Friedman
Robin, I had the same problem before I got DSL. I think you could copy the webapp DTD and specify it locally instead of having your web.xml read "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";. The same thing might happen with your struts-config.xml. I haven't tried it so don't kill me if it d

Re: Help needed on question regarding html:select and html:options... A problem

2004-11-10 Thread t t
The problem is, when the form is submitted, it will be validated according to the validator. then error will occur since the user didn't intend to submit and he/she didn't fill other required fields. And in my "acion" program, I don't know how to tell whether it was submitted by "javascript" or

Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Julian
Joe, I wrote a long email explaining my position and it got deleted...errrgg! Anyway, my point came down to a simple statement: Struts needs to create a config file analagous to that of Cocoon's sitemap. My reasoning is as folllows: I see a webapp framework somewhat like message oriented middl

newbie question - can't get message to display

2004-11-10 Thread Patrick Beagan
I want to display a message on a jsp as a result of a user logging on. I do a saveMessages() in my Action class then forward to my jsp. Nothing is displayed. Can anyone see what I am doing wrong? Thanks, Patrick In my Action class: ActionMessage msg = new Ac

RE: newbie question - can't get message to display

2004-11-10 Thread David G. Friedman
Where is your bean:write statement in the html:messages JSP tag? But the real reason is your redirect="true". You save the messages to the request scope but the redirect="true" forces the client to invoke a NEW request (losing all the old messages) to get to the /Logon.do action. Try cha

Can't find property -- but it's there

2004-11-10 Thread Slattery, Tim - BLS
We develop our Struts apps running them on a BEA Weblogic server installed on our individual machines. When they run right, we deploy them to the development server, a Unix box that everybody can access. Generally, this works beautifully. I'm now working with a Struts JSP page that works fine on

RE: AW: Paged data output

2004-11-10 Thread Wiebe de Jong
What database and version are you using? Paging can be accomplished in different ways in different databases. In some cases you can use a cursor. Other times you can't. In my current application, I am using an older version of PostgreSQL so I am constrained to using their non-standard LIMIT clause

Re: A new paradigm of Struts development

2004-11-10 Thread Axel Groß
On 2004-11-10 at 00:46:26 +, Adam Hardy wrote: > On 11/09/2004 11:30 PM Joe Germuska wrote: >... > I think the learning curve for struts is already humungous! Wouldn't the > addition of a command-chain or a renderer steepen it further? Hmm, I don't think you would have to use it, if you don't

Re: Help needed on question regarding html:select and html:options... A problem

2004-11-10 Thread Erik Weber
There may be other ways or better ways, but one thing you could do is vary the action URL. You could have the same action class serving slightly different action mappings, some with validation set to true and some with validation set to false. I did what you are trying to do in a non-Struts Ser

RE: Can't find property -- but it's there

2004-11-10 Thread Robert Taylor
Just a guess Tim, but is it possible that the ClassLoader used on the development server and the ClassLoader used locally are loading different versions of SeasAdjData? Was the getSeasAdjs() added to SeasAdjData recently? robert > -Original Message- > From: Slattery, Tim - BLS [mailto:[EM

Re: Why stick with struts.

2004-11-10 Thread Axel Groß
On 2004-11-10 at 08:03:21 -0600, Vic (Vinny) Cekvenich wrote: > > Not all books. > http://www.amazon.de/exec/obidos/ASIN/3898642844/qid=1100095286/ref=pd_ka_0/302-4029301-6736807 > Above best selling Struts book (in German for now :-( ) is full lifecycle. Hey, Vic! Ich werds mir anschauen ;)

RE: Can't find property -- but it's there

2004-11-10 Thread Slattery, Tim - BLS
> Just a guess Tim, but is it possible that the ClassLoader > used on the development server and the ClassLoader used > locally are loading different versions of SeasAdjData? Was > the getSeasAdjs() added to SeasAdjData recently? I have no clue about ClassLoader. I don't know how I'd find out.

RE: Can't find property -- but it's there

2004-11-10 Thread David G. Friedman
Since your problems occur in the deployed to a clustered environment, could you accidentally have the redirect="true" on that action's ActionForwward? Then one of two things could be happening: 1) You might be redirected to the other server 2) You might have had the bean in request scope and not s

Re: Can't find property -- but it's there

2004-11-10 Thread Axel Groß
On 2004-11-10 at 14:04:38 -0500, Slattery, Tim - BLS wrote: > > Just a guess Tim, but is it possible that the ClassLoader > > used on the development server and the ClassLoader used > > locally are loading different versions of SeasAdjData? Was > > the getSeasAdjs() added to SeasAdjData recently

RE: Can't find property -- but it's there

2004-11-10 Thread Slattery, Tim - BLS
> Since your problems occur in the deployed to a clustered > environment, could you accidentally have the redirect="true" > on that action's ActionForwward? Then one of two things could > be happening: "redirect" is set to "false": > 1) You might be redirected to the other server >

RE: Can't find property -- but it's there

2004-11-10 Thread Slattery, Tim - BLS
> On 2004-11-10 at 14:04:38 -0500, Slattery, Tim - BLS wrote: > > > Just a guess Tim, but is it possible that the ClassLoader > > > used on the development server and the ClassLoader used > > > locally are loading different versions of SeasAdjData? Was > > > the getSeasAdjs() added to SeasAdjDa

Re: Are there Struts Applications in real life out there?

2004-11-10 Thread Axel Groß
'One,' one of austria's telco companies uses struts for their one portal. (know one of the one portal's programmers) http://www.one.at i hope one got the idea ;) yaa (yet another Axel) - To unsubscribe, e-mail: [EMAIL PROTECT

Re: vs. onclick result

2004-11-10 Thread Ben Anderson
Lori, notice I took this to the struts list. The struts tags don't support runtime expressions. There is a subset of struts tags that supports EL (expression language). You might try the following approach: However, it'd be even better if you didn't need the first line. There are times when

Re: Validator javascript generation errors

2004-11-10 Thread Ashwin Desai
I am using Struts 1.x. So, that kind of explains the problem. We will move over to the latest version soon & that error should go away. Matt - Thanks a lot for your help. Ashwin. --- Matt Bathje <[EMAIL PROTECTED]> wrote: > Ashwin Desai wrote: > > Hi, > > > > I am having a problem with th

how to call a javascript function when the page loads

2004-11-10 Thread Srilatha Salla
Hi, In my application I have menu.jsp which has a ligic tag, Select A Action

RE: how to call a javascript function when the page loads

2004-11-10 Thread Jirole, Amar
I think javascript mailing list is a better place for this question. -Original Message- From: Srilatha Salla [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 3:37 PM To: [EMAIL PROTECTED] Subject: how to call a javascript function when the page loads Hi, In my application

Re: how to call a javascript function when the page loads

2004-11-10 Thread Erik Weber
I'm not sure if I understand completely, but could how about a JavaScript body "onload" call? Erik Srilatha Salla wrote: Hi, In my application I have menu.jsp which has a ligic tag, Select A Action

Re: how to call a javascript function when the page loads

2004-11-10 Thread Erik Weber
http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onload.html Hope that helps. Erik Srilatha Salla wrote: Hi, In my application I have menu.jsp which has a ligic tag, Select A Action

RE: how to call a javascript function when the page loads

2004-11-10 Thread Ron Day
Use the JavaScript "onLoad" event handler in the body tag. -Original Message- From: Srilatha Salla [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 2:37 PM To: [EMAIL PROTECTED] Subject: how to call a javascript function when the page loads Hi, In my application I have menu.

Re: Help needed on question regarding html:select and html:options... A problem

2004-11-10 Thread t t
Hi,Erik, I think that helps. I have another question. Besides the "action" attribute in html:form, is anywhere else we can specify another "action" corresponding the submission of javascript? Thanks. Tong Erik Weber <[EMAIL PROTECTED]> wrote: There may be other ways or better ways, but one thing

Re: Help needed on question regarding html:select and html:options... A problem

2004-11-10 Thread Erik Weber
JavaScript can change the action URL on the fly. For example: http://www.willmaster.com/possibilities/archives/wmp20030527001.shtml However, I'm not sure how compatible this type of thing will be with the Struts form tag. I've never tried it. I'm surprised others aren't speaking up because the "m

Logic tag to JSTL

2004-11-10 Thread TroyGeek
How would I turn the following logic tag into a JSTL tag. Would it use the core tags? thank you! Troyston Campano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: Logic tag to JSTL

2004-11-10 Thread Slattery, Tim - BLS
> How would I turn the following logic tag into a JSTL tag. > > >property="projectName"/> -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Logic tag to JSTL

2004-11-10 Thread Erik Weber
Erik TroyGeek wrote: How would I turn the following logic tag into a JSTL tag. Would it use the core tags? thank you! Troyston Campano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Help needed on question regarding html:select and html:options... I got an idea.

2004-11-10 Thread t t
Hi, Erik, I got an idea. I can insert another action before the actual action be executed. And use javascript change a hidden property before executing the added action, then I can do what i want to do in the added action. What do you think? I will try it later. Thanks for your help! Tong Eri

Re: AW: Are there Struts Applications in real life out there?

2004-11-10 Thread Craig McClanahan
On Tue, 9 Nov 2004 11:29:59 -0500, Ted Husted <[EMAIL PROTECTED]> wrote: > The lead system architect for one of the world's largest banks told me that > he uses the "bookstore test". If he can walk into a bookstore and find > several books on a technology, then he knows it has arrived. Why? Becau

Re: A new paradigm of Struts development

2004-11-10 Thread Rick Reumann
Tak Yoshida wrote the following on 11/7/2004 7:05 PM: I would like to introduce Page Driven development, OzStruts, to all Struts developers, which makes Struts application more clean and maintainable. Ok, dang, I must be missing something. I've been using Struts now for over four years developing

Re: Help needed on question regarding html:select and html:options... I got an idea.

2004-11-10 Thread t t
Or I can set a parameter before executing the added action. --- t t <[EMAIL PROTECTED]> wrote: > Hi, Erik, > I got an idea. I can insert another action before > the actual action be executed. And use javascript > change a hidden property before executing the added > action, then I can do what i

RE: Can't find property -- but it's there

2004-11-10 Thread Robert Taylor
Yes, but it may be possible that the ClassLoader (for whatever reason) has a cached version of the older class and it is not loading the new class when the web app reloads. Have you tried rebooting the application server on the development machine? If the problem still occurs on the dev. box after

RE: Logic tag to JSTL

2004-11-10 Thread Robert Taylor
> -Original Message- > From: TroyGeek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 10, 2004 4:25 PM > To: Struts Users Mailing List > Subject: Logic tag to JSTL > > > How would I turn the following logic tag into a JSTL tag. Would it use > the core tags? > > > >

Re: Help needed on question regarding html:select and html:options...cannot turn off validator

2004-11-10 Thread t t
How can I turn off validator? THanks. --- t t <[EMAIL PROTECTED]> wrote: > Or I can set a parameter before executing the added > action. > --- t t <[EMAIL PROTECTED]> wrote: > > > Hi, Erik, > > I got an idea. I can insert another action before > > the actual action be executed. And use javascrip

  1   2   >