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
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
-
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
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
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
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
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
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
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
---
[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
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
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
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
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
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 ---
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
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
17 matches
Mail list logo