i18n implementation

2002-12-05 Thread Eric Tse
Dear all, I am designing the framework of an enterprise application which serves 3 large groups of user. And of each group has 3 GUI language selections. I am now trying to generalize the functions so as to reuse most of the codes and deploy as a single application with different

Re: Oreilly Banking example - Login

2002-12-05 Thread Chuck Cavaness
Eric, The messages you see are the result of validation errors and exceptions being thrown by the security service. In the banking example, the LoginForm performs the validation to ensure that both fields have been populated by the user. If not, the application doesn't even bother attempting

RE: Problem using Servlet 2.3 DTD with Struts

2002-12-05 Thread Weber Timo
Hi, there seems to be a problem with Xerces. Have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 hth, Timo -Original Message- From: Mark Woon [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 3:15 PM To: [EMAIL PROTECTED] Subject: Problem

error when using FormFile.

2002-12-05 Thread Vipul Sanghi
I am using a file to upload. The file has a one required field. and a file atachment. If I get an error on the required field The form field does not reset to file name before the submit. Is there any solution to this problem. Vipul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Fwd: Re: Populating multiple forms from one action class

2002-12-05 Thread Curtney Jacobs
Sorry, this is for everyone too. _CJ -- Forwarded Message -- Subject: Re: Populating multiple forms from one action class Date: Wed, 4 Dec 2002 23:42:14 + From: Curtney Jacobs [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Greetings Craig!! just to verify.

Re: problem using html:form in different struts-modules

2002-12-05 Thread Jan Zimmek
Hi, my action ShowAccount.do simply forwards to a tiles-def which include my LoginPanel-tile as footer. This seems to me like a bug, because even a simple struts-application without tiles and other possible sources of error, throws the same exception. Could anyone please check if it is really

Access/manage local file system

2002-12-05 Thread Heligon Sandra
Sorry, To post a similar message to my first mail but I have to give a response this week, and I don't have any solution to my problem. I would like to know if it possible through a web browser to access/manage local file systems (create a file, display

RE: why no styleId for html-el:image?

2002-12-05 Thread Deepika Malik
Please tell me how will i disable a textbox html:text property=accountNo size=10 maxlength=16/ without a name on click of radio button. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Multiple forms

2002-12-05 Thread Senthivel U S
Greetings, I have the form with multiple rows. Rows are populated from database. Each row is displayed as a separate form using the tags logic:iterate name=myobject id=myid indexId=inx scope=request form in the form tag I have the button for each row

Re: why no styleId for html-el:image?

2002-12-05 Thread Gemes Tibor
2002. május 22. 23:33 dátummal Deepika Malik ezt írtad: Please tell me how will i disable a textbox html:text property=accountNo size=10 maxlength=16/ without a name on click of radio button. It will have the name of the assigned property. But if you had look into the generated html you

Re: problem using html:form in different struts-modules

2002-12-05 Thread Gemes Tibor
2002. december 5. 09:47 dátummal Jan Zimmek ezt írtad: Hi, my action ShowAccount.do simply forwards to a tiles-def which include my LoginPanel-tile as footer. This seems to me like a bug, because even a simple struts-application without tiles and other possible sources of error, throws the

Re: Access/manage local file system

2002-12-05 Thread Mark
By 'local' do you mean the client's machine? If so any restictions are the bane of the webbrowser, personally i hope my browser wouldn't permit such action. Can't you mess with stuff on the server and then offer a download of the results? The actual controling of files on the client machine

Re: Struts 1.1 with tiles

2002-12-05 Thread Cedric Dumoulin
Hi, With struts 1.1 you need to use the TilesPlugin. Declare it in the struts-config file, after /action-mappings: The syntax for the latest nightly build is: plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config

Reset doesn't work when the page contains a validation error ?

2002-12-05 Thread Frank Renaers
Hi, I am testing the struts-example application. Can someone explain me why the reset-button doesn't work when the page contains a validation-error ? scenario 1) Try to login with a wrong username and/or password. 2) The login page is returned with the message : Validation Error :

Re: Reset doesn't work when the page contains a validation error ?

2002-12-05 Thread Gemes Tibor
2002. december 5. 11:25 dátummal Frank Renaers ezt írtad: Hi, I am testing the struts-example application. Can someone explain me why the reset-button doesn't work when the page contains a validation-error ? scenario 1) Try to login with a wrong username and/or password. 2)

database connection - INGRES

2002-12-05 Thread david . heagney
Hi, I'm extrememly new to STRUTS and have juts built my first application. Would anyone be able to advise me on the best way to make my connection to my INGRES database? Sample code would be appreciated. Thanks, David This message is for the designated recipient only and may contain

RE: AW: Workflow Extention

2002-12-05 Thread Jordan Thomas
Hi Matthias OK, I have modified my workflow as I have seen the obvious errors in what I was trying to do. Now I have the problem that my second action (see code below) does not allow me to enter that step. The message that I am getting is Previous state does not match any allowed previous state!.

RE: if condition with or

2002-12-05 Thread Jon.Ridgway
Hi Jana, You might want to look at struts-el (JSTL expression language extension for struts). To implement with logic:eqal I think you would have to have three separate logic:equal blocks each containing the same jsp code, perhaps included. Jon Ridgway -Original Message- From: Jana

[newbie]html:form does not generates proper html

2002-12-05 Thread Nandkumar Jawale
Hi, I am new to struts. Currently I am using struts 1.0.2. I am showing some settings for which I have a settings form to store the values and two actions. One to edit and one to save. My JSP contains: html:form action=/save.action ... /html:form I find the html does not contain the action that

Re: if condition with or

2002-12-05 Thread Mark
Can't you make a collection, iterate though the 'or' (||) values Do something once and then breakout? Like a switch statement Umm not something i've tried i'll get back to you after i've run some tests. Cheers mark On 5-12-2002 12:13, Jon.Ridgway [EMAIL PROTECTED] wrote: Hi Jana, You

Re: [newbie]html:form does not generates proper html

2002-12-05 Thread Mark
Your form action should be firing up your action defined in your struts-config.xml. I think stuts-config.xml is what you have to look at.. Cheers mark On 5-12-2002 12:23, Nandkumar Jawale [EMAIL PROTECTED] wrote: Hi, I am new to struts. Currently I am using struts 1.0.2. I am showing some

[dynamic text fields] : Problem

2002-12-05 Thread Ahmed ALAMI
Hello everyone, I'm developing an application that executes this scenario, The first page contains a text field with a botton where the user defines the number of users he wants to add to a fonctionnality. This number x creates x lines with two text fields a et b. My question is first, how can

Re: Problem using Servlet 2.3 DTD with Struts

2002-12-05 Thread Mark Woon
Weber Timo wrote: Hi, there seems to be a problem with Xerces. Have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 Thanks! That did the trick! -Mark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [dynamic text fields] : Problem

2002-12-05 Thread Andrew Hill
Havent tried it myself but it sounds like you could make use of the stuff in the nested extension (which I think is actually part of the core now?). Check out the following link for more info: http://www.keyboardmonkey.com/next/index.jsp -Original Message- From: Ahmed ALAMI [mailto:[EMAIL

Re: [dynamic text fields] : Problem

2002-12-05 Thread Mark
I had the same problem yesterday.. It was more of a cognitive issue than a technical one, thank to micael for his confirmation of this... You can't generate a struts form as such (with html:text etc..) You generate a form as you would with java/jsp and then still have it mapped in you

Re: [newbie]html:form does not generates proper html

2002-12-05 Thread Nandkumar Jawale
Hi, Here are contents of my structs-config.xml: form-bean name=settingsForm type=ahf.model.SettingsForm/ .. .. action path =/edit type =EditAction name =settingsForm input=/settings.jsp validate =false /action action path

RE: [newbie]html:form does not generates proper html

2002-12-05 Thread Beeson, Ashley
your action= paths should be specified WITHOUT the .action, this is added automatically by struts when the JSP is compiled. Your actions should be working with your forms pointing to /save, just remember that it is case sensitive.. -Original Message- From: Nandkumar Jawale [mailto:[EMAIL

Java Server Faces stage?

2002-12-05 Thread Adolfo Miguelez
Hi All, last days I have seen, the availability of the new technology Java Server Faces. It seems a really promissing technology. I have discovered recently that there is already a reference implementation available apart from the specs. I would like to know if if is currently possible to

Re: Java Server Faces stage?

2002-12-05 Thread vellosa
Check this out: http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg08457.html from:Adolfo Miguelez [EMAIL PROTECTED] date:Thu, 05 Dec 2002 12:13:00 to: [EMAIL PROTECTED] subject: Re: Java Server Faces stage? Hi All, last days I have seen, the availability of

Chaining forms in tiles.

2002-12-05 Thread ROSSEL Olivier
I have a tile, with the login form at the upper right part of the tile. My login form is made of 2 JSP: username.jsp and password.jsp. My tile is managed by Main.jsp. My mappings are: action path=/Username type=net.lolive.action.SuccessAction name=LoginForm2

RE: Java Server Faces stage?

2002-12-05 Thread Andrew Hill
Been having a bit of a read of the draft specs the last few days. Its very exciting. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 20:17 To: [EMAIL PROTECTED] Subject: Re: Java Server Faces stage? Check this out:

reset method calls

2002-12-05 Thread meissa . Sakho
Hi all, Can someone explains me when(and why if possible) the reset method of Action forms is called. Is it possible that the reset method is called even when there is no explicit call to it ? thanks in advance Meissa -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

img store/retrieve

2002-12-05 Thread Gemes Tibor
I think this is a bit OT on this list. I have to store uploaded images into the RDBMS, and then later retrieve them on request. This is a simple CRUD page, but the entity has an image property. I retrieve the View Object from the RDBMS and populate the ActionForm from it. I think that the

Re: reset method calls

2002-12-05 Thread Gemes Tibor
2002. december 5. 13:22 dátummal [EMAIL PROTECTED] ezt írtad: Can someone explains me when(and why if possible) the reset method of Action forms is called. On every reuse of the ActionForm. Because it is necessary for the fields to be resetted to a proper state. Think of checkboxes, password

RE: if condition with or

2002-12-05 Thread edgar
When the logic is this complex, shouldn't it be in Java or is that putting too much pressure on the server side? -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 6:33 AM To: 'Struts Users Mailing List' Subject: Re: if condition with or Can't

RE: Java Server Faces stage?

2002-12-05 Thread edgar
I am sure Craig will chime in on this but there still seems a lot that could / will change. If you build a system be aware that there will be changes. Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 7:17 AM To: '[EMAIL

RE: if condition with or

2002-12-05 Thread Andrew Hill
Where do you think tags get run? -Original Message- From: edgar [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 21:17 To: 'Struts Users Mailing List' Subject: RE: if condition with or When the logic is this complex, shouldn't it be in Java or is that putting too much

RE: if condition with or

2002-12-05 Thread edgar
I meant the java programmers, not the server machine. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 8:16 AM To: 'Struts Users Mailing List' Subject: RE: if condition with or Where do you think tags get run? -Original Message-

Formbeans, saving multiple values

2002-12-05 Thread colin campbell
Hi, I am displaying a jsp correctly which has all a users details plus the dreaded checkbox. This is achieved using iterate. This works well A checkbox plus user details is displayed for each bean from my listarray. However, I do not understand what get/set methods I have to write to store the

RE: if condition with or

2002-12-05 Thread Andrew Hill
Ah, you mean where you have an html guy doing the JSPs, and someone else doing the actions and custom tags? Fair enough. Mind you, Id have thought complex logic would be beyond the skills of your average html guy? ;- -Original Message- From: edgar [mailto:[EMAIL PROTECTED]] Sent:

RE: reset method calls

2002-12-05 Thread ROSSEL Olivier
Can someone explains me when(and why if possible) the reset method of Action forms is called. On every reuse of the ActionForm. Because it is necessary for ^ What are you calling a reuse? Suppose I have something like: a Form is session i fill one field with a

RE: abstract class

2002-12-05 Thread Mohan Radhakrishnan
Hi, I looked at the archives and found abstract base actions. 1. I have two actions, the base handling the basic flow and the sub-action handling the alternate flow. ( Apart from these two I have a common base action which all actions extend containing login checks etc. ) Now I wanted

Re: abstract class

2002-12-05 Thread V. Cekvenich
From basicPortal, using disptaching (it also uses event object to encsulate response,request, forward, formbean, etc.): protected Object dispatchEvents(ActionEvent ae) { String parm = ae.getReq().getParameter(DISPATCH_KEY); if (parm == null) parm = Default;

Re: reset method calls

2002-12-05 Thread Gemes Tibor
2002. december 5. 14:34 dtummal ROSSEL Olivier ezt rtad: Suppose I have something like: a Form is session i fill one field with a JSP+action that action redirects to an action that action forwards to a JSP (a tile) that tile calls several actions on of those forwards to another action that

RE: Chaining forms in tiles.

2002-12-05 Thread ROSSEL Olivier
I have a tile, with the login form at the upper right part of the tile. My login form is made of 2 JSP: username.jsp and password.jsp. My tile is managed by Main.jsp. My mappings are: action path=/Username type=net.lolive.action.SuccessAction name=LoginForm2

RE: reset method calls

2002-12-05 Thread ROSSEL Olivier
Suppose I have something like: a Form is session i fill one field with a JSP+action that action redirects to an action that action forwards to a JSP (a tile) that tile calls several actions on of those forwards to another action that action wants to fill another field I guess

collections in forms

2002-12-05 Thread Drew Zimber
hey all... i've used struts quite a bit now, but im not too well versed with manipulating collections in form objects. I had thought there was a way to set up your forms/pages so that if you display a collection on screen and submit back, the form in the least retains the collection in the

Datasources and Connection

2002-12-05 Thread Dinesh
Hi, I am using Tomcat for Struts and MS SQL Driver SQL Server 2000. Can any one tell me how to configure the Datasources and then to get a connection from that datasource. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: reset method calls

2002-12-05 Thread Gemes Tibor
2002. december 5. 14:48 dtummal ROSSEL Olivier ezt rtad: At the moment, I use DynaActionsForms. I override them and make an empty reset() method. Nasty, I admit. That's why I would like very much to know how to handle reset() both with Dyna and non-Dyna actionForms. What you say sounds

jsp:include with variables in struts

2002-12-05 Thread michael . j . coyle
Hi, I wish to include a number of jsps within my main jsp. The list of include files is retrieved from the database and stored in the ActionForm. I can then have a piece of jsp code as follows: logic:iterate id=section name=screenForm property=sectionList jsp:include page=bean:write

Re: jsp:include with variables in struts

2002-12-05 Thread Gemes Tibor
2002. december 5. 15:11 dátummal [EMAIL PROTECTED] ezt írtad: Hi, I wish to include a number of jsps within my main jsp. The list of include files is retrieved from the database and stored in the ActionForm. I can then have a piece of jsp code as follows: logic:iterate id=section

Re: AW: Workflow Extention

2002-12-05 Thread Matthias Bauer
Jordan, the configuration looks ok to me. Can you please send me the complete log messages. They should look somehow like these (I took them from the example application): 2002-12-05 15:27:52 action: Processing a GET for /beginWf1Transition 2002-12-05 15:27:52 action: Looking for Action

java Beautiful

2002-12-05 Thread BARADAT Benoit
Hello I'm looking for a tool to have a beautiful java (ident,if,else, case,etc ...) (like cb on Unix Platform) Thank in Advance -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: java Beautiful

2002-12-05 Thread Stephen . Thompson
Eclipse + Jalopy. Regards, Stephen. -Original Message- From: BARADAT Benoit [mailto:[EMAIL PROTECTED]] Sent: 05 December 2002 14:34 To: Struts Users Mailing List Subject: java Beautiful Hello I'm looking for a tool to have a beautiful java (ident,if,else, case,etc ...) (like

RE: java Beautiful

2002-12-05 Thread Ahmed ALAMI
Check eclipse for developping with java, it's full of beautiful things. -Message d'origine- De : BARADAT Benoit [mailto:[EMAIL PROTECTED]] Envoyé : Thursday, December 05, 2002 3:34 PM À : Struts Users Mailing List Objet : java Beautiful Hello I'm looking for a tool to have a beautiful

RE: java Beautiful

2002-12-05 Thread Darren Hill
JxBeauty is my fav! -Original Message- From: BARADAT Benoit [mailto:[EMAIL PROTECTED]] Sent: December 5, 2002 9:34 AM To: Struts Users Mailing List Subject: java Beautiful Hello I'm looking for a tool to have a beautiful java (ident,if,else, case,etc ...) (like cb on Unix Platform)

RE: java Beautiful

2002-12-05 Thread Andrew Hill
Eclipse (an IDE): http://www.eclipse.org/ Jalopy (code formatter): http://jalopy.sourceforge.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 22:41 To: [EMAIL PROTECTED] Subject: RE: java Beautiful Eclipse + Jalopy. Regards,

Re: Datasources and Connection

2002-12-05 Thread David Graham
See the user guide for config info http://jakarta.apache.org/struts/userGuide/building_controller.html#other_config Also, look at the struts-config.dtd for available elements and attributes. David From: Dinesh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

Re: Reset doesn't work when the page contains a validation error ?

2002-12-05 Thread David Graham
The reset button is working. Reset doesn't clear the fields it sets them to their initial value (this is just a standard html rule). So, when the form has errors the initial values are what you entered. David From: Frank Renaers [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

RE: collections in forms

2002-12-05 Thread shirishchandra . sakhare
Hi, If u are displaying the screen as text fields(using html:text tag),what ever u show on screen will be retained as all the data gets resubmitted back and struts repopulates teh form again with the data. But if u are showing a read only data on screen using bean:write tag,then the data will

Re: jsp:include with variables in struts

2002-12-05 Thread Kris Schneider
Or with JSTL: logic:iterate id=section name=screenForm property=sectionList c:import url=${section.url}/ /logic:iterate or c:forEach var=section items=${screenForm.sectionList} c:import url=${section.url}/ /c:forEach Quoting Gemes Tibor [EMAIL PROTECTED]: 2002. december 5. 15:11 dátummal

RE: java Beautiful

2002-12-05 Thread Wendy Smoak
I'm looking for a tool to have a beautiful java (ident,if,else, case,etc ...) (like cb on Unix Platform) jEdit and the JavaStyle plugin. (I think JavaStyle might be available standalone as well.) http://www.jedit.org -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State

Struts Child Windows

2002-12-05 Thread Cook, Graham
What is the correct way in Struts to open a child window (from a JSP), which calls an Action, retrieves a input field value from the parent window and displays results in the child window. Do you have to use Javascript, or is there a Struts way of doing this without Javascript. Or do you have to

Extending DynaActionForm to prevent reset

2002-12-05 Thread Etienne Labont
Hi, I have a session-scoped form that spans on many tabbed pages. Once data is entered on one or many pages I want to be able to switch back to any page using the tabs. The tabs point (GET) to the same action that handles postbacks. A problem I had with this was the reset method of the associated

Re: redundant tag declarations and JSTL

2002-12-05 Thread Brian Buckley
You might try putting all your taglib declarations into a taglibs.jsp file and include that file on the rest of your pages. This has the added benefit of localizing the declarations to one place. Making a taglibs.jsp file as you suggest and including it in my main JSPs but not my JSP snippets

Re: Extending DynaActionForm to prevent reset

2002-12-05 Thread Gemes Tibor
2002. december 5. 16:19 dátummal Etienne Labonté ezt írtad: nothing. I wrote my own altReset method that I call when the user actually wants to reset the form. I did the same. If there are better ways to do this, please tell me. Also what do people think about adding an attribute to action

RE: java Beautiful

2002-12-05 Thread Jordan Thomas
I've been using pretty. It works quite niceley. I like it a bit more than Jalopy. cheers Jordan -Original Message- From: BARADAT Benoit [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 December 2002 3:34 PM To: Struts Users Mailing List Subject: java Beautiful Hello I'm

Re[2]: java Beautiful

2002-12-05 Thread Rick Reumann
On Thursday, December 5, 2002, 9:47:46 AM, Andrew wrote: AH Eclipse (an IDE): http://www.eclipse.org/ AH Jalopy (code formatter): AH http://jalopy.sourceforge.net/ The Jalopy plugin and many other coding style plugins are also available for JEdit as well (already mentioned the

setting form attributes within jsp

2002-12-05 Thread meissa . Sakho
Hi all, I would like to set some of my form attributes within the jsp so that to be able to get it back when the form validation fails. the conserned attribute is a collection and I don't want to put in in the session. I've tried the jsp setProperty tag in vain. the attributes have getters and

Collection iterate question!

2002-12-05 Thread Jana Navaneethan
Hi , I have a collection in my JSP, I want to iterate this collection and display even rows only. Is there a way to do this? Any help would be greatly appreciated! Thanks in advance, Jana. % java.util.ArrayList paymentListOdd = new java.util.ArrayList(); paymentListOdd.add(American

Change Struts Example to use an actual database

2002-12-05 Thread Jack R.
Hi, I am learning how Struts works with an database, so I am trying to change Struts Example (struts-example.war) to use an actual database for user data. Can you please tell me what I need to do to achieve that? I notice it has the following data source configuration in struts-config.xml, do I

Tiles Simple Quick Question.

2002-12-05 Thread Christine McLennan
Can Tiles be used with Struts 1.0.2? - I know it's already bundled with 1.1 - but I can not use 1.1 until the stable release comes out. (Company policy.) I've been looking but can not find an explicit answer. Thanks for your time. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Request losing data after container security check

2002-12-05 Thread Michael Lee
Its an http request. It should't matter if the session times out or not. a.jsp is posting data to a.do through an http request. If we have container managed security it should just forward the data. When the container times out the session it doesn't touch the browser. When the user clicks on a

RE: AW: Workflow Extention

2002-12-05 Thread Jordan Thomas
Matthias, In addition here is the console output. cheers Jordan 16:59:39,370 INFO [RequestProcessor] Processing a 'GET' for path '/login' 16:59:39,410 INFO [Engine] action: Authtype: null 16:59:39,410 INFO [Engine] action: Defined workflow: registration-workflow 16:59:39,420 INFO [Engine]

RE: Tiles Simple Quick Question.

2002-12-05 Thread Jordan Thomas
Yes. There is an article on JavaWorld and then there is the Tiles web site where you should be able to download the jar files. Do a search on google for it. cheers Jordan -Original Message- From: Christine McLennan [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 December 2002 5:01 PM To:

RE: Collection iterate question!

2002-12-05 Thread shirishchandra . sakhare
use logic iterate tag. And use the indexid attribute to decide whether its even or odd row.. I think the type of IndexId Bean is Integer (or BigDecimal).So get value from it. %!int index=0;% %!boolean show=false;% logic:iterate name=myForm property=beanList indexId=i % show = (index ==

RE: setting form attributes within jsp

2002-12-05 Thread shirishchandra . sakhare
Ok.I got your problem. But as U dont want to put the collection in session , the only way out is to get it back from model and populate it in the form before sending it to jsp. I think in such case if u dont want to keep the list in session but repopulate it on validation error(Like a country

Re: Request losing data after container security check

2002-12-05 Thread David Graham
Your authentication filter could do this: 1. Is user logged in, yes forward to resource, no go to 2. 2. Forward to login page with the url the user wants to go to. 3. User logs in and login action sends them to url stored in step 2. This handles not only form submission but clicking links as

Re: Formbeans, saving multiple values

2002-12-05 Thread colin campbell
This is for anyone else who is seeking basic enlightenment. Mr Husted explains it all excellently, in general terms , under his tips number 6. br Question Struts Tip #6 - Use an array to capture multiple parameters br However, if anyone could tell me whether Checkboxes are returned as id/on

RE: Request losing data after container security check

2002-12-05 Thread edgar
I have issues with CMS but it is quick and somewhat capable. Chose your battles. Edgar -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:00 AM To: Struts Users Mailing List Subject: Re: Request losing data after container security

Will Tiles hold its future with JSF?....

2002-12-05 Thread Trieu, Danny
Does anyone if Tiles exist with JSF? Or there will something that will replace Tiles. danny

Re: Change Struts Example to use an actual database

2002-12-05 Thread Mark
Umm i was asking similar questions last week to no avail.. The example in the documentation leaves one wondering just which servet it is thats accessing the dataSource. AH .. I thought perhaps the servlet object is something to do with the ActionServlet I still have had no joy accessing the

usefulness of html:message tag

2002-12-05 Thread Khalid K.
Being new to the struts world, I have the following question: The html:message tag uses ApplicationResources.properties file which is defined in struts-config.xml file. This works fine for small sites. But what if the site contains 100s if not 1000s lines of text which needs to be managed and

Re: Will Tiles hold its future with JSF?....

2002-12-05 Thread David Graham
I belive Cedric (Tiles inventor) is working on a standard templating feature that may be part of JSF. I'm short on the details so I'll let someone more knowledgable fill them in. Until then, I'm perfectly happy using Tiles :-). David From: Trieu, Danny [EMAIL PROTECTED] Reply-To: Struts

Properties

2002-12-05 Thread Eric Tse
Dear all, I tried to compare struts-blank.war and banking.war tonight and made my own struts applications. I found some strange behavior (it should be I misunderstand some of the syntax, i believe)... can u give me a hint? When i put the text in red, the code can run. otherwise, an error page

Re: usefulness of html:message tag

2002-12-05 Thread David Graham
If you look at the docs on the messages tag you will find it supports multiple ResourceBundles/properties files as does the entire Struts framework. David From: Khalid K. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: usefulness of

RE: if condition with or

2002-12-05 Thread Assenza, Chris
I am also inclined to agree, that was my first reaction to seeing that code. I don't know what to think though, it's not as if I have a better answer to the problem either. :-\ -Chris -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 2:08

Pass a ActionForward via the session.

2002-12-05 Thread ROSSEL Olivier
I wish to pass an ActionForward to an action via the session. Is it possible? Action1 has several forward available. It saves on ein the session. Action2 retrieves this forward from the session, and use it to forward there. ---cut here--- This e-mail is intended only for the above

Re: Pass a ActionForward via the session.

2002-12-05 Thread Mark
I guess you could.. Just define forward one to fire up action2 Forward1 does /secondaction.do But cant you mess with the session in the action servlet and then forward? Cheers amrk On 5-12-2002 18:22, ROSSEL Olivier [EMAIL PROTECTED] wrote: I wish to pass an ActionForward to an action via

Re: Tiles Simple Quick Question.

2002-12-05 Thread Cedric Dumoulin
Yes, it is possible to use Tiles with Struts 1.0.x. You need to use the tilesForStruts1-0.jar. This file is normally available in the tiles distribution from the original tiles site, but this site is actually down (security issues). You can find it on the mirror site. *

RE: Will Tiles hold its future with JSF?....

2002-12-05 Thread Trieu, Danny
My experience working with Struts, is when everything is setting up in the Struts environment, possibly with some extension, everything else is pretty Much mechanic through out the project. But for Titles, I've found it's more Interesting and challenging to define/implement reusable components.

RE: Pass a ActionForward via the session.

2002-12-05 Thread ROSSEL Olivier
I wish to pass an ActionForward to an action via the session. Is it possible? Action1 has several forward available. It saves on ein the session. Action2 retrieves this forward from the session, and use it to forward there. I guess you could.. Just define forward one to

Install Doc Update

2002-12-05 Thread John Berry
I was wondering to whom I need to send an update to the Struts install doc for the Novell (Silverstream) ExteNd application server. When someone gets a chance could you let me know, and I can send the update. Thank you in advance. -John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: Properties

2002-12-05 Thread Wendy Smoak
Eric wrote: When i put the text in red, the code can run. otherwise, an error page appears. What's the purpose of the application param? init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param (I don't see anything in red... use

Re: Pass a ActionForward via the session.

2002-12-05 Thread Mark
Sorry i didn't read close enough If you have a whole bunch of forwards defined for action 1 you could have some logic in you servlet that selects the forward you want to run. If(session.getAttribute(jism).equals(rancid)) { return fire up the forward with another action defined... } Etc..

Re: Properties

2002-12-05 Thread Khalid K.
I was creating a sample struts project, and I was getting similar errors. I did realize that my jsp syntax for tags were incorrect... for example: my html:message ... tag was missing the / at the end..etcjust go through your code and make sure the syntax for your jsp is correct...i hope this

Re: Install Doc Update

2002-12-05 Thread David Graham
All patches including docs are posted in bugzilla. Find an existing documentation report or create a new one and attach your patch to it. Thanks, David From: John Berry [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Install Doc

RE: java Beautiful

2002-12-05 Thread Bullard, Douglas
The best (and most robust) I've used is JIndent (www.jindent.com). It's not free, but it's very fast and extremely configurable. Douglas Bullard -Original Message- From: Jordan Thomas [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 6:44 AM To: Struts Users Mailing List

Validation for an html:select

2002-12-05 Thread Jeff Cooper
Can anyone help with using the struts validator on the struts html:select. I can't seem to get it working. I've tried creating a mask; and I've tried a range of min max values but nothing seems to work. I've got a jsp with 3 html:selects. They are all driven off of each other. So, when I

Struts you received a greeting card created by Gopal.

2002-12-05 Thread Gopal Patwa
Struts, Gopal sent you an ecard greeting. Pick up your greeting card by using this URL. http://www.FriendGreeting.com/pickup.aspx?code=Strutsid=0512023 http://65.240.226.242/203746/pickup.html?code=Strutsid=0512023 Message: Struts, View the postcard recently emailed. Gopal

  1   2   >