we had a similar problem using wls 6.1 sp1. there were some classes that
needed to be serialized (or alternatively, some serialized classes needed to
have certain attributes declared as transient).
look in the server log and see if it's complaining about not being about to
de-serialize
try the i18n taglib in the jakarta-taglibs project. note that this is
eventually going to be deprecated by jstl, so if you find a bug or if the
functionality doesn't do exactly what you need, you'll have to tweak it by
yourself -- not that it's hard or anything...
ab
-Original
i've used digester before and found it pretty straightforward, you probably
just needed an extra hour :-) but i recently read this article on Castor
XML (by a frequent poster to this list):
http://www.onjava.com/pub/a/onjava/2001/10/24/xmldatabind.html
and am thinking this may be my future xml
i use this technique all the time, though i specify the type (can't remember
why...):
tiles:put name=title type=string
bean:message key=commissions.signingBonus.title/
/tiles:put
ab
-Original Message-
From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March
hmm. are we still going to have to extend the controller class to use
tiles? (used to be ActionServlet, now it's RequestProcessor...) i was
hoping that this would make use of the new plug-in capabilities --- or is
just validator going in that direction?
ab
-Original Message-
From:
and the answer is...
(1) you're using the wrong taglib. form has been deprecated. use html
instead.
(2) assuming you have a list called list that contains Java Bean objects
with attributes name and id, you'd display it as a list of options as
follows:
html:options collection=list
note that you can now combine the best aspects of versions 2 3 (2 involves
just struts, 3 allows xml configuration) by using the declarative exception
handling in the nightly build. in your Action superclass, just throw an
exception if the user fails the authentication test, and trap for the
it is free after all... another good way to try to solve a problem is to
step through the source code in a debugger.
i realize this list exists to help other and get help from others, but the
amount of time people spend going back and forth saying nope that doesn't
solve my problem. i need
how are you storing your data? is it stored in a database using jdbc? and
if so, are you constructing your insert statements as strings and directly
appending the values onto the string rather than using bind values? i've
seen this problem come up before, and it's always been the case that
another alternative is just to nest the resource retreival within the put
tag. for instance:
tiles:insert definition=index flush=true
tiles:put name=title.key type=string
bean:message key=my.title.resource.key/
/tiles:put
...
/tiles:insert
this keeps you from having to keep your
what i'd recommend is that you override the bean:define tag so that it takes
a body. anything in the body becomes that value that is stored by the id
attribute. you can then reuse this new bean:define to store any value that
requires evaluation:
bean:define id=foo scope=request
bean:message
if your list is populated dynamically (say, using the options tag) you need
to repopulate the collection that you use to populate the list options. you
can do this in your reset method. if your list always uses the same values
as options, you might try storing these values in the application
i'm seeing a similar problem with wls6. i wrote the world's simplest action
class, and the mapping works fine, but when Class.forName is called in
ActionServlet.processActionCreate() i get a ClassNotFoundException. i can't
figure out why the ClassLoader can't seem to find my class. as in
i'm still looking for a response to the problem described below:
===
whenever i include a value for the multiple attribute of the bean:parameter
tag, i get a jsp compilation error. if remove the multiple attribute,
everything works fine (except that i don't get my array of
whenever i include a value for the multiple attribute of the bean:parameter
tag, i get a jsp compilation error. if remove the multiple attribute,
everything works fine (except that i don't get my array of parameter
values).
the error i'm getting is the same one that someone else mentioned way
15 matches
Mail list logo