RE: Map Backed Action Form

2003-11-19 Thread Agashivala, Vishal
First up all I like to thanks Rick since you have reply. Basically I am new here.. I tried to give all the details- Actually, I am trying to implement the common ActionForm which holds the value of the JSP/HTML fields. So then I did not need to implement the ActionForm for all my jsps. This ActionF

Re: Design Pattern question

2003-11-19 Thread Nisith Dash
hi, Once you have retrieved the data in your action from the form bean, you can put it in the request scope of the action class execute method. The same will be available when you get forwarded to the next JSP in the request scope of the second JSP page which can the be used to for prepopulation.

Re: Struts - 24 x 7 Compatible

2003-11-19 Thread Puneet Agarwal
My apologies for putting the thing in wrong forum, I however was looking at the possibility of putting the struts-config.xml in Database. But now understand that there are other options available therefore may not be required. - Original Message - From: "news" <[EMAIL PROTECTED]> To: <[EMA

Design Pattern question

2003-11-19 Thread Scott Goldstein
I'm new to Struts and I ran into a problem with my first application. It appears that only one form bean can be assigned to a single action. However, I have a situation in which I have one page with a form that leads to another page with a form. Specifically, on Page A, I have a select box.

Re: Good UI editor to use with Struts?

2003-11-19 Thread Kwok Peng Tuck
Actually my mistake, it is the war file task. Says it doesn't support it. I just downloaded a copy of Ant from jakarta (1.5.1 I believe) and overwrote it. BTW, thanks for StrutsStudio Sergey, helps us all alot. Sergey Smirnov wrote: There's a community edition, based on a older version. Suppor

Re: Simple Question

2003-11-19 Thread khote
If I'm remembering correctly: link and - Original Message - From: "Malcolm Davis" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 9:14 PM Subject: RE: Simple Question > I like for the mouse over affect. does not have a > m

RE: Simple Question

2003-11-19 Thread Malcolm Davis
I like for the mouse over affect. does not have a mouse over. -Original Message- From: Srinivas Kusunam [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 2:49 PM To: > Subject: Simple Question Hi All, I my team while in a Code-Review we had a discussion wether to u

Re: How to identify submit button in JSP

2003-11-19 Thread Colin Kilburn
If you have two forms with the same name (e.g. 'myFormName'), you can access them like this: document.myFormName[0] document.myFormName[1] I had this problem today myself :o) HTH, Colin Yann Lebreton wrote: You need to trace your javascript: make sure it runs, make sure it gets the data... FYI

Re: Good UI editor to use with Struts?

2003-11-19 Thread Sergey Smirnov
> There's a community edition, based on a older version. Supports Struts 1.1. > Works quite well, but if you want to jar your files via the ant build > file then you have to replace the version of ant that comes with it. > What version will be OK? --

Re: Tokens

2003-11-19 Thread Gurpreet Dhanoa
hi Ramadoss Thanks for your help. But this is not i m looking for. I may not be able to explain my question proeprly . But i m looking for saveTOken() method implementation in struts which does not allow duplicate entry of records into the database when the user click on submit button twice. --

JavaScript function inside JSP not working

2003-11-19 Thread [EMAIL PROTECTED]
I include the following javascript function in my .jsp file, but this function is not being called at all. I won't even get any javascript error on build if I tried to change to some bogus function name, Can anybody please tell me why? What I want to do here is: disable the submit button until th

Re: Good UI editor to use with Struts?

2003-11-19 Thread Kwok Peng Tuck
There's a community edition, based on a older version. Supports Struts 1.1. Works quite well, but if you want to jar your files via the ant build file then you have to replace the version of ant that comes with it. Daniel Joshua wrote: It's not free... darn... Regards, Daniel -Original Mess

RE: Good UI editor to use with Struts?

2003-11-19 Thread Daniel Joshua
It's not free... darn... Regards, Daniel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 November, 2003 11:31 AM To: Struts Users Mailing List Subject: Re: Good UI editor to use with Struts? If it only worked on OSX :) On Nov 19, 2003, at 5:40 P

Re: Good UI editor to use with Struts?

2003-11-19 Thread Nathan Maves
If it only worked on OSX :) On Nov 19, 2003, at 5:40 PM, Sergey Smirnov wrote: Which UI editor would you recommend someone use when developing web applications based upon the struts framework? I am using eclipse as my IDE. The new Exadel Struts Studio 5.1 was released yesterday. Eclipse based w

Re: IDE

2003-11-19 Thread Robert S. Sfeir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I use nothing BUT IntelliJ IDEA. I love that thing and you can';t pry it out of my dead cold hands. You have 2 choices, you can 3.0.5 which is the stable release, or you can try the free EAP (Early Access Release) which is in huge changes with lots of

Re: IDE

2003-11-19 Thread foongkim
Robert, do let us know how you will find the IntelliJ IDEA... I intend to try as well :-) Regards, "Robert S. Sfeir" <[EMAIL PROTECTED]> 11/20/2003 09:12 AM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <[EMAIL PROTECTED]> cc:

Re: IDE

2003-11-19 Thread Robert S. Sfeir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nice complicated answers. Just get IntelliJ IDEA and use the Struts Console. R Gonzalez wrote: | Hello, | Someone knows a good editor for Java and Struts ?? I use Jdeveloper 9.03 but I would like change it. | | Thanks | | Sergio. | | | | - -

Re: Good UI editor to use with Struts?

2003-11-19 Thread Sergey Smirnov
> Which UI editor would you recommend someone use when developing web > applications based upon the struts framework? I am using eclipse as my IDE. > The new Exadel Struts Studio 5.1 was released yesterday. Eclipse based with Visual Web Flow editor, Code Generation, JSP design-time Preview, XML Pro

Re: [OT] Installer for java projects

2003-11-19 Thread miguel angel rojas aquino
Can anyone tell me about a good installer for java projects (better if it's free) Don't mind if it's only for windows http://www.izforge.com/izpack/ free as in freedom - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: IDE

2003-11-19 Thread Adam L
I personally use Gel (www.gexperts.com). It understand taglibs, it understands java, it's native code for windows, it has code completion, integrates with ant and cvs, jsp editing, has a decent xml viewer (collapse/expand branches), validates xml (based on well formed and completeness). The only

Re: datavision and struts

2003-11-19 Thread miguel angel rojas aquino
[EMAIL PROTECTED] wrote: Does anyone use datavision as reporting tool together with struts? yes, we do in a web app to generate reports for the upper management of a hospital any examples? well, we run the datavision engine in an Action class, and then redirect to a jsp to show a link to the r

Re: [OT] Installer for java projects

2003-11-19 Thread Sergey Smirnov
InstallAnywhere by Zero G ( http://www.zerog.com/) They have a free version also. "Carlos Sanchez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone tell me about a good installer for java projects (better if it's > free) > > Don't mind if it's only for windows

RE: IDE

2003-11-19 Thread foongkim
Gonzalez Comesaña, Sergio Eduardo , I totally agree with Larry. But if you want to try Struts 1.1 with NetBean3.5.1, this is the comments; http://www.netbeans.org/issues/show_bug.cgi?id=35952 --- Additional Comments From Petr Jiricka 2003-09-22 23:32 PDT --- The short answer is that y

RE: URGENT:static methods in JSPs

2003-11-19 Thread Gupta, Anubhav
I was wondering under what circumstances would you have your getter and setter methods as static? My understanding is that each application session will have its own instance of the form and action classes. Anubhav -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wedne

RE: URGENT:static methods in JSPs

2003-11-19 Thread Wendy Smoak
> Hi i have a static method in one of my bean classes as > public static List getCountriesListing() > Do i also need to create a setter for this method to be > recognized as a bean or something? I looked at the JavaBeans specification and found sections 7.1 and 8.3.1, both of which refer to looki

RE: URGENT:static methods in JSPs

2003-11-19 Thread Gupta, Anubhav
The getter method that will be called will be getCountryCode in you bean. But the jsp page is not able to recognize the bean collection. But you have to have something like: request.setAttribute("countyListing",countrylist) in your form and action classes. Also, countrylist is probably an arraylis

[OT] Installer for java projects

2003-11-19 Thread Carlos Sanchez
Can anyone tell me about a good installer for java projects (better if it's free) Don't mind if it's only for windows - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

URGENT:static methods in JSPs

2003-11-19 Thread mohan
Hi i have a static method in one of my bean classes as public static List getCountriesListing() , and i am trying to call this collection in my options tag as But the JSP page gives an error saying : Cannot find bean under name countriesListing.countriesListing Do i also need to create a setter

Re: Struts and CMS

2003-11-19 Thread Ted Husted
I've heard that Vignette uses Struts. Eric Dahnke wrote: Does anyone know of a CMS system either commercial or OSS that works w/ Struts? Anyone have any objective comments they'd like to share about good experiences they've had with CMS systems out there. Thx -- Ted Husted, Junit in Action -

RE: Validator with integer

2003-11-19 Thread Yansheng Lin
Can you turn off 'request a receipt' when you post to a public newsgroup next time? Thanks. To answer your question: Validator does not work with primitive type in older versions, if I remember correctly. I think they fixed it in the newer version, but not sure. -Original Message- From:

tag not rendering proper action URL

2003-11-19 Thread Cédric Veilleux
Hi, I am using struts 1.1 on tomcat 5.0.14 and have problem with the FormTag from struts-html tag lib. My jsp contains the line: [snip] And I have the following action-mapping defined: The HTML that the the JSP renders is: A

Re: Validator's great!

2003-11-19 Thread Vic Cekvenich
I just wanted to say Validator is great! And like Matt said, not in action/ actions should be "stupid", in formbean, ie: errors=bean.validate(); (which then also makes .js validation work) .V Kruse, Matt wrote: Using either customized Java code or regular expressions, a developer can ensure tha

Re: OT: Good UI editor to use with Struts?

2003-11-19 Thread Vic Cekvenich
I use Eclipse, with Colorer plug in for JSP; and Sydeo plug in for JSP debuging. .V Davidson, Glenn wrote: Which UI editor would you recommend someone use when developing web applications based upon the struts framework? I am using eclipse as my IDE. Thanks -- ---

RE: Good UI editor to use with Struts?

2003-11-19 Thread Syed, Nazeer
I like WASD 5.1 Thanks Nazeer -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:00 PM To: 'Struts Users Mailing List' Subject: OT: Good UI editor to use with Struts? Which UI editor would you recommend someone use when developing we

RE: Good UI editor to use with Struts?

2003-11-19 Thread Dalmia, Swati
I used Forte for Struts UI. good one!! -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 2:00 PM To: 'Struts Users Mailing List' Subject: OT: Good UI editor to use with Struts? Which UI editor would you recommend someone use when devel

OT: Good UI editor to use with Struts?

2003-11-19 Thread Davidson, Glenn
Which UI editor would you recommend someone use when developing web applications based upon the struts framework? I am using eclipse as my IDE. Thanks

RE: Validator's sucks ??

2003-11-19 Thread Kruse, Matt
> Using either customized Java code or regular expressions, a > developer can ensure that any incoming form data is legal and valid. > This is a tremendous help to any developer as it prevents bad > data from being processed by their Action and, many times, > causing the user to see annoying 500

RE: IDE

2003-11-19 Thread Ramadoss Chinnakuzhandai
There is something you cant buy(?)for everything there is an eclipse -ram -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 10:13 AM To: Struts Users Mailing List Subject: RE: IDE Sergio, If you're looking for an IDE with good Struts su

RE: How to identify submit button in JSP

2003-11-19 Thread Yann Lebreton
You need to trace your javascript: make sure it runs, make sure it gets the data... FYI if you have 2 forms with the same name or in your form 2 fields named ids (or modify) this script won't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, Nov

RE: Passing objects from JSP to Action (in request scope)

2003-11-19 Thread Adolfo Miguelez
Hi Jose Manuel, From: "Castañeda Santana, Jose Manuel" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Passing objects from JSP to Action (in request scope) Date: Wed, 19 Nov 2003 20:59:28 +0100 > > > Thanks

logic:iterate

2003-11-19 Thread Mister Spunkaa
Hi, just a question about i just want get some html like this (A Table of customers) Smith Jones Gates McBarth and so on, with this code: but what i get is: smith smith jones jones gates gates McBarth McBarth anyone an idea? thanks a lot greetings mike ___

RE: Passing objects from JSP to Action (in request scope)

2003-11-19 Thread "Castañeda Santana, Jose Manuel"
> > > Thanks, Adolfo! > But I'm a newbie: how could I set sevletContext in a JSP? > If I'd want to set the object to pass in the session scope I'd > write: > > <% > Vector vect = new Vector(); //for example > session.setAttribute("v

RE: How to identify submit button in JSP

2003-11-19 Thread [EMAIL PROTECTED]
Well, I have a couple of other forms with the same form name 'idForm' but diffrent action, does that cause the problem? How should I handle that? I checked the form name in html output, it is right. I didn't get any javascript error. Thanks. --- Yann Lebreton <[EMAIL PROTECTED]> wrote: > Do yo

RE: IDE

2003-11-19 Thread Shane Mingins
> -Original Message- > From: Larry Meadors [mailto:[EMAIL PROTECTED] > Sent: Thursday, 20 November 2003 3:44 a.m. > To: [EMAIL PROTECTED] > Subject: RE: IDE > For what I need to do today, eclipse is the one that sucks the *least*, > but make no mistake: it still sucks. Nice fast java editi

Passing objects from jsp to action

2003-11-19 Thread "Castañeda Santana, Jose Manuel"
Is it possible to pass an object (i.e., a Vector) to an Action (as shown in figure, from JSP1 to action1) in request scope? JSP1(object mounted here) (request)--> Action1 --> JSP2 The object should be an actionForm field (but if this is not possible any other way

RE: problem with html:text bean throwing exception

2003-11-19 Thread Yee, Richard K,,DMDCWEST
Gus, Actually, I found it with "Cannot find bean org.apache.struts.taglib.html.BEAN in any scope" on google. at this link: http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html I found that the page has a lot of solutions to common error messages in struts. -R -Original Messag

RE: How to identify submit button in JSP

2003-11-19 Thread Yann Lebreton
Do you have other forms in the page? In the html output did you check the form name? Do you get a javascript error ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 9:41 AM To: Struts Users Mailing List Subject: RE: How to identify

Re: Passing objects from JSP to Action (in request scope)

2003-11-19 Thread Adolfo Miguelez
Hi Jose Manuel, From: "Castañeda Santana, Jose Manuel" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Passing objects from JSP to Action (in request scope) Date: Wed, 19 Nov 2003 18:58:08 +0100 I would be really

Validator with integer

2003-11-19 Thread Sharmila Pandith
Hi, My Validator does not seem to work with integer. Here is my form: public class ContentReleaseForm extends ValidatorForm { private int contentReleaseID = -1; private String contentReleaseName; private String month; private String day; private S

html:text conversion

2003-11-19 Thread Giovani Salvador
Hi all, i am using the html:text tag to read the attributes of my Value Object by specifying the "name" attribute of the html tag with the name of the object put in request. But one of my attributes of this object has complex data like java.util.Calendar. How can i do some conversion (for examp

Re: Localized message to alt-tag

2003-11-19 Thread James Mitchell
On Wed, 19 Nov 2003, Manuel Lenz wrote: > > > > > Hi to all, > how can I get a localized message from a ressource bundle which ist placed > into the alt-tag of an html-field? > The struts-tag to get a ressource-bundle message is not defined for > alt-tag. > Example: > />"/> Did you try using the

Re: problem with html:text bean throwing exception

2003-11-19 Thread Gus Heck
Yee, Richard K,,DMDCWEST wrote: Gus, I'm not sure what you changed on your JSP to get it fixed. I changed to This put my html:text tags inside the form. Apparently neither Netbeans nor Tomcat seemed to have any objection to the dangling tag that my inadvertent / had created. Really it

Re: Struts - 24 x 7 Compatible

2003-11-19 Thread Vic Cekvenich
> Puneet Agarwal wrote: > >> Hi all, >> Would it be possible and desired to make struts based applications be >> available on 24x 7 basis. >> What I mean is for a struts based application deployed in production >> environment, the possible downtimes are two >> 1. Dependency down - like Database b

RE: How to identify submit button in JSP

2003-11-19 Thread [EMAIL PROTECTED]
That's what I did. But the 'modify' button didn't react at all. --- Yann Lebreton <[EMAIL PROTECTED]> wrote: > Try: > function Disable() { > frm=document.forms['form1'] > if(frm.ids.checked) > {frm.modify.disabled=false} > else {frm.mod

Struts and CMS

2003-11-19 Thread Eric Dahnke
Does anyone know of a CMS system either commercial or OSS that works w/ Struts? Anyone have any objective comments they'd like to share about good experiences they've had with CMS systems out there. Thx - To unsubscribe, e-

Passing objects from JSP to Action (in request scope)

2003-11-19 Thread "Castañeda Santana, Jose Manuel"
I would be really happy if anyone answer: Is it possible to pass an object (i.e. a vector) as an actionForm field or in any other way from a JSP to an Action, if the POST is done in request scope? I would like to do it in the JSP2 of the figure: JSP1--

Re: Preserving original request until after login redirect

2003-11-19 Thread Max Cooper
That one is pretty simple: - Use a GET request so the programId is part of the URL. - Store the whole URL, including the query string. - Redirect back to the URL (including query string) after the login. The more difficult case is POSTed parameters that don't show up on the query string. All redi

RE: problem with html:text bean throwing exception

2003-11-19 Thread Yee, Richard K,,DMDCWEST
Gus, I'm not sure what you changed on your JSP to get it fixed. I found the solution on Google using 'org.apache.jasper.JasperException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope' I can't think of a use case of using a form with no content. You can, of course, have an actio

RE: Email Validation Rules

2003-11-19 Thread Ramadoss Chinnakuzhandai
Tnx Richard...let me try and come back to you... :) -Ram -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 12:32 PM To: 'Struts Users Mailing List' Subject: RE: Email Validation Rules Ramadoss, Your regexp can't handle an emai

RE: Email Validation Rules

2003-11-19 Thread Yee, Richard K,,DMDCWEST
Ramadoss, Your regexp can't handle an email address that has the domain specified as an IP address. Try this one instead: /^(([^<>()[\]\\.,;:[EMAIL PROTECTED]"]+(\.[^<>()[\]\\.,;:[EMAIL PROTECTED]"]+)*)|(\".+\"))@((\[[0-9]{1 ,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{

Preserving original request until after login redirect

2003-11-19 Thread Lukas Österreicher
Hello I have recently posted a problem I had and then was told to look at "Redirecting after Logon". As far as I have seen (I think I do not have all posts though) this is not a solution for me as it uses predefined structures already hardwired into struts. My Problem is the following: I have us

Re: Form being submitted twice in Websphere App Server 4.0

2003-11-19 Thread Susan Bradeen
Have you checked the archives? I remember some comments a while ago about forms submitting twice with IE 6. On 11/19/2003 12:07:38 PM "Larry Meadors" wrote: > >>> [EMAIL PROTECTED] 11/19/03 10:02 AM >>> > > Anything to do with Struts ? > > > > Sure doesn't sound like it... > > > > > In IE 5, thi

Re: problem with html:text bean throwing exception

2003-11-19 Thread Gus Heck
Thanks, I found it... I had inadvertently typed: However all the archive and google hits talked about issues in the struts-config. I really really wish that struts had a better way of indicating this error. Is there any valid use-case for a form with no content at all? perhaps this could be

Re: Form being submitted twice in Websphere App Server 4.0

2003-11-19 Thread Larry Meadors
>>> [EMAIL PROTECTED] 11/19/03 10:02 AM >>> > Anything to do with Struts ? > Sure doesn't sound like it... > > In IE 5, this does not happen and we are able to see 6 pages if > we have 30 records and 5 recrods per page. > > In IE 6, we are sometimes able to view 4 pages (24 records) > and so

Re: Improvements on an old Struts app

2003-11-19 Thread Vic Cekvenich
You know in Struts you could submit on entering a field to get your options, but you did not do that I assume for good reasons. Let me try this as a stab: Please read this: http://jibbering.com/2002/4/httprequest.html section on "Calling a server-side Script without refreshing the page" Then onc

RE: How to identify submit button in JSP

2003-11-19 Thread Yann Lebreton
Try: function Disable() { frm=document.forms['form1'] if(frm.ids.checked) {frm.modify.disabled=false} else {frm.modify.disabled=true} } Or simpler: function Disable() { frm=document.form1;

RE: JSTL & DynaValidatorForm

2003-11-19 Thread Yann Lebreton
My out tag provides different encryption such as XML/HTML/JavaScript for example. Thanks, the form.max.field trick works great. I wish I knew why ${form.field} works with c:out and not mine though. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, Novembe

Form being submitted twice in Websphere App Server 4.0

2003-11-19 Thread Chawla, Yogesh
Hi, We are using Struts 1.0 and we have previous/next buttons on each page for scrolling to next records. Now in I.E.6, we are facing a problem (which we believe is that the form is being submitted twice ) and we are thereby jumping the pages. Anything to do with Struts ? In IE 5, this does not

Re: Map Backed Action Form

2003-11-19 Thread Rick Reumann
Agashivala, Vishal wrote: Hi Can anyone help me to implement MAP BACKED ACTION FORM??? In this forum, I see 100 of mails but wht I am try to get help on is not there..And NO ONE IS HERE TO HELP ME OUT?? AM I ASKING SOME irrelevant info here?? If so atleast write to me so that i can think of other

Re: problem with html:text bean throwing exception

2003-11-19 Thread Daniel A. Torrey
> If this is what's inside your tag, and the ActionForm used in the tag is an org.cs101.fdb.struts.form.AddLocationForm, does AddLocationForm have getCity() and setCity() methods? > is a really unclear error message. I don't get why it can't report what Yup. I think that a lot of Struts erro

RE: problem with html:text bean throwing exception

2003-11-19 Thread Yee, Richard K,,DMDCWEST
Gus, Why don't you include your jsp code and struts config? Usually it is caused by having a struts form subelement tag outside of the struts form tag. You've said that it's not the case. Are you specifying an 'input' attribute in your action mapping? How are you accessing the page from the browser

Improvements on an old Struts app

2003-11-19 Thread Wendy Smoak
I gather that this is frowned upon: However, when I wrote the app, I couldn't find a way around it. The flow is that you type a name in field 1 on form A, you get a list of possible matches, and you pick one and return to form A which inserts that name in field 1. The complication is t

Re: problem with html:text bean throwing exception

2003-11-19 Thread Gus Heck
Anyone else got ideas about why I am getting this exception? org.apache.jasper.JasperException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope It appears that I answered Carl's concern. I'm now on day number 2 of being completely stuck :(. I would like to officially complain t

How to identify submit button in JSP

2003-11-19 Thread [EMAIL PROTECTED]
Hi, I am new to struts, now I have trouble figuring this out. I do need to have this done, please help! My problem is the submit button didn't react to changes on checkbox, is that because I didn't identify the button correctly or anything else I did wrong? My jsp code is like the following: (if

RE: Using Tiles Definitions In Standard Links?

2003-11-19 Thread Philip Mark Donaghy
A link can be made to this jsp : <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> Tiles are processed and the page returned corresponds the tile defined by the attribute definition. This is the way the web app tiles-documentation does it. Phil = J

Antwort: using select with country codes

2003-11-19 Thread Manuel Lenz
Hi Mohan, first you have to select your country codes from database. You can put these values for example into a vector-object. >From this object you can create a scroll down menu where the user selects his country. Example: The name of this vector is: vorschlagForm.getV_ekg().

RE: using select with country codes

2003-11-19 Thread Gupta, Anubhav
You have to have getter /setter methods for country_code and country_name. You can retrieve all the countries from the county_listing and store them in a collection countrylist. Then your label property will be country_name but the value you get will be country_code. Then you can insert codes in a

using select with country codes

2003-11-19 Thread mohan
Hi guys I have a db table called "country_listing" which contains "contry_codes","country_name". I also have an "address" table which holds the country_code. I need to implement a select which shows these "country_names" in the select box and the when the user choses a country the "country_code" ha

Localized message to alt-tag

2003-11-19 Thread Manuel Lenz
Hi to all, how can I get a localized message from a ressource bundle which ist placed into the alt-tag of an html-field? The struts-tag to get a ressource-bundle message is not defined for alt-tag. Example: "/> Greetings, Manuel ---

RE: IDE

2003-11-19 Thread Hubert Rabago
Sergio, If you're looking for an IDE with good Struts support, I'd suggest you look at WSAD. It's based on Eclipse. It's got decent knowledge of what struts is and what your config.xml is supposed to have in it. However, I'm pretty convinced it's also one of those IDEs that give IDEs a bad name

Re: preload validation problem

2003-11-19 Thread Rick Reumann
Nathan Maves wrote: I have an action that loads a collection into the request so that the for can get pre-loaded. The created form need to be validated. When the validator runs the request is sent back to the original form. Problem is that the data need to pre-load the form is gone from the

RE: IDE

2003-11-19 Thread Larry Meadors
Just bear in mind that all IDEs suck and that you will not find one that meets all of your needs. For what I need to do today, eclipse is the one that sucks the *least*, but make no mistake: it still sucks. Nice fast java editing. XML and jsp editors totally suck though. Netbeans is good if yo

RE: anyone using jstl side by side with the strut taglibs?

2003-11-19 Thread Manjunath Bhat
I am quoting following from O'Reilly Programming Jakarta Struts By Chuck Cavaness for your info.. The Struts Bean and Logic tag libraries may eventually be phased out in favor of the JSTL tags. In the next few versions of the Struts framework, look for changes in these two libraries to help ease

RE: Struts Validation

2003-11-19 Thread Ramadoss Chinnakuzhandai
Hi Luci, As you mentioned in your expression there a in-build function called "email" which will make use of "org.apache.commons.validator.GenericValidator.isEmail(String arg)" but the problem here is it does accepts even invalid email address also (eg) [EMAIL PROTECTED] would rather

Re: IDE

2003-11-19 Thread Firat TIRYAKI
I think Struts Studio will satisfy your needs for beginning. F. - Original Message - From: "Manjunath Bhat" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 4:27 PM Subject: RE: IDE Eclipse + Lamboz + Easy Struts are good combin

Re: IDE

2003-11-19 Thread Duncan Mills
Sergio have you checked out the 10g release of JDeveloper? http://otn.oracle.com/products/jdev/index.html There is a visual pageflow modeler for Struts as well as a lot of other new features Regards Duncan Mills - Original Message - From: Gonzalez Comesaña ; Sergio Eduardo To: Struts Us

RE: IDE

2003-11-19 Thread Manjunath Bhat
Eclipse + Lamboz + Easy Struts are good combination I would suggest you. MB -Original Message- From: Gonzalez Comesaña, Sergio Eduardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:01 PM To: Struts Users Mailing List Subject: IDE Hello, Someone knows a good editor f

RE: Tokens

2003-11-19 Thread Ramadoss Chinnakuzhandai
Hi Gurpreet, If what I understand is correct from your question, you can use split function the same way as you use String Token...following is sample snap shot String str = "botherouioero:and:foroffo:mar:ssod:slave"; String[] arr = str.split(":", 9); System.out.

RE: Using a collection of Beans within an ActionForm [Solved]

2003-11-19 Thread Webb, Ed
Thanks very much, that was just the nudge in the right direction. I found the http://jakarta.apache.org/struts/faqs/indexedprops.html page very helpful. As I am using EL and the JSTL tags I found that creating a method: public List getMedia(int index) { ... } as that page suggested ("List-backed

Re: IDE

2003-11-19 Thread Nick Heudecker
> > Of course, as everyone knows, *REAL* programmers use vi (which is way better > than emacs)... ;-> > Sorry, but I had to respond to this. :) Emacs has an excellent Java development environment called JDE: (http://jdee.sunsite.dk). It also has context-sensitive completion, templates, IRC cli

RE: Email Validation Rules

2003-11-19 Thread Ramadoss Chinnakuzhandai
Tnx Manjunath, I'll try your exp btw I got it solved,the expression which I tested & found working was as below ^[A-Z0-9a-z_]+(.)[EMAIL PROTECTED](.)?[A-Za-z]{2,4}$ hope whoever need this can use the same for validate email -Ram -Original Message- From: Manjunath Bha

Re: chained actions

2003-11-19 Thread Adam Hardy
On 11/19/2003 12:13 PM Caroline Lauferon wrote: Wahouh! thanks a lot for your great explanation! thanks to all those who have also helped me: Adam Hardy and Nicolas De Loof ;-) and thanks Andrew from me too - I never knew that. Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9 -

Re: ProcessAction and RESULT attribute

2003-11-19 Thread Caoilte O'Connor
no no no. by RESULT i think it must mean the processResult object. what happens is :- ProcessAction will try a getName() on your ProcessResult object and to and set an attribute in the request (or session if you specify) with that name. if getName() returns null it will try and use the attribu

Re: Turn off javascript validation generation

2003-11-19 Thread Caoilte O'Connor
yes, check the site docs, but basically submit as you would when you don't want validation. also you could do this,

Re: torque 3.0 vs. torque 3.1

2003-11-19 Thread Dominique Kraus-Ahma
Thanx for all answers. Dominique "Mark Lowe" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > The 3.1 distribution of torque is divided into generator and runtime. > > Other than that works just like 3.0. > > On 16 Nov 2003, at 13:41, Caoilte O'Connor wrote: > > > some bugfixes

Struts Validation

2003-11-19 Thread Luciano Campi
Hi all, I need to validate a e-mail CC form field like a [EMAIL PROTECTED] , [EMAIL PROTECTED] I would you like to known how to create a new Validator class that validate multiples e-mail address(like a CC and BCC address) and uses org.apache.commons.validator.EmailValidator to validate a si

Re: Using a collection of Beans within an ActionForm

2003-11-19 Thread Nicholas L Mohler
Ed, You can find examples of this by searching the archive for indexed properties. You are getting this exception because the Form collection does not have enough entries to support the property that you are trying to populate. You need to insure that the getter that returns a single bean i

RE: Map Backed Action Form

2003-11-19 Thread Paul McCulloch
Start here: http://www.catb.org/~esr/faqs/smart-questions.html Paul -Original Message- From: Agashivala, Vishal [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 12:17 To: Struts Users Mailing List Subject: RE: Map Backed Action Form Hi Can anyone help me to implement MAP BACKED ACTION

Using a collection of Beans within an ActionForm

2003-11-19 Thread Webb, Ed
I need to display several lists of choice to the user. These lists are variable in length depending on the user. I use an ActionForm which contain Lists. I populate these with objects that contain String and boolean properties (name of option and selected flag). I add this to the request scope unde

RE: Map Backed Action Form

2003-11-19 Thread Agashivala, Vishal
Hi Can anyone help me to implement MAP BACKED ACTION FORM??? In this forum, I see 100 of mails but wht I am try to get help on is not there..And NO ONE IS HERE TO HELP ME OUT?? AM I ASKING SOME irrelevant info here?? If so atleast write to me so that i can think of other way to work around..Atlest

  1   2   >