Re: More action in one view

2010-05-14 Thread Fabio Perfetti
2010/5/14 Martin Gainty > > > > Date: Fri, 14 May 2010 19:10:20 +0200 > > Subject: More action in one view > > From: perfabi...@gmail.com > > To: user@struts.apache.org > > > > Hi all, i am a newbie of struts. Before to start i want to say sorry for > my > > bad english. I looked for any forum/bl

Re: Online docs messed up

2010-05-14 Thread nuwan chandrasoma
Hi All, I also noticed that, i think the wiki .css is messed up, Thanks, Nuwan On Fri, May 14, 2010 at 11:03 PM, Greg Lindholm wrote: > Still looks messed up. I've cleared my browsers cache and forced a reload. > > > When I navigate in from http://struts.apache.org/ I get the 2.1.8.1 > versio

Re: cause does not work

2010-05-14 Thread Emi Lu
Figure it out finally! (-MM-DD) date_example has to be String but cannot be type Date. Otherwise, Will not dispatch to method()! -- Lu Ying On 05/14/2010 11:27 AM, Emi Lu wrote: Good morning, This struts-dojo-tags causes s:submit does work anymore. Whenever is added, none s:

RE: More action in one view

2010-05-14 Thread Martin Gainty
> Date: Fri, 14 May 2010 19:10:20 +0200 > Subject: More action in one view > From: perfabi...@gmail.com > To: user@struts.apache.org > > Hi all, i am a newbie of struts. Before to start i want to say sorry for my > bad english. I looked for any forum/blogs in my language (italian) :( > I am deve

Re: Online docs messed up

2010-05-14 Thread Greg Lindholm
Still looks messed up. I've cleared my browsers cache and forced a reload. When I navigate in from http://struts.apache.org/ I get the 2.1.8.1 version of the docs: http://struts.apache.org/2.1.8.1/docs/tag-reference.html (messed up) Sometime earlier I had book-marked the 2.x docs: http://str

More action in one view

2010-05-14 Thread Fabio Perfetti
Hi all, i am a newbie of struts. Before to start i want to say sorry for my bad english. I looked for any forum/blogs in my language (italian) :( I am developing a project for a university course. the first page is a login form, if the login success i have to show the index of a nurse or a doctor.

Re: Online docs messed up

2010-05-14 Thread Lukasz Lenart
2010/5/14 Greg Lindholm : > It appears the online docs are messed up: > > http://struts.apache.org/2.x/docs/tag-reference.html > > Sorry if I'm repeating well know information. > > Or, is there a better URL to use? > > This URL looks about the same. > http://struts.apache.org/2.1.8.1/docs/guides.ht

Why is ActionContext not an Interface?

2010-05-14 Thread Andy Law
I'm pretty sure that ActionContext used to be an Interface (in Struts1?). I know that it isn't in Struts2 because I've just tripped over that when trying to create mocks for a set of Unit tests for an Interceptor. Is there a reason why it changed? Later, Andy -- View this message in context:

Re: cause does not work

2010-05-14 Thread Emi Lu
Good morning, This struts-dojo-tags causes s:submit does work anymore. Whenever is added, none s:submit works, could someone helps? How comes? public String execute() throws Exception { ... return "update"; } When click "submit" the execute() never being called! Thanks alo

Re: Base Path for Page Resources Incorrect

2010-05-14 Thread Dane
On 10-05-14 10:52 AM, Dane wrote: I'm testing a Struts 2 application; resources included in the page--images, stylesheets--do not point to their absolute location, but instead adopt the path of the current page's URL and simply append their location to the end of it. I discovered that if I use

Base Path for Page Resources Incorrect

2010-05-14 Thread Dane
I'm testing a Struts 2 application; resources included in the page--images, stylesheets--do not point to their absolute location, but instead adopt the path of the current page's URL and simply append their location to the end of it. I discovered that if I use the tag in the of the document a

cause

2010-05-14 Thread Emi Lu
Good morning, Struts2.1.8.1, when using , , method1 is never triggered? But if is removed, method1 in ProcessAction.java is called successfully. Does someone know why? (1) struts.xml update_menu update_menu main_menu (2) ProcessAction.java public String execute() throws Exc

Online docs messed up

2010-05-14 Thread Greg Lindholm
It appears the online docs are messed up: http://struts.apache.org/2.x/docs/tag-reference.html Sorry if I'm repeating well know information. Or, is there a better URL to use? This URL looks about the same. http://struts.apache.org/2.1.8.1/docs/guides.html --

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-14 Thread Martin Gainty
BeanNameAware Interface to be implemented by beans that want to be aware of their bean name in a bean factory. Note that it is not usually recommended that an object depend on its bean name, as this represents a potentially brittle dependence on external configuration, as well as a possibly

Autocompleter positioning porblem

2010-05-14 Thread Stephane Cosmeur
Hey Struts 2 users i'm facing problem with a s:autocompleter. There is the definition Firstly i tried to use they key property and define label and name in the package.properties file. It didn't work and i gave up this solution. Any idea why ? So i defined my autocompleter like i mentioned it.

Re: load dynamically created files in jsp

2010-05-14 Thread Upasana Sharma
Hi i can access the folder from url http://localhost:8080/ui/images/JavaTemp2261198016333434327.jpg i am using something like but this returns me images/JavaTemp2261198016333434327.jpg not the relative url using context can u just help me out how should i deal with the s:url tag thanks in