Where are the @Result,@Results annotations in Struts 2.1.2

2008-06-30 Thread Oren Livne
Oren -- === I can stand brute force, but brute reason is quite unbearable. -- Oscar Wilde --- Oren Livne, Ph.D. RUReady Software Architect Academic Outreach and Continuing Educ

Including XML files in maven war file

2008-06-25 Thread Oren Livne
-- Oscar Wilde --- Oren Livne, Ph.D. RUReady Software Architect Academic Outreach and Continuing Education, 1901 E South Campus Dr. Room 2197-D, University of Utah, Salt Lake City, UT 84112-9399 Tel : (801) 581-6831 Cell: (801)

Problems with an exception thrown from an applet in a JSP

2007-05-22 Thread Oren Livne
re the relevant pieces of the code. I would greatly appreciate an advice on how to get rid of this exception. I don't know how to debug it. Thanks so much in advance, Oren Livne - tiles definition: (extends a common definition whose pages don't seem to have any problems)

Re: Problems with an applet inside a struts + tiles jsp

2007-05-21 Thread Oren Livne
action org.apache.struts.action.ActionServlet My problem is an applet tag in a JSP. But maybe you did answer and I didn't understand your answer. Could you kindly tell me again? Thanks so much, Oren Livne Martin Gainty wrote: Good Evening Mr Levine I wanted to address your questio

Re: Problems with an applet inside a struts + tiles jsp

2007-05-21 Thread Oren Livne
action org.apache.struts.action.ActionServlet My problem is an applet tag in a JSP. But maybe you did answer and I didn't understand your answer. Could you kindly tell me again? Thanks so much, Oren Livne Martin Gainty wrote: Good Evening Mr Levine I wanted to address your questio

Problems with an applet inside a struts + tiles jsp

2007-05-21 Thread Oren Livne
id of this exception. Maybe it's related to my exception handling. I don't know. Thanks so much in advance, Oren Livne - tiles definition: (extends a common definition whose pages don't seem to have any problems) - demoEE.jsp: (when I remove the applet ta

module attribute for ?

2007-03-22 Thread Oren Livne
d above? (e.g. alias a global forward called "systemError" to use module="/error" and path="/system.do" and then write path="systemError") Thanks Oren Oren Livne wrote: Dear Niall: Thanks so much .You are a life saver. It works. Just one note -- the syntax t

Re: contextRelative="true" doesn't work in a module

2007-03-22 Thread Oren Livne
Dear Niall: Thanks so much .You are a life saver. It works. Just one note -- the syntax that works is: Here the module must start with a "/", and the path is relative to the module's URL. Thanks! Oren - To unsubscribe,

contextRelative="true" doesn't work in a module

2007-03-22 Thread Oren Livne
path="/user/home.do" redirect="true" /> ... it tries to forward to '/Catalog/user/user/home.do'. What do I do to get it to work? Thanks so much, Oren -- ====== Oren Livne, Ph.D. Research Assistant Profes

Re: Two Struts validation problems

2007-03-04 Thread Oren Livne
Oren Livne wrote: P.S. An important fact I forgot to mention: my VO is persisted to a database using Hibernate. Hibernate wraps this object with its own type. Is it possible that the type conversion (String -> int) is not working properly because Hibernate's wrapper gets in the way?

Re: Two Struts validation problems

2007-03-03 Thread Oren Livne
copying a String -> int using BeanUtil.copyProperties(), and it worked fine, converting "1" to 1 and "a" to 0. If the problem is Hibernate, what can be done about it? I don't think I have control over this wrapper, do I? Thanks again, guys. I'm stuck and you

Re: Two Struts validation problems

2007-03-03 Thread Oren Livne
Dear Laurie & Christopher: Great! Thanks. I'm using Strings now in my form. But as I wrote to Ed, suppose I validated the form and would like to copy all properties to a VO (value object) / DTO with one call (e.g. copyProperties()). How do I get it to automatically convert my form String prope

Re: Two Struts validation problems

2007-03-03 Thread Oren Livne
ans and their ilk let you have the best of both worlds :-) -ed On 3/3/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oren, Oren Livne wrote: > Dear Chris: > Yes, other validations are working. For instance, I also have an > "in

Re: Two Struts validation problems

2007-03-03 Thread Oren Livne
). No errors on startup. Any idea what could go wrong? :( Should I use a String instead of int in my form for that field? Thanks Oren Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oren, Oren Livne wrote: 1) I have a form property that is an integer. When I set its val

Two Struts validation problems

2007-03-03 Thread Oren Livne
This has a reference to a nested property of the form. Is that OK to use it in a test condition? Thanks, Oren -- ====== Oren Livne, Ph.D. Research Assistant Professor of Mathematics RUReady Software Architect Academic Out

Can Validator Error Messages use the Field's Properties?

2007-02-05 Thread Oren Livne
, but not in any other variable. - Is there a way to reference the index of the element in the list in an error message? - Is there a way to reference an expression that depends on the index, like an EL expression (e.g. "${index+1}")? Thanks so much in advance, Oren -- =

Re: Use tiles:getAsString to return a key to s:text

2007-02-03 Thread Oren Livne
Hi Luiz, I am only a novice but this might help: replace the quotes by a single quote around the title: Oren Gonçalo Luiz wrote: Hello, I'd like to do something like "/> to internationalize my page title. Then in the tiles configuration I'd have Is this possible to achive ? ---

Can Validator error messages use the field's properties?

2007-02-02 Thread Oren Livne
Is there a way to reference the index of the element in the list in an error message? - Is there a way to reference an expression that depends on the index, like an EL expression (e.g. "${index+1}")? Thanks so much in advance, Oren -- ==