Grokbase
Topics Posts Groups | in
x
[ help ]

(tillmanns...@yahoo.de)

Profile | Posts (2)

User Information

Display Name:
Partial Email Address:tillmanns...@yahoo.de
Posts:
2 total
2 in struts-user@jakarta.apache.org

3 Most Recent

1) How to get the client locale in a formclass?
| +1 vote
Hi there, Is there a way, to access the client locale inside a constructor of a form class. My...
struts-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi there,

Is there a way, to access the client locale inside a
constructor of a form class.

My problem is, that I've got a date field (string
property) in the form class that should be initialized
depending on the client locale. I'd like to initialize
the date string in the constructor of the bean.

Does my idea work that way?
Thanks in advance,

Tillmann,


Tillmann Schulz,
[email protected: tillmanns...@yahoo.de]
-----------------------

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
2) Re: Why isn't ActionsErrors throwable?
| +1 vote
Hi, You are right, ActionErrors is a container, but ActionError is sth. like an error class with a...
struts-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi,
> essentially ActionErrors is a message container
> more than an exception. i think the name reflects
> this as well... it is not called ActionException.
You are right, ActionErrors is a container, but
ActionError is sth. like an error class with a error
message in it.
I was just a little bit confused about the naming
because in java.lang.* every *Error-class extends
Throwable.

Cu,

Tillmann
--
Tillmann Schulz
[email protected: tillmanns...@yahoo.de]


__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
3) Why isn't ActionsErrors throwable?
| +1 vote
Hello, I've got a design question concerning the design of action classes and action class...
struts-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hello,

I've got a design question concerning the design of
action classes and action class inheritance. I am
trying to implement a reusable method in an action
class. This method should be in a class named
MyActionBase:

protected MyBusinessObject doSomething(...) throws
ActionErrors

The question is: Why doesn't ActionErrors extends
Throwable? Does it make sense to make a change in the
framework class org.apache.struts.action.ActionErrors
and make it throwable?

Thanks,

Tillmann
---
[email protected: tillmanns...@yahoo.de]

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

spacer
Profile | Posts (2)