Not sure if anyone else gave this answer yet, but I needed to do the
same thing in StrutsWS's default response template, and here's how I
wound up doing it (modified slightly to be a little better!):
String formName =
((org.apache.struts.config.ActionConfig)request.getAttribute(
Hi Pankaj,
In one of ours applications, we use the com.bea.tree lib. I don't
know if its a non-public lib from BEA, but you can build some nice tree with
it.
Charles
-Original Message-
From: pankaj dekate [mailto:[EMAIL PROTECTED]
Sent: May 16, 2005 4:14 PM
To: user@strut
Here are some links to tree controls:
http://pragmaticobjects.com/demo.html
http://www.common-controls.com/en/resources/taglib/tags/ctrl_tree.html
http://struts.application-servers.com/ (Struts Layout)
http://www.softcomplex.com/products/tigra_tree_menu/
And then of course, you have Java Server F
Paul McCulloch wrote:
In request scope, under the key 'org.apache.struts.action.mapping.instance'
is an object of type ActionMapping. The name property of this ActionMapping
is the name of the form bean being handled by the current request.
This relates to the form bean specified for the request be
Hi folks. I'm doing reports for my project and I was asking me if
there are tools in order to help to do that.
Is it possible to integrate Crystal Reports with Struts?. I heard
about Business Object... Do u know some documentation about it?
What other tools are there in order to make reports???
Gmail actually works pretty well for me. Can send an invitation, have
50 of them ;)
Michael.
On 5/16/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Rafael wrote the following on 5/8/2005 11:17 PM:
>
> > yes, In Outlook Express 6 , View -> Current View -> Group Messages by
> > Conversation.
>
>
Your right, I will clarify that on the site as soon as possible. For
the sake of answering the question though...
What you write below is correct... the ajaxRef of the form matches the
ajaxRef of the element in the config file, and the ajaxRef of the
button matches the ajaxRef of the element
Marco:
Try using jstl's fmt:message instead:
-Abdullah
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 9:17 AM
To: 'Struts Users Mailing List'
Subject: ');
However, it looks like args0 & args2 are not retrieve
Joe
At 3:17 PM +0100 5/16/05, Marco Mistroni wrote:
Hello all,
I have a question regarding bean:message
I have a page where I need to display a message with some
Dynamc parameters, and I would be able to 'internationalize' the whole
message
For example, let's say that my message is
Error
new dns names were added on the new server.
it works fine on local host
but on the default domain server bean:include gives
java.net.ConnectException: Tried all: '1' addresses, but could not connect
over HTTP to server: 'servername: port'
although the servername and port printed in exception are
If you want to get the value in the model, just ask the ActionMapping.
I assume you do not want merely to present or to show the name.
RIght?
On 5/16/05, John Moore <[EMAIL PROTECTED]> wrote:
> In a JSP which uses html:form, is there any way of determining the name
> of the form bean (assuming
Hi,
Anyone created a tree structure in struts.
Searched on google and found out Struts Layout lib doing the same.Is
this the only library available or do we need to write custom code for
it.
THanks in advance,
pankaj
-
To unsubs
Here's what we use. It's not great that things are hard-coded such as
the mapping name in line 1 (and the scope in line 3), but it works as
long as the tag and scope is kept in sync with the
struts-config.xml.
-ed
On 5/16/05, John Moore <[EMAIL PROTECTED]> wrote:
> In a JSP which uses html:
John,
There is no automatic way AFAIK. What I've done is in the action that passes
the request to the form I set:
request.setAttribute("formName", mapping.getName());
then, in the JSP I can do:
-Abdullah
-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: Monday, May
Mohan wrote the following on 5/16/2005 3:37 AM:
I am retriving the values from Database and I am setting it using the set
method.
But if I keep the form bean scope in session,It is showing the value in the
text box.If I keep the form bean scope in the request it is not showing the
value.
Could you
Rafael wrote the following on 5/8/2005 11:17 PM:
yes, In Outlook Express 6 , View -> Current View -> Group Messages by Conversation.
This still does not organize them nearly as nice as Thunderbird does (or
The Bat, Edora, Pegasus, Sylpheed, Evolution, Kmail...etc etc).
Outlook just is a steaming
Frank W. Zammetti wrote the following on 5/13/2005 12:23 AM:
Finally got it all set up on http://struts.sf.net. The first "official"
release is up!
Frank can you maybe provide example code that clarifies:
"For any form element you wish to Ajax-enable, add an ajaxRef attribute
to it. In addition,
In request scope, under the key 'org.apache.struts.action.mapping.instance'
is an object of type ActionMapping. The name property of this ActionMapping
is the name of the form bean being handled by the current request.
This relates to the form bean specified for the request being processed -
not t
It should be the "name" declared in the "form-bean" tag of the
struts-config.xml file. You can always do view>source on the html markup of
the jsp and see the names of the form and fields.
- Eric
- Original Message -
From: "John Moore" <[EMAIL PROTECTED]>
To: "Struts Mailing List"
Sen
Hello all,
I have a question regarding bean:message
I have a page where I need to display a message with some
Dynamc parameters, and I would be able to 'internationalize' the whole
message
For example, let's say that my message is
Error.comparequantity={0} must be {1} than {2}
I would
The name is set in two ways (both within the struts-config.xml) under the
action if you specify just a 'name' property, the name of the form is that,
if you specify a 'name' and an 'attribute' (in effect an alias) property it
will be the 'attribute' property. For example, the name of the form will
John-
Maven's FormBean uses getName to determine the name of the underlying
property
http://maven.apache.org/reference/plugins/struts/apidocs/index.html
Is there something specific you were desiring?
HTH,
Martin-
- Original Message -
From: "John Moore" <[EMAIL PROTECTED]>
To: "Struts Mai
That's easy with the html:struts taglib:
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From: "Joh
In a JSP which uses html:form, is there any way of determining the name
of the form bean (assuming it's been set in the mapping, of course, not
in the html:form tag!).
TIA
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED]
=
Did you try using checking the call to API method in the validate() method
of your Action class and returning an ActionErrors if the call failed?
--
How happy is the blameless vestal's lot!
The world forgetting, by the world forgot.
Eternal sunshine of the spo
Hi!
Sorry for being insistent, but does anyone have any thoughts about this
question?
Yaroslav Novytskyy
I'm looking for a suitable solution for the following problem which
concerns authentication.
In my application the logon process is triggered by an exception which
is thrown by the call of
Hi,
I created a jsp page as follows,
in the struts-config filie My action-mapping is as follows
I am retriving the values from Database and I am setting it using the set
method.
But if I keep the f
27 matches
Mail list logo