Spring MVC might be a consideration! (wink)
On Oct 16, 2012 1:26 PM, Davis, Chad chad.da...@emc.com wrote:
Okay. I'm following this path. I've got the Spring Plugin in place.
And it's
working. I verified it by autowiring a trivial spring bean into one of
my
actions. But when I try
Take a peek at this http://struts2-jquery.appspot.com/home.action
On Tue, Apr 17, 2012 at 2:13 AM, shobbi sho...@dataspectrumllc.com wrote:
Hi all, your advice is greatly appreciated. I need to use AJAX in my
Struts2
2.1.8 web application. What is the best option?
I see DOJO mentioned in
Dave is right Emi. I have been working with other frameworks recently, and
what Struts/2 needs is a simple FlashScope that allows a request to last two
life-cycles. However, unless you were doing something OOTO, a request in
Struts/2 lasts for one reqest/response trip.
Peace,
Scott
On Tue, Jul
each page needs the taglibs. remember each jsp must be complied first, and
without the taglib directives, the compile would fail.
peace,
scott
On May 20, 2011 2:04 PM, Anjib Mulepati anji...@hotmail.com wrote:
Hi,
I have a query regarding adding tag lib in web pages while using tiles.
Is it
Great answer Eric! I would also add that using wildcard methods for the
express purpose of minimizing the number of actions you have is bad
medicine. I'm not suggesting you are, but I have seen this on client
projects where they were more interested in check-in/check-out of a single
action than
Though his eyes could see he still was a blind man lol
On Wed, Apr 13, 2011 at 10:27 AM, Eric Lentz eric.le...@sherwin.com wrote:
I'm now buying what you're selling. I did have a misunderstanding about
when the JSP is called relative to validation. I once was blind, but now I
see. Thanks for
Do you by chance need a @SkipValidation on a method(s) in your action? How
have you named your validation file?
On Apr 12, 2011 2:27 PM, Eric Lentz eric.le...@sherwin.com wrote:
since I don't use that XML Validation stuff.
What do you use?
You should never allow JSP pages to be accessed directly. Place them behind
WEB-INF and your problem goes away.
On Thu, Apr 7, 2011 at 8:46 PM, Dave Shevett d...@homeport.org wrote:
I have an app that uses a generic interceptor on all action calls to verify
if the session is active, and if it
Your questions are too difficult! Can you please rephrase?
Peace,
Scott
On Wed, Mar 16, 2011 at 4:25 PM, Wes Wannemacher w...@wantii.com wrote:
Does anyone know of a good trick to detect whether a new window or tab
was opened by the user...
Here is the scenario, a user is looking at a view
I haven't looked at this for some time, but open up DefaultActionMapper and
have a look. You can always substitute your own implementation if the
outta-the-box is not what you are looking for.
Peace,
Scott
On Tue, Mar 1, 2011 at 7:59 AM, GF gan...@gmail.com wrote:
I configured struts to
The eclipse jsp validator is a worthless bag of bolts.
On Feb 25, 2011 4:17 PM, Frank Serkland fhserkl...@gmail.com wrote:
I have the following form in my JSP. The hidden field in this form,
which I have verified with the documentation as having correct syntax
as far as Struts 2 goes, is
Have you considered Sitemesh?
On Tue, Feb 1, 2011 at 11:50 AM, Richard Sayre richardsa...@gmail.comwrote:
I am making a mobile site for my current web application. I have a
huge number of actions that return to JSP pages. I have a mobile
detection class written.
Is there a way that I can
When it comes to an existing wildcard action mappings in XML (customer_*)
where you have several methods in the Customer action, would this require an
annotation on each of the methods in the action if this were to be converted
to convention? If so, I get the impression this is a case where the
Does anyone know of a reasonably good list of the top 10 or more sites
running on Struts2? I have been asked to do a little fact-finding and the
tools I am using pretty much stop at Java EE and don't tell much about the
details. Job searches compiled yesterday suggest Walt Disney, Netflix and
With 2.2.1, shove all this in your struts.xml and if it works, just smile
and don't look back:
constant name=struts.devMode value=true /
constant name=struts.i18n.reload value=true /
constant name=struts.custom.i18n.resources value=global-messages /
constant name=struts.configuration.xml.reload
I'm on 2.2.1 and they are being reloaded when using those config settings.
However, I believe it took them all (or some weird combination) before they
would load!
On Tue, Jan 25, 2011 at 2:20 PM, CRANFORD, CHRIS
chris.cranf...@setech.comwrote:
Do I have to be on 2.2.1 for all this to work?
I
stanlick stanl...@gmail.com:
Do you guys know if using the convention plugin is mutually exclusive of
having an action mapping xml file? IOW, is the convention plugin an all
or
nothing proposition? I know it alters the request handling machinery but
cannot find anywhere in the docs
Do you guys know if using the convention plugin is mutually exclusive of
having an action mapping xml file? IOW, is the convention plugin an all or
nothing proposition? I know it alters the request handling machinery but
cannot find anywhere in the docs if it is expected to play alongside
Can we see your related files?
On Wed, Jan 12, 2011 at 3:43 PM, Scott Koenig scott.l.koe...@gmail.comwrote:
Hello,
In my company's internal CMS, we are implementing two new asset types,
Videos and Playlists (collections of Videos). In the Video UI, the user
designates which Playlists are to
How about something like this?
s:form namespace=/customer
s:hidden key=domain.id /
s:textfield key=domain.firstName /
s:textfield key=domain.lastName /
s:textfield key=domain.address1 /
s:textfield key=domain.address2 /
s:textfield key=domain.city /
s:textfield key=domain.state /
s:textfield
Do you need to write the method called super()? I Couldn't resist
S
On Thu, Dec 30, 2010 at 4:29 PM, Dave Newton davelnew...@gmail.com wrote:
So, what might happen if you called it (super()) in validate()?
I mean, I apologize for not just outright telling you, but I really like it
when
Dave is right in that there are truly a dozen ways to do this. However,
Struts does not have an out-of-the-box solution governing user/role level
permissions. Does your company have a user user based permissions system in
house today where permissions are determined according to the user logged
Not quite sure what that means. JSR303 is an annotations based validation
API and you could certainly add your own JSR303Interceptor at the
appropriate point in the stack.
On Mon, Dec 20, 2010 at 10:41 AM, Alfredo Manuel Osorio Martinez
alfredo.oso...@afirme.com wrote:
Hello,
Does Struts 2
David --
You could override the ParametersInterceptor with your own that validates
requester role/parms/url. I have used this approach to throw away
not-authorized parms altogether.
Scott
On Fri, Dec 17, 2010 at 8:54 AM, Altenhof, David Aron dalte...@iupui.eduwrote:
The model objects are
Guys --
If the action has no setter and the property is private, S2 will not
populate it.
Scott
On Fri, Dec 17, 2010 at 11:10 AM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
David,
I get your point.
Scott is right, you could overwrite PI or maybe write your custom
interceptor
I agree S2 will create the bean (if null) but it can't set a property that
is private and has no accessible setter method.
P.S. What am I missing here?
Scott
On Fri, Dec 17, 2010 at 11:45 AM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
This happens because bean is null, otherwise
That would certainly eliminate the email being set! :) Sorry about that.
What I have done is combine a security system based on
user/role/url/valid-parameter list with the ParametersInterceptor and throw
away any unauthorized parameters. This was quite an undertaking and my
company is not
Thanks Allen --
I modified the remove() to return SUCCESS and it only resulted in a
different error; namely:
*Messages*:
No result defined for action com.foo.actions.music.InstrumentsAction and
result success
From all the reading (source code is next) it sure seems like *
I began writing about the 2.2.1 convention plugin and naturally started
writing code. I especially like not having to code XML when my file naming
is clean and straightforward. I started off with a package named
*com.foo.actions.music* which resolves to the namespace (URL)* /music*.
Next I
You need to determine why contact.contactLead.income is being evaluated
as $123. This is forcing the search for setIncome(String). Is the user
entering this value? If so, you need to strip it of the String so it can
be considered a BigDecimal.
On Sat, Dec 11, 2010 at 6:51 PM, Burton Rhodes
Look at the bottom of your message and also the top.
'contact.contactLead.income' evaluated
to '$123' and you do not have a method
com.afs.entity.ContactLead.setIncome([Ljava.lang.String;)]
Scott
On Fri, Dec 10, 2010 at 2:53 PM, Burton Rhodes burtonrho...@gmail.comwrote:
I am having issues
Actually, it shouldn't come down to using the *other* because the
*one*doesn't support one neat feature. I have always thought the
parameters
interceptor should reflect on object properties in the case where it could
not find a set/get method. These determinations could be cached. Dave, can
you
No schit! Going to try it now.
On Fri, Dec 10, 2010 at 9:04 AM, Dave Newton davelnew...@gmail.com wrote:
On Fri, Dec 10, 2010 at 9:59 AM, stanl...@gmail.com wrote:
I have always thought the parameters interceptor should reflect on object
properties in the case where it could
not find a
They do, but what the hell. I think we have reached a level of
sophistication (pronounced no dumb people on the team) where this should no
longer be a problem. I really haven't seen validation code in a setter
method anyway. They are usually generated as:
public void setFoo(String foo){
Does anyone actually use this interceptor? I have a team asking me about
it's use in production and how this solution would compare to a jQuery
solution. I played around with it lst night and am skeptical about it. For
one thing, the documentation says
The ExecuteAndWaitInterceptor is great
This is being posted separate from my other post for search clarity. The
same team that is questioning server vs. client, is asking how these
interceptors are better than simply inhibiting input by the client for the
duration of the submit. Are these interceptors falling off in popularity?
Like
I thought about that Dave, but isn't reporting an exception to the rule?
Also, should a web framework try to play the role of a reporting solution?
I'm trying to get a handle on roles and responsibilities more than anything
else. Very few web developers like the Swiss Army Knife approach on
Dude, I can't sit quietly any longer! How you connect to a database has
NOTHING WHATSOEVER to do with the Struts/2 Framework. I would advise you to
keep the two separated in your mind. Much like you wouldn't look to a
Database connection to serve a web page, neither should you look to Struts/2
Thanks Li --
I saw what the interceptor was doing and decided that was not going to
work. Would you mind posting the simple technique to extract the
parameter from the interceptor configuration. I'll admit I'm not a Guice
pro and studying the container build sent me straight to the bar last
Thanks Li --
This is what I was afraid of, but wanted to make sure I wasn't overlooking
something a little more straightforward. Before duplicating the max size
someplace else, I'll likely get into the Container build which reads the xml
files. Somewhere in the back of my mind, it feels like I
I had a guy ask me why his internationalized properties were not accessible
in his Struts app that was using both the REST and Convention plug-ins. My
first action was to read the docs which did not suggest anything out of the
ordinary, so I through a core app together using this configuration
de-rust? That's awesome. I personally am afraid to see what might be
lurking under all my rust.
There is a struts.convention.package.locators set to the top-level folder in
the class hierarchy. One thing that I found interesting though, I added the
struts2-config-browser-plugin hoping to get
Before I wrap myself around my own axle, does anyone know a straightforward
technique for substituting the maximumSize into a message property text
according to the following scenario.
action name=singleUpload class=FileUploadAction
method=upload
interceptor-ref
Josep --
That sounds a little radical. Do you mind if I ask why? Is the unique
namespace per package not enough separation? Hey, if strict separation is
what you desire, you could package each S2 package in it's own project and
move the package namespace to the web root context and be done
You certainly have accomplished that with
default-interceptor-ref name=paramsPrepareParamsStack/
however, Li is right; you did not need to redefine that stack, as it's in
the default xml file in struts-core. Now then, you will only see this stack
associated with actions in *this* package or
So that's why nothing is really happening in my JSP? Can you tell us more
about this back-end deal? :)
On Thu, Nov 18, 2010 at 6:41 AM, Dave Newton davelnew...@gmail.com wrote:
How is using S2 more work than JSP? You can't just use JSP, you still
need
a back end.
And JR does things like
Josep --
I believe this is what you are looking for.
http://blog.springsource.com/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/
Peace,
Scott
2010/11/17 Josep María Formentí Serra jmforme...@aia.es
Thanks Dave and Chris,
Chris, that it's nice, we
Can we see the rest of your JSP? My hunch is, you are also using a
textfield that is bringing the label in as well.
On Tue, Nov 16, 2010 at 6:32 AM, Prabhubalaji Ragavan
prabhubalaji.raga...@gmail.com wrote:
Hi
I am using the below code to label, which is using a resource bundle. When
the
I fired up a new 2.2.1 project this morning to see what's new and have a
quick question. Does the config-browser work out of the box with rest and
convention plug-ins? Everything works fine except this url:
http://localhost:8080/rest/config-browser/index.action
which is producing the glorious
This http://struts2inaction.com/SimpleAjax.html should be a much simpler
technique for you.
Peace,
Scott
On Tue, May 25, 2010 at 11:34 AM, Oscar oscar.kalde...@gmail.com wrote:
Hi to all, have a good day, i have a doubt about Struts 2.1.8 and AJAX
with dojo, using dojo struts tags. My doubt
Maps expose an Entry element containing properties key and value.
s:iterator value=map varrow
s:property/ // that work well
s:textfield value=row.value.color/ // this would call getColor() on
the value object associated with key
s/iterator
Peace,
Scott
On Wed, May 12, 2010 at 3:55
Before I go mucking around with the select.ftl, is there a simpler way to get
a unique id generated for each option written? The select tag does not
appear to support tagging its options with an identifier.
Peace,
Scott
--
View this message in context:
Hey Z --
I hear what your saying brother, but big shops have such tight constraints
about what you can download and use that this was a real s t r e t c h for
the last shop I was in! We were happy to Struts/2 approved! I like your
strategy too.
P.S. I'm a drummer and Z reminds me of
After answering similar questions regarding Struts/2 and Ajax on several
forums, I have decided to write an actual paper on the topic. While I
figure out where to publish papers I am dropping the link here.
http://struts2inaction.com/SimpleAjax.html World’s Simplest Struts/2 Ajax
Pattern
S2 doesn't do anything special. It leverages the native Java resource
bundles and locale. I would advise you to begin by looking at the Locale
class.
On Wed, Mar 24, 2010 at 4:01 AM, Stephen Ince stephenpi...@gmail.comwrote:
Does anyone know how to programmatically retrieve the i18n messages
Hi Sandeep --
One clean way you can do this is by using the
ScopedModelDrivenInterceptorhttp://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html
.
Peace,
Scott
On Tue, Mar 16, 2010 at 4:22 PM, sandeep kotha sandeep4u.ko...@gmail.comwrote:
Hi All,
We are migrating our
You have bookList and listBook. Change one of them.
On Sun, Mar 7, 2010 at 8:25 PM, tesla fatihdu...@hotmail.com wrote:
Hi i'm new at struts.I wanna write all the array elements which i defined
at
java class to the jsp file
but i'm getting this error
javax.servlet.ServletException:
If each company will have their own domain name this will solve itself.
On Sat, Mar 6, 2010 at 10:18 PM, john lee sh_thorn_b...@yahoo.com wrote:
my company is distributor, we plan to provide platform for our
customer(different store) to sell their product to indivual customers.
in dependencies).
If you just want to cut to the chase, the essentials would be -
struts2-core 2.1.8.1
xwork-core 2.1.6
freemarker 2.3.15
ognl 2.7.3
-Wes
On Mon, Dec 14, 2009 at 10:36 AM, stanlick stanl...@gmail.com
wrote:
Greetings and Happy Holidays --
I am sitting down
, they haven't indexed 2.1.8.1 yet, but there is
no differences in dependencies).
If you just want to cut to the chase, the essentials would be -
struts2-core 2.1.8.1
xwork-core 2.1.6
freemarker 2.3.15
ognl 2.7.3
-Wes
On Mon, Dec 14, 2009 at 10:36 AM, stanlick stanl...@gmail.com wrote
to the chase, the essentials would be -
struts2-core 2.1.8.1
xwork-core 2.1.6
freemarker 2.3.15
ognl 2.7.3
-Wes
On Mon, Dec 14, 2009 at 10:36 AM, stanlick stanl...@gmail.com wrote:
Greetings and Happy Holidays --
I am sitting down to unwind the Essential Dependencies Only jar
Greetings and Happy Holidays --
I am sitting down to unwind the Essential Dependencies Only jar
(struts-2.1.8.1-lib.zip) in preparation for the litany of questions the
lawyers are going to ask before accepting the Struts 2.1.8.1 upgrade in
house. Now either I have a different understanding of
The same argument could be made by generating your web pages in Java code!
The MVC has been around for probably as long as you have been alive. JSP
developers as you put it, should be coding presentation and *not* disk
access! Code reviews, and/or source code inspections would identify a rogue
Thanks guys --
Actually, I needed a QD tree on a JSP page and it worked great. The one
issue I am having though is this. I am creating the tree by attaching
TreeItem nodes. I am populating these nodes with attributes
Goal goal = goals.next();
You rock bro! So is there a way to get the TreeItem attributes passed back
to the server? If not, I am confused as to why they would be set on the
node object.
Musachy Barroso wrote:
On Thu, Aug 20, 2009 at 8:06 AM, stanlickstanl...@gmail.com wrote:
P.S. I was surprised to see that you
I am trying to leverage the http://ajaxtags.sourceforge.net/ AjaxTags and
would like to see if anyone here might have tips before tearing in. I
realize this might not be the best venue for the question, but hey, It's
Struts 2 sort of.
Peace,
Scott
--
View this message in context:
I am experimenting with struts 2.1.7 and apparently xwork 2.1.4 has moved
OgnlValueStack from package com.opensymphony.xwork2.util to
com.opensymphony.xwork2.ognl! Was this some cruel joke?
Peace,
Scott
--
View this message in context:
Thanks Dale --
Now that might be the better question! It appears we have not been
consistent in a few corporate plug-ins between using the VS or OVS, and
those places referencing OVS stopped working in 2.1.7 when xwork relocated
the OVS.
Peace,
Scott
DNewfield wrote:
stanlick wrote:
I
I am using the leading / and it still seems to be using the namespace! I
renamed the ftl folder pages to be config to match the namespace, and it
works fine. Is there another way? I originally tried with and without the
leading slash and ultimately had to make this change to get it to work. I
I am working on a plug-in and having trouble getting the runtime to find my
freemarker pages. I have a folder named pages in my plugin.jar where my
freemarker pages reside. My struts-plugin.xml is referring to the pages as
follows:
result type=freemarker/pages/config.ftl/result
However, I am
The logic considers the action name without regard to the package the action
is contained within.
On Mon, Jul 13, 2009 at 5:53 PM, Musachy Barroso musa...@gmail.com wrote:
independent of the methods' package name
I am not sure what you mean by this. example?
musachy
--
Hey you! Would you
Either I have been asleep at the wheel or have simply lucked into a naming
scheme. It appears the MethodFilterInterceptor is performing its
include/exclude logic independent of the methods' package name. Has anyone
been snapped by this?
Peace,
Scott
--
View this message in context:
I am working on a plug-in that needs to display a JSP. I have the plug-in
packaged with the following struts-plugin.xml, however, rather than the
/pages/config.jsp page appearing, I get a 404! The folder pages is in the
root of my config-plugin.jar file and I have changed the result by both
and then copy JSP files here...
Peace,
Scott
DNewfield wrote:
stanlick wrote:
I am working on a plug-in that needs to display a JSP.
The folder pages is in the root of my config-plugin.jar
I believe jsp files must be in the file system, not in jars.
-Dale
time this evening for that
Harley ride up the river road!
Peace,
Scott
DNewfield wrote:
stanlick wrote:
However, for a plug-in to be a drop-n-go deal, I sort of think the goods
should all be in the plug-in jar itself? Make sense?
Agreed, but I believe I've been told that can't be done
to
compile the jsp to java, then use the java api compile to compile to a
class file, load it and then execute it, but yeah FreeMarker would be
easier :)
musachy
On Thu, Jul 9, 2009 at 1:06 PM, Dale Newfieldd...@newfield.org wrote:
stanlick wrote:
However, for a plug-in to be a drop-n-go
Dave--
Does this mean your book is about to be unpakt? If this chapter is
representative of the book, this will be a real gem!
Peace,
Scott
On Thu, Jun 18, 2009 at 11:04 PM, juded ju...@packtpub.com wrote:
Every developer's favorite task is documenting their application. In this
chapter,
For those of you who are using
thishttp://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/base
class to unit test your Struts 2 apps, have you encountered this
requirement?
I have a web.xml listener placing an object in application scope using
I agree, however, there is only a single object (Thing) in the map (Things)
and only a single parameter being passed.
newton.dave wrote:
stanlick wrote:
s:textfield name=things[%{#status.index}].name value=%{name} /
I'd assume something like getThings().put(index, name). OGNL has to get
How is that for a subject line? I always wonder what I would search for
myself :working:
I had a guy tell me that a struts web tag was generating an absurd number of
method calls on his action/model. After carefully considering his scenario,
I was able to experiment using the files below.
It's never enough FOR YOU PEOPLE!!! =^D
public static Collection? extends Thing getThings() {
ArrayListThing things = new ArrayListThing();
things.add(new Thing(1, foo, 1.95f));
return things;
}
action name=mapBackedUI* method={1} class=acme.action.ListAction
Was this a question about moving from Struts 2 to Grails or how to get the
output stream?
2009/6/12 Paweł Wielgus poulw...@gmail.com
Hi all,
i'm active in rails and struts1 and struts2,
languages are java and ruby and javascript.
As for rails i use jruby instead ruby.
What framework will
I would skeptical about excluding execute. As Wes points out, the framework
is designed to bypass validating input initially. After all, it's kind of
difficult validating a form you have not yet had the chance to ill out!
On Thu, Jun 11, 2009 at 8:53 AM, Kishan G. Chellap Paandy
Is that actually the Google source?
On Fri, Jun 12, 2009 at 6:48 AM, Martin Gainty mgai...@hotmail.com wrote:
Scott-
i think what Pawel is suggesting is there is a 'demonstrable' need for a
Struts Grails plugin
I have some grails code here so i might decide to tackle this myself..altho
i
I am on a project with a new combination of jars and testing Struts
interceptors. I have added the struts2-junit-plugin-2.1.2.jar and also
spring-test.jar. When I run my subclass test of StrutsTestCase I get the
following exception:
SEVERE: [20:44.438] ** FATAL ERROR STARTING UP
Thanks bro! I think I hated annotations until today. Was the
StrutsTestCase moved into a plug-in recently?
On Thu, Jun 11, 2009 at 10:41 AM, Wes Wannemacher w...@wantii.com wrote:
Scott, it is just complaining because you are trying to do something
Spring-ish in your unit test, but Spring is
I suspected this sort of training dialog was just beneath the surface. The
sad matter of fact is both Wes and Martin are spot on from each of their
perspectives. Wes works his tail off (I know because I have been reviewing
his new book) and Martin is a master technologist in business. So who
Hey Wes and all --
I have thinking about the Wes training thread and would like to get your
feedback. Do you guys think training can continue to cost what it has
historically? The reason I ask is that I too have considered dropping down
a gear and doing training for a living. However, I get
Hey Wes --
Travel and paper is so 80's bro. Have you considered an online format? I
think a five day session where 2-3 are basics and the remaining 2-3 are
advanced topics would be flexible. This way you could price the two
separately and allow clients one or both enrollments. As far as
...a previous employer that *did* have pretty specific degradation
requirements.
Your employer wanted it to run poorly? [?]
On Fri, Jun 5, 2009 at 8:39 AM, Dave Newton newton.d...@yahoo.com wrote:
Kawczynski, David wrote:
I don't use a jquery plugin, I simply have a SiteMesh decorator that
someone stole my bike!
On Tue, Jun 2, 2009 at 9:39 AM, Dave Newton newton.d...@yahoo.com wrote:
Jim Kiley wrote:
I had no idea I was in the presence of royalty.
There's a lotta things about me you don't know anything about, Jim. Things
you wouldn't understand. Things you couldn't
Nice tip Wes... now where is that book of yours? I haven't received new
chapters in quite some time.
On Thu, May 28, 2009 at 7:28 AM, Wes Wannemacher w...@wantii.com wrote:
In addition to what Dave suggested, there are other maven search
tools, my new favorite is -
Yes there is! I am using Tiles 2.1.1 which provides support for wildcards
and substitutions. This one definition is handling all my pages!
Struts
action name=displayTile-* class=acme.action.BaseAction
result
param name=locationdisplayTile-{1}/param
You can prepare data by implemeting Preparable in your action
On Tue, May 19, 2009 at 4:48 PM, Christian Benjamin Ries
christian_benjamin.r...@fh-bielefeld.de wrote:
Hi there,
I have a small site with some informations which are stored in a
database. A method for administrations reason is
Rather than pass this, that and the other parameter(s) to your validator,
why not just retrieve what you need from inside the validator? You have the
ActionInvocation passed to your doIntercept(...), which contains the
ValueStack containing your objects.
Peace,
Scott
On Tue, May 19, 2009 at
invocation.getStack().findString(#attr.locale)
On Thu, May 21, 2009 at 6:22 AM, Gordian Yuan gordiany...@gmail.com wrote:
Hi,
I want to know how to get request locale in OGNL?
For now I use s:set var=locale
Put you pages under web-inf
On May 15, 2009, at 1:36 PM, Timothy Orme
to...@genome.med.harvard.edu wrote:
Hello All,
I'm in the process of migrating pages from JSP's using snippets
to struts actions. I'm wondering how people have disabled access to
JSP's so that they cannot be
I use this successfully.
field name=credential.password
field-validator type=expression
param name=expression
credential.passwordRepeat.toUpperCase().equals(credential.password.toUpperCase())
/param
message key=passwordsNotMatching /
Actually, what I am trying to accomplish is to pass/receive the Component
bean instance representing this tag as an argument to the OGNL expression.
I am working with the component stack and would like to have this reference.
Scott
stanlick wrote:
Sorry about that subject line, but I
, stanlick stanl...@gmail.com wrote:
Sorry about that subject line, but I couldn't think of anything simpler.
Besides, this should cover about all the searches!
I am looking to pass a this reference into an OGNL expressions as
follows:
s:textfield key=name readonly=applyRule(this)/
Apparently
1 - 100 of 555 matches
Mail list logo