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
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
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
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
Apologies for this off-topic posting but I believe this is a great
resource for people using Orion and Struts: http://www.orionsupport.com
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
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
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
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
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:
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
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
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--
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
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
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
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");
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
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
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
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,
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
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
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
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
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.
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
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
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
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
***
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
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
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
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
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
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
>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
>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
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
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
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
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
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
43 matches
Mail list logo