Ted,
tnanks for your reply. This action was just an idea from me. I haven't thought
about including it into the struts stuff. Nevertheless I am pleased if it happens
and somebody find it usefull.
Dmitri Valdin
Datum: 24.11.2001 17:32
An:Struts Developers List [EMAIL
Hi Oleg,
for our current problem the first option is the better solution because it
does not require to repeat in all JSPs the on... attributes. The overloaded
tag class can automatically append some javascript code without a JSP
developer
even to know about it. In this case the only thing of
Dear all,
I have a lot of form bean classes that store their values in maps. Currenty
I must implement lots of similar getter and setter methods in each form bean
class in order to allow struts to access these values. E.g.
public String getName() {
return (String)myValues.get(name);
}
Why can't you use the Commons BeanUtils MappedProperty feature?
Supposing you have these methods on your bean:
public void setProperty(String key, Object value)
public Object getProperty(String key)
then you can use this notation in the Struts nightly build:
bean:write name=formBean
The reflection API has been steadily improved with each JVM release, and
you may find that the performance difference is now neglible. In fact,
weighed against loading scads of custom code just to populate values, it
may be more performant.
http://husted.com/struts/resources/performant.htm
box
Thanks for the information. Is the feature of mapped properties already
available in struts 1.0?
Why can't you use the Commons BeanUtils MappedProperty feature?
Supposing you have these methods on your bean:
public void setProperty(String key, Object value)
public Object
Hello friends,
Is it interesting for somebody to implement for html tags such logic
as listed below?
Add to tags xxxKey attributes for all scripting support attributes
and extend html tags with ability to retrieve client side code from
resources by the key from attribute value. For
Hi my name is Frederic Simard, I am whroting to you, to show you a Idea
that I got for the next JSP specification:
The Idea consit to create taglib mecanism similar to jsp to be able to
embed scrip in java code. To explain my self I have include a small
Example that will show you wath I
--- Frederic Simard [EMAIL PROTECTED] wrote:
Hi my name is Frederic Simard, I am whroting to you,
to show you a Idea
that I got for the next JSP specification:
This is better submited to JSP group at sun.
They are in charge of JSP spec.
I'm not sure that your proposal will made JSP
I've been digging through the struts-dev mailing list but had no luck,
hence this e-mail. I seem to have a problem running Struts 1.0 and Tomcat
4.0.1. The digester does not work correctly, unless I place parser.jar in
the WEB-INF/lib directory. If Tomcat uses xerces.jar I never get call-backs
Hello Ted,
Monday, November 26, 2001, 8:14:19 PM, you wrote:
TH I think its a clever idea. It's important that the framework not require
TH Javascript for nominal operation, but using it is a fact of life for
TH most applications, and getting it into a tag can be problematic.
TH Though,
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5101.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
12 matches
Mail list logo