>
> So is there any way to stop calling the action/ have one flag on action
> Which determines this part of code in action need not be executed on click
> on refresh button.
>
>
For this I think Token and/or Token Session interceptors will do the magic.
http://struts.apache.org/2.1.6/docs/token-in
Hi,
I extended simple theme and defined my own theme.
In that coreheadercontrol.ftl that i added and done some work
<#assign hasFieldErrors = parameters.name?exists && fieldErrors?exists &&
fieldErrors[parameters.name]?exists/>
<#if hasFieldErrors>
<#list fieldErrors[parameters.name]
Agreed!
its *remotely* possible that this is a Classloader error ..system classloader
and app classloader both attempting to load different classes
This sort of thing shows up in weblogic/glassfish and websphere app servers
If you dont have it ..take a look at downloading the class here
http://w
Martin Gainty wrote:
the problem is you are relying on your own ServletFilter
It's a Struts 2 interceptor.
this is possibly a configuration problem
please display hibernate.xml,hibernate.properties
The issue is with the interceptor and not knowing that the result is
executed within the inv
the problem is you are relying on your own ServletFilter
this is possibly a configuration problem
please display hibernate.xml,hibernate.properties
Fairly comprehensive example of configuring hibernate with struts is located at
http://www.hibernate.org/105.html
Martin
_
I know this thread is a little old but maybe someone will find this useful.
The variable in this case, listEditEnabled, has to do with enabling editing
of an ajaxified list of items.
I added a metatag to pages that I don't want listEditEnabled with a content
value of false, otherw
On Sat, Jan 31, 2009 at 8:38 AM, Dale Newfield wrote:
> David Erickson wrote:
>>
>> java.lang.LinkageError: loader (instance of
>> org/apache/catalina/loader/WebappClassLoader): attempted duplicate
>> class definition for name: "com/x/y/ZAction"
>
> I believe this error is thrown when there's mor
On Sat, Jan 31, 2009 at 7:31 AM, wrote:
> Are any of you using the Eclipse Maven plug-in? Also, is
> http://mvnrepository.com an aggregate source for POM's?
As far as I know, it's just a search site, it doesn't serve the
artifacts as a repo for Maven to automatically download from.
Maven alr
stanl...@gmail.com wrote:
I am looking for a "seed" POM like the one you describe. Does it contain
gray poupon by chance?
I'm committing a new archetype-blank today along with some minor
documentation; it's pretty basic. I don't think I'll have time to update
archetype-starter in Feb but I'l
Please start new threads for new issues.
François Rouxel wrote:
I want to show an error message if it's impossible to commit.
> But it seems my action still display the 'success' result.
public String intercept(ActionInvocation invocation) throws Exception {
String retour = Actio
David Erickson wrote:
java.lang.LinkageError: loader (instance of
org/apache/catalina/loader/WebappClassLoader): attempted duplicate
class definition for name: "com/x/y/ZAction"
I believe this error is thrown when there's more than one version of the
.class available in the classpath. Are yo
hi Scott,
this is what i typically do for creating a skeleton struts2 project:
1. create a blank web application project from the generic maven
archetype listing (mvn archetype:generate)
2. i select the appropriate POM dependencies from struts2's sample
application http://struts.apache.org/2.1.2
Thanks, but the last paragraph was what I was asking for - I want to know, how to get
localized message from bundle in scriptlet in JSP because I didn't find other way how
to insert localized message from bundle to tiles tag - and globaly to any tag from
some special tag library, where I can't
Darn, "Ctrl+Enter" is no good
So, one more try:
Musachy Barroso wrote:
what does prints in the action result?
I updated my sample
(http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Action.war)
so that the JSP outputs this:
Inside s:action: Property "id":
Inside
Thanks Dave --
I am looking for a "seed" POM like the one you describe. Does it contain
gray poupon by chance?
Scott
On Fri, Jan 30, 2009 at 11:53 AM, Dave Newton wrote:
> stanlick wrote:
>
>> I am SO DONE with mucking around in dependencies that I am about to
>> scream! Until recently, I tho
Thanks boyz --
Are any of you using the Eclipse Maven plug-in? Also, is
http://mvnrepository.com an aggregate source for POM's? Lastly, is there a
buffet line POM builder where you can select the stack you desire and click
GO? It seems to me the combination/permutation of POMs spread across th
Hi,
here's my code.
I want to show an error message if it's impossible to commit. But it seems my
action still display the 'success' result.
can anybody help me?
public String intercept(ActionInvocation invocation) throws Exception {
String retour = Action.ERROR;
try {
Hi,
It is possible to create a new theme extending the one you are using,
overriding the template for the fielderror tag.
http://struts.apache.org/2.0.14/docs/extending-themes.html
Or, you can override the fielderror for the theme without creating a
new one. You just need to create a template/th
On 31/01/2009, at 6:23 AM, Tom Pop wrote:
Hello,
please, can you show me on this example how to convert tiles from
struts1 to struts2?
This example defines localized page title attribute passed to
template in struts1:
type="org.apache.struts.util.MessageResources"/>
scope="session" />
Hi all,
I was just doing a test upgrade from Struts 2.0.11.1 to 2.1.6, with
the Spring plugin. I have a website the issues a couple back to back
ajax requests to the same Action class (different methods), and the
first time I call this Action after starting up the server I get
linkage duplication e
This is my idea: jsp should convert my float value to a String so to
display it in my textbox. I suppose jsp uses a subclass of NumberFormat
to do so... may I change this behaviour so to use
DecimalFormat.getCurrencyFormat()?
Thank you in advance...
Paolo
Paolo Niccolò Giubelli ha scritto:
Th
There's no method in the Action class returning a String. Can you help me?
Thank you so much,
Paolo
Zheng, Qiang ha scritto:
You need to implement that in action.
-Original Message-
From: Paolo Niccolò Giubelli [mailto:paoloniccolo.giube...@itestense.it]
Sent: Friday, January 30, 2009 2
22 matches
Mail list logo