So, I'm hearing the answer is "you can't"? At least not without
extending the system myself? Thanks, I'll work around the system
again.
(*Chris*)
On Tue, Apr 22, 2008 at 11:30 PM, Toni Lyytikäinen <[EMAIL PROTECTED]> wrote:
> You could probably create your own theme and/or template for the tag
You could probably create your own theme and/or template for the tag where
you set the attribute in the template. But why not just use standard xhtml
tags for this - I mean just type it like this in the page:
< input type="text" name="userid" autocomplete="off" ... />
(extra space there to not ma
I have a List called "ids" which contains 4 Strings "22030", "6496",
"6457", "6448"
When the following tag is used:
It produces the following HTML:
When the form is submitted the "ids" List is populated with one String
"[22030, 6496, 6457, 6448]" instead of 4 Strings "22030", "6496",
"6457",
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
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 addErrors
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 is
Is it possible to supply the autocomplete="off" parameter using the
, , or 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 possible using the Stuts
Tags?
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 PROTEC
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 imple
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 collec
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:
> -
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:
--
freemarker.cor
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, news
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
>
> ...
>
> ...
>
>
> in your conf
You need to code includeParams="none" in the s:url tags
or
...
...
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 Rosa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the following
Hi,
I have the following code in my JSP:
*
View Customer Details*
Assuming that the value of the email is [EMAIL PROTECTED]
After clicking the link generated by the ** & **, all hyperlinks
in next page will have the [EMAIL PROTECTED] encoded in the URL,
i.e.:
*http://host:8080/mydomain/[EM
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]
http://repo1.maven.org/maven2/org/apache/str
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 New
--- "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?
>
>
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
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
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
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 fields.
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 a
Paranoid_Fabio wrote:
Thank you. The outline is:
Navigation.jsp (the links bar that is included in the other pages):
...page content
Home.jps (which includes Navigation.jsp):
<[EMAIL PROTECTED] file="Navigation.jsp"%>
.page content
Two immediately obvious issues with
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;
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 timeli
-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 ht
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, but
zakaria ghandour wrote:
Hi,
in my struts form i have 2 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 to dont have conflict name, and how can i
recover the values of these inputs
in "struts
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 to
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 action
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
Hi struts users,
i got little trouble with the following struts2 jsp snippet.
Within a tagfile i create a map...
later in jsp rendering process, in a different page fragment i like to add
several key value pairs to this map
but dont know how to do. I allready read documentation but withou
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 pol
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.
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"
Sent: T
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
Thank you. The outline is:
Navigation.jsp (the links bar that is included in the other pages):
..page content
Home.jps (which includes Navigation.jsp):
<[EMAIL PROTECTED] file="Navigation.jsp"%>
page content
Paranoid_Fabio wrote:
>
> Hello. I've a problem with i
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 framewo
40 matches
Mail list logo