There's also jakarkta commons-httpclient
http://jakarta.apache.org/commons/httpclient/
-Original Message-
From: Qureshi, Affan [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 17:04
To: Struts Users Mailing List
Subject: RE: html inside an action
HttpUnit is also a neat tool which might
.
-Original Message-
From: ruben [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 10:19 AM
To: Struts Users Mailing List
Subject: Re: html inside an action
Qureshi, Affan wrote:
What part of JSP do you want to generate? Is it
Java code in the JSP
that you
Hi,
You need to do the following in the jsp page,
tiles:useAttribute name=title/
Then where you want the internationalized text to appear you use,
bean:message name=title/
Oh yeah you will need to add your taglib references as follows,
%@ taglib uri=/whateverYourPathIs prefix=tiles %
%@ taglib
:19 AM
To: Struts Users Mailing List
Subject: Re: html inside an action
Qureshi, Affan wrote:
What part of JSP do you want to generate? Is it Java code in the JSP
that you want to generate or static HTML/JavaScript? You might want
to look at Tag Libraries as well.
-Original Message
Takhar,
Yes. If you are using modules, then you'd have to add:
fbc.setModuleConfig(mapping.getModuleConfig());
-Richard
-Original Message-
From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:47 AM
To: Struts Users Mailing List
Subject: RE: pre-populating
PROTECTED]
Sent: Thursday, March 25, 2004 10:04 AM
Subject: Re: Exception handling in struts
Didn't someone already answer this for you? Maybe we need to be more
explicit. Try this:
global-exceptions
exception
key=uncaught_exception
type=java.lang.Exception
path=/jsp/error.jsp
What's the problem?
robert
-Original Message-
From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 2:28 PM
To: Struts Users Mailing List
Subject: Handling Date objects in ActionForm gracefully
All,
We are facing a problem when we define
Have it as a string and convert it to a date or calendar when you pass
it back to the model.
On 25 Mar 2004, at 20:28, Sreenivasa Chadalavada wrote:
All,
We are facing a problem when we define java.util.Date field in
ActionForm.
Is there any way to override the default behavior provided by
.
Robert Taylor rtaylor
@mulework.com
03/25/2004 02:35 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:RE: Handling Date objects in ActionForm gracefully
What's the problem?
robert
Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: Handling Date objects in ActionForm gracefully
Have it as a string and convert it to a date or calendar when you pass
it back to the model.
On 25 Mar 2004, at 20:28
+1
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 2:36 PM
To: Struts Users Mailing List
Subject: Re: Handling Date objects in ActionForm gracefully
Have it as a string and convert it to a date or calendar when you pass
it back
PROTECTED]
Sent: Thursday, March 25, 2004 2:47 PM
To: Struts Users Mailing List
Subject: Re: Handling Date objects in ActionForm gracefully
I am thinking of overriding the struts default mechanism.
Override the default behavior of org.apache.commons.beanutils.ConvertUtils
by registering
a valid
.
Takhar, Sandeep Sandeep.Takhar
@CIBC.ca
03/25/2004 02:53 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:RE: Handling Date objects in ActionForm
To: Struts Users Mailing List
[EMAIL PROTECTED]
cc:
Subject:RE: Handling Date objects in ActionForm
gracefully
yes it is. It should be done once per classloader.
When struts populates the dyna form it is string array to string array
conversion and uses
populate method
Marco, can you use bean:define and a scriptlet code
inside bean:message ? Something like :
bean:define id=suffix name=product
property=productType/
bean:message
key='%=prompt.productType.+suffix%'/
--- Marco Mistroni [EMAIL PROTECTED]
escreveu: Hi all,
I was wondering if anyone of you
: Friday, March 26, 2004 1:06 AM
To: Struts Users Mailing List
Subject: RE: Handling Date objects in ActionForm gracefully
What's the problem?
robert
-Original Message-
From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 2:28 PM
To: Struts Users
.
sandeep
-Original Message-
From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 3:11 PM
To: Struts Users Mailing List
Subject: RE: Handling Date objects in ActionForm gracefully
Do you know if the behavior can be overridden?
Thanks and Regards,
Sree
Anybody knows how to display a bean property with html
markup properly in the output. I have the JSP snippet
code as follows:
HTML
abcdefg bean:write name=info property=infoName /
bean:write name=info property=infoName filter=false/
filter=false tells the tag not to replace things like
That's one mean filter.
It's not part of struts but judging merely from its name, it's obviously
built into the app security. What does xpetstore say it's meant to do?
Have you checked the filter's javadoc?
Adam
On 03/25/2004 10:07 PM Martin Alley wrote:
Hi,
I've got a struts based app
Give us an example. What is the form editing?
The iterate tag is probably what you want, if it's simple.
Or you could use NestedBeans. If the form edits the actual object, you
can get a bunch of beans, each representing x pieces of info, and store
them inside the main object.
Just throwing
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 21:18
To: Struts Users Mailing List
Subject: Re: form based auth and session timeout and post data
That's one mean filter.
It's not part of struts but judging merely from its name, it's obviously
built
Mike, you will have to expose the form like:
c:set var=form value=${myForm}/
...where myForm is its name defined in the struts-config file.
If its DynaForm then you have to expose the form map:
c:set var=form value=${myForm.map}/
Once you do this, you can use JSTL to access and render
of play is:
Container based security
Filter
ActionServlet
Can't work out why the filter would appear to be bypassed.
Any ideas?
Thanks for helping.
Martin
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 21:18
To: Struts Users Mailing List
Subject: Re: form
of the appropriate
class, with all the dyna properties set up?
-Joe
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:38 AM
To: Struts Users Mailing List
Subject: Re: DynaForm Type Conversion
Take a look
Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:38 AM
To: Struts Users Mailing List
Subject: Re: DynaForm Type Conversion
Take a look at BeanUtils.copyProperties. By default, though,
it doesn\'t support conversion of dates, since it wouldn
Hi Tim,
Yes, it solved the problem.
Thanks a lot,
Shirley
Slattery, Tim - BLS [EMAIL PROTECTED] wrote:
Anybody knows how to display a bean property with html
markup properly in the output. I have the JSP snippet
code as follows:
abcdefg
filter=false tells the tag not to
.
---
-
Mark Lowe mark.lowe
@boxstuff.com
03/25/2004 03:17 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List
[EMAIL PROTECTED]
cc:
Subject: Re: Handling Date objects in ActionForm
gracefully
Ask yourself why
I followed your suggestion. Now, when I ran my
application, I got
article.Main.title???en_US.???
displayed in the browser. Still, cannot pick up the
article.Menu.title=Registered Members
in the application.properties (which is located in the
ApplicationRoot/WEB-INF/classes/resources
/
tiles:get name=navbar/
/BODY
.
[/CODE]
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:52 PM
To: Struts Users Mailing List
Subject: Re: Tile Problem
I followed your suggestion. Now, when I ran my
application, I got
article.Main.title
: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:52 PM
To: Struts Users Mailing List
Subject: Re: Tile Problem
I followed your suggestion. Now, when I ran my
application, I got
article.Main.title???en_US.???
displayed in the browser. Still, cannot pick up
hi
u can call the static method by first importing the class in
%@ page import = package.* %
then use the static method
Lokanath
-Original Message-
From: Sunny [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:55 PM
To: Struts Users Mailing List
Subject: Calling Class
-Original Message-
From: sougata [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:15 PM
To: Struts Users Mailing List
Subject: Pls help me in configuring common logger
Hi Guys
I am facing a problem in configuration apaches common logger using
weblogic8.1.I want to
: Friday, March 26, 2004 12:37 PM
Subject: RE: Pls help me in configuring common logger
-Original Message-
From: sougata [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:15 PM
To: Struts Users Mailing List
Subject: Pls help me in configuring common logger
Hi Guys
I
Thanks Robert.
Your suggestion was helpful.
Another key is to use varStatus='status' and the corresponding ${status.index} to
reference the
objects in the form array:
!--SAVED SEARCHES--
c:when test='${not empty
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
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='${???}'
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
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 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
--
...
sandeep
-Original Message-
From: James Scrimshire [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 8:39 AM
To: [EMAIL PROTECTED]
Subject: RE: Sycnhronizer Token- can someone explain this?Curre
sandeep.
using transaction=true.. this is what i get from the action the link
submits too
]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: EL Tag Libraries
Date: Wed, 24 Mar 2004 08:57:41 -0500
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
To: [EMAIL PROTECTED]
cc:
24/03/04 14:01 Subject: RE: Sycnhronizer Token
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
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]
List [EMAIL PROTECTED]
Subject: RE: EL Tag Libraries
Date: Wed, 24 Mar 2004 08:57:41 -0500
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
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
Subject: Re: Automatically detecting struts-config changes and reload app.
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
.
(I can't remember, but I think html:form is in the puzzle as well)
sandeep
-Original Message-
From: James Scrimshire [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 9:07 AM
To: [EMAIL PROTECTED]
Subject: RE: Sycnhronizer Token- can someone explain this?Curre
well at the moment
]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: i18n with Japanese characters and tags
Date: Tue, 23 Mar 2004 16:12:20 +0900
Carlo,
Have you checked the example application included in Struts1.1(or
current CVS)? It can show
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
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
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
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
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:
class.
Paul
-Original Message-
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:32
To: Struts Users Mailing List
Subject: Re: blocking bookmarked actions
where do I do the blocking? The action I am having problems
with is a
LookupDispatchAction and I get
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
To: 'Struts Users Mailing List'
Subject: RE: blocking bookmarked actions
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
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]
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
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
: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]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re
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
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
, March 24, 2004 5:12 PM
To: Struts Users Mailing List
Subject: Re: redirect=true and Tiles; does it work?
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
calls the test action with the
browser confirmation.
Does it make better sense now?
Thanks for your help.
ATTA
- Original Message -
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 2:13 PM
Subject: Re: redirect=true
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
, 2004 3:07 PM
Subject: Re: redirect=true and Tiles; does it work?
--- 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
-
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 3:07 PM
Subject: Re: redirect=true and Tiles; does it work?
--- atta-ur rehman [EMAIL PROTECTED] wrote:
TestProcessAction just forwards to success forward. But before
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
) dafc.newInstance();
formBean.set(myProperty, someValue);
request.setAttribute(myDynaForm,formBean);
-Richard
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 7:48 AM
To: Struts Users Mailing List
Subject: Re: pre-populating DynaValidatorForm
101 - 200 of 65430 matches
Mail list logo