Demo at: http://www.raibledesigns.com/resume/ (click on Toggle README link
below login box)
JavaScript:
/* Function for showing and hiding elements that use 'display:none' to hide
*/
function toggleDisplay(targetId) {
if (document.getElementById) {
target =
I'm using a 2GHz with 512MB RAM (Win2K) and I can
undeploy/clean/compile/deploy (using Ant) my entire project in just under 30
seconds. The project has about 250 .java files and generates a bunch more
using XDoclet. A pretty resource intensive build. The biggest difference
I'd say is the CPU.
webserver or appserver?
-Original Message-
From: Velagapudi, Niranjan [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 3:11 PM
To: 'Struts Users Mailing List'
Subject: Any Known Help (links) on Making Struts 1.1 work on I Planet
6.0?
Is anyone aware of known links that
You can use the styleId attribute of the form-related tags to render an id
element on a form.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 10:49 AM
To: [EMAIL PROTECTED]
Subject: Javascript use of ID
Hi,
My client
I register it as a resource in JNDI and then get the mail session from
JNDI...
Matt
-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 12:47 AM
To: [EMAIL PROTECTED]
Subject: mail settings
As it is typical to have a *.properties file for
http://sf.net/projects/struts
-Original Message-
From: Pellier, Marc [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 6:23 AM
To: Struts Users Mailing List
Subject: Where can I find Example
Hi,
I'm new
Where can I find exampleS of struts Application (other than
I have an ActionForm with the following:
ArrayList msoIds;
public ArrayList getMsoIds() {
return msoIds;
}
public void setMsoIds(ArrayList msoIds) {
this.msoIds = msoIds;
}
Now I have a JSP that displays a select with the ability to select
multiples:
html:select multiple=true
=true and setting properties
Matt,
Does it have to be an ArrayList?
Could you get away with just an Array?
I use String arrays in my Action forms for multiple selects
and haven't
had a problem with that.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED
For a complete how-to on matching two fields, plus the JavaScript for
validator-rules.xml, check out http://tinyurl.com/6jnv.
HTH,
Matt
-Original Message-
From: Brian Topping [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2003 6:41 PM
To: Struts Users Mailing List
Subject:
request.getContextPath()
-Original Message-
From: awc [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 10:36 AM
To: Struts Users Mailing List
Subject: My web application name
Hi all,
how do I get name of the web application a servlet execute on servlet
spec 2.3.
Is it possible to configure dispatch actions to recognize a path parameter,
rather than a true parameter:
I'd like to do:
/user/search
rather than:
/user?action=search
I guess I could do this with a forward eh?
Matt
-
To
You could use form-based authentication and remember me functionality:
http://tinyurl.com/6du0
To see real code:
LoginServlet.java (http://tinyurl.com/6jn4)
BreadCrumbFilter.java (http://tinyurl.com/6jn8)
HTH,
Matt
-Original Message-
From: Julie Steiner [mailto:[EMAIL PROTECTED]
I think you can still solve your problem with form-based authentication:
1. rather than storing cookies, you already have the user's
username/password (right?) - just use that in BreadCrumbFilter.
2. j_security_check is just a URL that tells that appserver to perform
authentication. It will
#2 on this page is my favorite:
http://www.mattkruse.com/javascript/calendarpopup/
-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 1:10 PM
To: Struts User
Subject: Wanted: struts-calendar
Does anyone know of a good pop-up
My site uses it: http://raibledesigns.com
If you login (link at bottom right) as test/roller, you can edit the test
weblog at http://raibledesigns.com/page/test. The Editor UI is written in
Struts, and the main weblog UI is using Velocity. Powered by Roller
(http://www.rollerweblogger.org).
Baahhh, they don't like modern browsers eh? Using Mozilla, I get the
following page. No response needed, just thought maybe the developers are
listening ;-)
You cannot access Online Account Services with your current Web browser.
Possible reasons for this could be one of the following:
*
If you can get to the DTD with your browser, and you're behind a firewall,
you may have to add your proxy information to Tomcat. To do this, create a
CATALINA_OPTS environment variable, and add something like the following:
-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=85
-Original
A workaround that I've used (b/c I don't think you can get the size) is to
add a getter to a form that contains the collection.
public String getCollectionSize() {
return collection.size();
}
-Original Message-
From: John Thorhauer [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
I'm working fine with:
Tomcat 4.1.18 (+ DBCP Connection Pool)
Struts 1.1-rc1
Oracle 9i
Servers: Win2K, Red Hat 8, Solaris 8
What's the bug you're referring too?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 2:55 PM
To:
I use Tomcat's JNDI database, not struts - my config is below. Make sure
that classes12.jar is in common/lib.
Matt
web.xml
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/mydb/res-ref-name
res-typejavax.sql.DataSource/res-type
Maybe a tiles controller for the form information at the top?
-Original Message-
From: Art Vandalay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 3:39 PM
To: Struts Mailing List
Subject: More Than Form On A JSP
I am developing an architecture for the rest of my
You're probably not going to like my advice, but IMHO
Netscape 4.x should
be banished from the list of browsers supported by modern webapps.
I agree - you don't support IE 3.0 do you? It was released at the same time
as the first Netscape 4 version. You'll save yourself countless hours
An obviously longer option:
span style=font-size: 11pxsupSM/sup/span
-Original Message-
From: ajTreece [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:08 PM
To: Struts Users Mailing List
Subject: [OT] Special Symbols in HTML
My apologies for this [OT] question, but
Brandon - thanks for the confirmation. S
ince I'm doubting this patch will get into 1.1, I wrote a simple workaround
with JavaScript (http://tinyurl.com/6cp9).
Thanks,
Matt
-Original Message-
From: Brandon Goodin
To: Struts Users Mailing List
Sent: 2/24/2003 1:59 PM
Subject: RE:
Here's who I use, they've worked great for me:
http://www.kgbinternet.com
Matt
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 4:38 AM
To: Struts Users Mailing List
Subject: WebHosting Struts
Hi,
I'm looking for a free web hosting
:(
- Original Message -
From: Raible, Matt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 4:35 PM
Subject: RE: WebHosting Struts
Here's who I use, they've worked great for me:
http://www.kgbinternet.com
Matt
try including your contextPath in the value for the href, unless of course,
you have your app installed as the root app.
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:35 AM
To: Struts Users Mailing List
Subject: JavaScript
I
For Struts 1.1b3 and the soon to be released Struts 1.1 RC1, do you
recommend using TilesAction over the Controller interface
(http://tinyurl.com/62px) for tiles-specific controllers? I just wrote
about using the Controller interface for a Wrox Chapter last night, and I'd
hate to be out of date
by Struts.
In addition, a TilesAction should be declare in the struts
config file,
and called throw its URL.
Cedric
Raible, Matt wrote:
For Struts 1.1b3 and the soon to be released Struts 1.1 RC1, do you
recommend using TilesAction over the Controller interface
(http
The first thing that came to mind when I read this was...
If you're using Tiles, you might try a different controller for each iframe.
Read more about Tiles Controllers at:
http://blogs.browsermedia.com/patrick/index.do?date=#174409
HTH,
Matt
-Original Message-
From: Dennis
The display tag library hasn't had any active development in a while, but
we've recently started development on it again
(http://sf.net/projects/displaytag).
It currently supports:
- paging
- sorting
- multi check-box (via Decorators)
- rendering conditional color rows
internationalization is
I believe the display tag only supports Lists at this point - Collection
support is upcoming.
Matt
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 9:31 AM
To: 'Struts Users Mailing List'
Subject: RE: Best tag to display table
is the leader in solutions and technologies for the
entertainment
and media industries and serves its customers under its four strategic
brands: Technicolor, Grass Valley, RCA and THOMSON.
More about Thomson: http://www.thomson.net/videochain
Original Message-
From: Raible, Matt
The validator tags are not built into the struts html taglib. Here's what I
use for my 1.13b app (actually it's a nightly build post 1.1b3 for the cdata
attribute).
html:javascript formName=myForm cdata=false
dynamicJavascript=true staticJavascript=false/
script type=text/javascript
Use the ActionForward built-in class:
action
path=/logout
type=org.apache.struts.actions.ForwardAction
parameter=/logout.jsp/
You can specify a JSP or a tiles' definition as the parameter.
HTH,
Matt
-Original Message-
From: Bert Catsburg [mailto:[EMAIL
(it is not documented as such).
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:27 AM
To: 'Struts Users Mailing List'
Subject: RE: How to link to an Action which has no Form.
Use the ActionForward built-in class:
action
My first question is why would the server care if javascript is
enabled/disabled?
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 2:34 PM
To: Struts User
Subject: Server detection of Javascript enabled?
Without using
My last 3 projects have all used Struts, though concurrent users was quite
low on all. Here's my order of progression:
June 2001-October 2001: EJB, RowSets (made or own RowSet implementation)
January 2002-December 2002: Custom DAO to populate VO - based on Generator
I've used Hibernate on my last two (small) projects. It works great for me,
and is super easy if you read the documentation. On one project, I have
POJOs that are marked up with XDoclet and it creates ValidationForms and
Hibernate mappings using Ant tasks. So I have one class to maintain. This
Make sure you have the latest version from
http://sf.net/projects/struts-menu and then add the following to
struts-config.xml:
!-- == Menu plugin --
plug-in className=com.fgm.web.menu.MenuPlugIn
set-property
property=menuConfig
I am - and it's awesome. The only issue (IMO) in XDoclet's current codebase
is that you can only generate Struts' Forms from Entity Beans at this point.
I've submitted a patch for it (http://tinyurl.com/5bb9), but no one has
committed it yet. If you're interested in using this patch, you can find
Do you have a user account at SF.net so I can make you a developer on the
project?
Thanks,
Matt
-Original Message-
From: Benjamin Simpson
To: Struts Users Mailing List
Sent: 2/3/2003 11:48 AM
Subject: Re: [OT] Display Tag Library Project setup at SF
I would like to be a part of this
I usually create an ActionFilter that maps to the same url-pattern as my
Action class. You can then set a userForm or token in the session if it's
null, and that way you'll know if they just logged in or not. Seems to work
pretty well for me.
Here's an example:
http://tinyurl.com/55an
HTH,
I prefer to call it bug fixin' juice... ;-)
-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:16 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] Geek Code
With out Beer, why code
- Original Message -
iPlanet webserver or iPlanet appserver? For appserver, checkout
http://tinyurl.com/55jh
HTH,
Matt
-Original Message-
From: Daniel E. Morrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Stuts on iPlanet 6.0 - which one is
the paths are case-sensitive - you have Welcome.do in your forward, but
welcome in your action-mapping.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:18 AM
To: Struts Users Mailing List
Subject: Page remains at index.jsp
I'd recommend opening an issue in Bugzilla for this - maybe we can get the
committers to add a property to the html:rewrite tag or something that is
moduleSensitive or something. A simple solution might be to subclass a
Struts tag and make it not module sensitive.
Matt
-Original
I have a table with 6 columns. I am grouping on the first 4 columns using
group=$columnNo. I'm wondering if it's possible to have the # of items in
the displaying 1 of 20 items reflect one of my grouped columns. For
instance, column 3 has 10 items, even though there are 20 items in the list.
as column 3. I can attach screenshots if
it'll help. Don't know that this mailing list will allow them tho.
Thanks,
Matt
-Original Message-
From: Raible, Matt
Sent: Friday, January 31, 2003 10:58 AM
To: '[EMAIL PROTECTED]'
Subject: [OT] Display Tag Library and grouping
I have
I've used them, and since they're standard HTML tags, not taglibs, they will
*never* render JSP errors, just invalid markup.
HTH,
Matt
-Original Message-
From: Vinay [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 11:20 AM
To: Struts Users Mailing List
Subject: fieldset
Anything you can do with JSP, HTML, Javascript or CSS - you can do with
Struts. It does not limit you in anyway - it just produces HTML,
JavaScript, etc. dynamically. But it all ends up being HTML (or XML) in the
end. To do what you want to do below, you'll simply need to add some fancy
Since there seems to be a lot of display:* users on this list, I thought
I'd ask this question here - hope you don't mind.
I have a string in my form that is a date. In order to get the display tag
library to sort this column (date) correctly, I have added the following
method in a Decorator:
toString?
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 11:41 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: [OT] Display Tag Library - Sorting Dates
Since there seems to be a lot of display:* users
I've used tiles, validator and ApplicationResources.properties in a modules
environment. You just have to configure your struts-config.xml and
struts-config-module.xml to load the same files - pretty simple.
Matt
-Original Message-
From: Kirby Vandivort [mailto:[EMAIL PROTECTED]]
?
As far as I know the tomcat connection pool works only via jndi setup
whereas struts utilized the oldfashioned way. And moreover
you have to
set it up in struts-config.xml which is a bit tricky for deployment.
Michael
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED
I have an ActionFilter that is applied to all my /do/* requests. I want to
populate a list of data, but only when the user goes to my mainMenu
forward. What is the best way to detect that they are going here. I tried
request.getRequestURL, but that doesn't do me any good, cause sometimes that
have you checked out the display tag library?
http://edhill.its.uiowa.edu/display-0.8/
-Original Message-
From: Arik Levin ( Tikal ) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 5:46 AM
To: 'Struts Users Mailing List'
Subject: RE: Is there a List navigater Tag to use
FYI...
in an onclick event, you do not need to prefix the method name with
javascript:
;-)
-Original Message-
From: Thomas CORNET [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 5:39 AM
To: Struts Users Mailing List
Subject: Re: Javascript bean:message
Yes it
Just to share another JavaScript tip I learned recently...
If I have an a href= onclick= / and I need to stop the href from
doing anything, I've often used href=# or href=javascript://. The
problem with # is that it sometimes causes the page to go to the top, and
javascript:// can look like a
try wrapping bean:message with single quotes (') rather than double quotes.
Usually you will only see this if you're nesting tags though - and that
won't work.
-Original Message-
From: Thomas Cornet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 7:06 AM
To: Struts Users
Run your app - view source and see the HTML that is generated for your tag.
copy/paste (regular input fields work fine with Struts, you just have to
use the right name=)
substitute your bean:message accordingly.
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent:
After waiting 24 hours, I'm still experiencing the same problem with Oracle
and a connection pool (DBCP) in Tomcat. I guess I'll try configuring
Oracle's connection pool??
Matt
-Original Message-
From: Raible, Matt
Sent: Tuesday, January 21, 2003 8:22 AM
To: 'Struts Users Mailing
you have to
set it up in
struts-config.xml which is a bit tricky for deployment.
Michael
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 22. Januar 2003 17:18
To: 'Struts Users Mailing List'
Subject: RE: db connection pool
Actually, the solution that I had only works for MySQL. I'm having the same
problem with Oracle. Funny - I just posted a message to the commons-user
group asking this same question. I'll try adding the validationQuery
parameter:
parameter
namevalidationQuery/name
Why would you need to chain that many actions together? I'm thinking maybe
to populate 10 different forms - but in that case you could use a parent
wrapper form, 10 child forms and populate all using a business delegate.
Matt
-Original Message-
From: Kenny Smith [mailto:[EMAIL
I'm assuming this will work for configuring a context in Tomcat as well?
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg51842.html
Thanks,
Matt
-Original Message-
From: Bradley G Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 9:29 AM
To: Struts
You might have the wrong URI - this is working for me:
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean %
%@ taglib uri=http://jakarta.apache.org/struts/tags-html; prefix=html %
I obtained these URI's from their respective .tld files.
HTH,
Matt
-Original Message-
I'm guessing that nothing has changed since the message below on Aug. 2001.
Since this is not possible, I'm willing to write out a bunch of Javascript
to do this validation. My question is, how do I get the mask and such from
the validator. The validator produces the following:
function
Check out FOP from Apache's XML project:
http://xml.apache.org/fop/index.html
-Original Message-
From: Yan, Charlene [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 1:07 PM
To: Struts Users Mailing List
Subject: XML to PDF
Hello all,
I just got assigned to
Personally, I use aliases in my .bashrc file (if on Windows, use cygwin):
alias tstart='$CATALINA_HOME/bin/startup.bat'
alias tstop='$CATALINA_HOME/bin/shutdown.bat'
Then I can just to tstop and tstart from the command line and start/stop
tomcat. However, if you *really* want to do it from Ant,
If you use the taglib's URI (as specified in it's .tld file), you don't need
to put any .tld files in WEB-INF, nor do you need an entry in web.xml. All
you need to do is drop struts.jar into WEB-INF/lib.
%@ taglib uri=http://jakarta.apache.org/struts/tags-logic; prefix=logic
%
This should work
I'm using it and it seems to work pretty well. However, on my last project,
I used such things like UserDAOMySQL, and it seems like it would be a real
pain (right now) to write a bunch of new classes for Oracle (UserDAOOracle).
This is mainly because of all the SQL inside my DAO, and it would be
.
I'll look into hibernate. I've heard some great things about
it. Thanks for
the advice.
Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent
Use a decorator:
http://edhill.its.uiowa.edu/display-examples-0.8/example-imp-objects.jsp
It's worked great for me.
HTH,
Matt
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 10:01 AM
To: [EMAIL PROTECTED]
Subject: logic:equal and
I believe it's 3.2 as 4.01 has a button element and there's no such thing
in Struts's HTML Tag Library.
-Original Message-
From: Brennan.O'[EMAIL PROTECTED] [mailto:Brennan.O'[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 9:54 AM
To: [EMAIL PROTECTED]
Subject: HTML spec compliance
Is it possible in 1.1b3 to turn off the CDATA rendering in the following
javascript block?
script type=text/javascript
![CDATA[
!-- Begin
var bCancel = false;
function validateHSCRFMasterForm(form) {
if (bCancel)
return true;
else
return
MessageResources resources = getResources(request);
-Original Message-
From: Garth Ramakant Patil [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 2:56 PM
To: [EMAIL PROTECTED]
Subject: can't get messages from my action
I'm trying to get a message from
from my action
Thanks.
One further question: If I'm trying to do the same thing from another
method in the business logic layer where I haven't passed in
the request,
is it possible to get it some other way?
On Mon, 20 Jan 2003, Raible, Matt wrote:
MessageResources resources
I found the following example of validating an indexed property:
fieldproperty=cityStateZip.zipPostal[1]
depends=required,mask
page=2
arg0 key=registrationForm.zippostal.displayname/
var
I have a unique situation (IMO) where I am populating a ValidatorForm from
the database, and then I want to validate it and create ActionErrors
before displaying the form. My mapping for the edit/retrieval does not
reference the form - therefore, in order to call
ActionErrors errors =
);
if (!errors.isEmpty()) {
saveErrors(request, errors);
}
Any assistance is appreciated,
Matt
-Original Message-
From: Raible, Matt
Sent: Monday, January 20, 2003 4:50 PM
To: '[EMAIL PROTECTED]'
Subject: Validating in an action
You might try searching on http://www.javablogs.com - there's been lots of
debates on this topic lately.
-Original Message-
From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 6:35 PM
To: [EMAIL PROTECTED]
Subject: [OT] Eclipse IDE
Hi all,
I
Anyone know a good regular expression translator - or the equivalent of
allowing +, - or ?
Thanks,
Matt
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Add autoReconnect=true to your connectionURL, as in:
connectionURL=
jdbc:mysql://localhost/roller?autoReconnect=trueamp;user=rolleramp;passwo
rd=tiger
-Original Message-
From: mech [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 4:52 AM
To: [EMAIL PROTECTED]
Subject: Problem
http://www.mail-archive.com/struts-dev%40jakarta.apache.org/msg12356.html
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 5:34 PM
To: [EMAIL PROTECTED]
Subject: Problem with using DynaValidatorForm, is it possible to do it??
Hi,
I am
[mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 8:14 AM
To: 'Struts Users Mailing List'
Subject: RE: regular expression help
how about (\+|\-|\s)
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent
Here's how I did it:
On my Form:
public ArrayList getKids() {
returns kids;
}
public void setKids(ArrayList kids) {
this.kids = kids;
}
public int getKidsSize() {
return kids.size();
}
In my JSP:
nested:iterate property=kids
...
nested:text
I have found that I'm better off not using the html:base / tag with Tiles.
-Original Message-
From: Christoph Rooms [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 9:01 AM
To: [EMAIL PROTECTED]
Subject: Tiles - Modules - HTML:BASE
Hi guys,
I am trying to replace the Templates
, altum viditur.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 10:04 AM
To: 'Struts Users Mailing List'
Subject: RE: regular expression help
Sounds like it's work, I'm trying to create a constant for the validator -
where a field can only have
You might look at the nested tag library - works pretty good for this type
of stuff. Tutorials at http://www.keyboardmonkey.com.
HTH,
Matt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 12:35 PM
To: [EMAIL PROTECTED]
Subject: nested
Why do you have unknown=true - I *think* this means that that the Welcomer
class will only be called if no mapping is found for it...
-Original Message-
From: Cagan Senturk [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 1:28 PM
To: Struts Users Mailing List
Subject: Re: struts
I have two forms, one is a subclass of the other. Let's call them
ParentForm and ChildForm. ParentForm is generated from a POJO (Plain Old
Java Object) using XDoclet. ParentForm extends extends ValidatorForm.
ChildForm extends ParentForm and contains my reset method and setter objects
for
Nope - I tried with no success.
-Original Message-
From: Christoph Rooms [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 8:12 AM
To: [EMAIL PROTECTED]
Subject: Struts Modules
Hi,
I have my Action Servlet to react with the servlet mapping /do/*.
I have the feeling this
You *might* be able to use XHTML and let everything through for you HTML
clients, and then you'd only require a XSL stylesheet for the VoiceXML
client. Since XHTML *is* XML - this might work?
HTH,
Matt
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
I have an ArrayList on a form... let's call the form Parent and the
ArrayList Children.
If I have:
private ArrayList children;
public void setChildren(int index, ChildForm childForm) {
this.children.set(index, childForm);
}
Then saving my form results in a NPE for
'
Subject: RE: Indexed Properties and Population
int elements = children.size()
?
Where are you defining this method?
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 4:31 PM
If I have:
private ArrayList children;
public void
I've used it and it works fine. What you have below should be sufficient
for disabling client-side validation. An even easier way is to turn off
Javascript on your browser (easy in Mozilla or Phoenix, harder in IE). One
think to make sure of is that the input value is set on your
Checkout struts-menu at
http://sourceforge.net/forum/forum.php?forum_id=241446 - I recently added
functionality for coolmenus4 and dhtml list menus like this one:
http://www.gazingus.org/html/menuExpandable.html
For more information on improvements I made, check out:
One problem with HeirMenus is they now charge for it - doh!
http://www.webreference.com/cgi-bin/hier/index.cgi
CoolMenus offers the same functionality, and it's free:
http://www.dhtmlcentral.com/projects/coolmenus/?m=10
-Original Message-
From: Haseltine, Celeste [mailto:[EMAIL
I've seen the html:errors property=propertyName/ tag, and I'm hoping I
can use it. I have a page that is a web-version of an Excel workbook, with
3 spreadsheets. I am retrieving, from a database, a parent object with
ArrayLists of 4 children. The first three children are worksheets per se,
and
101 - 200 of 205 matches
Mail list logo