Dear all,
BaliCamp is a private software development company situated in German
Centre, Bumi Serpong Damai, Tangerang. Our vision is to become a global
community that delivers software of international standards. Due to the fast
growing of our development and expanding of our market, we are
Hi,
ValidatorActionForm -
This class extends ValidatorForm and provides basic field validation based on an XML
file. The key passed into the validator is the action element's 'path' attribute from
the struts-config.xml which should match the form element's name attribute in the
validation.xml.
On 24/03/2004 06:07, Caroline Jen [EMAIL PROTECTED] wrote:
In my Struts application, postForm is of the
DynaActionForm type:
DynaActionForm postForm = ( DynaActionForm )form;
Later on, I want to save one of the fields receiver,
which is a String, in the request context. Which is
the
Hello!
I would like to know the difference between ValidatorForm and
ValidatorActionForm. I read the API documentation but the descriptions are
the same.
When should I use each one?
Thanks,
JP
On 23/03/2004 23:39, Joe Germuska [EMAIL PROTECTED] wrote:
At 12:06 PM + 3/23/04, Pedro Salgado wrote:
html:messages id=error
...
/html:messages
Does anyone know how do I fill the ${???} to have a JSTL equivalent for
the previous html tag?
c:forEach items='${???}'
Currently I have an Action that does the following
if (isCancelled(request)) {
log.debug(Request Cancelled);
return mapping.findForward(home);
}
ActionErrors errors = new ActionErrors();
if (!isTokenValid(request)) {
Whats missing from your question is how are you identifying which client a
user belongs to?
Niall
- Original Message -
From: Matthew Clark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 22, 2004 12:09 PM
Subject: Struts Validator
Hi there,
I am new to Struts and this
Hi Guys,
I have an action form with a get method (i.e. getValue(String)) which takes
a string value, its working fine when i render the data in a text field.
E.g.
c:set var=uniqueKey
c:out value=${CustomerTO.id}/-c:out value=${CustomerTO.orderNo}/
/c:set
html-el:text name=myForm
I'm not sure if I understand fully, but if you are using html:link there is a
transaction attribute.
sandeep
-Original Message-
From: James Scrimshire [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 5:41 AM
To: [EMAIL PROTECTED]
Subject: Sycnhronizer Token- can someone explain
Sandeep,
What is this transaction attribute ? Please elaborate..
Regards,
Janarthan S
-Original Message-
From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 5:47 PM
To: Struts Users Mailing List
Subject: RE: Sycnhronizer Token- can someone explain this?Curre
i have tried transaction=true from the html link but it doesn't appear
to work unless i have called saveToken(requset)
For the latest data on the economy and society
consult National Statistics at http://www.statistics.gov.uk
I want to put the msg inside a javasript alert (popup with error message ),some one
know how can I make it ???
font color=red
html:messages id=msg message=true bundle=geral
bean:write name=msg /br
/html:messages
/font
Hi
Is there a way of telling the Validator which Resourcebundle it should
get its resources from? I have multi-module Strut application, each
module has its own Resourcebundle (ApplicationResources-moda.poperties,
ApplicationResources-modb.poperties etc). I have not been able to figure
out how to
Well, I believe that you are not allowed to mix static and dynamic text
within a JSP, so something like
alert(Error message: bean:write name=msg/);
should fail. I read once that enclosing the dynamic text in single quotes
whould work (never tried it though). One solution that I do know
Is it possible to automatically detect changes in struts-config.xml and
reload the application ?. I know that Log4J(or Tomcat) detects changes to
log4j.properties and reload the application.
Antony Paul
-
To unsubscribe, e-mail:
i have the transaction attribute
i check to see if the token is Valid.. this method says the token is not
valid
For the latest data on the economy and society
consult National Statistics at http://www.statistics.gov.uk
Hey Antony:
Check out the struts admin functionality: Make sure you have the admin
mappings in your struts-config.xml, then point your browser to
/yourContext/admin/reload.do and you'll see the magic..:)
Regards,
Geeta
Antony Paul wrote:
Is it possible to automatically detect changes in
sandeep.
using transaction=true.. this is what i get from the action the link
submits too
as you can see the session token is null, and only gets set when i
explicitly call saveToken(request) from a prior action
2004-03-24 13:36:34,073 [DEBUG]
Why not use c:out value=${uniqueKey} / instead of
c:out value=${myForm.value(${uniqueKey})} / ???
This works for me:
c:set var=testVar value=Hello /
c:set var=testVar1 value=World /
c:set var=hello
c:out value=${testVar} /-c:out value=${testVar1} /
/c:set
c:out value=${hello} /
Thanks
--
I'm not sure how it worked in 1.1, but what you're saying makes sense.
Basically there is a computeURL function that add the transaction attribute only if it
is set (in 1.1). This is for the html:link that I am talking about:
// Add our transaction control token (if requested)
I want to pass uniqueKey as a parameter to the getValue method on my action
form, i dont want to render the uniqueKey value i want to render the return
value from the getValue(String) method call
From: Pady Srinivasan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To:
well at the moment i'm just trying to get it to work from an html page that
submits to an action
so the html has the transaction=true and the action checks the token
i have been debugged the value of the session attribute
Globals.TRANSACTION_TOKEN_KEY at the start of the action the page submits
I'd like to be able to have someone hit my action, /admin/list.do, without
having to specify a submit paramater. However, the action is a subclass
of LookupDispatchAction whci requires that the request parameter be
supplied. Looking in the struts source code, it would be nice if the
Hi all. I have to generate a text file (filled with a
pre-formated text) after a certain action is finished.
this file is a kind of confirmation of a certain
business action. so, as my application is web-based, I
think I should let the user download this text file
when it is generated. how to
unspecified() is the method you want look at the javadoc.
you do need the method name though
/admin/list.do?method
I saw that using submit as the parameter name causes problems so i
wouldn't use that.
On 24 Mar 2004, at 15:16, Brian Sayatovic/AMIG wrote:
I'd like to be able to have someone
From: Brian Sayatovic/AMIG [mailto:[EMAIL PROTECTED]
I'd like to be able to have someone hit my action,
/admin/list.do, without having to specify a submit paramater.
Is there another way to do this? Is it worth suggesting that
LookupDispatchAction support a default or null mapping?
I'm
From: Mark Lowe [mailto:[EMAIL PROTECTED]
unspecified() is the method you want look at the javadoc.
you do need the method name though
/admin/list.do?method
I saw that using submit as the parameter name causes problems so i
wouldn't use that.
I agree about not using submit, if you end up
Hi!, first of all excuse my poor english... I have this problem:
My idea for securing my app was using Tomcat, so i have two directories:
administrator and user, with their own jsp's.
In the web.xml i was pretending to do this:
servlet-mapping
servlet-nameaction/servlet-name
This is what we did in our Action:
// generate the file
File file = generate();
// download
response.setContentType(text/plain);
response.addHeader(Content-Disposition, attachment;filename= +
file.getName());
return new ActionForward(/logs/ + file.getName());
Thanks
-- pady
[EMAIL PROTECTED]
Hi all,
In my app I am using a DynaActionForm with scope = session.
When I am calling the action for the first time, obviously the
Form is 'emtpy', so I populate it with all the values..
When I am redirected to the action class again, the actionform
Should be in the session (in theory).
It is not working because JSTL think that you are trying to call a
function. To make it work you will need to define this function in a TLD
file and use the namespace to call it.
Take a look at TOMCAT\webapps\jsp-examples\jsp2\el\functions.jsp
HTH
--Shaul
Pat Quinn wrote:
I want to pass
I agree about not using submit, if you end up needing to use JavaScript
to change the value, you run into problems since submit() is already
function. Calling either document.forms[0].submit.value=something or
document.forms[0].submit() gives an error, I can't remember which. Bad
idea, avoid it.
var myMessage = bean:write name=msg /;
alert(myMessage)
-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:23 PM
To: Struts Users Mailing List
Subject: html:javascript question
I want to put the msg inside a javasript alert (popup with error
From: Mark Lowe [mailto:[EMAIL PROTECTED]
It was you post on the thread last week where i pick it up.
Sorry, I'm apparently repeating myself! I can't remember last week this
early in the morning.
Good to know that its been addressed, but I'm on whatever the stable
release of 1.1 is. I'd
nice one, didn't even occur to me to do this.
Andreas
-Ursprüngliche Nachricht-
Von: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. März 2004 16:05
An: Struts Users Mailing List
Betreff: RE: html:javascript question
var myMessage = bean:write name=msg /;
Anybody have an example of this ? I searched in the user/developer guides
and Google and couldn't find much.
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 8:32 AM
To: Struts Users Mailing List
there would have to be an if statement somewhere
if (view)
saveToken
...
if (submit)
...
you wouldn't need the html:link thing then that is for double clicking the link I
believe.
Search the archives for how tokens work exactly. I believe Ted Husted's site may
have some insight as well.
Hi listers,
I have been working on this issue for the last couple of days but haven't
found any satisfactory answers through the usual channels (mailing list
archives, API, and some source code perusal as well).
As I understand it, post struts 1.1, ActionErrors were supposed to keep
their
I just checked the example application and did not see anything on Japanese
characters. I'm at:
http://localhost:8080/struts-example/tour.do
Did you mean that if I were to just take this code and modify it to display
these characters? Or is the example somewhere else?
From: [EMAIL PROTECTED]
1. Make sure you define a security-role element for 'administrator' in
web.xml. Also the auth-constraint has role-name as 'administrador'. Maybe a
spelling error ?
2. And the role should be defined in tomcat-users.xml also. And the users in
this role would alone be allowed access.
Thanks
--
Deepak wrote:
Hi,
What is the default location of a file uploaded using html:file ? Can I upload it to one of the folders in my context path ?
It goes someplace temporary. If you look at the src for the UploadAction
example in Struts, it shows how to save the temporary file.
I create a
If you need this to be in a confirmation box as you say, look in to using a modal
window that has 2 javascript backed buttons on it.
hth
Chris McCormack
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 23 March 2004 12:22
To: Struts Users Mailing List
Subject: Re:
i've got the next tag
html:rewrite
action=/SomeAction?prefix=page=/SomePage
and in the actionConfig action path=/SomeAction
type=org.apache.type=org.apache.struts.actions.SwitchAction
/action
but i always get an error saying that attribute action
does not defined in the tld?
what could it be?
try page=/SomeAction.do
On 24 Mar 2004, at 17:50, Ruben Pardo wrote:
i've got the next tag
html:rewrite
action=/SomeAction?prefix=page=/SomePage
and in the actionConfig action path=/SomeAction
type=org.apache.type=org.apache.struts.actions.SwitchAction
/action
but i always get an error saying
On 24 Mar 2004, at 16:13, Wendy Smoak wrote:
From: Mark Lowe [mailto:[EMAIL PROTECTED]
It was you post on the thread last week where i pick it up.
Sorry, I'm apparently repeating myself! I can't remember last week
this
early in the morning.
Good to know that its been addressed, but I'm on
Thanks for your help, but it is not the problem... I deleted all about
security in my web.xml to test only de filter mapping of the
struts action servlet:
servlet-mapping
servlet-nameaction/servlet-name
url-pattern/administrator/*.do/url-pattern
/servlet-mapping
With this
If you're using a javax.servlet.Filter and you then
filter-mapping
filter-nameMyFilter/filter-name
url-pattern/administrator/*.do/url-pattern
/filter-mapping
you can also map to a servlet name rather than a url pattern but this
seems what you want.
On 24 Mar 2004, at 18:10,
It works well, thanks.
try page=/SomeAction.do
On 24 Mar 2004, at 17:50, Ruben Pardo wrote:
i've got the next tag
html:rewrite
action=/SomeAction?prefix=page=/SomePage
and in the actionConfig action path=/SomeAction
type=org.apache.type=org.apache.struts.actions.SwitchAction
/action
but i
You can use either path or extension mapping, but not a combination of both. So
/administrator/* is okay and *.do is okay but /administrator/*.do is not.
Quoting Mark Lowe [EMAIL PROTECTED]:
If you're using a javax.servlet.Filter and you then
filter-mapping
opps..
sorry for the dodgy info. in fact mine follow the /dir/* pattern.
On 24 Mar 2004, at 18:45, Kris Schneider wrote:
You can use either path or extension mapping, but not a combination of
both. So
/administrator/* is okay and *.do is okay but /administrator/*.do is
not.
Quoting Mark Lowe
Dear Friends,
Can anybody explain me how to use .swf file as a button in struts framework.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Could anyone please recommend any good training
options (esp. in the classroom setting) for Struts for
someone with Java experience?
Thanks
Ashi
__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
www.smart-soft.com
Jeff Pearson
Software Interface Specialist
University of Southern California
213.821.0894
[EMAIL PROTECTED]
-Original Message-
From: Ashi Sharma [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject:Struts
Dear all,
I've been struggling with this problem for about two days now; I hope
somebody here would be able to help me. In one of my actions I've
implemented Struts token functionality to keep user from using browser
Refresh button. Every thing works as promised except for when invalid token
Hi all,
I am newbie using tiles, so maybe this question is too easy for you.
I want to use a tile definition in which, one of the attribute values is
dynamic. It is something like this:
definition name=tracebox.def.encoderconfig extends=tracebox.def.menu
put name=title value=encoderconfig /
Suppose someone bookmarked an action such as
/yourhost/yourapp/someAction.do and you really want them to only go
through the html pages.
How do your block or catch these actions and redirect them to the
appropriate place?
mas
You code code your app to always use http POST, but block GETs. This may not
be suitable if you've already written the app though!
Paul
-Original Message-
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:17
To: Struts Users Mailing List
Subject: blocking
where do I do the blocking? The action I am having problems with is a
LookupDispatchAction and I get this kind of error message
javax.servlet.ServletException: Request[/RechartFiles] does not contain handler
parameter named method
Hello!
Do you know any document where can I learn how to build regular expressions
for Struts Validator?
I need to validate an IP address and I don't know how is the syntax in the
validator config file.
Thanks,
JP
Use only HTTP POST and send a hidden parameter which identifies the request
origin. So if this is not set, redirect to some default page.
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 1:17 PM
To:
The way I achieved this was to extend ActionServlet so that a GET or POST
parameter was added to the request, and extended RequestProcessor to deal
with the get's differently.
If you just need to catch calls to dispatch actions without a method then
override execute() in your base DispatchAction
don't quote me but the javadocs for jakarta's regular expression's RE class are ok.
Also I believe everything is based on jakarta's oro.
sandeep
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 1:33 PM
To: 'Struts Users Mailing List'
Actually, it's simpler than that (as I just saw on another thread). Just
implement unspecified() in your action to override the default behaviour
when no dispatch method is provided.
Paul
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:49
To:
From: Mark Shifman [mailto:[EMAIL PROTECTED]
where do I do the blocking? The action I am having problems
with is a LookupDispatchAction and I get this kind of error message
javax.servlet.ServletException: Request[/RechartFiles] does
not contain handler parameter named method
Below is a reply sent to this mailing list about something very similar to
what you are looking for.
Hope it helps,
Pedro Salgado
Hi Robert..
I guess you could achieve the same using the controllerClass attribute and
building your class.. For instance, I have this definition in the
Thanks.
Unfortunately LookupDispatchAction checks for the parameter an throws an
error before it gets a chance to use unspecified(), but it should
be easy enough to modify it and then override dispatchActions unspecified().
mas
Wendy Smoak wrote:
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Hi,
just read this article on husted.com and it seems to be good advice.
When the user submits a page, passes validation without errors, is there
a chance to validate business logic in the action ?
Therefor i need to
- make my validation,
- get an errors object,
- store the error,
- put the
I don't have sample code but are you looking for something like this:
// in Action execute...
ActionErrors errors = new ActionErrors();
// add errors...
...
// set in request
request.setAttribute(org.apache.struts.action.ERROR, errors);
// forward to same page...
Thanks
-- pady
[EMAIL
Hi,
thank you, that helps.
Now i still need to know how to access the input page (set in action
mapping with the input=sample.jsp tag)...
I don't have sample code but are you looking for something like this:
// in Action execute...
ActionErrors errors = new ActionErrors();
// add errors...
At 3:58 PM -0500 3/24/04, Pady Srinivasan wrote:
I don't have sample code but are you looking for something like this:
// in Action execute...
ActionErrors errors = new ActionErrors();
// add errors...
...
// set in request
request.setAttribute(org.apache.struts.action.ERROR, errors);
// forward
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Unfortunately LookupDispatchAction checks for the parameter
an throws an
error before it gets a chance to use unspecified(), but it should
be easy enough to modify it and then override dispatchActions
unspecified().
What version? I think
i've got the next tag
html:rewrite action=/SomeAction?prefix=page=/SomePage
and in the actionConfig
action path=/SomeAction
type=org.apache.type=org.apache.struts.actions.SwitchAction /action
but i always get an error saying that attribute action does not defined
in the tld?
what could it be?
Hi,
this should be very close to \d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}
I need to validate an IP address and I don't know how is the syntax in the
validator config file.
take your time to study this:
http://java.sun.com/docs/books/tutorial/extra/regex/
It's worth the trouble, regex rox !
On Today at 9:58pm, FS=Frank Schaare [EMAIL PROTECTED] wrote:
FS Hi,
FS
FS thank you, that helps.
FS
FS Now i still need to know how to access the input page (set in action
FS mapping with the input=sample.jsp tag)...
Hopefully you will see Joe's response in the same thread, which has the
He was saying it 'can' display Japanese characters. The example doesn't
have any Japanese characters in in (if i remember correctly), but if
they are put into the properties files for the locale they will be
displayed.
You should look into that http://www.anassina.com/struts/i18n/i18n.html
page
Marco,
This could be caused by how your mappings are configured. If you can send
more information, someone might spot the cause.
Hubert
--- Marco Mistroni [EMAIL PROTECTED] wrote:
Hi all,
In my app I am using a DynaActionForm with scope = session.
When I am calling the action for the
I've tracked down the internal PD error message to the use of a bean within
a bean within a bean. For some reason, html:text is no longer able to
handle the following statement:
html:text name=regForm property=user.user.userName /
It is able to handle:
html:text name=regForm
Any takers?
ATTA
- Original Message -
From: atta-ur rehman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:17 AM
Subject: redirect=true and Tiles; does it work?
Dear all,
I've been struggling with this problem for about two days
--- atta-ur rehman [EMAIL PROTECTED] wrote:
Any takers?
I'll give it a shot.
ATTA
- Original Message -
From: atta-ur rehman [EMAIL PROTECTED]
global-forwards
forward name=invalidToken path=showInvalidTokenMessage.do
redirect=true /
/global-forwards
I believe the
I have a similar question. I would like to insert at runtime multiple
instances of the same layout and set a property at that time. I didn't
see a way to do this via the documentation and so extended the TilesTool
with the following code. Is there something I've missed? If not is the
code
I apologize if I didn't mention it but I'm using the Velocity tiles
tool. Maybe that would be a better place for this question.
Mike
Mike Foody wrote:
I have a similar question. I would like to insert at runtime multiple
instances of the same layout and set a property at that time. I
Atta,
A redirect in a tile cannot possibly work (and I've tried researched it
months ago). To use a redirect in a forward, you must have a file system
object to reach such as an html file, a jsp, or an application mapping (i.e.
struts *.do). Since a tile is only internal to Struts, and not an
Oh, thanks, Hubert. In the mentioned last night archive brwosing I remember
seeing your post on the topic; I think we can make it happen!!!
I should have copied these lines from config file instead of using my head:
global-forwards
forward name=invalidToken path=/showInvalidTokenMessage.do
On 24/03/2004 22:45, Mike Foody [EMAIL PROTECTED] wrote:
I apologize if I didn't mention it but I'm using the Velocity tiles
tool. Maybe that would be a better place for this question.
Well the solution for your problem is the one below.
I don't if your using velocity to generate your
Anyone?
Doug wrote:
We have some customer-supplied selection options that have double quotes
in their values, and Struts 1.1 isn't seeming to handle this correctly.
Best I can tell from the HTML spec, these should be placed on the page
as quot; , which will submit them as %22 , which *should*
--- atta-ur rehman [EMAIL PROTECTED] wrote:
TestProcessAction just forwards to success forward. But before it does
that it check for the valid token and in the case of an invalid token it
just forwards (redirects) to the invalidToken global forward.
On invalid token message press refresh
http://localhost:8080/test/processTest.do
and if and press Refresh here the url changes to:
http://localhost:8080/test/showInvalidTokenMessage.do
ATTA
- Original Message -
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 24,
Is this correct?
1. User submits the form to /processTest.do
2. The action for /processTest.do, TestProcessAction, sees that the token is
invalid and returns an ActionForward that redirects to
/showInvalidTokenMessage.do
3. /showInvalidTokenMessage.do forwards to the invalidTokenMessageTile
See inline, please.
- Original Message -
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 3:56 PM
Subject: Re: redirect=true and Tiles; does it work?
Is this correct?
1. User submits the form to /processTest.do
Dean,
Here's the essential code in order to instantiate a DynaActionForm from
within an Action class.
FormBeanConfig fbc = new FormBeanConfig();
fbc.setName(myForm);
DynaActionFormClass dafc =
DynaActionFormClass.createDynaActionFormClass(fbc);
DynaActionForm formBean = (DynaActionForm)
I'm sorry, I spoke too soon:
3. /showInvalidTokenMessage.do forwards to the
invalidTokenMessageTile
tile, at which time the browser shows
http://localhost:8080/test/showInvalidTokenMessage.do; on the address
bar
TRUE in Mozilla FireBird 0.7. In IE 6.0 I still see /processTest.do!
-
I can confirm the stated behavior for both Mozilla FireFox 0.8 and Netscape
7.1 too.
- Original Message -
From: atta-ur rehman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 4:15 PM
Subject: Re: redirect=true and Tiles; does it work?
And you're saying that with
http://localhost:8080/test/showInvalidTokenMessage.do; on the address
bar,
the user clicks on refresh and causes TestProcessAction to execute again?
TRUE in Mozilla FireBird 0.7!!! And that's my default browser. In between
these messages I thought I should
I'm confused too!
for invalid token message, IE show /processTest.do in the address bar. but
when i click the refresh button, a quick look at the status bar show that
its calling /showInvalidTokenMessage.do! Yet, refresh after refresh, IE
still shows /processTest.do in the address bar.
FireBird,
Thanks so much Jason!
I'll try that out when I get a chance. I'm fairly sure that was the first
thing that I tried but I probably forgot something.
Thanks again-
From: Jason Lea [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL
Validator does use ORO - There is an applet you can play with to test your
regexp:
http://jakarta.apache.org/oro/demo.html
Choose the contains option and start/end your regular expressions with ^
and $
Niall
- Original Message -
From: Takhar, Sandeep [EMAIL PROTECTED]
To: Struts Users
I could not understand what is admin mappings. I am using Struts 1.1
downloaded few months ago. There is nothing like admin in struts-config.xml
included with struts-blank.war. If you please explain it it will be usefule.
I presume that it is similar to Tomcat manager application and I have to
In general, the tile works fine for me except the
title piece.
[CODE]
.
BODY
tiles:getAsString name=title/
tiles:get name=header/
tiles:get name=message/
tiles:get name=content/
tiles:get name=navbar/
/BODY
.
[/CODE]
In my tiles-def.xml, I have:
[CODE]
definition name=.article.Menu
Hi,
This is a good one to get started -
http://weblogtoolscollection.com/regex/regex.php
Best Regards,
Janarthan S
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 12:03 AM
To: 'Struts Users Mailing List'
Subject: Struts validator Regular
If you are using JSTL you can do this:
tile:useAttribute id=titleKey name=titlebean:message
key=${titleKey}/
if that doesn't work, try this:
c:set var=titleKeytiles:getAsString
name=title//c:setbean:message key=${titleKey}/
Caroline Jen wrote:
In general, the tile works fine for me except
1 - 100 of 104 matches
Mail list logo