Eric,
If the page isn't accessed through a struts action, you need to insert the
tiles definition before your tiles:insert commands like so:
Regads,
David
-Original Message-
From: Fenderbosch, Eric [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 10:39 AM
To: [EMAIL PROTECTED]
S
Do you have a file "WEB-INF/classes/ApplicationResources" ?
According to the name you put in your struts-config.xml file,
that is where it should be. If it were "resources.ApplicationResources"
then it would be in "WEB-INF/classes/resources/ApplicationResources".
Also, you program might not work i
but it doesn't work for
me. I delete most of the part of action class but
forgot the import part.
I attached a new zip for you to try.
Thanks a lot.
Katelyn
--- David G Friedman <[EMAIL PROTECTED]> wrote:
> You are seem to be trying to access Struts actions
> and tiles in a few i
You are seem to be trying to access Struts actions
and tiles in a few incorrect ways.
You are using a few struts tags incorrectly.
When you use the "html" tags, you normally
need to go through an action first so it can
setup the ActionForm automatically. Otherwise,
you'll probably have a null poi
Tim,
The StringEscapeuytils class is in the
commons-lang-2.0.jar included under the
displaytag-1.0-b1-examples.war in the
displaytag-1.0-b1-bin.zip download, if
you're using the 1.0-b1 release. :)
Regards,
David
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent:
Tim,
That class documentaiton reads that you should implement the new
ColumnDecorator interface on your object. I think that's convenient, to
keep the decorator in your class object.
Regards,
David
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Friday, Sept
Are you struts related .jar files all locally loaded under your application
in WEB-INF/lib or are they in a common shared area for your application
server?
Regards,
David
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2003 1:26 PM
To: Struts-U
Tim,
I know what you mean. Are you talking version
0.8.5 or 1.0-b1? The 0.8.5 are offically:
http://edhill.its.uiowa.edu/display
The 1.0-b1 are:
http://displaytag.sourceforge.net/
With downloads that don't seem to include
pre-built (i.e. html, just xml) javadocs.
I downloaded them a few days
t baby. The only thing it seems to be lacking is having
the date highlighted when that date has an associated event. Other than that
it's tight.
-= J
> -----Original Message-
> From: David G Friedman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 10:26 AM
> T
aible said the following on 25/09/2003 4:15 AM:
> I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I
> want an in-page calendar.
>
> Matt
>
> -Original Message-
> From: David G Friedman [mailto:[EMAIL PROTECTED]
> Sent: Wednesd
calendar.
Matt
-----Original Message-
From: David G Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:37 PM
To: Struts Users Mailing List
Subject: RE: Know of any good Calendar Tag Libraries? (Sorry, that was
Aug 21)
What about Matt Kruse's (very) beta
What about Matt Kruse's (very) beta taglib mentioned August 21st?
http://www.mattkruse.com/javascript/javascripttoolbox.zip
I wonder if it's any further along.
-David
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 6:23 PM
To: '[EMAIL PR
What about Matt Kruse's (very) beta taglib mentioned Sept 9?
http://www.mattkruse.com/javascript/javascripttoolbox.zip
I wonder if it's any further along.
-David
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 6:23 PM
To: '[EMAIL PROTECT
you have it set up?
-Tim
-Original Message-
From: David G Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 5:24 PM
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties
I'm haunted too. I changed a hibernate class,
had to fix a few act
I'm haunted too. I changed a hibernate class,
had to fix a few action classes to work with it,
and suddenly my validation framework (hell, my
whole application, cannot see my message resources,
the struts-config.xml (only one, no modules),
validation.xml, and JSP are unchanged.
My message resou
I'd like to know what your Hibernate problem was
since I'm using hibernate and never had a problem
with it saving data, unless I had the wrong
information in the object, causing a Hibernate
Exception, which I caught.
Do you have "show_sql=true" in your hibernate.properties
or hibernate.cfg.xml fil
Joe,
I've been planning on using the displaytag library for that stuff when I get
to it next week. Why won't the decorator classes work for you to perform
summations of rows, groups, and so forth? I'm wondering why it won't work
for you in case the same reasons might apply to my application
Casey,
I asked the same question on August 20th an received the below answer from
David Graham. I believe the bug was with reloading (stop/start) of Tomcat
apps not fully releasing properties. I was developing and seeing this
problem after about 20 or so stop/start actions. I still haven't depl
Anand,
The DynaValidatorForm already has a getPage()/setPage()
set of functions. Just use those. My common two problems
were a little different:
a) forgetting to use the 'page="X"' in my
html:javascript tag
b) forgetting to use the formName="someFunctionName"
in the html:javasc
Why can't you use Struts 1.1 with modules, and set the
RequestProcessor for each module using the controller
element? In what way would that method fail your
needs?
Regards,
David
-Original Message-
From: ll [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 12:45 PM
To: [EMAIL P
-Original Message-
From: Van Riper, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 3:45 PM
To: Struts Users Mailing List
Cc: 'David G Friedman'; [EMAIL PROTECTED]
Subject: RE: logic forward problem
> -Original Message-
> From: David G Friedma
Your path looks like a tile. I wrote about this
problem a week or two ago and you should've been
able to find it in the archives of this group.
It is documented on the logic forward tag as:
Note: forwarding to Tiles definitions is not
supported from this tag. You should forward to
them from an Ac
In IE5 (which is what Id been developing with) the code caused no problems,
but in IE6 clicking the submit button would cause a natural submit to occur
AND my javascripts submit() would also work, resulting in a second request
swiftly following the first (and generally resulting in a error). Somet
Alvin,
I had worries when I did my first file upload
a few weeks ago. I used a FormField type as
my FormBean field and then it was a simple
read and copy, like in the struts upload example
which used the commons upload.
The approach is different from your below, but
the file upload example was e
0, 2003 3:24 PM
To: [EMAIL PROTECTED]
Subject: Re: javascript with struts nested fields?
Why don't you use just formName["order.program"] ?
"David G Friedman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In an html page, is there a way to refer
In an html page, is there a way to reference a nested form variable without
using array subscripts?
In the web page the client sees, it gets the below:
I want a pop-up calendar window button next to it that populates that field
with the selected date. When I switched from "program" to a nested
Steven,
I had a problem like that where nothing was being uploaded because my form enctype was
not set to 'multipart/form-data'. Then again, the problem was when I was programming
in Perl under Apache + NT and migrating it to Perl under Apache + Linux, so it's not
quite the Struts-Upload relat
> > There's a bug report on this issue:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14042
> This only happens when reloading the app and will be
> fine in production.
Figures I'd miss that one reference: bugzilla.
Well, at least apache/mod_jk2 will let me use another Tomcat instance so I
Dear Andy,
I'm doing the same thing you suggest. My approach is
to extend the base Action (or any type of Action) class
by adding a functon 'checkLogin'. It takes the 'request'
as the argument, checks the session for a User bean, and
throws an exception if the bean is missing or if the ID
numbe
As you may know from my posts, I'm new to Struts. So, I'm compiling a little,
reloading my app, compiling more, loading my app, and so forth. Somewhere between
reloads ('stop' and then 'start', not 'reload' in the Tomcat manager), 20 to 30, I end
up getting tomcat errors about being 'Out of Me
I will have the need to send out an HTTPS Post (PayFlow Link or PayPal) and read the
returned page. PayPal has an unsupport page of CGI's which include Java code for
doing that. You might be able to customize it for yourself. I'll be trying it in the
next two weeks or so I hope
http://www
anks,
Erez
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 4:59 PM
To: Struts Users Mailing List
Subject: Re: validating a html:select box
Erez,
The Struts Validator has an intRange function. It's in the Validator
User Guide:
http
Ibatis? Bah humbug. I just jumped for joy because I got Hibernate (v2) working for a
simple Struts login application I made (step 1 of many in my project). No, don't ask
to see my facade (not made yet) or my action (looks ugly without a facade).
Regards,
David
---Original Message---
Erez,
The Struts Validator has an intRange function. It's in the Validator User Guide:
http://jakarta.apache.org/struts/userGuide/dev_validator.html
Here's an example from that page so you can set your min & max as 1 & 12 to prevent
the zero (label "month"?) from being submitted:
a.
On validation succeed, you can submit it. You can even set a hidden field that
indicates you updated the vehicle number stored in the JavaScript variable
initialVehicle.
Regards,
David
---Original Message---
From: "Khalid K." <[EMAIL PROTECTED]>
Sent: 08/07/03 01:
in the javascript code
(I am new to that still) but I saw that it only checks for the range if
the field is a text or textarea. Is this true? How can I perform the
client validation for selection boxes? Change the javascript?
Erez
-Original Message-
From: David G. Friedman [mailto:[EMAIL PR
>> o Firstly, Tiles assumes that a page is composed
>> of multiple content areas where you have one piece
>> of content to an area. This is true for a simplistic
>> site
For my complex pages, I plan on using the Tiles built-in 'putList' tag to add a
handful of JSP's to a particular section
I can attest to hibernate being clear and pretty easy. I got it working for my Login
application the other night along with simple use of tiles, validation, and
exceptions. I'm just working on a facade for it/me.
David
---Original Message---
From: Steve Raeburn <[EMAIL PROTECTED]>
Sen
>> o Firstly, Tiles assumes that a page is composed of
>> multiple content areas where you have one piece of
>> content to an area. This is true for a simplistic site
Though I'm new to Struts and Tiles, I planned on using the putList tag to add a group
of items/jsp's to a section of the page
> Do Struts works with Tomcat 4.1.27 ?
Yes. I just saved my webapps struts-*WHATEVER* applications (and my tomcat-users.xml
ids/passwords), erased my tomcat-4.1.24, installed 4.1.27, and started the new one in
under 5 minutes time. My application, the struts example application, and a few
til
Adam,
I simply add a tag in the section of my tiles definition like the snippet
below. One note to keep in mind from the documentation about the differences between
server-side validation using the page attribute and client-side validation - client
side is that page="number" only, and server-
> Taking your advice, it means that I would
> have two different action mappings, one
> for the init step and the second for the
> actual action (send). But then I will have
> to write something like
> which is a bit strange to write again the "init",
> and it is needed cause the ForgotPas
Cameron,
I'm VERY new to struts but I had no problem setting up and using tiles. Here are some
of my tiles definitions which I'm using without any problems. Perhaps my definition
can show you something you might be overlooking... BTW, I'm on Tomcat 4.1.24 on a
Linux platform using JDK 1.4.2 o
43 matches
Mail list logo