thanks a lot it's working properly
with regards,
VIVEK KUMAR JAISWAL
From: Martin Gainty
To: Struts Users Mailing List
Sent: Thursday, 17 November 2011 6:26 AM
Subject: RE: autocomplete
I am having an issue with displaying the original value entered on a
form after failed type conversion. This "bug" is caused by my use of
getText() in the form value fields. I'm curious how one solves this
issue for making sure the field is formatted correctly upon display,
but also making sure t
Oh, when you said implement PreResultListener the way I tried it out was
public class MenuInterceptor implements Interceptor, PreResultListener {
public String intercept(ActionInvocation actionInvocation) throws Exception
{
ActionContext ac = actionInvocation.getInvocationContext();
String re
autocompleter contains a mechanism that triggers javascript function when value
of monitored list changes e.g. Mit Freundlichen
Gruben
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich
That's what implementing a PreResultListener means; it's an interface, you
implement one.
I still think the whole PreResultListener thing is a bit opaque, I wrote up
something about that a couple of years ago--I need to dig that up.
Dave
On Wed, Nov 16, 2011 at 5:38 PM, Jyothrilinga Rao wrote:
if my action determines that what is present in session is no more valid,
then it would clear this object from session. My interceptor has to check
and set the correct object in session after action has returned.
The setting in session has to happen after action invocation and before JSP
rendering
I think the goal was to do the check after the action executes, though--if
not, then yep, just doing it before the invocation is enough.
If the check needs to happen between action invocation and the JSP
rendering, then the interceptor should implement a PreResultListener, which
is called after in
How about setting your object in session before the action invocation,
i.e, before actionInvocation.invoke()?
Bruno
On Wed, Nov 16, 2011 at 4:09 PM, Jyothrilinga Rao wrote:
> Hi,
>
> I have the following configuration snippet in my struts.xml:
>
>
>
>
> class="com.abc.interceptors.MenuI
You may want to read the tutorials here:
http://struts.apache.org/2.2.3.1/docs/getting-started.html
There are detailed examples applications that you can download and run in
Tomcat.
--
View this message in context:
http://struts.1045723.n5.nabble.com/provide-Helloworld-application-in-Struts2-0-
>> javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
1) what is your java version?
2) what is your tomcat version?
3) struts version?
4) do you have any jars inside "endorsed" folder of your tomcat? If so --
what version
Hi,
I have the following configuration snippet in my struts.xml:
true
ERROR
i.e I have a interceptor which I am calling after the defaultStack executes.
My MenuInterceptor has the following code fragment in my intercept method
of MenuIntercept
What libraries are you deploying in your WEB-INF/lib?
Dave
On Wed, Nov 16, 2011 at 1:06 PM, Praveen Jain <
jain_praveen_mail...@yahoo.com> wrote:
> Dear *Ilya Kazakevich* ,
>
>
> I have tried to put hello.html in the root of my aplication and put the
> URL as you suggest
>
>
> http://localhos
Dear
Ilya Kazakevich ,
I have tried to put hello.html in the root of my aplication and put the URL as
you suggest
http://localhost:8080/HelloWorldStruts2/hello.html
But now I am getting error message as under.
The requested resource (/HelloWorldStruts2/hello.html) is not available.
Pl
Is there any documentation on how to call xwork validation programatically?
The context: I have a dynamic form, which is a freemarker template, which
can have any fields that are then saved as xml in my Struts action.
I would like to have the possibility to call validation with a specific
*-valida
Dear all,
I am unit-testing an application under the skin using
SpringStrutsTestCase as base (actually, things are a bit more
complicated because I'm doing it from Cucumber, but that's another
story).
How do you get the value of your message from within the test? The
assertion I'm trying is:
ass
15 matches
Mail list logo