I personally recommend kgbinternet.com - not only b/c of the cool name, but
because of the great support and cheap prices (around $12/mo USD for a
private JVM http://www.kgbinternet.com/privatejvm.html). I've been up and
running there for over a year and they've been great. I host a Struts-based
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15188
-Original Message-
From: Terry Brick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 2:29 PM
To: [EMAIL PROTECTED]
Subject: Extending Tiles Role Attribute
Hi,
I really need to ability to specify multiple roles in
my
I haven't used the verifyForwardPath() method in StrutsTestCase, but I am
using it with StrutsTestCase and yep, it works fine for me.
-Original Message-
From: Sachin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 3:10 AM
To: Struts Users Mailing List (E-mail)
Cc: [EMAIL
It also looks in WEB-INF/lib/*.jar/META-INF/ for .tld files and simply
checks for the URI in .tld files. It doesn't actually go to it. For proof,
try the URI for Struts' HTML tag:
http://jakarta.apache.org/struts/tags-html
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
I'm willing to help if you send me the code. Which Displayer are you using?
Matt
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!
Is anyone out there working with
According to my tests, the JavaScript does not need to change to support
form id= rather than form name=
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15023
Matt
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:56 AM
To: Struts Users
/Menu
/Menus
/MenuConfig
-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%
menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer
From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%
menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer
From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL
Make sure you have validate=true on your action-mapping.
-Original Message-
From: Jim Bruno Goldberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: ValidatorForm and validation.xml
Hi, folks.
I am trying to use validation.xml, but
You can still use Tomcat. Servlets have always been part of the J2EE spec.
You can still use Tomcat. I have deployed Servlet 2.4/JSP 2.0 apps in
Tomcat 5.0.4 successfully.
HTH,
Matt
-Original Message-
From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 10:53
I've created a project that uses Struts, XDoclet and Hibernate and also
generates ActionFroms from POJOs. Maybe it'll help.
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
Matt
-Original Message-
From: Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003
Shouldn't it submit a form, rather than focusing on an element?
onchange=this.form.submit()
this.form can be used as a shortcut to the form on any elements w/in the
form.
HTH,
Matt
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 4:06
If you're using struts-menu, this has been fixed in CVS. JavaScript and
cookies are used to remember the menus that should be expanded.
HTH,
Matt
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 2:43 AM
To: [EMAIL PROTECTED]
Subject: Struts
We had the same requirement from our client - and we actually implemented
it! Using JavaScript and the DOM, we're able to add/delete rows, sort by
columns, have tabs for different sheets - pretty slick IMO. Of course, it's
an intranet app, so we require standards-compliant browsers
, July 18, 2003 11:29 AM
To: Struts Users Mailing List
Subject: Re: [Friday] How far can we let the clients push us?
Raible, Matt wrote:
We had the same requirement from our client - and we actually implemented
it! Using JavaScript and the DOM, we're able to add/delete rows, sort by
columns
In struts-html.tld, the page attribute allows run-time expressions:
attribute
namepage/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
However, in struts-html-el, the page attribute does not allow run-time
expressions:
attribute
namepage/name
requiredfalse/required
for
JSP
expressions, not EL expressions.
Quoting Raible, Matt [EMAIL PROTECTED]:
In struts-html.tld, the page attribute allows run-time expressions:
attribute
namepage/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
However, in struts-html-el, the page attribute does
work to generate the actual URI. c:url just treats
value
as either absolute (starts with a scheme) or context-relative (starts with a
/).
Quoting Raible, Matt [EMAIL PROTECTED]:
Yes it does - thanks for the tip! So I'm guessing (since this works) that
I
can replace all my html:rewrite page
If you're just looking for the values, grab it as a resource bundle. Here's
how I grab it in a Business Delegate:
// Get the application's messages resources
ResourceBundle resources =
ResourceBundle.getBundle(ApplicationResources);
String appDBVersion =
I forgot to add the simplest way in an Action class:
MessageResources resources = getResources(request);
resources.getMessage(keyName);
-Original Message-
From: Raible, Matt
Sent: Tuesday, July 15, 2003 10:51 AM
To: 'Struts Users Mailing List'
Subject: RE: How do you access
to populate into the value
attribute of another tag.
Any help appreciated ...
Mike
- Original Message -
From: Raible, Matt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 10:53 AM
Subject: RE: How do you access an application.properties
onclick=return confirm('Your message here')
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: Java Script Confirm and struts
Hi i wud like to have a confirm box that displays a message saying
make
The easiest way IMO is to do the following:
1. Create ActionForms or POJOs to represent each row returned from your
table.
2. Put these in a List and put them in a scope (i.e. request or session).
3. Display them with the Display Tag Library (http://displaytag.sf.net).
HTH,
Matt
I wrote a sample app that might be just what you're looking for:
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
HTH,
Matt
-Original Message-
From: Saman Ghodsian [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: Xdoclet
Hi everyone,
www.jstlbook.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 8:45 AM
To: Struts Users Mailing List
Subject: Réf. : RE: Using JSTL tags instead of Struts tags
can someone point me out a tutorial or a good book about JSLT.
Meissa
I did this today and it was pretty simple. Check out
http://tinyurl.com/gkp1.
HTH,
Matt
-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: fmt:message
As per earlier requests, I attempted to switch my
You might try a the HTML4/XHTML standard way of writing this:
script type=text/javascript src=/js/overlib_mini.js/script
Notice the all lowercase attributes and the /script is on the same line.
And ype, this is backwards compatible with all browsers to my knowledge.
Matt
-Original
How about using container managed security with tomcat's realms? It works
great for me.
Here's an example app if you're interested: http://tinyurl.com/fuvq
HTH,
Matt
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:27 AM
To: Struts
looked at it, I've just looked at
tomcat's security restraint stuff before)
-David
- Original Message -
From: Raible, Matt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:47 AM
Subject: RE: Webapp Security?
How about using container
Looks great guys - nice work!
test-all:
BUILD SUCCESSFUL
Total time: 5 minutes 35 seconds
Matt
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 1:39 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Struts
How about the good ol' ForwardAction - you can specify a definition name as
it's parameter:
action
path=/mainMenu
type=org.apache.struts.actions.ForwardAction
parameter=.mainMenu/
HTH,
Matt
-Original Message-
From: Chip Paul [mailto:[EMAIL PROTECTED]
Sent:
Here's a way to add asc/desc indicators to the display tag:
http://tinyurl.com/f4zy
HTH,
Matt
-Original Message-
From: Jason Meredith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 10:05 AM
To: Struts Users Mailing List
Subject: Need a Tag
Chaps
I have looked at the Display
new ActionError(error.key) works fine - why not use that? or use
MessageResources resources = getResources(request) like you normally would.
Here's a sample/discussion I recently posted:
http://raibledesigns.com/page/rd?anchor=re_using_struts_declared_exceptions
-Original Message-
From:
The easiest thing to do is to use container-managed authentication - i.e.
Tomcat's JDBCRealm. Since you'll have to hard-code your roles in web.xml -
why not code them in menu-config.xml as well.
Of course, you could allow all roles by using * in web.xml. This is the way
I've done it and it
The latest and greatest version of struts-menu has a roles attribute that
will hide menus if you're not in the list of roles.
BTW - you'll probably get a quicker response for struts-menu on the
struts-menu mailing list. ;-)
Matt
-Original Message-
From: [EMAIL PROTECTED]
When I first started developing with Struts (pre 1.0), I'd just have a
simple form with a DTO (VO back then) as a getter/setter on my form. In the
last year, I've changed to have a DTO and a Form, where the DTO has the true
data types (Long, Date, etc) and the form has only Strings. After doing
I've recently found it necessary to use StringUtils.trim(value) on all my
ActionForm.set() methods. While this is easy for me b/c I use XDoclet to
generate my ActionForms, I'm wondering if this can be an added feature to
Struts. Or should I create a custom StringConverter that trims and Struts'
www.landsend.com
Lands' End, Inc. (608) 935-4526
Never give in - never, never, never, never, in nothing great or
small, large or petty, never give in except to convictions of
honor and good sense. - Sir Winston Churchill
-Original Message-
From: Raible
be very upset if Struts did it for me (a user selectable
option would be fine) because it has no business making modifications to my
data.
Simon
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:37 AM
To: 'Struts Users Mailing List'
Subject: RE
I use it daily (hourly?) and it works great for me. Here's a sample
TestCase: http://tinyurl.com/emwp
Matt
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:55 AM
To: Struts Mailing List (E-mail)
Subject: StrutsTestCase question
Has
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12356.html
-Original Message-
From: Joseph Yang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:07 AM
To: 'Struts Users Mailing List'
Subject: How to instantiate a DynaActionForm?
Hello,
I have two pages: login.jsp and
, the test cases look pretty
straightforward themselves.
Simon
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 12:14 PM
To: 'Struts Users Mailing List'
Subject: RE: StrutsTestCase question
I use it daily (hourly?) and it works great for me
,
I'm just not getting it. But I am getting a NoClassDefFoundError on
MocStrutsTestCase and there are lots of classloader references in the stack
trace. I have strutstest-2.0.0.jar in my ant lib directory, so why can't
junit see it?
Simon
-Original Message-
From: Raible, Matt [mailto
You are correct. UserFormEx is an extension of the generated UserForm.
Reason: I don't want to put any form-specific stuff in my User object (why
should it care about UI stuff like indexed properties and the reset() and
validate() method). This allows me to *Ex*tend the form. ;0)
I only need
Nope. But since it *is* an open source project, feel free to add this
feature ;-)
Matt
-Original Message-
From: William Salvucci [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: StrutsMenu 1.2?
Can
Is it possible to replace:
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean %
with:
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean-el; prefix=bean
%
And get all of the same functionality that tags-bean has?
Thanks,
Matt
Makes sense. Good thing I have a common/taglibs.jsp file - this sucker is
getting huge!
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean %
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean-el;
prefix=bean-el %
%@ taglib uri=http://jakarta.apache.org/struts/tags-html;
There is a demo at http://raibledesigns.com/struts-menu and you can also
download the latest CVS snapshot from here at
http://raibledesigns.com/struts-menu/struts-menu.war
HTH,
Matt
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 9:47 AM
Check out Erik Hatcher's example app:
http://www.ehatchersolutions.com/JavaDevWithAnt/
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:43 AM
To: Struts Users Mailing List
Subject: Re: [OT] - Lucene Intergration with Struts/Struts Jobs
I don't
How about a demo site (http://raibledesigns.com/struts-menu) and a project
site (http://sf.net/projects/struts-menu)?
HTH,
Matt
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 10:00 AM
To: [EMAIL PROTECTED]
Subject: struts menu tutorial??
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 9:41 PM
To: Struts Users Mailing List
Subject: Re: Correct validator DTD
Raible, Matt wrote:
Which is the correct DTD for the Validator:
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons Validator Rules
Which is the correct DTD for the Validator:
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.0//EN
http://jakarta.apache.org/commons/dtds/validator_1_0.dtd;
OR 1.1?
!DOCTYPE form-validation PUBLIC
-//Apache
I've done this with LabelTag (http://tinyurl.com/dw0p), originally written
by Erik Hatcher. It basically adds a * for required fields, as well as a
class=required to the label element. It also shows the text as red (or
whatever your label.error CSS class says) when their is a server-side
Use JSTL's forEach with begin and end attributes.
c:forEach begin=0 end=50 step=1 var=option
c:out value=${option}/
/c:forEach
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 5:08 PM
To: Struts Users Mailing List
Subject: html:options
: Raible, Matt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:10 PM
Subject: commons-logging problem in 1.1 RC2
I found that this release candidate has a (seemingly) bad
commons-logging.jar.
I have a nightly build of Struts
I found that this release candidate has a (seemingly) bad
commons-logging.jar.
I have a nightly build of Struts (20030326) and it's commons-logging.jar is
31K. The one shipped with 1.1 RC2 is only 22K and none of my JUnit tests
emit any log messages. If I replace 1.1 RC2's commons-logging.jar
In struts-menu, the way I've implemented active tab is done using
JavaScript - and it's none obtrusive. Basically, I set an onclick event on
each tab (an li) when the page loads. Clicking on the tab then sets a
cookie. When the page loads, the active tab is set by comparing the current
URL with
You're probably doing something wrong - it works fine for me.
Matt
-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 8:42 AM
To: Struts Users Mailing List
Subject: validator with password fields
Hi all,
when trying to make a password field
A while back, I e-mailed this list regarding Tomcat - Oracle connectivity
issues across a firewall. Basically, the firewall would kill connection
pool-based connections after 90 minutes. We finally figured out a solution
(rather than workarounds) - and the best news is - it's from the Oracle
I just downloaded and installed Struts from last night (6/02/2003). Now I'm
getting deprecation errors for ValidationUtil, yet the API docs say nothing
about what it's been replaced with (http://tinyurl.com/dac9). Any ideas?
Also, ValidatorResources has a couple deprecated methods too.
I'm trying to use the Validator to validate that a user has entered their
information in a self-registration servlet.
However, I'm getting a NullPointerException at the following line when
running a test using Cactus:
InputStream rules =
Though, there is still a ton maintenance going on here. We have the
properties defined in the HTML form, and the struts-config, and in the
validator.xml, and then in some type of corresponding property in the
business bean, not to mention the actual data store. So to add a
field, we have
I prefer form-based authentication - for an advanced example, see
http://static.raibledesigns.com/downloads - download security-example.
Documentation will be coming on this project soon in Professional JSP 2.0 by
Apress (formerly was going to be by Wrox).
HTH,
Matt
-Original Message-
In a regular servlet, I'm trying to do the following:
InputStream forms =
getServletContext().getResourceAsStream(/WEB-INF/validation.xml);
But it's throwing a NPE, and validation.xml is in my WEB-INF folder. Any
ideas why this may be happening?
Thanks,
Matt
this in the constructor or an overridden init(ServletConfig)
that
hasn't invoked super.init(config)?
Quoting Raible, Matt [EMAIL PROTECTED]:
In a regular servlet, I'm trying to do the following:
InputStream forms =
getServletContext().getResourceAsStream(/WEB-INF/validation.xml
into gear.
Matt
-Original Message-
From: Raible, Matt
Sent: Friday, May 30, 2003 12:55 PM
To: 'Struts Users Mailing List'
Subject: RE: NPE with getResourceAsStream
I'm doing this in an execute(request,response) method that both doGet() and
doPost() call.
-Original Message-
From
an elegant solutions to
self-register (not using a servlet), let me know.
Thanks,
Matt
-Original Message-
From: Raible, Matt
Sent: Friday, May 30, 2003 7:13 AM
To: '[EMAIL PROTECTED]'
Subject: Using the Validator outside of Struts
I'm trying to use the Validator to validate that a user has
aprove content if you are not
admin role).
I can't imagine where you might be stuck, but here is the jsp:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bP/WEB-INF/portle
ts/memberSec/User.jsp
.V
Raible, Matt wrote:
Ok, now that I've gotten past super.init(config), onto the validator
in web CVS.
Raible, Matt wrote:
I'm not using Struts for the self registration. I'm protecting all of
the
struts actions (/do/*), so I cannot use struts w/o logging in. I
cannot
login if I don't have a username...
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Friday
You could do a couple things:
1. With plain HTML, add #anchorName to the URL that appears in your
browser's address bar, and then a name=anchorName where you want it to
be.
2. With JavaScript, use onLoad=location.hash='anchorName'
HTH,
Matt
-Original Message-
From: Sundar Narasimhan
Try changing methodparams to methodParams...
-Original Message-
From: Brown, Melonie S. - Contractor
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:46 AM
To: '[EMAIL PROTECTED]'
Subject: Possible Validator Bug
I created a custom validator and thought that I had everything
I *highly* recommend KGB Internet. I've been using them for almost a year
and they've got the best customer support I've ever seen from an ISP. Keith
responds within 5 minutes (via e-mail) usually to requests. They also give
you your own Tomcat instance that you can stop/restart and do whatever
Is it possible to require a field based on the value of another field? I
tried the following, but no dice:
field property=effectiveDate
depends=requiredif
arg0 key=changeRequestFormEx.effectiveDate/
var
Does anyone know of any open source packages or techniques for implementing
password rules. For instance, I need to implement the following rules for
password in my application:
Passwords must be made up of at least three (3) of the four (4) following
classes of characters: Lowercase letters,
: Password rules with the Validator?
Validating passwords in javascript is a *very* bad idea. A
hacker then has
access to all your password rules and makes it easier to
start guessing
passwords. This is the reason validator doesn't provide a password
validation.
David
From: Raible
So, you're saying that effectiveDate is requiredif state == 940?
Yep.
Try adding [0] to the end of the field* vars.
That worked - thanks! I've hacked together some client-side javascript for
this since there's not one in the validator natively - I'll try to work a
method up for equals.
Unless, of course, you generate your Forms using XDoclet, and then it takes
no time at all ;-)
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 10:40 AM
To: Struts Users Mailing List
Subject: Re: DynaForms perfomance
On
For your images and stylesheets, I suggest using html:rewrite for the
paths - works great for me.
img src=html:rewrite page=/images/myImage.gif/ alt=alt text /
HTH,
Matt
-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 12:54 PM
To:
Try the struts-menu user list. I didn't write this displayer, but I'm
guessing it doesn't support these attributes.
Matt
-Original Message-
From: Alessio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 5:33 AM
To: Struts User
Subject: OnMouseOut
Hi, i' ve a problem
Are there any OJB examples with Struts? The reason I ask is that I know of
two Hibernate/Struts examples:
http://sf.net/projects/struts
hibernate and resume modules
HTH,
Matt
-Original Message-
From: Tim Shadel [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 2:26 PM
To:
Just use a regular textarea and bean:write our c:out to populate it.
HTH,
Matt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 1:09 PM
To: [EMAIL PROTECTED]
Subject: [Q] how specify wrap=OFF for html:textarea ?
Hello,
Today I upgraded from 1.1 RC1 to a Nightly build - thought I'd share the
experience.
http://tinyurl.com/87xa
Matt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Have you tried putting MessageProperties in WEB-INF/classes?
-Original Message-
From: Rabih Yazbeck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 2:14 PM
To: 'Struts Users Mailing List'
Subject: error with JBoss: Missing message for key
Hello,
I have received an
Easiest way without too many details (lots of opinions on getting data from
database):
1. Put data into an ArrayList of Beans (forms, POJOs, whatever).
2. Use display tag library for display/sorting/paging -
http://displaytag.sf.net (it's open source, so if you want to improve it
feel free!)
I've seen this a lot with Struts - it seems you can't have forms with the
same name in any two scopes. To work around this issue, I name my forms
differently. For instance, I store the logged-in user's form in the session
as currentUserForm and when I edit a user, I call it userForm.
HTH,
Matt
I have a requirement to send a notification e-mail when an item in my app is
deleted. I was hoping to use a string (post-substitution) from
ApplicationResource.properties to do this, but alas, it does not work like I
hoped. Is this possible without loading it as a ResourceBundle and calling
According to the HTML spec, you cannot populate an input type=file's
value attribute. It's a security feature. Some browsers will do this for
you, but others will not.
Matt
-Original Message-
From: Sukhenko, Mikhail (Contr) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 2:29
Just use an HTML button. There's nothing in struts that prevents you from
hand-coding HTML. The html:button tag just renders and input
type=button... - just view-source and substitute the required values
accordingly. I do this all the time.
Matt
-Original Message-
From: Wayne A
I have the following definition in my tiles-config.xml:
definition name=.login extends=baseLayout
put name=title.key value=login.title/
put name=heading.key value=login.heading/
put name=content value=/WEB-INF/pages/welcome.jsp/
/definition
baseLayout has a path
I have the following definition in my tiles-config.xml:
definition name=.login extends=baseLayout
put name=title.key value=login.title/
put name=heading.key value=login.heading/
put name=content value=/WEB-INF/pages/welcome.jsp/
/definition
baseLayout has a path
If you're using a Servlet 2.3 container, I'd recommend using a
ServletContextListener over a StartupServlet. I recently changed my apps to
use this, and it was pretty simple to do. After all, that's what the SCL
was designed for.
As an example:
http://tinyurl.com/7elp
HTH,
Matt
For some, this does not work. Here's my story:
I have successfully subscribed and unsubcribed to this list many times using
my @raibledesigns.com account. However, at my day job (@cable.comcast.com),
I cannot unsubscribe from any lists that require e-mail verification.
Currently I'm subscribed
The easiest way to find these is by looking in the display.tld file with
your favorite XML editor.
-Original Message-
From: James CE Johnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 2:46 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL
All three of the links allow roles to be specified in menu-config.xml -
this is how the roles are used. For an online example, see:
http://raibledesigns.com/struts-menu/rolesMenu.jsp
The dhtml menus use ListDisplayer, not DropDownDisplayer, so you're right
in that it's not in that one. The IE6
-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 9:17 AM
To: 'Struts Users Mailing List'
Subject: RE: StrutsMenu
All three of the links allow roles to be specified in
menu-config.xml -
this is how the roles are used. For an online example, see:
http
I have the following base tile definition that all my other definitions
extend:
definition name=baseLayout path=/layouts/baseLayout.jsp
put name=title.key/
put name=heading.key/
put name=header value=/common/header.jsp/
put
.
Cedric
Raible, Matt wrote:
I have the following base tile definition that all my other
definitions
extend:
definition name=baseLayout path=/layouts/baseLayout.jsp
put name=title.key/
put name=heading.key/
put name=header value=/common
Edgar,
I'm a committer on struts-menu, so hopefully I can help you out.
I believe using the location attribute vs. page attribute will strip out
your context and use the exact value you specify in location rather than
pre-pending the context.
As for remembering the position - which layout are
I removed commons-logging.jar from WEB-INF/lib and it works fine for me on
Tomcat 4.1.18 on Windows and Linux.
HTH,
Matt
-Original Message-
From: harish krishnaswamy [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 2:12 PM
To: Struts Users Mailing List
Subject: [HK]
and where can i find some examples /
downloads ?
please
On Monday 10 March 2003 3:22 pm, Raible, Matt wrote:
Edgar,
I'm a committer on struts-menu, so hopefully I can help you out.
I believe using the location attribute vs. page
attribute will strip
out your context and use the exact
1 - 100 of 205 matches
Mail list logo