Hi All:
I have a Web-page for Add-Event in which I am using a date-picker.js File.
On choosing a Date from the Javascript pop-up I get an Error "calendar is
undefined".
If I ignore it and click submit I go to the preview Page.
Over here if I click the back button and go to the Main
Hi,
Has anyone used Eclipse's TPTP to profile a Struts Application. I
downloaded TPTP and trying to run Profiling on my Code. But it seems to
expect a main method. If anyone had used it, could you give me some
insight into it. Appreciate your help.
Thanks
Prakash
I can't provide the code - it is owned my a client. But here is the
pseudo code:
class EJB3Interceptor implements Interceptor {
public String intercept(ActionInvocation actionInvocation) throws
java.lang.Exception {
Object action = actionInvocation.getAction();
for all method
It works !
Thanks for everybody's help !
The Struts 2 + Spring 2 + JPA + AJAX works with the Struts 2.04 version
(not with the 2.01 because of tags problem)
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
I've solve another problem of the tutorial : the table is
quickstart.Person a
Another example is the dbportlet archetype. It uses Spring and its
JDBC template for DB access. It can be ran as a servlet or portlet
app. See
http://struts.apache.org/2.x/docs/struts-maven-archetypes.html
Don
On 1/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
After some reading
Hi,
After some reading in the mailing list I decided to upgrade to struts2.04
for api, core and spring-plugin. Now I have the following error when I
launch the Struts2+Spring2+Ajax tutorial application (quickstart).
Any idea ?
Philippe
INFO: Root WebApplicationContext: initialization complete
Don't do it in the form's reset(). Accd. to the javadoc [1]:
"In practice, the only properties that need to be reset are those
which represent checkboxes on a session-scoped form."
Hubert
[1]
http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionForm.html
On 1/20/07, Paul Bened
That certainly was a lot of the log :/
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> GRAVE: "Servlet.service()" pour la servlet jsp a généré une exception
> org.apache.jasper.JasperException: /index.jsp(44,4) L'attribut targets
> est incorrect pour le tag submit d'après la TLD indiquée
A ba
Hi,
I've nearly finish the tutorial Struts2+Spring2+Ajax and I'm blocked with
the following error in the index.jsp when I launch the application inside
Eclipse.
Any idea ?
Thanks in advance
Philippe
22 janv. 2007 20:23:31 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The A
From: bobmccune [mailto:[EMAIL PROTECTED]
> [...] after replacing the default jars with the j4 versions and
> rebuilding the sample app source, I'm still getting unsupported
> major.minor problems with some of the plugins (spring and tiles
> in particular). Is there a solution to this?
IIRC I
I've been attempting to get the 2.0.3 sample apps working with the J4
compatibility libraries without success. Even after replacing the default
jars with the j4 versions and rebuilding the sample app source, I'm still
getting unsupported major.minor problems with some of the plugins (spring
and t
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Christopher Loschen wrote:
> > We've got quite a few unit tests set up with JUnit, but nothing that
> > really handles the web element of this. What do you recommend for
> > this sort of thing?
>
> Depending on what kind of tests you are trying
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Christopher Loschen wrote:
> We've got quite a few unit tests set up with JUnit, but nothing that
> really handles the web element of this. What do you recommend for this
> sort of thing?
>
> So far, I'm looking at HttpUnit and StrutsTestCase.
Hi all,
I've got some new bug fixes for our application, which is based on
Struts 1.1 (yes, I know we need to upgrade, but not this week...). I'd
like to set up some unit tests so that we can make sure this bug doesn't
crop up again.
We've got quite a few unit tests set up with JUnit, but n
Try using indicator.
It is shown in the showcase app.
The indicator image can also be found in the showcase app.
Edit
Dariusz Wojtas
On 1/22/07, Jeffrey Hau <[EMAIL PROTECTED]> wrote:
Hi,
there is a loadingText atrribute for the ajax link tag, is there
anyway for me to dispaly an image
On 1/22/07, Paris Apostolopoulos <[EMAIL PROTECTED]> wrote:
[snip]
I wonder the @EJB annotations are not going to work (I guess). I had a
look @ some glassfish FAQ..
The standard annotations for Java EE 5 resource injection are indeed *not*
going to work on a Struts action, because they only
Hi
What you can do is just code on one computer. When you are done, you can
then submit your code to a version control system, CVS, SVN, Perforce. Now
you can deploy an automated build script in the build server, such as
AntHill or BuildForge or Maven, and then set it to take the fresh code from
Hi,
there is a loadingText atrribute for the ajax link tag, is there
anyway for me to dispaly an image? do I need to extend the current
link tag to do this? If so, can someone point me in the rite
direction on how to extend tags, i can't seem to find any related
tutorials or guides on the
I am trying to maintain which item was selected in a html:select
dropdown that is not "multiple" after the validation occurs in the Form
and I need to return to the jsp because something was missing. Here is
my code snippet from my jsp:
Hi all,
I have three questions
1 - As I'm facing few problems with the 2.0.1 version of struts, i would
like to know how/where to download the 2.0.3 release.
2 - Don said it there will be a release of 2.0.4 in the next days... If I
can download the 2.0.3, does it worth to wait for the 2.0.4 ?
3
Well, I'm first of all not sure the "evil back button" is something you
should be fighting in the first place... there is a whole group of
developers who believe messing with what the button does in any way is bad
design. Their reasons are sound IMO: users expect their browsers to work
a certain w
I've never used it either but I know from other peoples experience that it
works great for EJB 2.1.
I don't know how good it supports Ejb 3 though but you can always ask at
http://forum.springframework.org/forumdisplay.php?f=29.
Cheers,
Peter
-Original Message-
From: [EMAIL PROTECTED] [m
While I have not used it, the Spring Framework provides strategies for
defining Spring Beans which are EJB factories (or something like that.)
Struts 2 works quite nicely using Spring as the Action Factory, which can
take care of resolving all Action dependencies whether or not they are EJBs.
See
Thanks Stuart, I'll change my code for anything that works!
Regards,
Alexandre Lima
- Original Message -
From: "Stuart Piltch" <[EMAIL PROTECTED]>
To:
Sent: Monday, January 22, 2007 11:05 AM
Subject: Re: [S2] Tag select have problems
The atributte of key field is a Long. Then this i
> The atributte of key field is a Long. Then this is a bug because in
> previously versions worked.
Hi Alexandre,
I believe this is a bug in the current Struts2 code. See
https://issues.apache.org/struts/browse/WW-1601
https://issues.apache.org/struts/browse/WW-1634
Basically, the select
I checked in the JIRA and exists a two bugs opened there.
https://issues.apache.org/struts/browse/WW-1601
https://issues.apache.org/struts/browse/WW-1634
This is a big limitation for a version that it would be changed in stable
version.
Regards,
Alexandre Lima
- Original Message -
Fro
Hi again.
Ian thank you for your reply.
If I understood well, please pardon me...if it is wrong the following
you said
1) implement your custom ejb3 annotations into struts ok
I wonder the @EJB annotations are not going to work (I guess). I had a
look @ some glassfish FAQ..
2)Then implemen
From: Thom Burnett [mailto:[EMAIL PROTECTED]
> My question is, what's the recommended practice. Is it considered best
> to keep different actions for each major purpose or to have one Action
> (controller) sorting and dispatching incoming requests.
There's already a mechanism in place for sorting
Thom Burnett wrote:
My question is, what's the recommended practice. Is it considered best to
keep different actions for each major purpose or to have one Action
(controller) sorting and dispatching incoming requests.
There is controller already ;-) ActionServlet is a controller which
dispatches
Hi !
Ian, can you provide some kind of example source code to play with ?
I'm interesting in Struts 2 and EJB 3 interoperability, but I can't
figure out how to get started. Thanks !
On 1/22/07, Ian Roughley <[EMAIL PROTECTED]> wrote:
Currently there is no EJB3 support in Struts, however I have
What is the general approach in creating action classes for Struts.
At the moment, any given project that I work on seems to have pretty close
to one new Action class for each page.
If the page is at all complicated, has it's own form or data, it seems to
need a separate Action.execute(). In fact
Hi André,
The atributte of key field is a Long. Then this is a bug because in
previously versions worked.
Thanks,
Alexandre Lima
- Original Message -
From: "André Faria" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, January 22, 2007 11:23 AM
Subject: Re: [S2] T
Hi again,
I discover debugging my application that the error is in the moment on tag
s:select renders it at JSP.
I change my code to:
listValue="descricao" headerKey="-1" headerValue=" "
value="%{filtroRegiao.toString()}"/>
and works!!!
But in the first time when I enter in the page, filtroRe
I had the same problem if the key field were a primitive type that works...
Like int insted Integer...
Alexandre Mendonça Lima escreveu:
Hi everyone,
I got last version Struts 2.0.3 today and updated now my application
but one page is gone wrong.
In this page, I have the code:
listValue="desc
Currently there is no EJB3 support in Struts, however I have done this
on a couple of projects. I used a custom annotation to mark action
setters as ejb3 then a custom interceptor that looks for the annotation,
looks up the ejb3 and injects it into the action. Doing it this way is
less than a
Hi everyone,
I got last version Struts 2.0.3 today and updated now my application but one
page is gone wrong.
In this page, I have the code:
listValue="descricao" headerKey="-1" headerValue=" " />
My Action class have two atributes: todasRegioes is a java.util.List and
filtroRegiao is a jav
On 1/22/07, Don Don <[EMAIL PROTECTED]> wrote:
Thank you Ted.
That will really go a long way to provide a background understanding and a
quick step
guide for those wishing to migrate which am sure most people will do as its
definitely worth
it.
We're always looking for help with the docume
Thank you Ted.
That will really go a long way to provide a background understanding and a
quick step guide for those wishing to migrate which am sure most people will do
as its definitely worth it.
Ted Husted <[EMAIL PROTECTED]> wrote:
On 1/22/07, Don Don
wrote:
> This brings me to
Right Ted...
Thank's
André Faria
Ted Husted escreveu:
Right now, 2.1.0 doesn't exist. We almost rolled the minor version
number, but decided to stay with 2.0.x for a bit longer. The
2.0.4-SNAPSHOT has only been open since Saturday, so there arent any
changes from the 2.0.3-SNAPSHOT yet.
See th
On 1/22/07, Don Don <[EMAIL PROTECTED]> wrote:
This brings me to another question why the name or version name Struts 2 ?
This is
confusing for those who don't have an understanding of what has happened
between Struts 1
and Struts 2.
I just added these links to the migration guide
* http:
Right now, 2.1.0 doesn't exist. We almost rolled the minor version
number, but decided to stay with 2.0.x for a bit longer. The
2.0.4-SNAPSHOT has only been open since Saturday, so there arent any
changes from the 2.0.3-SNAPSHOT yet.
See the release notes for more
* http://struts.apache.org/2.x/
There still isn't a lot, but what we have is here:
* http://struts.apache.org/2.x/docs/migration-guide.html
-Ted.
On 1/22/07, Don Don <[EMAIL PROTECTED]> wrote:
Hi all,
It seems there's been a major change form struts 1.2.x to struts 2x and the
way it will be utilized or implemented by str
Hi Wesslan,
Thanks for your explanation, it really sheds light on the whole issue. Now
things are clear as regards the position of Struts 2. I've had a look at the
links and looking at the examples it does confirm what you're saying.
This brings me to another question why the name o
Struts 2 isn't an updated version of Struts 1, it's an updated version of
Webwork 2.2. They're so similar that all you need to do to switch from
Webwork 2.2 to Struts 2(.0.0) is rename some packages and property-files.
What I mean to say is that it's, correct me if I'm wrong, nearly impossible
to t
Hi all,
It seems there's been a major change form struts 1.2.x to struts 2x and the
way it will be utilized or implemented by struts developers when building web
applications. From what I can gather from developers using the snapshot or pre
GA versions, there is a complete change from th
What's the difference of versions 2.0.4 and 2.1.0?
http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-core/
/André Faria/
//
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Hi Frank,
I just read your post. What would you suggest as a clean solution for the
backward problem? As suggested before the reload does not happen in all
browsers when the user hits the backward button So what to do?
Cheers,
Pete
> -Ursprüngliche Nachricht-
> Von: Frank W. Zammetti
Hello
I am trying to find a way of calling efficienlty from Struts Actions ->
SLSBs EJB3. I have made a question before.
- Doing JNDI calls all the time through every action works though its a
very primitive way of doing it.
-Tried to implement the Service locator pattern though the semantics
Hm, I think work flow issues are no a minor subject because it can
really corrupt the whole application if something goes wrong.
So another idea: why not enclose the whole html page with a
div which has a onMouseOver Trigger in it? This way
the user always triggers the callback handler. And when
49 matches
Mail list logo