Re: Handling wildcard action names with dot.

2011-03-01 Thread Fred Toth
this would mean that you would have to handle all static resources through struts which could be painful. But maybe you don't have any. Thanks, Fred On 3/1/2011 8:59 AM, GF wrote: I configured struts to handle url mapping with no extensions this way With this action mapping

Can I access current freemarker configuration from an action?

2010-06-02 Thread Fred Toth
ar, I'd like to store the email templates in the same location as the rest of the freemarker templates (which the current configuration knows about from standard struts config.). Is there a proper (or improper) way to do this? Thanks, Fred

struts 1 and jsr-303 bean validation

2010-02-03 Thread Fred Obsidianstone
If the struts validator is really not working for you try using a modern bean validation framework like jsr-303 that lets you take advantage of the entire Java platform. http://www.jcp.org/en/jsr/summary?id=303 I started a project on google code to simplify the integration of struts 1 with jsr

select tag in freemarker

2007-07-09 Thread Fred Toth
are a few variations that DON'T work: list="#{'01':'Jan', '02':'Feb'}" - same as above list="%{#{'01':'Jan', '02':'Feb'}}" - force OGNL? list="{'01':'Jan', '02'

Re: How do I make a checkbox initially checked?

2007-07-08 Thread Fred Toth
is checked always, regardless of user input. Thanks, Fred Nuwan Chandrasoma wrote: Hi, If you want the check box to be checked initially you can use the tag like this: are you calling the prepare method to initialized you backing object?, according to my understanding the backing object w

How do I make a checkbox initially checked?

2007-07-07 Thread Fred Toth
. Is there a way to do this using the UI tags? Thanks, Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can freemarker use OGNL null value handling?

2007-07-07 Thread Fred Toth
Thanks. That was it! I must have been through the doc a dozen times, but I missed the '$' vs '%' issue. Thanks again. Fred Dale Newfield wrote: Fred Toth wrote: To be more specific: In jsp, you can do this: This works even when user doesn't exist because of the

Can freemarker use OGNL null value handling?

2007-07-07 Thread Fred Toth
firstName}"/> We get an exception "user is undefined". This is presumably because the freemarker expression language is being used, and not OGNL? So I'm amazed that I have not been able to find a single mention of this very important issue! Am I miss

Re: Which AJAX library?

2006-01-08 Thread Fred So
Dear Frank Thank you very much for your pointers. A good starting point. Fred -- Forwarded message -- From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: Struts Users Mailing List Date: Sat, 07 Jan 2006 00:29:33 -0500 Subject: Re: Which AJAX library? Fred So wro

Which AJAX library?

2006-01-06 Thread Fred So
Hi All There are many AJax libraries available at the moment. Which one do you think works best/most natually with Struts? Thanks F

file upload and form fields

2005-09-20 Thread Fred Tibbitts
I'm using Struts 1.2.4. I have an html form with a bunch of fields on it, including an input file field. I set the max file size in the controller in the struts config to 1 megabyte. The problem I'm having is that Struts doesn't populate my action form's fields when I attempt to upload a file t

AW: Tile in Tile -> possible?

2005-03-11 Thread Hauschel Fred
hat you are describing works - I have several apps where I do this sort of thing   Hermod   -Original Message- From: Hauschel Fred [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 10:12 AM To: Struts Users Mailing List Subject: Tile in Tile -> possible?     Hey,  

Tile in Tile -> possible?

2005-03-11 Thread Hauschel Fred
Hey, is it possible to extend a Definition and overload a tile by a new definition? What I want is: My Base Struts Module should have a simple baseDefinition: This base should be extended by another Module.

SwitchAction

2005-03-08 Thread Hauschel Fred
Hey all, i've a menu that routes to some different struts content modules. The menu items call a switch action. The switch action changes the Module in the request, but not my RequestProcessor. I think the calling order is like this: 1. ActionServlet.getRequestProcessor() // The active module is

tiles definition overload for difficult modules

2005-03-03 Thread Hauschel Fred
Hey all, is it possible to deine a definition in Base Module and extend it in another "sub" struts-module? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sorry, right Subject is "Tiles: cachedCurrentContext in Insert Tag"

2005-02-28 Thread Hauschel Fred
-Ursprüngliche Nachricht- Von: Hauschel Fred Gesendet: Montag, 28. Februar 2005 14:39 An: Struts Users Mailing List; Ben Taylor Betreff: AW: RequestURI (Action not JSP) Hey all, i will change my tilesComponent context to runtime. The Context in request is aktuall and contains my

AW: RequestURI (Action not JSP)

2005-02-28 Thread Hauschel Fred
Hey all, i will change my tilesComponent context to runtime. The Context in request is aktuall and contains my changes, but the InsertTag do not know my changes ;-(( I think the problem is the Member (from InsertTag) /** * Current component context. */ protecte

How to overwrite the Tiles DefinitionFactory?

2005-02-26 Thread Hauschel Fred
Hey all, i've wrote a little framework, that handles it's own definition. So I have wrote my own definition Factory. But know there are some cases where I want to use the standard DefinitionFactory. Is there a way to overwrite an DefinitionFactory? I don't understand that "ComponentDefinitionsFac

Tiles: Dynamik Components

2005-01-26 Thread Fred Hauschel
Hey all, how to dynamically replace content in a layout? I've a layout with two components left->menue, right->content. Now I will dynamically build my menue and depending on selection change the content in the content component. But menue and content components are struts modules and

Complex bean structure handling

2004-10-04 Thread Fred
Hi, I have a architecture problem, which happen often I suppose, the master detail management. I would like to manage a html form with some simple field and a list : id Name adress than a list of product id, name, qte id, name, qte Using simple field (non struts form), I get an array o