Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
Want to inject EJB's, however I do not want to add a dependency on spring. On Sat, Aug 22, 2009 at 12:15 PM, Dave Newton wrote: > Karan Malhi wrote: > >> I want to post process an action instance after it is created. I could >> create an ActionEventListener implementatio

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
er action creation. > > > > > > Chris > > > > > > > -Original Message- > From: Karan Malhi > To: user@struts.apache.org > Sent: Fri, Aug 21, 2009 11:28 pm > Subject: How to register an ActionEventListener > > > > > > &g

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
l your > interceptors > are processing the request after the action is created. > > > > after it is created > > > > > > > > > Chris > > > > > > > -Original Message- > From: Karan Malhi > To: user@struts.apache.org > S

How to register an ActionEventListener

2009-08-21 Thread Karan Malhi
I want to post process an action instance after it is created. I could create an ActionEventListener implementation. How would I register this class with struts so that it notifies the listener? -- Karan Singh Malhi

RE: How to use a POJO inside Struts FormBean?

2006-01-16 Thread Gupta, Karan
Thansk for your reply Rick. You're right, I have seen that when field names are very close to the class name then this problem does occur. But why? Does reflection not work when only one character is changed? Thanks, Karan -Original Message- From: Rick R [mailto:[EMAIL PROTECTED]

RE: How to use a tag withing another tag?

2006-01-13 Thread Gupta, Karan
inside another tag. In most cases you can use element content instead of "value" attribute of that element. Michael. On 1/13/06, Gupta, Karan <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using a logic:equal tag in my jsp and the value of the property has to be > compa

RE: How to use a tag withing another tag?

2006-01-13 Thread Gupta, Karan
day, January 13, 2006 4:44 PM To: Struts Users Mailing List Subject: Re: How to use a tag withing another tag? On 1/13/06, Gupta, Karan <[EMAIL PROTECTED]> wrote: > I have tried several ways, including > value=""> > but nothing seems to work. As you've dis

How to use a tag withing another tag?

2006-01-13 Thread Gupta, Karan
s" are of type List. I have tried several ways, including but nothing seems to work. Thanks, Karan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
IDef() always returns a non-null result. Hubert On 1/12/06, Gupta, Karan <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use a POJO inside a Struts (1.2.7) FormBean, > but I am unable to access the fields inside the POJO. > > package com.fmm.web.invento

RE: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
nventoryDefinitions(List inventoryDefinitions) { this.inventoryDefinitions = inventoryDefinitions; } } I have not looked at nested tags -- but I'll check that out. Thanks again, Karan -Original Message- From: Torgeir Veimo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 3:18 PM To: S

How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
trying to do? What am I doing wrong? Thanks, Karan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question on http://displaytag.sourceforge.net/

2005-11-01 Thread Gupta, Karan
MVC -- you will only be changing the view. Instead of using the Struts tags in certain places, you'll be using displaytag. You can also write your own decorators etc. to modify the content thats displayed. its pretty cool. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re: Struts Portlets, jBoss Portal

2005-03-16 Thread Karan
with minor modifications. Check it out. Will post what I find. Regards, Karan Fogleson, Allen wrote: Karan, The problem is you are submitting to struts. About a year and a half ago we had this same problem. We had legacy apps running that the client wanted to display inside a portal. The major

Struts Portlets, jBoss Portal

2005-03-16 Thread Karan
trial.ftl on the browser (no portal/portlets, just trial.ftl). How do I make sure that whatever I do in struts stays inside the portlet window? Regards, Karan -- CM II Resolution Systems Inc. /-- never compromise. what if you compromise and lose? --/ ---

Re: Two css files

2005-03-08 Thread Karan
lols..okay Bernd. Thanks for the info. Regards, Karan Bernd Schiffer wrote: Hi Karan. Karan wrote: I don't have an answer to your problem, but I do have a question: The user of your webapp can customize extendedCssStyle for his/her own layout settings. But a different user can modify it agai

Re: Two css files

2005-03-07 Thread Karan
I don't have an answer to your problem, but I do have a question: The user of your webapp can customize extendedCssStyle for his/her own layout settings. But a different user can modify it again for different settings. How do you maintain the different layouts for different users? Thanks,

Re: Using a CSS file

2005-03-07 Thread Karan
pplication context-path: i.e.:tomcat/webapps/myapp/FTL/resources/css/mainstyle.css If you change the location of the css, just do a multi-file search and replace. HTHs, Karan Hyrum wrote: I can't get my struts application to recognize my Style Sheet. Here is the link I am using: My filenam

Re: Building accurate URI

2005-02-17 Thread Karan
p everythign in order, and if I ever change the location of a particular document, a multiple-page search-and-replace is all thats required. HTHs, Karan Matt Hughes wrote: Previously all the JSPs in my application were in the same folder. To organize things a bit, I categorized them according

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Karan
Apart from all the other suggestions, if you're going to be doing this kind of work often you might want to look at Freemarker: just create the template and retreive all customizable data from ur framework. HTHs, Karan Yan Hu wrote: Hello Guys: This is my first real Struts-based project.

Log4j: Hibernate, Struts Logging in TC

2005-02-09 Thread Karan
, Off-topic: how do I make log4j pick up $catalina_home from the env and use that to specify the destination path for the generated log files. Thanks, Karan -- CM II Resolution Systems Inc. /-- never compromise. what if you compromise and lose? --/ -

Re: Redirecting back to input

2005-02-08 Thread Karan
performing the requested action, I can either display my form again (in case of an error) or move on. Someone, plz correct me if im wrong. Karan Joe Germuska wrote: At 4:34 PM -0500 2/7/05, Chaikin, Yaakov Y. wrote: Actually, I traced this in code also and I think it already does mapping.findForward(input

Re: Newbie question regarding Tiles and ActionErrors

2004-05-13 Thread karan kondal
Hi I think you should check your tag for the input attribute. input attribute should be having the name of the file you want to display in case of any error from validation cheers kk PS: let me know if that help --- Adam Lipscombe <[EMAIL PROTECTED]> wrote: > Folks, > > > I am a struts new