Struts 2.1.8 Tiles

2010-11-01 Thread Satheesh Kannan A B
Hi, Am trying to use tiles in my project using struts 2.1.8, everything is working fine without tiles. But if am configured tiles, it throwing exception as mentioned below. The following jars are used. struts2-core-2.1.8.1, tiles-jsp-2.0.6.\, struts2-spring-plugin-2.1.8.1, struts2-testng-plugi

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Anjib Mulepati
I did the search too but most is about creating new customized tag only. So if anyone have link to this attribute adding. Anjib On 11/1/2010 12:10 PM, Paul Benedict wrote: struts tags customizing - To unsubscribe, e-mail: use

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Paul Benedict
Search for "struts tags customizing". I am sure you will find something. On Mon, Nov 1, 2010 at 11:01 AM, Anjib Mulepati wrote: > Yh i though same but haven't done these thing yet. So trying o find some > tutorial on extending this. > > Anjib > > On 11/1/2010 11:51 AM, Paul Benedict wrote: >> >>

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Anjib Mulepati
Yh i though same but haven't done these thing yet. So trying o find some tutorial on extending this. Anjib On 11/1/2010 11:51 AM, Paul Benedict wrote: One reason these are not supported is that the attributes are still in draft specification. However, I don't think Struts should be so difficul

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Paul Benedict
One reason these are not supported is that the attributes are still in draft specification. However, I don't think Struts should be so difficult to extend to support other attributes. Paul On Mon, Nov 1, 2010 at 10:42 AM, Anjib Mulepati wrote: > All ARIA attributes like > >   * |aria-autocomplet

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Anjib Mulepati
All ARIA attributes like * |aria-autocomplete| * |aria-checked|(state) * |aria-disabled|(state)

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Paul Benedict
If you don't mind, what attributes are missing? On Mon, Nov 1, 2010 at 10:31 AM, Anjib Mulepati wrote: > I need to do this in almost all available tags so can u post me some link > where I can read about how to do this? > > Thanks > > On 11/1/2010 11:26 AM, Paul Benedict wrote: >> >> You can subc

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Anjib Mulepati
I need to do this in almost all available tags so can u post me some link where I can read about how to do this? Thanks On 11/1/2010 11:26 AM, Paul Benedict wrote: You can subclass the TextAreaTag class and write a custom TLD. -- Paul On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati wrote:

Re: Adding new attributes to struts1 tags

2010-11-01 Thread Paul Benedict
You can subclass the TextAreaTag class and write a custom TLD. -- Paul On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati wrote: > Hello > > I am trying to add aria attributes to struts tags like . > Currently it doesn't support. How can i add this? > > I am using struts 1.3.8 > > Anjib >

Adding new attributes to struts1 tags

2010-11-01 Thread Anjib Mulepati
Hello I am trying to add aria attributes to struts tags like . Currently it doesn't support. How can i add this? I am using struts 1.3.8 Anjib

Re: Getting rid of session state

2010-11-01 Thread Dave Newton
I guess I'd examine what you're trying to remove from session, and why. Mechanisms like ViewState are just session, really, but stored somewhere else, either directly in an encoded string, or using it as a key to look of values stored somewhere else, which means it might as well be in session, no?

Getting rid of session state

2010-11-01 Thread Greg Akins
I'm developing a new Struts2 application, am new to Struts2, and want to reduce my dependency on the session. What kind of "best practices" are folks using to move the type of information that needs to be persisted during a session to other mechanisms? I can think of a few.. does anyone have any

Re: how to access spring beans from inside a custom validator

2010-11-01 Thread Eduard Neuwirt
Jake, does your struts.xml contain the both entries? Eduard Am 01.11.2010 10:50, schrieb Jake Vang: Eduard, I tried that. I thought spring would inject the field, but I keep getting a NullPointer (after I get the field and try to use it). Are there any other configurations that I need in w

Re: how to access spring beans from inside a custom validator

2010-11-01 Thread Jake Vang
Eduard, I tried that. I thought spring would inject the field, but I keep getting a NullPointer (after I get the field and try to use it). Are there any other configurations that I need in web.xml? Right now, among other things, I have the listener org.springframework.web.context.ContextLoaderList

Re: how to access spring beans from inside a custom validator

2010-11-01 Thread Eduard Neuwirt
Hello Jake, It is simple. Use struts/spring plug in. Declare your bean within your validator and let spring inject your validator. That's all Regards Eduard P.S.: Do not forget to define the corresponding setter method for injection Am 01.11.2010 08:37, schrieb Jake Vang: i have a custom fi

how to access spring beans from inside a custom validator

2010-11-01 Thread Jake Vang
i have a custom field validator that extends FieldValidatorSupport. inside this class, i need to access some beans as defined in applicationContext.xml by Spring. how do i access the spring managed beans? any help is appreciated.