RE: Localization within Tiles

2004-08-09 Thread Avinash Gangadharan
You can do something like this : In your tiled definition : --snip-- put name=messageText value=message.text/ --snip-- In your jsp: Do something like tiles:getAsString name=messageText/ titlebean:message name=messageText//title So in the title... a value corresponding to the value

RE: HTTP Compression

2004-08-06 Thread Avinash Gangadharan
Servlet filters (javax.servlet.Filter) lets you do this. But... this is available in Servlets 2.3 and not in any earlier servlet specs. So check if your container provides support for 2.3 This link may give you some start but a google search would give you much more.

RE: Validation of dynaActionForm too early

2004-06-10 Thread Avinash Gangadharan
I have a question that I always thought of for such situations. It is adviesd to have 2 action mappings as Bill suggests for such situations, one that sets up the form with validate=false And the next that handles the form POST. Why is that?. In my ActionForm I look for a condition which tells me

RE: wahtd does it means ? envCtx = (Context) initCtx.lookup(jav a:comp/env);

2004-06-08 Thread Avinash Gangadharan
java:comp/env is the namespace that a J2EE container uses to tie logical names to the various components being managed by the container. The J2EE defines a naming policy for application components. This namespace is rooted with java:comp comp is a sub-tree for component related bindings.

RE: Validating multiple DTO's within a single ActionForm.

2004-06-03 Thread Avinash Gangadharan
Now there are general validation needed at submit time for each Form Does this means that you save the data onto a persistent storage on each form submit. If that is the case, on a validation error of the final credit application all you have to figure out is which form does the error belong too

RE: [OT] DisplayTag and Links

2004-05-27 Thread Avinash Gangadharan
Daniel, Try this : display:column property=lastName paramId=policyNumber href=test.jsp/ The displaytag user list would be a great place too for such questions: [EMAIL PROTECTED] Avinash -Original Message- From: Daniel Kalcevich [mailto:[EMAIL PROTECTED] Sent: Thursday, May

RE: [OT] DisplayTag and Links

2004-05-27 Thread Avinash Gangadharan
Oops missed an attribute display:column property=lastName paramId=policyNumber paramProperty=policyNumber href=test.jsp/ -Original Message- From: Avinash Gangadharan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 11:53 AM To: 'Struts Users Mailing List' Subject: RE

RE: getting non-struts form elements

2004-05-14 Thread Avinash Gangadharan
say it's not a big deal, I can just do the empty form like you said, but I'd like to know if that's the only way... From: Avinash Gangadharan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: getting non

RE: JSTL Functions

2004-04-23 Thread Avinash Gangadharan
web.xml specifies Servlet 2.4 Avinash Gangadharan wrote: Hi All, I'm trying to use the jstl/functions tag library and cannot seem to make it work. In my jsp I have something of the this sort: %@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions; % c:set var=str value

RE: 'Can't insert page' Error - But it's a tile!

2004-04-07 Thread Avinash Gangadharan
Try this : tiles:insert definition=tiles.content.common.downloadHeader tiles:put name=category value=Webpage / /tiles:insert -Original Message- From: Mark Mandel [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 5:50 PM To: [EMAIL PROTECTED] Subject:

RE: string substitution in tiles

2004-03-29 Thread Avinash Gangadharan
other ideas? Dean Hoover Avinash Gangadharan wrote: Try this : In tiles-def.xml --- put name=action value=Logon.do / In your jsp --- tiles:importAttribute / html:form method=post action='bean:write name=action/' -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED