head contains
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
I just put this into datetimepicker/jsp/index.jsp
and here is what is rendered:
With initial date of 2009-01-30 and a cu
Hi there,
I just wonder if there is any proposed way or struts2 tag to generate a text
link that submits a form. I've checked s:a and sx:a tags and can't find any
info. I'd like to avoid using javascript directly if possible (even though
I've been doing it in the past with struts1)
Thanks for any
Hello list,
Is possible to access the model bean from a std servlet?
I think this is possible, because s2 store this model into the session
(or request) object, and presents it to the getModel() method of an
action implementing the ScopedModelDriven.
If this, I only need the name of this object.
Put breakpoints on this class:
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java?view=markup
The methods getPackageLocatorTest, getPackageFinderTest create some
anonymous classes, that are the ones
Jar scanning is disabled (at least i haven't enabled it...). I'm gonna try
some debuging on the server.
I think i should put a breakpoint in the struts filter in order to see
what's going on.
As far as you know is there something i should look at more specifically ?
Do you have jar scanning enabled? It should be disabled by default. I
find it strange that it is trying to load the jboss classes, even when
you have the baseNamespace setting set. Are you able to debug at all
on that server?
musachy
On Sun, Feb 8, 2009 at 3:21 PM, Jerome ROBERT wrote:
> @Musach
@Musachy
In fact, no error appears in the "TRACE", by simply looking at the traces
you asked me to activate... everything seems Ok ! and it probably is,
beacause what I did not see at first is that in spite of the bunch of
exceptions that rise my "helloWorld" application is working !
The problem
Halil Ag(?n wrote:
I want to reach constants declared in struts.xml from my custom
interceptor. How can i do this?
Should be able to use the @Inject annotation as the existing S2
interceptors do for getting the devMode constant.
Dave
--
Hello List;
I want to reach constants declared in struts.xml from my custom
interceptor. How can i do this?
regards,
-halil agin.
Musachy Barroso wrote:
@Dave: yeah you can use convention side by side with regular xml configuration.
Oh, you know, I might be remembering Codebehind.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For ad
@Dave: yeah you can use convention side by side with regular xml configuration.
@Jerome : I don't see the exception in your last email. The convention
plugin should tell you what class is trying to load, so we will know
which one is failing. Also, setting
struts.convention.package.locators.basePack
> As far as I know you can't (by default) use convention alongside a
> non-convention application.
>
> Musachy, has this changed? IIRC I asked the same question a long time ago
> and that was the answer I got.
>
> Dave
>
I suspected a problem of that's kind, that why, since my first test, i
deploy
Jerome ROBERT wrote:
Hi to all,
I try to deploy a struts2 application, using convention plug-in in JBoss
4.2.3.GA. All I get is a weird error (see below)
and the weidest thing about it is that all i have to do to get this error is
to drop de convention plug-in into a working struts2 application.
I turned logging level to "TRACE" but it does not tell me much...
16:45:19,977 DEBUG [XmlConfigurationProvider] Loading action configurations
from: struts-default.xml
16:45:20,387 DEBUG [XmlConfigurationProvider] Loaded action configuration
from: struts-default.xml
16:45:20,407 INFO [XmlConfigu
My bad, set the log level to "trace".
musachy
On Sun, Feb 8, 2009 at 10:13 AM, Jerome ROBERT wrote:
> Hello,
> just as you suggested i tried to enable debug information by setting (in
> jboss-log4j.xml) :
>
>
>
>
>
>
>
>
>
> and then i deployed a tiny application with a
Hello,
just as you suggested i tried to enable debug information by setting (in
jboss-log4j.xml) :
and then i deployed a tiny application with a single HelloWorld (how
original!) action and the convention plug-in in it.
I still get this weird exception (see below) a
Dear all,
Actually yes, the resource exists and the application runs perfectly when
deployed on apache6.0.
The issue is that the filter of struts is not called while including or
forwarding although it's configured to do so.
-Original Message-
From: Antonio Petrelli [mailto:antonio.petre..
Hi all,
Is possible, from my custom login module, to access the model?
Thanks in advance,
Gianluca
Hi,
That is just to remain everone here that there is a tutorial on Struts
in the ApacheCon Web site:
"How a Struts 2 Framework Meets the Demands of RIA"
That is a 1 day tutorial given by Chad Michael Davis who is an author of
the book "Struts 2 in Action".
Getting a tutorial during the Apache
>
>
>> (2) Put package.properties under /WEB-INF/classes/
>>
>>
> have you tried to put package.properties under the same package as your
action class?AFAIK package.properties only works with classes in the same
package or classes sub-classing the classes in the package.
20 matches
Mail list logo