Static Access to MessageResources or Bundles?

2005-04-22 Thread Lukas Bradley
Is there any way to statically access fields from resources defined in Struts? In other words, I would to be able to access terms stored in properties files without needing a ServletRequest. My application exists within a servlet container, and utilizes Struts. However, I have processes runn

Re: Static Access to MessageResources or Bundles?

2005-04-22 Thread Lukas Bradley
Is there any way to statically access fields from resources defined in Struts? Well, I have a solution. String bundle = "common" ; String key = "date" ; MessageResources.getMessageResources(bundle).getMessage(Locale.EN, key); This is very straightforward. So why does Struts prefer to store and acc

Re: Referencing the Local DTD rather than the http:// one

2005-01-21 Thread Lukas Bradley
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" Yours do not include the version number. If the ID above is used, the In this case, the URL specified for the DTD should be completely ignored. Fantastic. Thanks Joe. The following work

Re: Referencing the Local DTD rather than the http:// one

2005-01-21 Thread Lukas Bradley
What I find particularly annoying about this problem is references to local Struts Configuration files work correctly, which in turn load the Tiles Definitions. /WEB-INF/struts-config.xml /WEB-INF/tiles-defs.xml /WEB-INF/dtd/(all here) An example of my Struts Config definition, that works correc

Please HELP with HARD problem: STRUTS-tags VS Proxy, Weblogic loadbalancing, and BASE tag

2004-07-13 Thread Lukas Latz
pings still work if I replace the struts tag with just ?? Or is there another way around this? Any pointers much appreciated ! Lukas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Please HELP with HARD problem: STRUTS-tags VS Proxy, Weblogic loadbalancing, and BASE tag

2004-07-13 Thread Lukas Latz
thout RequestUtils and use simple html instead of struts ?? Does the core functionality of Actions, ActionForms and mappings still work if I replace the struts tag with just ?? Or is there another way around this? Any pointers much appreciated ! Lukas --

Re: initialize Collection for html-tags options tag - HOW?

2004-05-18 Thread Lukas Latz
An update: My attempt to forward from action to action failed. These are the mappings for the actions involved. I tried to replace with but somehow the MultiFindNameAction's execute method is apparently called with the ActionFo

initialize Collection for html-tags options tag - HOW?

2004-05-18 Thread Lukas Latz
Hi list I'm trying to use the options tag and am stuck with this problem: I hold all 'Model' information in a single model object in the HttpSession. Initialization for the Collection used by the , held in an ActionForm, must come from there (first time the view that uses that form is displayed).

RE: Maintaining form data across pages...

2004-05-16 Thread Lukas
struts deals (or doesn't) with view preparation a bit vague. Lukas -Original Message- From: Ayoub, Ashraf A [mailto:[EMAIL PROTECTED] Sent: Sunday, 16 May 2004 9:58 p.m. To: Struts Users Mailing List Subject: Maintaining form data across pages... Dears, I am trying to setup a series o

RE: Maintaining form data across pages...

2004-05-16 Thread Lukas
struts deals (or doesn't) with view preparation a bit vague. Lukas -Original Message- From: Ayoub, Ashraf A [mailto:[EMAIL PROTECTED] Sent: Sunday, 16 May 2004 9:58 p.m. To: Struts Users Mailing List Subject: Maintaining form data across pages... Dears, I am trying to setup a series o

RE: Getting the form bean on a page for use in a core tag

2004-04-21 Thread Lukas
key. I believe struts already does this also, but it uses a rather long string, from memory 'org.apache.struts.taglib.html.BEAN', but I don't believe that this would play nicely with EL expressions and its too long to be convenient. Lukas -Original Message- From: Niall Pe

RE: Getting the form bean on a page for use in a core tag

2004-04-21 Thread Lukas Hazlehurst
subclassed for each process. Lukas -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: Wednesday, 21 April 2004 1:53 p.m. To: [EMAIL PROTECTED] Subject: Re: Getting the form bean on a page for use in a core tag Ahh! Bach! The wrinkle h

RE: Getting the form bean on a page for use in a core tag

2004-04-20 Thread Lukas
(a forward) and age is a property of that form. In this case the form is a DynaValidatorActionForm. I'm not in the office at the moment so the code is just from memory, but it gives you the idea. I guess i could use the bean:define to copy out each attribute of the bean, but it doesn'

Getting the form bean on a page for use in a core tag

2004-04-19 Thread Lukas Hazlehurst
#x27;ve been looking thru my list archives and I can't seem to find any reference to the problem which probably means I'm missing the point somewhere, but any help would be appreciated. Lukas - To unsubscribe,