Subject line says it all.
I've been contemplating this topic. The best answer I can give here is that in
Struts 1.3, you
really don't have to ever deal with an Action class at all - use ChainAction as
an entry point
into your chains. But how would you model a real world application using the
Prabdoh,
You are much better off using JSTL so you can write something like:
html:textarea property=${form.object[i].subobject[j].property/
Once you go JSTL, you never go back :-) Which makes the nested object tags
obsolete.
Paul
--- Deshmukh, Prabodh (P.) [EMAIL PROTECTED] wrote:
Looks
Have you tried JSTL?
--- Mon Cab [EMAIL PROTECTED] wrote:
Hi all...
I.e any way of using the logic:match tag less
strictly, so that logic:match parameter=var
value=bla will not cause an exception if var is
null. At the moment I am getting:
javax.servlet.ServletException: Cannot
...as long as you don't have 12 betas like Tapestry
:-)
__
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
-
To unsubscribe, e-mail:
Arrays (and collections for that matter) are just
single objects with an unknown size. You can just
specify a property to be a String[] and then a
c:forEach loop to print out whatever you want.
__
Yahoo! FareChase: Search multiple travel sites
Don and Niall,
I see RC3 of Commons Validator 1.2! Makes me excited
as my favorite bugs (oxymoron) seem to be fixed. But
besides fixes, can you detail what new features it
contains?
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
Rick,
I am using it now. There's a big 1.1 release plan, but
I think with only one or two guys working on it, it
will take years to release -- even longer than the 18
month Struts release cycle :-) Anyway, they have
paging built-in for 1.1, but in the mean time, use the
ValueLiist tag which is
You can also just use basic JSP technology. You can
use a servlet include to retrieve the output from a
JSP, which could your mail.
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
Natalie,
Your question isn't clear
If you're dealing with multiple checkboxes, the
property backing them should be a String[] so you can
capture all the values selected.
If you're dealing with multiple options of a radio
group, only one option will ever be selected.
Paul
Can someone save me from insanity?
Questionable...
But I get the following error in tomcat:
javax.servlet.ServletException: Request[/mywizard1]
does not contain handler parameter named 'method'.
Do you have a method named 'method'? It should look
like the typical Struts execute method.
Does anyone ever run any custom versions of Struts or
the Commons library? The reason I ask is because the
bug that I need fix (it is now fixed) in Commons
Validator isn't released for the Struts 1.2.x branch,
but most likely will be released with Struts 1.3
Well I don't like using release 1
Frank,
I didn't know this. I thought the only way to chunk up
the Struts config was to define modules, because only
one XML could be specified. well now that I know I
can have one (default) module that contain all my
configurations, I am chucking the modules. :-)
Paul
--- Frank W. Zammetti
Great subject line, isn't it? :)
OK. I've been doing Struts for like 2-3 years now, and
Struts Modules I loved for awhile but now I absolutely
can't stand them
First off, my initial appeal to modules was to split
up the configuration files so different developers can
work on the project
Ted,
I saw javadoc changes that say @since 1.2.8. Will that
code be ported to 1.3?
See, I'd really like a 1.2.8 that fixes the URL
validator bug. That's a big priority for me.
Paul
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
I see code for 1.2.8 and code for 1.3. Will anyone be
releasing these soon? I look forward to 1.3 but it
doesn't seem to exist on the Struts page as a
downloadable kind of moving slow. I am just a
patient waiter and eager for any version to make it
out.
Paul
Hey guys.
I have alot of service objects called from Struts, and
each have a good deal of service methods. Service
methods mainly do business logic and talk to DAO
objects.
Question:
I've taken the approach of service methods having the
responsibility of instantiating DAO objects locally
and
The subject line asks it all. Is it true?
I hope we see a version 1.2.8 and a 1.3 soon, but I am
sorry to see all the innovation going into Spring
(YEAH!) and Shale (YAWN!), with no one really wanting
to continue growing the classic framework.
Is it viable to evolve Struts Classic into Shale,
Guys,
This is off-topic but I need your help. There are some
good programmers here and I would like to receive some
advice back. I am sure there's a simple answer to it.
My Struts app is a multitier app (Web - Business -
DAO) and it uses Jakarta Commons DbUtils for the DAO
layer. My DAO methods
Erik,
Oh, I have worked on a project where that was the
pattern I designed for myself!! One accepted a
connection for transactions, the other for
self-contained singleton executions. Yup, it's a great
pattern.
You raise an interesting point. I never thought about
using a middle-man between my
Peter writes:
(2) Stubbing of abstract attributes for framework
implementation like Tapestry.
Are you talking abouting the ``jwcid'' attribute?
No.
When you create a Tapestry page, you don't have to
implement the getters - or even write the setter
methods for attributes (unless you want to
Pham,
Go into your Tomcat/conf directory and edit the
default web.xml. You want to turn directory listings
off from the default servlet:
servlet
servlet-namedefault/servlet-name
servlet-class
org.apache.catalina.servlets.DefaultServlet
/servlet-class
Hi guys,
I have some ideas for some enhancements for Struts. I
am glad we are moving along with 1.2.x and 1.3, but
are we allowed to have discussion about the revolution
of it too?
I like to think that Ted Husted's Struts Jericho could
get going soon. We have Shale (although I think JSF
is not
Frank,
I am fond of these two ideas (see following). Heck, I
would be willing to even write them if I think there
would be a chance of someone actually commiting them
into the Trunk!!
There are four things that I am very fond of and they
are all tightly integrated:
(1) POJO for forms
(2)
Przemyslaw,
Thanks for pointing this out! I use dispatching
actions in my application and each one has a cancelled
method. Under this paradigm, I don't think there is
any danger for me.
Would you agree?
Thanks,
Paul
Start
Why would not you stick *all* data including data
that you are editing, into a form bean with session
scope?
Michael,
This is a good question. I've thought about this
methodology for years and, for the time being, I only
put into the Form object what could be editable. All
read only objects I
601 - 625 of 625 matches
Mail list logo