Thanks Jeromy for the detailed Explanation
you have mentioned the point on which we are also confused...
we are on analysis phase of using any external ajax libraray with out coming
struts2 based applications
We have got lot of favourable comments for YUI over DOJO (Previously we
haqve faced
umesh awasthi wrote:
Thanks Jeromy for the detailed Explanation
you have mentioned the point on which we are also confused...
we are on analysis phase of using any external ajax libraray with out coming
struts2 based applications
I should mention here that there are other server-side
Thank you. The outline is:
Navigation.jsp (the links bar that is included in the other pages):
body
s:i18n .
..page content
/s:i18n
/body
Home.jps (which includes Navigation.jsp):
body
s:i18n ..
[EMAIL PROTECTED] file=Navigation.jsp%
page content
/s:i18n
/body
thks Jeromy for valuable feedback
hope it will solve our purpose..
-S
On 4/22/08, Jeromy Evans [EMAIL PROTECTED] wrote:
umesh awasthi wrote:
Thanks Jeromy for the detailed Explanation
you have mentioned the point on which we are also confused...
we are on analysis phase of using any
Just to add my vote to the YUI loving camp. I started to port the S2 dojo
plugin to dojo 1.x, but after playing with YUI I've abandoned it because YUI
was a better fit for my needs.
- Original Message -
From: umesh awasthi [EMAIL PROTECTED]
To: Struts Users Mailing List
Hi,
I have a form which contains password and a password check field. These
fields must contain the same password or else a validation error is shown.
Is it possible and what is the syntax for validating this? As far as I can
see there only exists the possibility to validate fields exclusively.
Hello everybody!
I am trying to load file from DB. I use https. In Mozilla I get only one
exception but everything finally works. Here is my code and stack trace:
public String execute() throws Exception {
super.execute();
byte[] file = null;
PolicyFileVO
Hi struts users,
i got little trouble with the following struts2 jsp snippet.
Within a tagfile i create a map...
s:bean name=java.util.HashMap id=mymap
s:param name=peng value=pong/
/s:bean
later in jsp rendering process, in a different page fragment i like to add
several key value pairs to
Hi,
we have an old application written in Struts 1 and we started adding new
features in Struts 2. In the old application we had a file upload form which
was working fine.
After adding Struts 2, the form does not work anymore because the file field
is not populated in the form anymore and it is
For those interested, the answer to this question is:
@Result(name=name,type=ActionChainResult.class,value=actionName ,params=
{method,methodName})
wild_oscar wrote:
When using Result annotations to configure Actions, is it possible to pass
the method as a parameter in the
yogi1313 wrote:
Hi all ,
We are using struts to build a Global website which will be localized in
over 30 languages.
One of our requirement for SEO is to not have any locale field in the URL's
..
In standard approach when we localize a site we have a locale field in the
URL which is then used
zakaria ghandour wrote:
Hi,
in my struts form i have 2 html:text to insert date and time.
i want to insert more than one object in my Struts action (using iteration
to display inputs in form).
how can i name my html:text to dont have conflict name, and how can i
recover the values of these
Driv wrote:
Hi...
I have a problem:
I have an action that retrieve some results from a DB, puts them in a form
and forwards it to a jsp.
The problem is that I have to do (from the jsp) another search in th DB
using the same FORM.
the scope of the action that generates the form is session,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Filippov,
i think you'd better use the method
public java.io.PrintWriter getWriter() throws IOException;
than getOutputStream().
Regards
Volker
Filippov, Andrey schrieb:
Hello everybody!
I am trying to load file from DB. I use
Mingliang Liu wrote:
Half of a year is a long time for Struts2.1 developing and I just wonder
whether it's proper to use struts2.1-from svn?
If you're considering using a non-release version of Struts, you'd be
well advised to monitor the dev list so you are aware of current status
and
Filippov, Andrey wrote:
Hello everybody!
I am trying to load file from DB. I use https. In Mozilla I get only one
exception but everything finally works. Here is my code and stack trace:
public String execute() throws Exception {
super.execute();
byte[] file = null;
Paranoid_Fabio wrote:
Thank you. The outline is:
Navigation.jsp (the links bar that is included in the other pages):
body
s:i18n .
...page content
/s:i18n
/body
Home.jps (which includes Navigation.jsp):
body
s:i18n ..
[EMAIL PROTECTED] file=Navigation.jsp%
.page content
Rubbinio wrote:
Hi,
we have an old application written in Struts 1 and we started adding new
features in Struts 2. In the old application we had a file upload form which
was working fine.
After adding Struts 2, the form does not work anymore because the file field
is not populated in the form
I modified the quickstart demo application by adding person.dateOfBirth
and person.age to do some tests with the validators.
I added a an intrange validator on the age and a daterangevalidator
and a regex validator on the date of birth plus
additional required validators on the new
Thank you.
You were absolutely right. our struts 2 filter was using /* and the
Struts 1 servlet mapping *.do. Once I changed the struts 2 to *.action
it all went back to normal.
Laurie Harper wrote:
Rubbinio wrote:
Hi,
we have an old application written in Struts 1 and we started adding
checkfielderror.ftl of the simple theme will find field errors
for a textfield and change the background to yellow. It will not do so
for
select tags. The error message for the select tags show up so the
theme knows
about the errors. It would seem that the fielderrors array/list
When I try to start up my Struts 2/Spring project, I get an exception
about a missing class, which makes me think I have a missing JAR, but I
can't find mention of anything that isn't already in my build. Could
anyone take a look, perhaps?
I have the following entries in my Maven POM. Am
--- Allen, Daniel [EMAIL PROTECTED] wrote:
When I try to start up my Struts 2/Spring project, I get an exception
about a missing class, which makes me think I have a missing JAR, but I
can't find mention of anything that isn't already in my build. Could
anyone take a look, perhaps?
I have
Yeah, that would be key, wouldn't it? It works now.
If the POM's writer is around, though, is there a reason that the Spring
core is not listed as a dependency of the struts-spring plugin? That's
what I originally assumed would happen.
Thanks, Dave.
~Dan
-Original Message-
From: Dave
Spring Core *is* listed as a dependency of the Struts Spring Plugin
(along with various other Spring modules), at least according to the POM
in the default Maven repository [1]. I don't know why your build would
have failed to pick them up.
L.
[1]
Hi,
I have the following code in my JSP:
*s:url id=url7 namespace=/secure action=viewCustomerDetails
s:param name=emailc:out value=${customer.email}//s:param
/s:url
s:a href=%{url7}View Customer Details/s:a*
Assuming that the value of the email is [EMAIL PROTECTED]
After clicking the link
You need to code includeParams=none in the s:url tags
or
struts
...
constant name=struts.url.includeParams value=none /
...
/struts
in your configuration.
Have a look here: http://struts.apache.org/2.x/docs/url.html
I'm pretty certain that will sort you out.
On 4/23/08, Eduardo Dela
Excellent! That solved it.
I should have paid attention to that part of document.
Thanks very much Steve.
Eduardo
On Wed, Apr 23, 2008 at 9:44 AM, Steve Akins [EMAIL PROTECTED] wrote:
You need to code includeParams=none in the s:url tags
or
struts
...
constant
Hi,
Is portlet Ajax examples are demonstrated in
struts2-portlet-2.0.11.1.war in the distribution.
I can see some pages but can't see the functionality
in the main index
Thanks
Be a better friend,
FreeMarker template error!
Expression error is undefined on line 35, column 4 in
template/simple/actionerror.ftl.
The problematic instruction:
--
== ${error} [on line 35, column 2 in template/simple/actionerror.ftl]
--
Java backtrace for programmers:
--
Hi Akash,
Could you send your jsp code?
Maybe this is a syntax error.
[]'s
Márcio Gurgel
2008/4/23, akash agrawal [EMAIL PROTECTED]:
FreeMarker template error!
Expression error is undefined on line 35, column 4 in
template/simple/actionerror.ftl.
The problematic instruction:
--
akash agrawal wrote:
FreeMarker template error!
Expression error is undefined on line 35, column 4 in template/simple/actionerror.ftl.
The problematic instruction:
--
== ${error} [on line 35, column 2 in template/simple/actionerror.ftl]
--
Somehow the ActionErrors
Hi!
I'm not quite sure what you're asking, but the Ajax examples in the
portlet sample was removed in an earlier version due to a number of
problems. You can find a related issue here:
https://issues.apache.org/struts/browse/WW-2556
For now, if you need Ajax support in portlets, you need to
Yes, I am adding an action error in my action. Somewhere in my action a
NullPointerException gets thrown and I add that exception to my actionerror .
I guess thats not incorrect to do that, is it?
--- On Tue, 4/22/08, Jeromy Evans [EMAIL PROTECTED] wrote:
From: Jeromy Evans [EMAIL
Is it possible to supply the autocomplete=off parameter using the
s:form, s:textfield, or s:password tags?
Whether or not this is truly effective, my management wants our userid
and password fields to supply this parameter to bring piece, harmony
and security to the world wide web. Is this
Ok then following your expert advice I think I want to use the second approach
now where I define my own TextProvider instance.
Q.1) The ActionSupport class uses TextProviderSupport class which internally
calls the LocalizedTextUtil class. Is that right understanding?
Q.2) What I have to do
akash agrawal wrote:
Yes, I am adding an action error in my action. Somewhere in my action a
NullPointerException gets thrown and I add that exception to my actionerror .
I guess thats not incorrect to do that, is it?
Ensure you're not adding the null object to the collection of
Pranav wrote:
Ok then following your expert advice I think I want to use the second approach now where I define my own TextProvider instance.
Q.1) The ActionSupport class uses TextProviderSupport class which internally calls the LocalizedTextUtil class. Is that right understanding?
Q.2) What I
I have a List called ids which contains 4 Strings 22030, 6496,
6457, 6448
When the following tag is used:
s:hidden name=resend.ids /
It produces the following HTML:
input type=hidden name=resend.ids value=[22030, 6496, 6457,
6448] id=/test/resend_resend_ids/
When the form is submitted the ids
39 matches
Mail list logo