Re: WARNING: No configuration found for the specified action:

2009-04-18 Thread Lukasz Lenart
2009/4/18 Stefano Tranquillini : >     There isn't namespace "user", only "/". Namespace is a virtual name, doesn't base on packages or something. Try to read [1] to understand it deeply [1] http://struts.apache.org/2.1.6/docs/namespace-configuration.html Regards -- Lukasz http://www.lenart.or

Re: Struts 2 and Spring Framework

2009-04-18 Thread Wes Wannemacher
On Saturday 18 April 2009 15:14:32 Dave Newton wrote: > Struts Two wrote: > > Going through Maven xml files in the link you provided to check for > > spring jar dependencies, I noticed a dependency on spring-web.jar, I was > > wondering where does it fit. I know that: > > > > spring-beans.jar, spri

RV: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

2009-04-18 Thread Néstor Boscán
Looks like I can't send attachments through this Mailing list. Here is the URL to the bug https://issues.apache.org/struts/browse/WW-2995. I put the war file as attachment of the bug. Regards, Néstor Boscán -Mensaje original- De: Néstor Boscán [mailto:nesto...@gmail.com] Enviado el: Thu

Re: Focus on error fields when validation fails

2009-04-18 Thread Suneel
Take a look at documentation for both tags. The property attribute is what you are looking. Pls read the documentation before posting. On Sat, Apr 18, 2009 at 2:07 PM, abhishek reddy wrote: > thanks for the reply...it will just let me know if error messages are > present or not... > is it possibl

Re: Struts 2 and Spring Framework

2009-04-18 Thread Dave Newton
Struts Two wrote: Going through Maven xml files in the link you provided to check for spring jar dependencies, I noticed a dependency on spring-web.jar, I was wondering where does it fit. I know that: spring-beans.jar, spring-core.jar, spring-context.jar are required for DI. spring-aop.jar is

Re: Focus on error fields when validation fails

2009-04-18 Thread abhishek reddy
thanks for the reply...it will just let me know if error messages are present or not... is it possible to retrieve error field name from it. On Sat, Apr 18, 2009 at 7:23 AM, Suneel wrote: > You need to use these tags: > > > > > On Sat, Apr 18, 2009 at 3:46 AM, abhishek reddy > wrote: > > hi

Re: Struts 2 and Spring Framework

2009-04-18 Thread Struts Two
Going through Maven xml files in the link you provided to check for spring jar dependencies, I noticed a dependency on spring-web.jar, I was wondering where does it fit. I know that: spring-beans.jar, spring-core.jar, spring-context.jar are required for DI. spring-aop.jar is used for Aspect ori

Re: How share information in a struts application

2009-04-18 Thread Dave Newton
Stefano Tranquillini wrote: If found nothing that can resolve my problem! i need to share a class that contains all information that i need between all the classes and jsps. i've to put a setter and ghetter for each action that i've? i need to store some inforamtion in a bean (simple java bean)

Re: How share information in a struts application

2009-04-18 Thread Stefano Tranquillini
If found nothing that can resolve my problem! i need to share a class that contains all information that i need between all the classes and jsps. i've to put a setter and ghetter for each action that i've? i need to store some inforamtion in a bean (simple java bean) and share this class in all th

Re: What may cause ognl.InappropriateExpressionException warning ?

2009-04-18 Thread jctovarueda
Lu Ying, I could detect the problem, it's apparently a bug from Struts 2 (XWorks). It seems to be that OGNL Utils setValue confuses the "d-6836677-p" expression as substract operation, it means, the expression is evaluated like ( d - 6836677 ) - p as mathematical operation. I will try to find

Re: Focus on error fields when validation fails

2009-04-18 Thread Suneel
You need to use these tags: On Sat, Apr 18, 2009 at 3:46 AM, abhishek reddy wrote: > hi all, > > how to highlight error fields in struts html form when validation fails i.e i > want my cursor focus on the error field when validation fails. ? > > Note: Validations are performed on the server si

Re: How share information in a struts application

2009-04-18 Thread stanlick
Hey bro -- Have you read anything about Struts 2 or are you just trying stuff? The form bean is gone and the action is now the action-model. If you have accessible setters on your action-model, OGNL will graph those data onto your action-model. I would recommend a quick Google search for tuoria

Re: recipes for 2.0.x?

2009-04-18 Thread Andy Sykes
DWR is bloody ace - don't know how that slipped under my radar. Cheers for the heads-up. Andy. On 17 Apr 2009, at 21:24, Musachy Barroso wrote: I am not sure what the status of the DWR plugin is, but I don't think it has changed much. The DWR plugin just hooks DWR with Struts 2, nothing more

How share information in a struts application

2009-04-18 Thread Stefano Tranquillini
Hi i've a conceptual problem. i want to transport and share inforamtion in my application. e.g. when a user made the login i want to store that user is loggedin and its datas. how can i do that? in the past version of struts there was the actionform and use ther around the application. in stru

Re: Display action errors above the field

2009-04-18 Thread Stefano Tranquillini
i found and modified! thanks On Sat, Apr 18, 2009 at 15:16, Dave Newton wrote: > Stefano Tranquillini wrote: >> >> How can i change how struts display the errorrs? >> >> can i set that display in a red rectangle or something like this? >> >> i ought modify or add somethings in css, right? but wha

Re: Display action errors above the field

2009-04-18 Thread Dave Newton
Stefano Tranquillini wrote: How can i change how struts display the errorrs? can i set that display in a red rectangle or something like this? i ought modify or add somethings in css, right? but what? Look at the emitted CSS and the stylesheet included by Struts. Dave -

WARNING: No configuration found for the specified action:

2009-04-18 Thread Stefano Tranquillini
Hi all. i've a warning in jboss log and i want eliminate it. 14:28:43,312 WARN [ServletUrlRenderer] No configuration found for the specified action: '/user/Register.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value. so. i've a class callerd Register in pack

Re: Struts 2 Portlet/Oracle Portal Problems

2009-04-18 Thread Nils-Helge Garli Hegvik
Have you tried deploying the Struts 2 sample app and see if it's the same problem there? And which version of Oracle Portal are you using? Nils-H On Thu, Apr 16, 2009 at 11:44 PM, Nils-Helge Garli Hegvik wrote: > Thanks. If they say it's not an Oracle problem, it would be great if > you created

Re: Display action errors above the field

2009-04-18 Thread Stefano Tranquillini
How can i change how struts display the errorrs? can i set that display in a red rectangle or something like this? i ought modify or add somethings in css, right? but what? On Fri, Apr 17, 2009 at 21:17, Security Management < list-subscripti...@secmgmt.com> wrote: > Extend ActionSupport in your

Focus on error fields when validation fails

2009-04-18 Thread abhishek reddy
hi all, how to highlight error fields in struts html form when validation fails i.e i want my cursor focus on the error field when validation fails. ? Note: Validations are performed on the server side (validate() method of respective form bean) this is what iam doing... ActionMessages errors