Has anyone out there had to work out a solution for alerting their users
that the (Struts based) system will be taken offline for maintenance?
I'm thinking a filter perhaps or some sort of mechanism to insert a simple
Javascript for a dialog box to popup.
I'd appreciate it if anyone is willing to
>
>I'm not using extension mapping so I'm not sure about this, but have you
>tried input="/activate" instead of input="/activate.do"? It's certainly
>possible for the input attribute to point to an action rather than a JSP
>or Tiles def.
>
>L.
Part of the problem is that my actions typically ex
>I call validate manually, but since I'm using DynaValidatorActionForms
>I'm using the validation defs from the validator XML config file. This
>is quite a bit more flexible to boot.
>
>In any case, I use tiles and validator together all the time so I'm not
>quite sure where your problem lies:
>
>
errors.id.notexist");
}
try this, let me the result pls.
with regards
vasu
Quoting Martin Ravell <[EMAIL PROTECTED]>:
> Thanks for the post Vasumathi
>
> I don't quite follow what you are saying however.
>
> Since I use Tiles with my struts the page that co
I guess I should ask the overall question:
Does anyone successfully use the plugin validator with a Struts / Tiles
based application?
If so how are the action elements setup with regard to the input option?
Assuming that you can do the above is it then possible to have multiple
pages contributin
Thanks for the post Vasumathi
I don't quite follow what you are saying however.
Since I use Tiles with my struts the page that contains my form is produced
by an Action executing (I use an Action which extends DispatchAction).
If the Validation fails (there are fields that do not meet their vali
Say I have an app that uses Struts and Tiles and I am trying to get the
Validator plugin to play nicely.
As I understand it the 'input' option of an action element in
struts-config.xml is used when a validation fails. i.e. if a validation
fails we are redirected to whatever is in the input option
>-Original Message-
>From: ALEX HYDE [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, 18 January 2006 10:47 PM
>To: Struts Users Mailing List
>Subject: Re: Globally available variables
>
>Can't you put it in the application context instead of all the sessions?
>
I don't know. Will look into th
Is there a simple way to put an object into a globally available spot for
access by any current session? Something like the session.setAttribute()
method?
I have some info that I'd like to be able to load up and then have accessed
by any user logged into my app. I'm thinking of a cache type of dea
Well I finally tracked this one down.
There were no badly formed tags but I do have to say thank you
Laurie and Wendy for the hint anyway as it pointed me in the right
direction.
Turns out I'd managed to put in a bogus option on a tag. What I should
have written was but what I'd written
My Struts, Hibernate app (Appfuse based on JBoss with Tomcat plugin) has
developed a really weird bug and I have no idea after a day of searching of
how to track down the problem.
It seems that any request I make, be it a GET or a POST, is somehow followed
up by three GET requests for the same
Hi All,
Just casting about for taglibs to produce graphs in a Struts, JSP app that
I'm about to start prototyping. Google turned up a couple and Cewolf looks
like a likely candidate.
Has anyone got experiences to share about this or any other taglib set for
producing nice graphs and charts
> Are there some developers here who use this solution?
> Does someone have a good tutorial or sample to indicate? (I've already
>seen "Wiring your web applications with Open Source java"..thanks :o))
>
> Thanks for your feedback on this architecture :o)
>
Check out Matt Raible's Equinox projec
the item (userID) to the User class AND actively initialise hibernate to
apprise it of the new item's addition
user = (User) session.createCriteria(User.class).add(Expression.eq("userID",
new Integer(userID))).uniqueResult();
Hibernate.initialize(user.getGroups());
HTH,
Martin-
-
n into a situation like that once, the application was using iframes
>> internally which triggered other sessions...
>>
>> Werner
>>
>>
>> Martin Ravell wrote:
>>> I'm running Struts, Tiles, Hibernate 2 a
Thursday, 6 October 2005 10:48 PM
>To: user@struts.apache.org
>Subject: Re: Premature Session Close
>
>I ran into a situation like that once, the application was using iframes
>internally which triggered other sessions...
>
>Werner
>
>
>Martin Ravell wrote:
>&g
thing
closing the session (after everything has run in the Request. From the log
it looks as if org.springframework.orm.hibernate.SessionFactoryUtils is
doing it.
I'd really appreciate some help here. This has been driving me nuts for
days.
Regards
Marty
Martin Ravell
I have Menu information for my app in the database which I would like to be
able to load somehow when my app server starts up (or app is deployed). This
would be much more efficient than the current method of having each user
load it when they enter the application.
Can anyone suggest how to best
I'm just getting back to looking at my lazy loading problem and would like
to see if I am understanding things correctly. While not strictly Struts
related (I do use Struts in this app) I am hoping that someone else on this
list has gone down the same path as I am attempting.
My web.xml has the fo
>
> -Original Message-
> From: Letícia Álvares Barbalho [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 20 September 2005 11:03 PM
> To: Struts Users Mailing List
> Subject: Re: Being Lazy with Hibernate
>
> I use struts and Hibernate 3 and lazy initialization works just fine for
me.
> I didn
>
> -Original Message-
>From: Bill Schneider [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, 20 September 2005 11:01 PM
>To: user@struts.apache.org
>Subject: Re: Being Lazy with Hibernate
>
>Has anyone been able to get a Struts / Hibernate app to work nicely
with
>Lazy Initialization?
>>
, Playing with cats
> For details :) (Hibernate 3 documentation)
> Martin Ravell a écrit :
>
Thanks for this David. Will check it out today. I am using Hibernate2 is the
only thing. With luck it will work the same
Regards
Marty
---
request the data) the hibernate session must
not be closed.
The best way to do this is to store the hibernate session in the user
session and use a servlet filter to connect/disconnect/reconnect the
hibernate
session.
Martin Ravell a écrit :
>Has anyone been able to get a Struts / Hibernate app to w
Has anyone been able to get a Struts / Hibernate app to work nicely with
Lazy Initialization?
Whenever I have things with Lazy set to true I'm getting a "Failed to lazily
initialize a collection" Exception.
I'd like to be able to lazily access related objects in my DAO layer,
potentially my Actio
Try JAX-B. It is in the jwsdp.
Regards
Marty
-Original Message-
From: David Gagnon [mailto:[EMAIL PROTECTED]
Sent: Saturday, 18 June 2005 10:09 PM
To: Struts Users Mailing List
Subject: [OT] Convert Java Object into XML. Is there a simple tool in
Jakarta projects or elsewere
Hi all,
Has anyone had any experiences with the Multi-Channels construct within
Tiles?
Any resources, experiences good or bad would be appreciated.
Regards
Marty
In looking into providing a Themes type functionality I've run across the
idea of setting up a new DefinitionsFactory class.
According to the section '8.4 Writing your own Definition Factory' of the
document http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf this
looks like a neat wa
Well, as promised here is some feedback.
I recommend the article :
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
Especially the section 7.4.3 Dynamic L & F.
Regards
Marty
e is in France but the tutorial is in
English, if I recall correctly. I read it a year ago but it should still be
relevant and current.
Regards,
David
-Original Message-
From: Martin Ravell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 2:09 AM
To: 'Struts Users Mailing List
it a year ago but it should still be
relevant and current.
Regards,
David
-Original Message-
From: Martin Ravell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 2:09 AM
To: 'Struts Users Mailing List'
Subject: RE: Themes
Thanks for the links David.
The app is already us
http://www.opensymphony.com/sitemesh
c) XKins:
http://xkins.sourceforge.net/
Regards,
David
-Original Message-
From: Martin Ravell [mailto:[EMAIL PROTECTED]
Sent: Monday, June 13, 2005 8:22 PM
To: Struts User Mailing List
Subject: Themes
I have a requirement to build a 'Themes' (think
I have a requirement to build a 'Themes' (think 'skins') capability into the
UI of my Struts app and would just like to poll the list for ideas on the
best way to approach such a mechanism. Multiple customers use the same app
but they need to be presented with a view that meets their specific
requi
Yes, I agree Javascript is at times a necessary evil.
My current strategy is to rely on it as little as possible and only in
situations where is does not form a structural part of the app. If someone
is using a browser without Javascript support or with it turned off I need
to have the app still
Hi all,
Having just joined the list I am unaware if this topic has been done to
death already but I was wondering what were peoples views on handling date
input with Struts? I'm scanning archives right now and don't see it come up
too often. If this is a little OT then please flame me. (Just ki
34 matches
Mail list logo