You can use the JSTL function library to do fn:startsWith()
-Rod
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 24, 2008 03:38
To: user@struts.apache.org
Subject: Regex in Struts 1 tags?
Is there any kind of support or even a workaround to using regex in
Hi Neil,
When you say Look and Feel are you referring to just the visual aspects of
the site or are you referring to a marked difference in front-end
functionality?
If you are not providing differing functionality or the functionality being
provided is mostly similar to the current site, your bes
Tiles (and in Struts 1? Tiles) :-)
http://struts.apache.org/1.x/struts-tiles/
-Rod
-Original Message-
From: lbastil [mailto:[EMAIL PROTECTED]
Sent: Friday, November 02, 2007 10:43
To: user@struts.apache.org
Subject: [s2] templating approach / own tag?
Hi,
I want to archive the follo
Keep in mind however in POHTML the "target" attribute is deprecated unless
you are doing frames development (which I hope you are not ;-)).
The proper way to get a new window is to use the window.open() call from
your tag.
HTH,
-Rod
-Original Message-
From: Dave Newton [mailto:[EMAIL PR
Depending on the DB you can implement this using triggers and log your audit
trail directly in the DB itself.
-Rod
-Original Message-
From: wild_oscar [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 14:36
To: user@struts.apache.org
Subject: Audit trail - implementation strateg
BeanUtils is part of Apache Commons: http://commons.apache.org/beanutils/
HTH,
-Rod
-Original Message-
From: Whitmire, Tracy Carroll [mailto:[EMAIL PROTECTED]
Sent: Monday, October 01, 2007 13:17
To: user@struts.apache.org
Subject: Struts2 Cookbook Question
I'd like to use some of the i
There is nothing wrong with Javascript in general - when used judiciously.
The problem with Javascript (in this particular situation) is that if
Javascript is disabled or unavailable for any reason, the user will not be
able to submit the request - this is a major accessibility no-no.
IIRC the O
This may not be the only issue but I do see a typo in setSession()...
It should be: this.session = session; instead of this.session = map;
-Rod
-Original Message-
From: Mark Rollins [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 25, 2007 05:47
To: user@struts.apache.org
Subject: Re:
information. No "libs"
are being included.
This is not a "dirty" practice and is, in fact, the intention of the
specification.
-Rod Bollinger
-Original Message-
From: Yayo [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 12, 2007 15:50
To: Struts Users Mailing List
Subj
end reading (or re-reading) the JSP 2.1 specification -
especially section JSP.1.10.5 (including data in JSP pages) for more
information.
Regards,
-Rod Bollinger
-Original Message-
From: Yayo [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 12, 2007 14:23
To: Struts Users Mailing List
Hi Alex,
If I understand what you are trying to do, you can use JSTL to accomplish
the task as such:
HTH,
-Rod
-Original Message-
From: Alexander Jede [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 04:53
To: user@struts.apache.org
Subject: [S1]minipulate output of
Hallo l
a 9-digit number
which starts with 000: any of the other possible problems aren't
addressed.
Chris
-Original Message-
From: Rod Bollinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 10:33 AM
To: 'Struts Users Mailing List'
Subject: RE: Help in using regex in V
This won't actually work. The parentheses should be braces and if you don't
supply the start ("^") and end ("$") delimiters you will match nine-digit
patterns within larger patterns as well (which I assume you don't want).
The correct simple syntax is: ^000\d{6}$
In your code, if you DON'T get a
Hi Piloupy,
You can do this using JSTL as such:
Then you can reference ${myOutput} anywhere you like.
HTH,
-Rod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of piloupy
GOTTAPIL
Sent: Friday, April 27, 200
The JSTL format tags are always a viable option as well.
-Rod
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, April 23, 2007 18:31
To: Struts Users Mailing List
Subject: Re: [S2] Formatting inside Iterator tag
if you can somehow cast to bean you can use be
Sorry about the last post, I guess I didn't read closely enough. The solution
provided, although it works very well, will most likely not address your
DateTimePicker issue. Again, my apologies for the list clutter.
-Rod
-Original Message-
From: ××œ×—× ×Ÿ מעין [mailto:[EMAIL PROTECT
Hello,
A cool little trick on the "today" issue is to use a little known aspect of the
tag. The useBean exposes its creation datetime as a scoped
variable!
Beacause of this you can do the following:
Now you can use ${today} anywhere you like. Personally, I use the
tag to format into what
Hi Piloupy,
You can use JSTL to format the link before passing it to the
tag:
Also, take a look at:
http://struts.apache.org/1.3.8/struts-taglib/tlddoc/html/link.html, you can
actually specify a bundle and access key for the tooltip message directly in
the tag.
HTH
-Rod
-Original Messa
Hi John,
The autocomplete attribute of the tag is not standard - it is not
specified by the W3C and is supported only on IE5.0+ and Safari 1.0+. This
is most likely why you will not find support for it in the Struts tags.
I would caution against using non-standard attributes if you want to
main
Hi Tim,
For 2.4 the URIs have changed. They are now:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %>
HTH,
-Rod
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Apri
difference to the code, everything
works just fine.
Thanks for the response,
-Rod
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 02:52
To: Struts Users Mailing List
Subject: Re: tiles-defs.xml and extended attributes...
2007/4/13, Rod
Vinit,
Place the following at the top of your JSP:
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %>
Then, use the following to format your date:
The dateStyle attribute uses the same semantics as the SimpleDateFormat. You
can alternatively use the pattern attribute to specif
Hello,
I have a menuing system using a custom tag to create menus based on
configurations specified in Tiles. I needed to create a more robust solution
for menu specification than was provided by the
org.apache.struts.tiles.beans.SimpleMenuItem. I extended the
org.apache.struts.tiles.beans.MenuIte
23 matches
Mail list logo