On Saturday, March 22, 2003 21:21:14 -0800 "David M. Karr"
<[EMAIL PROTECTED]> wrote:
>> Ok, try doing this with plain Struts (to remove variables), let's
see a >> page that demonstrates this problem, and perhaps your
struts-config.xml >> file. If you can set this up in your debugger
On Saturday, March 22, 2003 12:26:45 -0800 "David M. Karr"
<[EMAIL PROTECTED]> wrote:
Ok, try doing this with plain Struts (to remove variables), let's see a
page that demonstrates this problem, and perhaps your struts-config.xml
file. If you can set this up in your debugger, trace the setting an
> "Adam" == Adam Sherman <[EMAIL PROTECTED]> writes:
Adam> --On Saturday, March 22, 2003 12:26:45 -0800 "David M. Karr"
Adam> <[EMAIL PROTECTED]> wrote:
>> Ok, try doing this with plain Struts (to remove variables), let's see a
>> page that demonstrates this problem, and perh
In a mail from 13:44 +1200 3/23/03 Jason Lea wrote:
Dolf pointed out this doesn't solve the problem due to the use of
the on his jsp page. After looking around I have learnt
something new :) and have found a solution (using Java Servlet 2.3
and JavaServer Pages 1.2 eg Tomcat 4+.)
You can use
--On Saturday, March 22, 2003 12:26:45 -0800 "David M. Karr"
<[EMAIL PROTECTED]> wrote:
Ok, try doing this with plain Struts (to remove variables), let's see a
page that demonstrates this problem, and perhaps your struts-config.xml
file. If you can set this up in your debugger, trace the setti
I think the requiredIf is still your best bet. I think based on other
recent posts,
that the variable names have been changed to support javascript, but
that code
may still be up to you to write.
-jeff
On Saturday, March 22, 2003, at 09:11 PM, Joey Ebright wrote:
Thanks, but that is for makin
Thanks, but that is for making sure two fields are the same - I have
mastered that one...
What I am after is making sure at least 1 of a group of fields has a
value filled in. I don't care which one so long as at least one field
is filled in...
Dan Tran wrote:
http://jakarta.apache.org/strut
Dolf pointed out this doesn't solve the problem due to the use of the
on his jsp page. After looking around I have learnt
something new :) and have found a solution (using Java Servlet 2.3 and
JavaServer Pages 1.2 eg Tomcat 4+.)
You can use the JSTL & Struts-EL (expression language)...
You c
Marco Tedone ([EMAIL PROTECTED]) wrote:
> Thank you Dan, your suggestions are inviting...In which cases can you use
> BeanUtils.copyProperties? Sorry for that question, I hadn't time to go
> trough the documentation, so If you can give me some insights, otherwise
> I'll wait until I'll have some
Lionel,
The short answer to your question is yes. Not only is this possible, but I
can't imagine a good design that doesn't do this. Nesting of definitions is
one of the most powerful features of Tiles. However, you have a small
syntax error in that your default definition refers to the content
Wayne,
You can use standard HTML to render your button, but you lose the advantages
of automatic context path maintenance. Is there a specific reason you don't
want to use buttons?
Tai
-Original Message-
From: Wayne A Christian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 1
Kevin,
To make an attribute available to a nested tile you need to pass it along
when you call the tile. For example:
Where beanName is the name of the attribute you want to pass and name is
what you want to pass it as and scope is tile context. In your case, you
would also
Thank you Dan, your suggestions are inviting...In which cases can you use
BeanUtils.copyProperties? Sorry for that question, I hadn't time to go
trough the documentation, so If you can give me some insights, otherwise
I'll wait until I'll have some more time and will investigate on the
BeanUtils.co
Thank you Robert, I tried and it works.
Marco
> -Original Message-
> From: Robert Taylor [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 22, 2003 11:19 AM
> To: Struts Users Mailing List
> Subject: RE: Retrieving properties from a DynaValidatorForm
>
>
> Marco, you should be able to
Occasionally I do.
-Original Message-
From: Cruz, Edward J. [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 9:50 AM
To: Struts Users Mailing List
Subject: RE: Searching the Struts Mail List Archive
Has anyone been getting a Bad Gateway Error when trying to use the second
search
Tell me about it! ClearCase XML merges are completely useless.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 2:23 AM
To: [EMAIL PROTECTED]
Subject: RE: struts-config.xml
I work with ClearCase and WSAD 4.0.3 and can tell you that mergin
Jeremy,
This is because your image button is a submit button, regardless of what the
text on it may say. The link you provided didn't say anything about reset
methodology so I'm not sure what you are referring to there, but the easiest
way to avoid triggering the validate method is to not submit
This can be done in Struts using the MessageResources:
Struts Tip #4 - Formatting output with MessageResources
http://husted.com/struts/tips/004.html
also have a look at the Java Internationalization Tutorial's page
http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html
You can use
> "Dolf" == Dolf Starreveld <[EMAIL PROTECTED]> writes:
Dolf> On a struts based JSP is need to output something like:
Dolf> To do x, click
Dolf> means that words needs to be a link. Without using resource (and
Dolf> internationalization), it would look like:
Dolf> To do
On a struts based JSP is need to output something like:
To do x, click
means that words needs to be a link. Without using resource
(and internationalization), it would look like:
To do x, click here
Without internationalization 100% OK, it would become:
here
click=To do x, click
The pro
> "Adam" == Adam Sherman <[EMAIL PROTECTED]> writes:
Adam> --On Friday, March 21, 2003 21:53:10 -0800 "David M. Karr"
Adam> <[EMAIL PROTECTED]> wrote:
>> What version of Struts are you using? If you're not using the nightly
>> build, try that. There is a known bug with "html
This is not a JSTL list. Please post your question to
http://forum.java.sun.com/forum.jsp?forum=45
David
From: "Navjot Singh" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users List" <[EMAIL PROTECTED]>
Subject: JSTL Question
Date: Sat, 22 Mar 2003
You can also check out this URL :
http://jakarta.apache.org/struts/userGuide/struts-tiles.html#put
Thomas
At 18:31 22/03/2003, you wrote:
Subject: Re: [TILES] Inserting a definition in an other definition ?
>
>
>
> I think this is the right place to extends the definition.
If you look at the DTD of the tiles-def.xml
(http://jakarta.apache.org/struts/dtds/tiles-config.dtd), you can see this
portion :
---
--
so accordingly to the DTD, what you can put as attribute can be a string
(implied if type is not defined), page, template or definition. Thus
Subject: Re: [TILES] Inserting a definition in an other definition ?
>
>
>
> I think this is the right place to extends the definition. It's
> working just like Java Classes, your 'content' definition inherits all
> 'default' definition's attribute. Have you already tried something like
this
I think this is the right place to extends the definition. It's
working just like Java Classes, your 'content' definition inherits all
'default' definition's attribute. Have you already tried something like this ??
Thomas
At 17:45 22/03/2003, you
--On Friday, March 21, 2003 21:53:10 -0800 "David M. Karr"
<[EMAIL PROTECTED]> wrote:
What version of Struts are you using? If you're not using the nightly
build, try that. There is a known bug with "html-el:errors" in RC1, that
might cause this.
Yeah, I noticed this in previous threads and tri
Is it possible to insert a definition in an other definition ?
Is this possible? Is ther an other better solution
?__
Lionel Roux
mail: [EMAIL PROTECTED]
cell: +33 6 60 51 49 83
__
This mes
> The alternative is to use the request.getParameter("..") method,
> which is what I'm doing at present.
You definitly don't want to be doing this. First cast your form to
a DynaValidatorForm and then case each property as appropriate:
String name = (String) form.get("name");
...however,
I hav
struts struts ([EMAIL PROTECTED]) wrote:
> Hi,
> Has any one used tabs .As they are client side Javascript .
> How does structs which is a server side framework deal with it .
> ?
>
> -thanx for ur inputs
Look at the tiles-documentation.war for an example.
Dan
--
- - - - - - - - - - - -
Is it bad practice to pass a variable to an Action Class as follows:
doSomething.do?var1=x
Gerrit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All ,
I am getting problem in instantiating FormBean.
My UI is having one select box and when user select somthing and press
continue it invoke an action . But it is not going to action .
Here is my struts-config.xml setting .
Error is
2003-03-22
All,
Am not able to fix this error. It occurs only if i try to access any StrutsTest
specific methods. ( eg: setRequestPathInfo("/logon");) in my test method.
It works just fine in normal cases.
thanks,
karthik
Original Message-
From: karthik Guru [mailto:[EMAIL PROTECTED]
Sent: Th
Hi,
Has any one used tabs .As they are client side Javascript .
How does structs which is a server side framework deal with it .
?
-thanx for ur inputs
On Sat, 22 Mar 2003 struts struts wrote :
Hello ,
I have a problem . I have created a sample application
in
struts and would lik
Marco, you should be able to use the get().
String name = (String)form.get("name");
robert
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 22, 2003 3:54 AM
> To: Struts-user-list
> Subject: Retrieving properties from a DynaValidatorForm
>
>
> H
Hello ,
I have a problem . I have created a sample application
in
struts and would like to include "tabs" in my struts page is
there
any way I can do this. The problem Iam facing is I have to use
struts 1.0 which
did not support this can any one help me in telling me what do I
need to in
solved my own problem, using http://jcifs.samba.org/
-Original Message-
From: Budi Rostiarso
Sent: Saturday, March 22, 2003 1:56 PM
To: Struts Users Mailing List
Subject: problem with NTLM and ActionForm (including from struts
examples), continued
I've also tried in in resin, same probl
Hi, I'm dealing with DynaValidatorForm. Everything works fine, until I come
in the Action after the validation and I need to retrieve my properties.
With the standard ActionForm I had simply to cast the right ActionForm type
for the parameter 'form' and then access the get/set methods in order to
r
38 matches
Mail list logo