And, set it in the struts.properties file as the ActionMapper:
struts.mapper.class=org.apache.struts2.dispatcher.mapper.LsfwebMapper
On Feb 19, 2008 10:09 AM, Filipe David Manana <[EMAIL PROTECTED]> wrote:
> I managed to find a solution to be able to use extensionless actions.
> J
t()) )
> return null;
> }
>
> return super.dropExtension(name);
>}
> }
>
>
Don't forget to place this class in a directory named
org/apache/struts2/dispatcher/mapper/ within your source directory,
src/main/java/ (if using maven).
On Sat, Jan
happens. With the shortCircuit, however the user always gets
the 2 errors messages, as expected.
So my question, is the RequiredFieldValidator is applied after conversion?
If conversion fails, the RequiredFieldValidator catches a blank value for
the field?
cheers
--
Filipe David Manana,
[E
t was not working before, but now I changed the order of interceptors
in my interceptor stack and is working :)
If anyone interested in more details, let me know.
Thanks anyway.
On Feb 12, 2008 2:04 PM, Filipe David Manana <[EMAIL PROTECTED]> wrote:
> Yes I need. Because in the S2 configura
[EMAIL PROTECTED]> wrote:
> Are you sure you need to do it like this? You can use OGNL expressions in
> your S2 configuration file to do things like set a URL to redirect to etc.
>
> Dave
>
>
> --- Filipe David Manana <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
ache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
Am I missing something?
cheers
--
Filipe David Manana,
[EMAIL
nd dwr.xml.
>
> wou would require dwrxxx.jar for this in web-inf/lib and struts theme="ajax"
> in the jsps.
>
> A detailed explanation is given @:
> http://java-x.blogspot.com/2007/03/reverse-ajax-with-direct-web-remoting.html
> even i learnt it from there.
>
&
Hi,
Has anyone been able to put dwr 2.0 working with struts 2.0.11 ajax validation?
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
-
To unsubscribe, e-mail: [EMAIL
t that I'm aware of; easier to use IMO.
>
> Dave
>
>
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Is there any way to iterate over an integer range with the tag?
I have an integer property (pageCount) in my action and I want to
print all the integer values between 1 and this property in my JSP.
cheers
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those
nixGroupId' on 'class
actions.lsf.accounts.AccountAction: Error setting expression
'account.unixGroupId' with value'[Ljava.lang.String;@52f9b2'
Any ideia why this is not working?
By the way, I also tried not using custom conversions / validations,
that is, using the
accomplish the same thing?
For simple properties I just do something like this before the setter
method: @RequiredStringValidator(message = "Please enter your name",
trim = true)
cheers
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not
ewton <[EMAIL PROTECTED]> wrote:
> --- Filipe David Manana <[EMAIL PROTECTED]> wrote:
> > Basically I am creating a page that contains a select box.
> > When the user changes the selected item, it is redirected to an URL.
> > The value of each item in the select box cor
ECTED]> wrote:
> --- Filipe David Manana <[EMAIL PROTECTED]> wrote:
> > is there anyway to get, from within an Action's code, a string with
> > the full URL for that action (including query string with current
> > value of the parameters) ?
> > I a
hanks
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
oyoteAdapter.service(CoyoteAdapter.java
> :263)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:584)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
>
>
> --
> tamtam
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
handled with mod_jk
>
> On Jan 12, 2008 6:28 PM, Filipe David Manana <[EMAIL PROTECTED] > wrote:
> > Hi,
> >
> > I have set the property struts.action.extension to the empty string. I
> can
> > now invoke my actions with the default ".action" suffix,
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
Hi,
How can I access a Container's resource within the code of an action?
cheers
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
/cdbweb2/lsf/accounts/list.action";. So I
have to use the dojo.require statement, I suppose.
Struts 2 is already bundled with Dojo, all the dojo .js files are in the
struts-core.jar archive. How should I proceed to use the dojo.requiremethod?
cheers
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
Hi,
Does any of you knows a way to get the value for a property value (defined
in struts.properties / struts.xml) from Java code (an action code for
example) ?
Lets say, I want to know the value of "struts.devMode" property.
How can I get it in Java code?
cheers
--
Filipe David Mana
ion.java
`-- ListAction.java~
8 directories, 14 files
[EMAIL PROTECTED]:~/apache/struts/cdbweb2/src/main/java/actions$
When I test my webapp this validation is completely ignored.
Why is that so?
I am using Java 5, Struts 2.0.11 and jetty/tomcat.
thank you
--
Filipe David Manana,
[EMAIL P
...).
I have the name and namespace of my action. Can I somehow append the query
string to the URI generated by the result element?
My code is the following:
${actionName}
${actionNameSpace}
true
Thank you,
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are li
It works! :)
Thank you.
On 12/20/07, Omkar patil <[EMAIL PROTECTED]> wrote:
>
> Filipe,
>
> Try this in the intercept method - ai.getProxy().getNamespace()
> (where ai is the ActionInvocation instance being passed in into the
> intercept method)
>
> - Omkar
>
&g
.info("CheckLoginInterceptor inv, actionName: " + ac.getName());
return ai.invoke();
}
Now, how do I get the action's namespace, as defined in its package's
namespace in struts.xml ?
thanks
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
(or to another action) to its https
counterpart?
3) Is there any straight forward way for retrieving from the view the name
and namespace of the action that it corresponds to?
thank you
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
t; ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
I fixed the problem:
the pattern /*/lsf/* worked :)
Thank you for replying.
On Dec 14, 2007 9:23 PM, Dale Newfield <[EMAIL PROTECTED]> wrote:
> Filipe David Manana wrote:
> > Anyone using Struts 2 with multiple Sitemesh decorators?
>
> Yep.
>
> You mention using m
rowse into
http://localhost:8080/cdbweb2/lsf/users/list.action
I tried also with the patterns /lsf* , /lsf/users/* , /lsf/users/list.jsp ,
etc and it doesn't work either.
Only works with the /* pattern.
Any suggestions?
Thank you
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts a
done it before?
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts are like secrets to those not trained to see them.
30 matches
Mail list logo