Re: Suggestion for tag

2000-10-25 Thread Oleg V Alexeev
Hello Erik, I make some additions to error processing in struts and can post it to you. It is not changed struts - it is some additional tags for errors storing and for extended errors processing. This classes already posted to [EMAIL PROTECTED] , but there are not any letters for last week... Ex

signoff struts-USER

2000-10-25 Thread Michael levin
signoff struts-USER Michael Levin, [EMAIL PROTECTED] ::: phone/fax (US) ::: 407 622 WEBS (9327) ::: mobile (US) ::: 321 277-8955 ::: toll-free phone (US) ::: 877 536 7979 ext 212 ::: phone/fax (Ireland) ::: 01 633 5606 - Original Message - From: "Kevin Wang" <[EMAIL PROTECTED]> T

RE: more questions from a struts newbie

2000-10-25 Thread martin . cooper
Hmm. I thought the .tld file (yes, app.tld is what I meant, in this case) was the only place the names of the class files for tags showed up, so I don't know what else to tell you to check, other than that all the files are in the right places, and none of the old struts example files are lurk

Link tag inside Iterate or Enumerate tag

2000-10-25 Thread Kevin Wang
I'm trying to use the inside as follows, the can't get property for 'primaryKey' when 'companies' is an Array but works fine is 'companies' is an Enumeration. works well in both cases. Any work arround is appreciated. Thanks. Kevi

Orion Server

2000-10-25 Thread Wong Kok Wai
Apologies for this off-topic posting but I believe this is a great resource for people using Orion and Struts: http://www.orionsupport.com

Re: getting arrays w/ useBean?

2000-10-25 Thread Pierre Delisle
Seth, Simply add the scope attribute and it should then work. -- Pierre Seth Ladd wrote: > > Hello, > > I'm having a problem with referencing an array with . I keep > getting ClassCastExceptions, and I'm not sure how exactly to do this. > > I gave the request an array of objects usi

RE: more questions from a struts newbie

2000-10-25 Thread Jeff Jarrell
That's what I love about this opensource stuff. Sometimes, people are there ready to help out. I did change the app.tld to reflect the new class names. I assume this is the file you are talking about. I have attached the app.tld file. Maybe I have to change the URI at the top as well. The pr

Re: more questions from a struts newbie

2000-10-25 Thread martin . cooper
Did you update the class names in the .tld file? -- Martin Cooper Tumbleweed Communications At 07:30 PM 10/25/00 -0400, Jeff Jarrell wrote: >As an exercise to learn struts I am using the example app as a starting >point. At this point all I have done is to change the package names, >and moved

more questions from a struts newbie

2000-10-25 Thread Jeff Jarrell
As an exercise to learn struts I am using the example app as a starting point. At this point all I have done is to change the package names, and moved the files around. I think I have touched all the right configuration files in the right spots (action.xml). Now on a successful login I get the

getting arrays w/ useBean?

2000-10-25 Thread Seth Ladd
Hello, I'm having a problem with referencing an array with . I keep getting ClassCastExceptions, and I'm not sure how exactly to do this. I gave the request an array of objects using request.setAttribute("id", myArray). When I reference this in my JSP page, I am trying to use something like:

Re: I18N & Struts

2000-10-25 Thread maxmars
Made today the setlocale tag -- I have uploaded the code to Craig.. :-) Max On 24 Oct 00, at 10:53, Peter Alfors wrote: > This is a multi-part message in MIME format. > --70C1BF444C3465E3680028F6 > Content-Type: multipart/alternative; > boundary="656565A9A3AE916757DA71

Re: Multi-user Form conflicts

2000-10-25 Thread Matthias Kerkhoff
Hi Don, > I have just run into several cases where a new ActionForm request is > returning an instance of an ActionForm in process on another browser. > I duplicated this once but now can not duplicate it. > [...] > Meanwhile, I would appreciate any thoughts on this. Is it possible, that both

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Aur Gal
I know but I couldn't get the iterator tag to give me what I needed, maybe someone out there could help us both with this. I think the problem with the tag was that I couldn't cast the exposed object to a String[]. maybe it assumes that you are giving it a list of Strings. -Original Message--

Multi-user Form conflicts

2000-10-25 Thread Don Jones
I have just run into several cases where a new ActionForm request is returning an instance of an ActionForm in process on another browser. I duplicated this once but now can not duplicate it. Environment: -my app uses Struts 0.5 -my form extends ValidatingActionForm -my form has session scope but

Re[2]: next stable release?

2000-10-25 Thread Matthias Kerkhoff
Hi Craig, > There will be some substantial changes in the next few days (I fly home from > ApacheCon tomorrow) that will affect the form tags, plus some new stuff that > won't affect backwards compatibility. If you want to experiment and help me > find the bugs (please report them to our bug tra

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Zeltser, Mark
I thought I could build a site without using scriplets. You are introducing them which defeats the purpose of using struts and its tags. -Original Message- From: Aur Gal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 2:09 PM To: '[EMAIL PROTECTED]' Subject: RE: How to create

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Aur Gal
I tried to use the iterate tag to do something similar and failed. what I did in the end was this: //expose the property containing the list, in this case an iterator in which the objects are String[]. //iterate through it. <% Iterator itr=(Iterator)pageContext.getAttribute("packs");

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Zeltser, Mark
Is FormBean supports indexed properties? Where can I find this? -Original Message- From: Aur Gal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 1:49 PM To: '[EMAIL PROTECTED]' Subject: RE: How to create bean from dynamic JSP page why not use a List (ArrayList) to store th

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Aur Gal
why not use a List (ArrayList) to store the questions? the getter and setter methods could be told which cells to set and return from this list. -Original Message- From: Zeltser, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 12:41 PM To: '[EMAIL PROTECTED]' Subject: R

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Zeltser, Mark
Here is my situation: I have questionnaire where the number of questions depends on user type. Each question has multiple choices presented to user as radio buttons. I have collection of questions and I am going to use Iterator tag to display them. However, I need QuestionsForm which will have

Re: not found error

2000-10-25 Thread Amit Kaushik
Thanks for the suggestions but i got the solutions actually i was not giving the required path of the logon.jsp file in my struts-config.xml file. Now it's working fine Thanks again for the suggestions Amit Kaushik --- Peter Alfors <[EMAIL PROTECTED]> wrote: > Sorry... I meant logon.do,

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Basile Andrea
I don't know what is your applications's architecture, but I think the Iterate tag could accomplish this. You could set a Collection of questions in the Action Form and let it pick them up in the JSP. If you have something like a bean "Question" with some properties set, this could be very easy to

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Zeltser, Mark
Thanks for your reply, I meant that you never know about the # of questions. One time it could be 5 of them, next time 10. -Original Message- From: Aur Gal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 11:32 AM To: '[EMAIL PROTECTED]' Subject: RE: How to create bean from d

RE: How to create bean from dynamic JSP page

2000-10-25 Thread Aur Gal
I don't really understand what you mean by dynamically. If you mean that there are ten fields on the form but not all of them will be displayed each time, then just create a getter setter for each one of them. If the field is not present on the form the get set won't be called. If you mean that

How to create bean from dynamic JSP page

2000-10-25 Thread Zeltser, Mark
Hello, We are trying to migrate existing application from JSP/Servlets to struts. I have a JSP page which should display dynamically different questions. I don't know how to create a form bean with all setters/getters since I don't know in advance all the names. Anyone knows how to accomplish thi

RE: JRun: Missing resources attribute org.apache.struts.action.MESSAGE

2000-10-25 Thread Moore, Mark A
Interesting. The file was there with all of its meaningful content, but it appears that JRun rewrote it without the comments. Replaced the file with the original I had running under Tomcat, tried the "Orion" hack again, still no luck. Since I forgot to mention it earlier, I'm using JRun JRun 3.

Re: next stable release?

2000-10-25 Thread Joe Peer
Hi, I ran into the same problem ;=) When I call the example app 1st time when the server is up, the index page comes as it should: MailReader Demonstration Application Options Register with the MailReader Demonstration Application Log on to the MailR

Re: JRun: Missing resources attribute org.apache.struts.action.MESSAGE

2000-10-25 Thread Julia Reynolds
Check your web.xml file. Sometimes our JRUN application will inexplicably delete all the entries in web.xml. Julia "Moore, Mark A" wrote: > Hi, > > I'm getting the classic 'Missing resources attribute > org.apache.struts.action.MESSAGE' with the latest JRun. I've tried the > "Orion" work arou

Suggestion for tag

2000-10-25 Thread Erik Pearson
I think it would be useful to have a "between tag" paramater, much like "header" and "footer", that would specify text to insert between error messages. This way we can eliminate coding HTML into our actual error messages. -- Erik -- Erik Pearson Caribou

JRun: Missing resources attribute org.apache.struts.action.MESSAGE

2000-10-25 Thread Moore, Mark A
Hi, I'm getting the classic 'Missing resources attribute org.apache.struts.action.MESSAGE' with the latest JRun. I've tried the "Orion" work around to no avail. Are there any other words of wisdom that might help? Thanks in advance Mark ***

RE: next stable release?

2000-10-25 Thread Stephen Earl
Hi Craig, Are you aware of the issues with running the nightly builds (ie. 20001023, ...) with WebLogic 5.1 sp6? I'm running into MissingResource exceptions up the wazoo! I know that it's more than likely that it's a WebLogic problem, but as someone who is intimately familiar with Struts could

Re: Commercial use of Struts

2000-10-25 Thread Craig R. McClanahan
Masakatsu Ito wrote: > Hello, > > My name is Masakatsu Ito, one of Japanese system engineer. > I would like ask you about commercial use of Struts. > > Because Struts has hypersophisticated MVC framework, I would like to > use it as library for our system. > > Of course, I am planning that licens

Commercial use of Struts

2000-10-25 Thread Masakatsu Ito
Hello, My name is Masakatsu Ito, one of Japanese system engineer. I would like ask you about commercial use of Struts. Because Struts has hypersophisticated MVC framework, I would like to use it as library for our system. Of course, I am planning that licenses are written on the documents and m

Re: not found error

2000-10-25 Thread Peter Alfors
Sorry...  I meant logon.do, not login.do. Pete begin:vcard n:; x-mozilla-html:FALSE org:http://www.irista.com/logo/irista.gif">Bringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard

Re: not found error

2000-10-25 Thread Peter Alfors
Hello,     I think that you want your submit button link to be login.do, not loginForm.do. Pete   Hi,   I am new to this struts.I am making a new application on after make some changes in the given struts examples.I made two classes one is like a LoginForm.java as in examples and the another clas

Backward Compatibility Problem in the future ?

2000-10-25 Thread Pramod
Hi,   Ive got an application to build (having approx. 25 actionclasses, 4-5 BusinessLogicBeans per ActionClass) and am planning to follow the struts framework ver 0.5. If I do this now, will my application be compatible with  the coming struts versions ? Or maybe is there any way by which I

Re: IBM WebSphere will now run struts based web apps

2000-10-25 Thread Richard Bachouse/Raleigh/Contr/IBM
>Hi Richard, > >Does this FixPack 2 for Websphere 3.5 applies to AS/400 system as well? I >looked at the Websphere website - Release Notes and it doesn't include >AS/400. Is IBM working on a PTF to have FixPack 2 for AS/400? If yes, when is >it coming out? > >Actually, we are using Websphere 3.5 o

RE: first help request

2000-10-25 Thread Jeff Jarrell
>Craig R. McClanahan wrote: >One possibility is you might be compiling against an old (pre-2.2) version >of the servlet API classes. Yes, that was it. now i am off to new and different problems. Now when i do the logon, i get that it can't open the database. i have the database.xml in the sa

Re: problem with tag

2000-10-25 Thread Cedric Dumoulin
I use JDK 1.3 and have the same problem. I also use Tomcat as web server. In fact, when Tomcat process an attribute like value="", it considere that you don't assign any value, and so it doesn't assign value to the tag. The option tag implementation does processing on the value, but as

Re: next stable release?

2000-10-25 Thread Craig R. McClanahan
Joe Peer wrote: > hi, > > i have got the following problem(s): > > - i discovered some major changes from 0.5 version (which are *very good* > for example it is good to have a HttpServletRequest Object accessible in > validate(..), and so on) > Hi Joe ... thanks for the vote of confidence! More

problem with tag

2000-10-25 Thread Pramod
Hi all,   I have a problem with tag running on jdk1.2.2. If I give     MyOption I get a null pointer ecxception when calling that JSP. ie., the value="" is not permitted. But in jdk1.3 it works fine. The struts documentation recommends jdk 1.2.2 or later versions to work.   Is such

next stable release?

2000-10-25 Thread Joe Peer
hi, i have got the following problem(s): - i discovered some major changes from 0.5 version (which are *very good* for example it is good to have a HttpServletRequest Object accessible in validate(..), and so on) - I totally agree that it is better having a well designed powerful framework with

not found error

2000-10-25 Thread Amit Kaushik
Hi,   I am new to this struts.I am making a new application on after make some changes in the given struts examples.I made two classes one is like a LoginForm.java as in examples and the another class is to see some details filled by the user.I am compiling those classes in to the same packa