Re: How do i get a refernce to the exception thrown in my jsp page

2003-10-22 Thread teknokrat
Geeta Ramani wrote: If you set a request scope Exception object before you forward to the error page, then you will be able to get that reference. Regards, Geeta teknokrat wrote: I have defined a global exception handler which logs the exception and then foreards to my error page. In the error

How do i get a refernce to the exception thrown in my jsp page

2003-10-22 Thread teknokrat
I have defined a global exception handler which logs the exception and then foreards to my error page. In the error page I need to get a reference to the exception but there is no exception object. How do i get a reference to the exception thrown in the jsp page? thanks -

Re: Bug in tile with struts 1.1

2003-09-11 Thread teknokrat
Yann Cébron wrote: then everything works Ok. This is only a problem when using a tiles controller and I am sure it was working correctly in struts 1.0 ( in fact i am certain it was ok even in the 1.1 betas) I was going to raise this in the bug database if everything here is OK Don't get me wro

Bug in tile with struts 1.1

2003-09-11 Thread teknokrat
My layout file (layout.jsp) has the following block That is I want first the header tile to be layed out, then the menu tile and finally the body tile. The definition for the page in the tiles-def.xml file is Note that the menu uses an action to de

Re: on using beans in different scopes

2003-07-03 Thread teknokrat
teknokrat wrote: I have a number of beans set in the application scope that I want to use in various select boxes. The docs say to use where bean is the bean "in some scope". However when I try this I get an exception "no bean specified" eventhough I can show that

on using beans in different scopes

2003-07-03 Thread teknokrat
I have a number of beans set in the application scope that I want to use in various select boxes. The docs say to use where bean is the bean "in some scope". However when I try this I get an exception "no bean specified" eventhough I can show that the required bean is available in the applica

Problem with tiles in struts rc2

2003-06-18 Thread teknokrat
The following tiles insert now places the menubar above the header. Nothing i dio changes this and the behaviour was correct in RC1. Note that my menubar definition uses a ControllerUrl. bye - To unsubscribe, e-mail: [EMAI

Re: tiles and tiles controllers

2003-06-06 Thread teknokrat
al Message----- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:14 AM To: [EMAIL PROTECTED] Subject: tiles and tiles controllers I have a page definition that uses a tiles controller. This works fine. However, i now want to defines several pages that extend the first page bu

tiles and tiles controllers

2003-06-05 Thread teknokrat
I have a page definition that uses a tiles controller. This works fine. However, i now want to defines several pages that extend the first page but i do not want them using the controller ( or any controller). can this be done? leaving urlController blank gives errors. thanks ---

Re: bean:write question

2003-03-19 Thread teknokrat
[EMAIL PROTECTED] wrote: hello i have a class wich contains another class like class "user" which contains a class "adress" in a response. i'd like to write the properties in a jsp hth, Tib thanks couldn't have been more simple ! - SPECIAL ADSL L'ADSL à partir de 15,95 EUR/moi

dealing with null values

2003-03-19 Thread teknokrat
I need to write out beans that can have complex nested object that may sometimes be null. If they are null i would like nothing to be output. Is there a way to do this with struts without having to check if a property exists every time? thanks

Are action forms reused?

2003-03-18 Thread teknokrat
I am using struts 1.1. What I would like to know is whether a new form bean is created in the following situation: An action sets a form bean as an attribute and passes it for display to the appropriate jsp page and its contents displayed. This form is updated and submitted to a different actio

Re: confused about an action forms fields

2003-03-18 Thread teknokrat
Nicolas De Loof wrote: As user can edit them, you should set all actionform fields as string. You can use Collection, arrays and references to obects with String fields. This way you can build a "formbean" model that has the same look as your business object model (or data transfert objects). You c

confused about an action forms fields

2003-03-18 Thread teknokrat
Do all the fields of an actionform have to be strings? I am confused as to when a form field should become an entity in my business logic. For example, I have quite complex business objects composed of ArrayLists, Dates and other classes. How are these to be set? Do I need to capture everything

wrapping beans in a form - any ideas

2003-03-17 Thread teknokrat
Have there been any discussion on the pros/cons of having forms like class MyForm extends ActionForm { MyBean bean; public void setBean(MyBean bean) { this.bean=bean; } public MyBean getBean() { return bean; } } And then use the properties like so ---

Re: having a problem updating my form - starnge error with beanUtils

2003-03-17 Thread teknokrat
ge d'origine- De : teknokrat [mailto:[EMAIL PROTECTED] Envoyé : Monday, March 17, 2003 5:11 PM À : [EMAIL PROTECTED] Objet : having a problem updating my form - starnge error with beanUtils I have a jsp page that is being populated OK by the form bean. However - when i make changes to the f

having a problem updating my form - starnge error with beanUtils

2003-03-17 Thread teknokrat
I have a jsp page that is being populated OK by the form bean. However - when i make changes to the fields and submit it to my action i get the following error java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtil