Re: Test whether an application resource is empty

2005-06-11 Thread Laurie Harper
Doh, I'm an idiot! :-( What I suggested is like trying to call getFoo() on the resource bundle bean, where 'Foo' is what ever <%=directionToUserKey.toString()%> evaluates to. Clearly not what's needed. The following works for me: using Struts bean/logic Just replace 'er

RE: My IncludeAction-where to forward

2005-06-11 Thread David G. Friedman
Tony, I suggest checking out a tiles Controller. It could create the menus for you in a tile-based page WITHOUT needing to call multiple actions. Details on this can be found in Cedric Dumoulin's Tiles Advanced Features PDF. Link: http://www.lifl.fr/~dumoulin/tiles/ with an instructional PDF in

My IncludeAction-where to forward

2005-06-11 Thread Tony Smith
My webapp is standard. It has a left side menu pane and right side content pane. Both are dynamic and generated by struts action. I would like to have two different Actions for menu and content. For the menu aciton, I would like to use IncludeAction so that is could be included in my jsps. Thus,

RE: display the form values from view page

2005-06-11 Thread Ray Madigan
I would advise you read the sections http://struts.apache.org/userGuide/introduction.html that explain how an ActionForm works and how you get/set the form properties. You need an ActionForm linked to your Action and struts will scrape the properties from your page into the form and you just manag

Re: [Shale] How to code simple container-managed login form

2005-06-11 Thread Duong BaTien
On Fri, 2005-06-10 at 23:08 -0400, Frank W. Zammetti wrote: > Duong BaTien wrote: > > First, thanks for an extra help. > > No problem... I hope I can help further :) > > > The whole idea is to use SSL for confidential pages such as logon, > > change username / password, edit profile with confiden

RE: displayTag needs session scoped objects for sort/export ?

2005-06-11 Thread David G. Friedman
If you use Hibernate as your DAO layer, you could enable caching so DisplayTag won't hit the database every time, assuming you have the memory footprint to support that caching. Regards, David -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 6:36

Re: displayTag needs session scoped objects for sort/export ?

2005-06-11 Thread Lixin Chu
you can but have to hit the DB every time. On 6/11/05, Lixin Chu <[EMAIL PROTECTED]> wrote: > Hi, > would like to clarify with those who use displayTag: > is it a must to put list of objects into session to be able sue sort > and export function ? > > thanks > lixin > ---

Re: [OT] using JSTL with escapeXML="false" for preview HTML

2005-06-11 Thread Mark Benussi
Wow. I have been blown away. Been doing this job for 8 years and NEVER knew that! (Some of you may be thinking how the hell did he get that far). Original Message Follows From: Michael Jouravlev <[EMAIL PROTECTED]> Reply-To: Michael Jouravlev <[EMAIL PROTECTED]> To: Struts Users Mailing

Re: [OT] using JSTL with escapeXML="false" for preview HTML

2005-06-11 Thread Michael Jouravlev
  is a non-breaking space. Regular space is just &sp; On 6/11/05, Mark Benussi <[EMAIL PROTECTED]> wrote: >   > > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > Sent: 10 June 2005 20:00 > To: user@struts.apache.org > Subject: Re: [OT] using JSTL wi

RE: [OT] using JSTL with escapeXML="false" for preview HTML

2005-06-11 Thread Mark Benussi
  -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: 10 June 2005 20:00 To: user@struts.apache.org Subject: Re: [OT] using JSTL with escapeXML="false" for preview HTML What's an 'html special space char'? Lixin Chu wrote: > Hi, > I am trying to pre