Thanx a lot! It works..
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 8:04 PM
To: Struts Users Mailing List
Subject: Re: Struts2 and JavaScript localization
You'd have to put that expression in a tag that can process it. Try
something like:
ryangr wrote:
With that being said...I can populate the list "groups" just fine, but when
I try to use "user.groups" to get the other list it throws an exception that
says: "The requested list key 'user.groups' could not be resolved as a
collection/array/map/enumeration/iterator type." What am I
Thanks.
I will look at the framework and try some examples.
If any doubt i will ask for help.plz help me
Nils-Helge Garli wrote:
>
> There is no shortcut to learning a new framework. I suggest buying a
> couple of books and taking your time reading the documentation and
> trying out the examples
Allen, Daniel wrote:
Hi, all.
I have a superclass where almost all of the subclasses will require
several validations for a particular field, but one subclass will use
some but not all of those validations. I know that you can add
@SkipValidation to avoid all validators, but is there something t
Matthew Seaborn wrote:
What I meant was if the following is defined in the struts.xml
How does that make it to the URLTag#setIncludeParams method and how can make
our own constants?
Didn't I answer that? Repeated below again.
---
If you want the value of a constant, use @I
in teh callback of your ajax call add
document.getElementById("divOfYourFormID").innerHTML = "new content"
your action must have forwarded you to the "new content" a text with a
message like "everything's fine!" ^g^
On Tue, Apr 1, 2008 at 11:23 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>
> Hi the
yep I did, it's were my context gets started, everything goes fine, actions,
transactions and the like until I try to instantiate this object. I've tried
both lazy-init="false" and "true" but...
On Tue, Apr 1, 2008 at 9:39 PM, Alberto A. Flores <[EMAIL PROTECTED]>
wrote:
> Have you added the cont
Hi there,
I created an ajax capability to my form where the user clicks the 'add note'
button -a textarea is shown with a submit button (the textarea is shown just
below the [add note] button) the form works great.
I wonder:
1. When the user clicks submit and the process is over - how can I
'p
Hi, all.
I have a superclass where almost all of the subclasses will require
several validations for a particular field, but one subclass will use
some but not all of those validations. I know that you can add
@SkipValidation to avoid all validators, but is there something that you
can use to mark
Hi
thanks it works
On 4/1/08, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Ashish Kulkarni wrote:
> > Hi
> > I need to display XML file in JSP page (raw XML file)
> > in my Action Class i read this XML file, but how do i display in proper
> > format in JSP, i want the XML file displayed as is.
> >
Chen Chunwei schrieb:
Hi all,
Is there any tag can be used to display message icons? I mean icons like alert,
error, info and etc.
Talos
Appfuse has implemented it in a way I think is very nice. Might consider
to check it out.
kropp
-
I have the following for code in my JSP:
In my action I have a "groups" variable that is an extended ArrayList and a
user variable that contains an extended ArrayList also named "groups". Both
"groups" variables are of the same type GroupList that is my own custom
type, although it's really jus
Ashish Kulkarni wrote:
Hi
I need to display XML file in JSP page (raw XML file)
in my Action Class i read this XML file, but how do i display in proper
format in JSP, i want the XML file displayed as is.
Regards
Ashish
Don't use a JSP. Either link to the XML file directly (if it's somewhere
ac
We have created a custom struts config class which extends
org.apache.struts2.config.DefaultSettings, but struts cannot load it. We are
trying to load it by setting the struts.configuration to our custom class
name in WEB-INF/classes/struts.properties. This is what we see in our logs:
ERROR [main
Have you added the contextLoaderListener in web.xml?
Yayo wrote:
Hi and thanks in advance!
I've got a struts - spring based application and a declared bean wich
implements both ApplicationContextAware and ServletContextAware. I debug the
code and both setters receive data but when I try to use
Hi and thanks in advance!
I've got a struts - spring based application and a declared bean wich
implements both ApplicationContextAware and ServletContextAware. I debug the
code and both setters receive data but when I try to use the servletContext
it spites me this error:
21:15:56,031 ERROR Cont
Hi
I need to display XML file in JSP page (raw XML file)
in my Action Class i read this XML file, but how do i display in proper
format in JSP, i want the XML file displayed as is.
Regards
Ashish
Oh. Yeah, that one looks a lot more immediately applicable. :)
Thanks!
~DVA
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 2:45 PM
To: Struts Users Mailing List
Subject: Re: Scope of action messages?
None if you use the store interceptor (s
None if you use the store interceptor (sorry, I had the interceptor
name wrong on the last mail).
(*Chris*)
On Tue, Apr 1, 2008 at 11:22 AM, Allen, Daniel <[EMAIL PROTECTED]> wrote:
> Hmmm...
>
> How much interfering in the internals do you suppose I'd have to do to
> make action errors & mess
Hmmm...
How much interfering in the internals do you suppose I'd have to do to
make action errors & messages hang around until the corresponding
tag is rendered?
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 1:58 PM
To: Struts Users Maili
I am trying to implement a pattern so that I can use struts tokens to
help prevent double submission. I seem to be getting a strange
sequence of events that I don't quite follow. Here is what I want to
do at a high level
displayCreateAccount -- forwards to --> CreateAccount.jsp (with form
acti
actionmessages, actionerrors and fielderrors are all request scope, so
they'll be gone by the time the redirect comes back around. You might
want to look into the scope interceptor, it can help bridge the gap.
(*Chris*)
On Tue, Apr 1, 2008 at 10:50 AM, Allen, Daniel <[EMAIL PROTECTED]> wrote:
>
Hi, all.
I'm trying to display a message to the user to confirm that a new user
was created, basic par-for-the-course concept. However, I'm finding that
my tag doesn't render to anything. The first thing I
thought of was that my result for the user creation is an
action-redirect, so by the time w
What I meant was if the following is defined in the struts.xml
How does that make it to the URLTag#setIncludeParams method and how can make
our own constants?
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 28 March 2008 00:09
To: Matthew Seaborn
Subject: Re: Struts constants
You'd have to put that expression in a tag that can process it. Try
something like:
wds : new Array('',"tue","wen","thu","fri","sat","sun"),
(*Chris*)
On Tue, Apr 1, 2008 at 6:40 AM, Filippov, Andrey
<[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
>
>
>
>
> I have a javascript dropdown c
Hi Laurie,
Thanks for the reply! I found the "swallowOutput" attribute in the
Tomcat context that caused the exceptions to be placed in my application
log. However, I'm now setting up global exception mapping in struts so I
can handle unexpected problems without showing the user a stack trace
Hello everybody,
I have a javascript dropdown calendar on one of my struts2 jsp. I have
bi-lingual application. So I need to read bundle files to switch
language. Please, does someone know how to use these files in
javascript.
Here is my js snippet:
documentation is the best place to get started...
keep one thing do not read only try them side by side.
below are some of the others link which might help you.
http://www.wantii.com/wordpress/?p=9
http://www.roseindia.com
i hope these are the perfect starter.
-aum
On Tue, Apr 1, 2008 at 4:33 P
The exception is the result of something in your JSP -- probably a bug
in some of the embedded Java code. I would suggest:
1) wrapping the entire JSP with <% try{% > and <%} catch (Throwable t) {
t.printStackTrace(); }%> to isolate the problem
2) if that's not enough to solve it, start simpli
There is no shortcut to learning a new framework. I suggest buying a
couple of books and taking your time reading the documentation and
trying out the examples that are available. Search engines is also a
good way to find relevant information. Anything you need to get
started, both for Struts 1 and
With debug="true" I receive the message "DEBUG: error downloading remote
script"
--
View this message in context:
http://www.nabble.com/struts-dojo-plugin-2.1.0-and-googlemaps-tags-tp16395593p16417877.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
You can't have log4j route exception errors to the log file if you don't
catch the exception and pass it to log4j... If you allow the exception
to propagate all the way up, it will be logged by the container. Short
story: if you want to control where something gets logged to, you need
to contro
Hi All,
I am new to struts and wana to learn it.Any help or suggestion in this
regard is much appriciated.
please help me
Thanks,
Pavan
--
View this message in context:
http://www.nabble.com/New-to-Struts-tp14313460p16417500.html
Sent from the Struts - User mailing list archive at Nabbl
What version of Struts 1 are you using?
Dave
--- "balaji.m.cs" <[EMAIL PROTECTED]> wrote:
>
> i am using struts for my front end handling of data. now i wish to go for
> validator framework for handling form validation given by user, I have put
> the validaton.xml and validaton-rules.xml into
i am using struts for my front end handling of data. now i wish to go for
validator framework for handling form validation given by user, I have put
the validaton.xml and validaton-rules.xml into web-inf and i hav plugged in
the plugin with className and paramnames as the xml files but when my
ap
(Quick followup.)
The wiki is a bit tricky when it comes to supplying version-specific
information when the information is added before the new version is released.
Unless editors specifically add version numbers to documentation text there's
no way to know what version something applies to.
This
--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> I am following the tutorial "Using tags" where the example uses a URL tag
> with the "var" attribute.
>
>
> However this crashes since the TLD in the struts2-core-2.0.11.1.jar does
> not define the "var" attribute.
> It is however discribed in
Hi,
I have downloaded what is discribed as the latest "best available" release
of STRUTS 2.0.11.1 (http://struts.apache.org/downloads.html)
I am following the tutorial "Using tags" where the example uses a URL tag
with the "var" attribute.
However this crashes since the TLD in the stru
2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>:
>
> Personally, I do wanna use JNDI. But the project I'm going to do is based
> on struts 1.1 and using to connect to db. So I have to learn
> on these things first and learn the advanced things later after work :-)
Notice that JNDI support depends on
Thanks
Personally, I do wanna use JNDI. But the project I'm going to do is based on
struts 1.1 and using to connect to db. So I have to learn on
these things first and learn the advanced things later after work :-)
Talos
- Original Message -
From: "Antonio Petrelli" <[EMAIL PROTECTED
2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>:
>
> By the way, can I say that, if I use in my struts
> application, then the struts servlet manages the connection? That is, when
> the application is deployed, the struts servlet will automaticly create
> connections of numbers specified by "minCount".
Thanks Antonio
Now I can make it connected.
By the way, can I say that, if I use in my struts application,
then the struts servlet manages the connection? That is, when the application
is deployed, the struts servlet will automaticly create connections of numbers
specified by "minCount". And
--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> To help us find the root of this problem and to help us understand
> xwork better we are looking for the source code for the release of
> xwork that struts 2 v2.0.11.1 is built on. This does not seem to be
> included in the STRUTS source zip file.
It's
2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>:
>
> java.sql.SQLException: Io Exception: The Network Adapter could not
> establish the connection
It seems that you cannot reach the Oracle server... can you ping it? Are you
able to see it through a sql client?
Antonio
--- Varun Deep <[EMAIL PROTECTED]> wrote:
> I am using Struts2. In this I am facing the problem in using the
> "JavaScript" with the Struts2 tags. If some has the solution for that
> please help me.
That's somewhat nebulous.
It would be more helpful if you could describe what specific issues y
Here's the whole stacktrace. Note: the language version of my Tomcat 5.5 is
Chinese. So I replaced some non-English text with translated English.
Talos
begin
2008-4-1 15:07:22 org.apache.catalina.star
Hi,
We are starting to use STRUTS 2 and have found that the MailReader demo
app throws an exception. To help us find the root of this problem and to
help us understand xwork better we are looking for the source code for the
release of xwork that struts 2 v2.0.11.1 is built on.
This does not se
2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>:
>
> Thanks.
>
> I've tried to specify minCount=2 and maxCount=4. But I've encountered a
> new exception: The Network Adapter could not establish the connection. Is
> that mean something wrong with my network connection?
Can I see the complete stacktrac
Thanks.
I've tried to specify minCount=2 and maxCount=4. But I've encountered a new
exception: The Network Adapter could not establish the connection. Is that mean
something wrong with my network connection?
I'm using Struts 1.1
Talos
- Original Message -
From: "Antonio Petrelli" <[E
2008/3/31, Ashish Kulkarni <[EMAIL PROTECTED]>:
>
> org.apache.jasper.JasperException: /pages/index.jsp(125,15) According to
> TLD
> or attribute directive in tag file, attribute test does not accept any
> expressions
You have to import the "c_rt.tld" file, not the "c.tld".
Antonio
50 matches
Mail list logo