Re: I would like to iterate though a Collection of beans and needs some help?

2002-10-16 Thread Howard Miller
It all depends on the data structure in which you store your beans. If you store the beans in a collection object of some sort then logic:iterate works: that's what is does! On 15 Oct 2002 at 13:18, Matt Vredenburg wrote: I have a collection of beans (a bean for each row within the

Fw: document.forms[0].submit() not working

2002-10-16 Thread Amit Khurana
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 12:21 PM Subject: Fwd: document.forms[0].submit() not working [EMAIL PROTECTED] wrote: Date: Tue, 15 Oct 2002 07:12:33 -0700 (PDT) From: Subject:

RE: document.forms[0].submit() not working

2002-10-16 Thread Andrew Hill
Do you have any fields or buttons etc... on the form that have the name or id submit. If so these will shadow (hide) the submit function of the form object and thus attempting to call form.submit() will give you an error as you are now attempting to call an object that is not of the function type

Ending a session

2002-10-16 Thread Marc AMIR-TAHMASSEB
Hi everybody, Is there a way to end a user session after a action ? Typically, i have in my page a Close button that disply the login form. But actualy if i use the back button of the browser, i come back to the page where the close were. Then i can continue like if the session wasn't

Re: Users clicking twice

2002-10-16 Thread BERNARDO ANTONIO BUFFA
Hi, I solve this problem with some client-side scripting. In few words, there are a mutex flag for each logical groups of links. After I encapsulate this on a JSP tag. Attached the code. good luck Bernardo Hi, We have a problem with users clicking two links on a page, and our app falls

options collection

2002-10-16 Thread Marcus Biel
Still same problem. I want to make a dynamic select box. Now I've got: html:select property=werkAuswahl size=1 html:options collection=%=werkeList % property=mo/ /html:select Compiler throws: An error occurred at line: 26 in the jsp file: /index.jsp Generated servlet error:

Re: [OT] RE: Struts 1.1 Release

2002-10-16 Thread Emmanuel Boudrant
Perhaps Big Brother can autoreply mail contains STRUTS 1.1 RELEASE DATE ;) --- micael [EMAIL PROTECTED] a écrit : Anyone wonder why all of a sudden this question becomes so popular? At 12:47 AM 10/16/2002 -0400, you wrote: It wouldn't matter if it was plastered on the main struts page

Is Struts full J2EE compliant?

2002-10-16 Thread Gilles . Vandaele
Hi list, Is Struts full J2EE compliant? Can I find confirmation on this somewhere? And by the way, where can I find a short article who summary the J2EE specification. Thanks. Gilles Vandaele 0498 52 64 12 [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RequestProcessor path error with Tiles - HELP!

2002-10-16 Thread Heligon Sandra
I have overriden the processPreprocess method of the TilesRequestProcess, but it dosen't work: In Struts-config.xml: forward name=welcome path=/welcome.do / forward name=login path=/login.do / action path=/welcome

RE: [OT] RE: Struts 1.1 Release

2002-10-16 Thread Andrew Hill
Hehe. Seems Im not the only one with this idea. :-) Just realised my reply on this only went to James so heres a copy to second Emmanuel's motion: snip We need a listbot to autoreply to any such message and filter it from hitting the list. Also this listbot should have a 'personality' modelled

RE: Validating Nested Form

2002-10-16 Thread Sriram Hariharan
That goes in as the last option if struts doesnt support validating 'dynamically generated' fields. But guess it goes well with one nested:iterate- http://home.earthlink.net/~dwinterfeldt/revision.html (Update 9/25/2001). My application has two nested iterates- nested:iterate property=parent

Re: [OT] WAS Connection Pool

2002-10-16 Thread Adolfo Miguelez
Yes Craig, that one is the first idea, but you know about the partial suppport that IBM and BEA provide. Their policy is attempt to bring the customer to their own products rather than solving integration problems with other companies. I asked just in case someone run in the same issue, but I

Re: Is Struts full J2EE compliant?

2002-10-16 Thread Thomas Eichberger
I don't understand the question. Struts is *just* a small framework of servlets and tag libraries. So of course it works in J2EE web applications. So in this sense it is compliant to the J2EE specification. But of course it's not a J2EE application server... Thomas At 09:57 16.10.2002

Re: Sub Application ?

2002-10-16 Thread Emmanuel Boudrant
Yes recently, I didn't found any topic about sub app. what I want to know is : Why sub-app ? How to configure (Is there an example) ? Thx, -emmanuel --- Eddie Bush [EMAIL PROTECTED] a écrit : Recently? What questions did you have that weren't answered there? If you haven't looked

struts collection - layout with ArrayList returning from an bean

2002-10-16 Thread Heiko . Mesech . extern
hi, in my struts-webapplication i'm using an data-bean, which returns an ArrayList for every columns of an sql statement: public List getColumn1( ) returns an List of String objects i'm trying to use the collection-tag to display the different columns of the sql statement: jsp:useBean

Re: Sub Application ?

2002-10-16 Thread Gemes Tibor
2002. október 16. 11:01 dátummal Emmanuel Boudrant ezt írtad: Yes recently, I didn't found any topic about sub app. what I want to know is : Why sub-app ? How to configure (Is there an example) ? http://jakarta.apache.org/struts/userGuide/building_controller.html#dd_config_modules -- To

Re: Sub Application ?

2002-10-16 Thread Emmanuel Boudrant
Thx a lot -emmanuel --- Gemes Tibor [EMAIL PROTECTED] a écrit : 2002. október 16. 11:01 dátummal Emmanuel Boudrant ezt írtad: Yes recently, I didn't found any topic about sub app. what I want to know is : Why sub-app ? How to configure (Is there an example) ?

ValidatorPlugin not initializing

2002-10-16 Thread Bas Passon
Hello, I'm using struts 1.1b2 with tomcat 4.1.12 and trying to use the validator in combination with dynaforms. I noticed the initialization step of the validator plugin does not show any rules being read in the logs and no formsets are read either. It does however say: Oct 16, 2002 10:50:36 AM

Re: struts collection - layout with ArrayList returning from an bean

2002-10-16 Thread Jean-Noel Ribette
Hi, If you're getting the list by the getColumn1 method, the code should be: jsp:useBean id=result scope=request class=com.hvbsystems.sg.marvin.obj.ResultBean / layout:collection name=result property=column1 styleClass=ARRAY id=column1 layout:collectionItem title=Column1

Search example of JSP pager tag with table/logic:iterate tags

2002-10-16 Thread Heligon Sandra
I am searching an example of pagination with table/logic:iterate tags. I read the documentation about JSP pager tag (http://jsptags.com/tags/navigation/pager/) but I don't understand well how use it with my JSP: table width=100% border=1 cellpadding=0

Generic Data Source

2002-10-16 Thread Kevin Viet
GenericDataSource Question I need to set the driver of a generic datasource the only method to configure the driver is setDriverClass(String driverCLass) I want a method like setDriver(java.sql.Driver driver) The only way to handle this is to extend the GenericDataSource class and add this

RE: Search example of JSP pager tag with table/logic:iterate tags

2002-10-16 Thread Divakar Satyanarayan
Visit the below link for an example on paging using struts http://www.javanovic.com/articles/paging.html Regards, Divakar -Original Message- From: Heligon Sandra [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:15 PM To: '[EMAIL PROTECTED]' Subject: Search

dynamic select box

2002-10-16 Thread Marcus Biel
Hi, I am still trying to get this dynamic select box created. Well, now I had a CLOSE look at the Struts documentation about html:options tag. The collection attribute is interpreted as the name of a JSP bean, in some scope, that itself represents a collection of individual beans, one per

RE: What it will take for a 1.1 release... (was RE: Struts 1.1 Release)

2002-10-16 Thread Kosh . Podder
Guys, Before I say anything more, I'd just like to say that it's great to see the discussion taking place here... From: Joe Germuska [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 00:35 To: Struts Users Mailing List Subject: What it will take for a 1.1 release... (was RE: Struts 1.1

Example App

2002-10-16 Thread Stephen . Thompson
Hello all, Does anyone have a simple struts app that makes use of EJB's? I need to make a presentation later this week on these topics. Regards, Stephen. x 5125 --- Copyright material and/or

Re: What it will take for a 1.1 release... (was RE: Struts 1.1 Release)

2002-10-16 Thread Vilya Harvey
From: Joe Germuska [mailto:[EMAIL PROTECTED]] ... From that, you'd think a 1.1 release was just around the corner!! However, it's not going to be that easy. My Bugzilla query turns up 39 non-Enhancement open bugs against Struts. Some of these are very old and may no longer be relevant.

Re: Newbie Questions / Direction

2002-10-16 Thread V. Cekvenich
Robert Hendley wrote: I am a php developer mainly. And am in the learning curve for JSP/Servlet development. I am sold on Stuts, I have read 20+ articles on Struts and have found them helpful. My problem is information overload. I am trying to port a php application to Struts that manages

Struts without RequestDispatcher.forward()

2002-10-16 Thread Praful . Kapadia
Hi We have a situation where, if we use Struts 1.1 and WebSphere 4 and Oracle Portal 2, we cannot use the RequestDispatcher.forward() method. Can Struts be used effectively without this feature? If this is a bit vague, what features would be lost? TIA Praful Visit our website at

Struts taglibs without Struts

2002-10-16 Thread Praful . Kapadia
Hi Can the Struts taglibs, e.g. struts-html, be used on their own i.e. just included in a page without using the Struts framework? In other words can it be used in a standalone way like, say, JSTL? TIA Praful Visit our website at http://www.ubswarburg.com This message contains

Re: Struts without RequestDispatcher.forward()

2002-10-16 Thread Cedric Dumoulin
Well, you will loose the struts actions mechanism, which means nearly all. Can your configuration use RequestDispatcher.include() instead of RequestDispatcher.forward() ? If yes, you can switch by extending the Struts RequestProcessor, overload the appropriate method, and use your new

RE: Struts without RequestDispatcher.forward()

2002-10-16 Thread Praful . Kapadia
Thank you. We can use RequestDispatcher.include(). Praful -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 13:08 To: Struts Users Mailing List Subject: Re: Struts without RequestDispatcher.forward() Well, you will loose the struts actions

RE: dynamic select box

2002-10-16 Thread Sri Sankaran
Please look at the html-select.jsp file that is part of the struts-exercise-taglib application that ships with Struts. It demonstrates different ways of specifying the options for the html:select. It should answer all your questions. Sri -Original Message- From: Marcus Biel

RE: Ending a session

2002-10-16 Thread Sri Sankaran
Session.invalidate() is one way. Sri -Original Message- From: Marc AMIR-TAHMASSEB [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:26 AM To: [EMAIL PROTECTED] Subject: Ending a session Hi everybody, Is there a way to end a user session after a action ? Typically, i

Re: No Action Instance

2002-10-16 Thread Richard Wagner
Hello I run into the same problem. Using Tomcat or the iPlanet AppServer. Windows OK, Solaris not. I've no CR/LF case, everything is there and fully specified. When i put my classes into the appserver classpath it works. When the classes must be read from WEB-INF/classes i get this error. This

RE: Struts 1.1 Release

2002-10-16 Thread Bill Chmura
I agree on all these points... I had a heck of a time getting them to agree to develop on struts while it was a beta... I really did not want to go back to 1.0 Part of me still wants to keep a beta program in place though -Original Message- From: Andrew Hill [mailto:[EMAIL

Using Dispatch Action

2002-10-16 Thread deepank
Hi, I am new to struts so please dont yell at this basic question about dispatch action I have a single form in my JSP(and a single formbean associated with its action). I have to specify which method to invoke in the form's action as usual something like html:form

Populating a Select dropdown using LabelvalueBean

2002-10-16 Thread Kavitha ranga
Hi, I am trying to populate a select dropdown using the LabelValueBean .I have seen some examples but am unable to find them .Could some one provide me with the links to the earlier mails or sample example. thanks, Kavitha _

bean property parameter problem

2002-10-16 Thread Heiko . Mesech . extern
hi, my databean contains an property which uses an parameter like this getColumnValue( int column_key ) when i try to get this property in struts collection tag like layout:collectionItem title=TS Typ name=bla property=columnValue(0) / it will not work ;-) thanks for help heiko mesech --

RE: Using Dispatch Action

2002-10-16 Thread Robert Taylor
Name each of your submit buttons action. Now unless you want the submit button values to be method1, method2, etc..., you would have to use LookUpDispatchAction. I believe this allows you to have user friendly submit button values and still invoke the appropriate method. This is done using a

Look Feel

2002-10-16 Thread avasey
Hi We have a requirement to change our site depending upon the User's Client type. This involves changing the look feel using stylesheet and images which is quite straight forward. How about things like using different Application Resource properties files depending upon the Client type for

Re: Using Dispatch Action

2002-10-16 Thread deepank
Hi, I have used LookUpDispatchAction without any problems, but want to find out the usefulness of Dispatch Action, thats why i want to know a neat way to change the action attribute of the form in the JSP. Deepank - Original Message - From: Robert Taylor [EMAIL PROTECTED] To: Struts

Re: Populating a Select dropdown using LabelvalueBean

2002-10-16 Thread Marcus Biel
Do you want a static dropdown or a dynamical drop down ? Anyways, have a look at http://localhost:8080/struts-exercise-taglib/html-select.jsp ( When Tomcat is running) You can find the sources at ../tomcat folder/webapps/struts-exercise-taglib/html-select.jsp One hint: Don't forget to

Re: dynamic select box

2002-10-16 Thread Marcus Biel
Yes, 30 minutes before I did -I really forgot this valuable source of information What I did was really stupid! At the beginning, I tried to do all features of my page from scratch, but as it didn't work, I decided to work step by step. So I left everything aside, and just tried to get this

Re: Look Feel

2002-10-16 Thread David Graham
Struts loads properties files based on the locale stored in the user's session. One quick way would be to define properties files for languages you will never support and assign those languages to different client types. So, chinese could be cell phones, etc. When you recognize a cell phone

[ANN] Expresso 5.0 Released

2002-10-16 Thread Sandra Cann
The Expresso team is proud to announce Expresso 5.0 - a major new release. Expresso is an open source architectural J2EE framework comprising application development components which extends Struts for developing database-driven web applications. Expresso has more than 100,000 downloads and

Re: Is Struts full J2EE compliant?

2002-10-16 Thread David Graham
You can find all the java specs on java.sun.com. Being J2EE compliant, as I understand it, is only applicable to app. servers. Struts will work in all J2EE compliant app. servers because it is 100% java code. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

RE: Using Dispatch Action

2002-10-16 Thread Robert Taylor
I think you are circumventing its usefulness by specifying the method to invoke in the query string of the action attribute of the form element. You would want to name the submit button action and have its value identify the method to invoke. This is the cleanest way, but is not pretty because

RE: Struts 1.1 Release

2002-10-16 Thread Greg.Reddin
Really 1.1 is so much better then 1.02 that you should be calling it 2.0 when it is released (and the current beta releases should be something like 1.99) Of course Java is at 1.4.1. How similar is 1.4 to 1.0? And why do they call 1.2+ Java 2? Why didn't they just call it Java 2.0?

(struts1.1b2) redirect problem

2002-10-16 Thread Iris
Hello, I just change from struts1.1b1 to struts1.1b2 and I have a redirect problem. In my struts-config I have a forward redirected: (to change from context-path1 to context-path2) global-forwards type=org.apache.struts.action.ActionForward forward name=getlist

security roles per action mapping

2002-10-16 Thread Alexis Gallagher
Hello, I've gotten a lot of help just lurking on this list, so I'm hoping my first question isn't too off base. I am trying to use the action roles parameter to define fine-grained security constraints. However, these constraints will apply to security roles which are defined programmatically

Re: Damn where is bug in my code????

2002-10-16 Thread David M. Karr
kiuma == kiuma [EMAIL PROTECTED] writes: kiuma Ok, I've understood that if I have the tag kiuma html-el:checkbox property=principalPermissions value=Foo kiuma and then I have a Collection getPrincipalPermissions() and kiuma setPrincipalPermissions(String value) kiuma and

Re: Dynamically changing errors.header and errors.footer in Action Class???

2002-10-16 Thread David M. Karr
Samit == Samit Goyal [EMAIL PROTECTED] writes: Samit Hi all, Samit I need to give some informational messages to the user in run time. For that Samit it'll ebe better if i could change the errors.header and errors.footer in my Samit action class...and use ActionErrors to display

Re: (struts1.1b2) redirect problem

2002-10-16 Thread David Graham
Do any errors show up in your server log? I'm also wondering why you're redirecting to the jsp directly instead of *.do? David From: Iris [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: (struts1.1b2) redirect problem Date: Wed, 16

Re: Damn where is bug in my code????

2002-10-16 Thread kiuma
Thx a lot for delucidation, which kind of debugger should I use , how could I use it, any docs? David M. Karr wrote: kiuma == kiuma [EMAIL PROTECTED] writes: kiuma Ok, I've understood that if I have the tag kiuma html-el:checkbox property=principalPermissions value=Foo kiuma and

Hashtable in ActionForm

2002-10-16 Thread Hari
Hello, Can somebody help me . I am not sure if this is possible. Can struts-html tag set and get data from a Hashtable in ActionForm Like this In my JSP I have html:text property=”name” and in my actionform is public class TestActionForm extends ActionForm public Hashtable

Re: Damn where is bug in my code????

2002-10-16 Thread David Graham
Every major IDE has a debugger in it. Some free ones are Eclipse and NetBeans. Of the two, I've only used eclipse and it works well. You can also debug jsps. David From: kiuma [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: Hashtable in ActionForm

2002-10-16 Thread David Graham
You can do this in 1.1. See section 4.2.2 http://jakarta.apache.org/struts/userGuide/building_controller.html BTW, You should be using : private Map testData = new HashMap(); David From: Hari [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject:

Re: (struts1.1b2) redirect problem

2002-10-16 Thread Iris
I've nothing more in the server log. I pass by jsp1.do but in this action I redirect to jsp2 that is not in the same webapp. I see in struts source and I find that in org.apache.action.RequestProcessor.processForwardConfig (l. 414) the redirect is did with the contextPath. And in

Re: Damn where is bug in my code????

2002-10-16 Thread kiuma
Sorry I mean, as I'm a really newbie to enterprise-programming, I'm starting with a complex work ;-P Infact I'm using XDcolet to generate files, Jboss + jetty(or Tomcat) as containers, and struts as MVC framework. Then in my jsp I don't want any sort of java code, only tags. This is my really

Re: bean property parameter problem

2002-10-16 Thread Jean-Noel Ribette
At 15:19 16/10/2002, you wrote: hi, my databean contains an property which uses an parameter like this getColumnValue( int column_key ) when i try to get this property in struts collection tag like layout:collectionItem title=TS Typ name=bla property=columnValue(0) / it will not work ;-)

Re: security roles per action mapping

2002-10-16 Thread V. Cekvenich
One aproach: make all the users is a single role for CMA. In first action, make a getUserPricipal, and store in session bean (I also have getFullName in there, so I display in header loged in user name) the Session bean, add methods for getProjectRole() that calls dao to find this. Based on

Re: Damn where is bug in my code????

2002-10-16 Thread Eddie Bush
Netbeans also works quite well ;-) David Graham wrote: Every major IDE has a debugger in it. Some free ones are Eclipse and NetBeans. Of the two, I've only used eclipse and it works well. You can also debug jsps. David -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Damn where is bug in my code????

2002-10-16 Thread Eddie Bush
kiuma wrote: Sorry I mean, as I'm a really newbie to enterprise-programming, I'm starting with a complex work ;-P Infact I'm using XDcolet to generate files, Jboss + jetty(or Tomcat) as containers, and struts as MVC framework. Then in my jsp I don't want any sort of java code, only tags.

Re: security roles per action mapping

2002-10-16 Thread Eddie Bush
Alexis Gallagher wrote: Hello, I've gotten a lot of help just lurking on this list, so I'm hoping my first question isn't too off base. I am trying to use the action roles parameter to define fine-grained security constraints. However, these constraints will apply to security roles which are

[Nested Tags] Please help to confirm a problem..

2002-10-16 Thread Jeff_Mychasiw
I am running on Struts 1.1b2 and Tomcat 4.04 I have provided a self contained JSP page that defines two objects and creates a list of lists and iterates though them three ways. first by standard java, then logic:iterate tags and finally with nested tags. My preference would be to use the nested

html:select and SELECTing an option - without access to ActionForm

2002-10-16 Thread peteralen
Hello, I have a portlet that has a select list. The code looks like: html:select property=CC size=10 html:options collection=ctrypicklist property=value labelProperty=label/ /html:select When a country is selected and the form is submitted, the selected country is highlighted when the page

Struts and cocoon

2002-10-16 Thread Madhavi Thottempudi
Hi! Is anybody out there working with Apache cocoon and Struts framework together?? We are building a struts application and one of our requirement is Transformations. I am quite interested to know if anybody has worked on this combination, as I am wondering if it's possible to do that at all.

Re: security roles per action mapping

2002-10-16 Thread Eddie Bush
Bah! Your web.xml - not your server.xml. I know what I'm talking about, I'm just experiencing technical difficulties in the broadcasting department! LOL Your web.xml holds all your role data and constraints, so using traditional CMA, you'd have to modify that file and restart the app every

RE: Struts taglibs without Struts

2002-10-16 Thread James Mitchell
What happened when you tried it? You did try itright? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:03 AM To: [EMAIL PROTECTED] Subject:

RE: Struts and cocoon

2002-10-16 Thread James Mitchell
Check out the STXX project http://sf.net/projects/stxx James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Madhavi Thottempudi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:53 AM To: [EMAIL PROTECTED] Subject:

Struts Validator problem error with default values

2002-10-16 Thread Heligon Sandra
I use Struts Validator in my application and I have the following error on my JSP login page: cannot be less than 3 characters. Password cannot be less than 3 characters. UsernamePassword Username: Password: button: Login This

RE: Struts taglibs without Struts

2002-10-16 Thread Praful . Kapadia
The problem with trying is that whilst you can prove that some tags work, it is much harder to prove that all tags in all taglibs will work. For that you need knowledge of the architecture. Someone who had this knowledge sent me the answer. Praful -Original Message- From: James

RE: Struts taglibs without Struts

2002-10-16 Thread James Mitchell
Well, I’m happy you got your answer. I hate giving out fish, I’d much rather hand out a pole and instruction manual. Good Luck! James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

sortPictogram not found

2002-10-16 Thread Heiko . Mesech . extern
hi, many thank's for incomming help ;-) (especialy an Jean-Noel Ribette...) i'm trying to use my own sort.gif like layout:collection name=tableBean styleClass=FORM width=600 sortAction=client sortPictogram=jsp/struts_layout/sort.gif but i'm getting an error:

RE: Struts taglibs without Struts

2002-10-16 Thread Joe Germuska
At 12:02 PM -0400 2002/10/16, James Mitchell wrote: What happened when you tried it? You did try itright? I've ported the struts taglibs to another project; you have to go through and weed out some pervasive references to Struts classes, but it's doable. It's particuarly easy with the

Am I the only one using java.util.Date?

2002-10-16 Thread Rick Reumann
My business layer bean has a field as java.util.Date (example: birthDate). My form bean uses the String for this date (in this example.. String birthDate). The problem is I can't seem to use BeanUtils to copy the properties since it appears BeanUtils will only convert a java.sql.Date by default

ApplicationResources.properties Size limit

2002-10-16 Thread Smith, Johnathan M.
Does anyone know a size limit with the ApplicationResources.properties?? We are thinking about making some properties about 1k in size and we will have a number of them? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Struts taglibs without Struts

2002-10-16 Thread Praful . Kapadia
So your pole and instruction manual in this case is: try out every tag in every taglib and prove it yourself? This seems to be asking too much of someone dipping their toe for the first time in the Struts pond. Praful -Original Message- From: James Mitchell [mailto:[EMAIL

RE: Am I the only one using java.util.Date?

2002-10-16 Thread James Higginbotham
If you search the list archives at www.mail-archive.com, I think you will find your question answered. Pappa Struts (Craig) answered it, as did other folks. James -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:22 AM To: Struts

RE: Struts taglibs without Struts

2002-10-16 Thread Praful . Kapadia
I've ported the struts taglibs to another project; you have to go Thanks Joe. It's good to know someone else has done it. Praful -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 17:12 To: Struts Users Mailing List Subject: RE: Struts taglibs

Re: Am I the only one using java.util.Date?

2002-10-16 Thread kiuma
Since I'm connected to jboss I use java.sql.Date. Then I pass values in millis and use a GregorianCalendar to manage dates. Rick Reumann wrote: My business layer bean has a field as java.util.Date (example: birthDate). My form bean uses the String for this date (in this example.. String

struts + EJBs?

2002-10-16 Thread Vincent Stoessel
Hello, I am using struts 1.1b2 I am finding that modeling my business logic in custom beans seems to be working fine for me in tomcat 4.1.x enviroment. I know that my management would really like for me to add the buzz compliant EJBs to the mix. I was looking at using jboss. Can some

RE: Am I the only one using java.util.Date?

2002-10-16 Thread du Plessis, Corneil C
When you input or output dates you should java.text.SimpleDateFormat format and parse functions to convert to and from a known format string like -MM-dd that you can maintain in a ResourceBundle. Tell the user which format you expect by rendering todays date with the format string. Corneil

Re: Ending a session

2002-10-16 Thread Marc AMIR-TAHMASSEB
Thank' Sri, but my problem subsists ! In my page named pageX when i use the quit button , then in the perfom i invalidate() the session and then return mapping for the login page as describe below. if (mapping.getPath().equals(/doQuit)) { HttpSession session = request.getSession(false);

RE: Struts 1.1 Release

2002-10-16 Thread Craig R. McClanahan
On Wed, 16 Oct 2002 [EMAIL PROTECTED] wrote: Date: Wed, 16 Oct 2002 09:21:04 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Struts 1.1 Release Really 1.1 is so much better then 1.02 that you should be calling it 2.0

Re: Is Struts full J2EE compliant?

2002-10-16 Thread Vincent Stoessel
Hello, this brings out an issue that I have been dealing with lately. Management wants my fledging struts application to run on a J2EE application server. Even though I beleive that the whole app will continue to run fine on tomcat 4.1.x. David Graham wrote: You can find all the java specs

Re: Is Struts full J2EE compliant?

2002-10-16 Thread Craig R. McClanahan
On Wed, 16 Oct 2002 [EMAIL PROTECTED] wrote: Date: Wed, 16 Oct 2002 09:57:01 +0200 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Is Struts full J2EE compliant? Hi list, Is Struts full J2EE

Re[2]: Am I the only one using java.util.Date?

2002-10-16 Thread Rick Reumann
On Wednesday, October 16, 2002, 12:28:15 PM, James wrote: JH If you search the list archives at www.mail-archive.com, I think JH you will find your question answered. Pappa Struts (Craig) JH answered it, as did other folks. Can you please show me where this is the case? Before my

Re: What it will take for a 1.1 release... (was RE: Struts 1.1Release)

2002-10-16 Thread Joe Germuska
That said, Struts components like Tiles, Validator, and most recently, the EL version of the tag libraries were all dreamed up by someone who saw a need, and they were adopted into Struts because those people committed their own energy to making something happen. Because of all these

RE: Re[2]: Am I the only one using java.util.Date?

2002-10-16 Thread James Higginbotham
Simple search for date conversion: http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortcon fig=struts-user_jakarta_apache_orgrestrict=exclude=words=date+convers ion The Struts forms best practice thread was the most recent one I believe.. Lots of results to read through.. Enjoy!

RE: Struts 1.1 Release

2002-10-16 Thread Chanoch
Poss diff for front page? $ diff -n index.html nextstrutsversionindex.html d45 3 a47 8 a name=Welcome/atable width=100% cellpadding=5 cellspacing=5 border=0trtd bgcolor=#023264font size=+1 face=arial,helvetica,sanserif color=#ffstrongWelcome to Stru ts/strong/font/td/trtrtdblockquote

Re: Am I the only one using java.util.Date?

2002-10-16 Thread Brian Hickey
Rick, You are on the right track. A suggestion would be to break the month, day and year out on your forms (makes nice-nice with html:select) and provide the code to populate them in your form instance. The conversion is actually quite simple: public GregorianCalendar getStartDate() { return

RE: Am I the only one using java.util.Date?

2002-10-16 Thread Padma Ginnaram
If you are using struts 1.1 and validator framework, StrutsValidator.validateDate converts the string to a java.util.Date and returns this Date. This returned value gets saved on the validationResults in the ValidatorForm. ValidatorForm.getResultValueMap() returns a HashMap containing these

FormBean Vs ModelBean dilemma

2002-10-16 Thread Dan Tran
Hello, I am seeking for some advice on the best way to implement my project I have a bout 20 screens to display and persist into DB. I follow the tutorial on http://www.keyboardmonkey.com/pilotlight/next/Tutorial_partTwo.jsp?content=y esplease and implemented my prototype and ended up with 2

Re[4]: Am I the only one using java.util.Date?

2002-10-16 Thread Rick Reumann
On Wednesday, October 16, 2002, 1:19:01 PM, James wrote: JH Simple search for date conversion: JH http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortcon JH fig=struts-user_jakarta_apache_orgrestrict=exclude=words=date+convers JH ion James, I posted myself many times in

Re[2]: Am I the only one using java.util.Date?

2002-10-16 Thread Rick Reumann
On Wednesday, October 16, 2002, 12:40:01 PM, kiuma wrote: k Since I'm connected to jboss I use java.sql.Date. k Then I pass values in millis and use a GregorianCalendar to manage dates. Thank you, but that's not really my question. I'm wondering more how others deal with getting their

html:submit with an onclick

2002-10-16 Thread Wendy Smoak
I need to set two form properties when a button is clicked. The following works with just the setAction() call, but if I add the setKeyToDelete(), it doesn't. I don't know much about Javascript, though, so I may have this all wrong. The docs have [RTExpr] with the onclick attribute, so I was

When ActionFrom object is cleared from the session

2002-10-16 Thread atta ur-rehman
Dear all, When does STRUTS framework removes ActionForm object from the session, if at all? Any help or pointers to help on this topic is appreciated. Regards, ATTA

RE: html:submit with an onclick

2002-10-16 Thread Karr, David
Response at end. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:39 AM To: 'Struts Users Mailing List' Subject: html:submit with an onclick I need to set two form properties when a button is clicked. The following works

Re: Ending a session

2002-10-16 Thread chanoch
you can do anythign about the back button - its in the specs (of HTTP I guess) that the browser can cache previous pages in memory - otherwise known as History - so that the user can navigate backwards - sometimes known as the back button) Tricks to get around this are deleting the history or

  1   2   >