Polymorphism is late binding and is not "implemented" per se. It is
used, of course. When you implement an interface with different
classes, late binding determines at runtime how to handle the class if
it is passed in as a member of the interface type.
On 21 Jul 2005 04:53:21 -, syed abrar
This code does not belong to Michael. It is purloined from
www.michaelmcgrady.com and other discussion on this list. Michael did
not even know the reasons for most of the code when he first proposed
it as his own. To think he could have coded it under those
circumstances would be akin to expectin
just adding my 2 cents.
I do agree there is no technology which fits all the requirement, I have
used Hibernate 2.X and it really is a big help for normal persistance,
however on some situations it was a nightmare, I hope they fixed up that in
Hibernate3.x.
Never worked with IBatis, so can not
From: "Aleksandar Matijaca" <[EMAIL PROTECTED]>
I would like
to automatically place a little red * right beside the input field.
For my password confirmation field, wnen I put
beside the text field, I get the WHOLE STRING for the 'required'
validation,
instead, I would like to display only a *
It didn't work, but thanks for the effort Laurie...
Regards, Alex.
On 7/21/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> You could add errorClassId on the input element and use CSS to insert an
> image of a little red *... :-) I can't think of a clean way to find out if
> an error exists f
Thanks Laurie, I will try it !!
Cheers, Alex.
On 7/21/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> You could add errorClassId on the input element and use CSS to insert an
> image of a little red *... :-) I can't think of a clean way to find out if
> an error exists for a particular prope
You could add errorClassId on the input element and use CSS to insert an
image of a little red *... :-) I can't think of a clean way to find out if
an error exists for a particular property though. This might work (haven't
tried it):
*
L.
Aleksandar Matijaca wrote:
Hi there,
I am current
Hi there,
I am currently using the struts validator, and it is working pretty good.
My basic error block looks like this:
As I said, it loks fairly simple and it works. HOWEVER, I would like
to automatically place a little red * right beside the input field.
For my password c
Laurie:
I need to get the value of the text field from the feature bean, not
just the feature bean itself.
So, I had the change your code to:
And it worked perfectly.
Thanks for tip!
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable
I'd have to agree... It has not been unusual to estimate three months
for something, and that's fairly realistic to do it right, and the
business says "nope, 1.5 months is when we need it". Well, what the
heck did you ask me for an estimate for in the first place then?!?
I'm a lead architect
What qualifies as unreasonable? ..give the project lead 2 weeks and he/she
cuts it to 2 days?
BTW: Thats 99% of the companies Ive worked for..
Where specifically do they NOT follow that behaviour?
M-
- Original Message -
From: "Derek Broughton" <[EMAIL PROTECTED]>
To:
Sent: Thursday, J
Frank W. Zammetti wrote:
> In such cases, the application IS important enough to code
> trials, but the business won't allow you to but they STILL want you to
> sweat the decisions! This is a typical way of doing things, going by my
> experience.
It depends what _your_ job is. If you're a consu
Ah OK, well then as you suggested, I suppose he'll have to track it himself.
Erik
-Original Message-
From: Laurie Harper <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 6:21 PM
To: user@struts.apache.org
Subject: Re: Forward to current page
But the 'current request' would be the one to the local
On 7/21/05, Hernandez, Mariano <[EMAIL PROTECTED]> wrote:
> "We've secretly replaced this developer's logic-el tag library with a
> de-el-finated one. Let's see if he notices."
>
>
>
> Thanks for the invite to ask questions, but seems someone was playing around
> with the tag namespaces, so I re
"We've secretly replaced this developer's logic-el tag library with a
de-el-finated one. Let's see if he notices."
Thanks for the invite to ask questions, but seems someone was playing around
with the tag namespaces, so I really didn't have a question.
Mariano
On 7/21/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Struts Dialogs are stateful, thus if you reload the same action, you
> get the same page ;-)
>
Oops, meant to say that if you reload the same action, you get a page
corresponding to current action state. Which could have changed
becaus
On 7/21/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
> Hi
>
> How can I forward to current page in Action ? I created locale change
> action and want to execute it form every page of site and always get
> back to the curent page.
Generally, action does not know about "current" page, because Action
i
But the 'current request' would be the one to the locale change action,
which wouldn't help figuring out where to go after it's complete. You need
to know what the /previous/ request was for that.
L.
[EMAIL PROTECTED] wrote:
ActionMapping.getPath might help. If not, there are various attribut
lk wrote:
I need to show the character "'" (′) inside an html:text tag.
The problem is that the tag html:text renders an html text field
substituting the escape sequence with the following sequence: ′
It seems that the amperseand is substituted with the sequence &.
Why?
To protect ag
Your tag is using the 'name' attribute, which tells it to
associate itself with a specific bean instead of the containing form bean.
>> >rows="3" cols="75"/>
This binds the text area to the property named 'text' on the 'feature' bean
defined by the enclosing . That's not what you wan
ActionMapping.getPath might help. If not, there are various attributes that
Struts sets that give you path/mapping information about the current request.
Erik
-Original Message-
From: Daniel ?a? <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 2:27 PM
To: Struts Users Mailing List
Subject: Forw
I have to agree with Rick. I have said this before, and will again -
Hibernate is fine if all you want is "persistence".
Hibernate is a major PITA if you need to share the database with other
applications, or if you have to work with a LARGE database, or if you
have to work with a legacy database
Daniel Łaś wrote:
How can I forward to current page in Action ? I created locale change
action and want to execute it form every page of site and always get
back to the curent page.
Two possibilities off the top of my head: have your action redirect/forward
based on the Referrer header (OK if
Cross-platform != Java. Plone/Zope is written in Python which is platform
neutral. There are tons of PHP based CMS solutions, which is also a
cross-platform technology.
I've no idea what your project constraints are, but don't think that
because it has to be cross-platform it has to be Java!
Vijay K Anand wrote:
How to access value of T1 and also the uploaded file in JSP?
You can access them as normal request parameters, or through action form
properties if you're using action forms. You need to be more specific about
what you want to do probably.
L.
--
Laurie, Open
Frank W. Zammetti wrote:
The business wants that new product NOW. They want the efficiency gains,
the added functionality, whatever, NOW. They would say it is extremely
important. But, they tend to not really care too much about the
technology. In such cases, the application IS important enou
Lindholm, Greg wrote the following on 7/21/2005 1:01 PM:
If your building anything bigger then a toy project then forget POJO
DAOs. You'll spend all your time writing grunt-work plumbing and error
handling and maintenance is a nightmare.
I give a big thumbs-up to Hibernate!
I'd argue just th
We use cewolf - an open source tag library to render our graphs in our
struts app. (basically generates an image map). Im not sure how to
create graphs using struts itself. But cewolf is easy and is built on a
larger API, so you can get pretty fancy.
-Original Message-
From: Rajesh [mai
then take a look at coremedia
:-)
We've payed about 250.000 for it once, but it was worth the money :-)
leon
_
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 21. Juli 2005 22:56
An: Struts Users Mailing List
Cc: 'Struts Users Mailing List'
Betreff: Re: AW:
then take a look at coremedia
:-)
We've payed about 250.000 for it once, but it was worth the money :-)
leon
_
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 21. Juli 2005 22:56
An: Struts Users Mailing List
Cc: 'Struts Users Mailing List'
Betreff: Re: AW:
You need to use wildcard action mappings:
http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards
I've posted around this subject a few times; check the archives for threads
with 'path info' or 'wildcard' in the subject :-)
L.
Ed Griebel wrote:
Hmm, that's inter
Pardon my rudeness.
Welcome to the list.
Yes, ask.
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: Jul 21, 2005 4:48 PM
To: Struts Users Mailing List
Subject: Re: New here
Yes, ask.
Erik
-Original Message-
From: "Hernandez, Mariano" <[EMAIL PROTECTED]>
Sent: Jul 21,
Yes, ask.
Erik
-Original Message-
From: "Hernandez, Mariano" <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 4:36 PM
To: "'user@struts.apache.org'"
Subject: New here
Hello all. Before I ask, is the appropriate place for tiles and logic tag
questions.
Mariano Hernandez
---
Hello:
Does anyone have any ideas on how to get this to work?
Is this a bug?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.
As always free is better :)
but not a requirement
">"Leon Rosenberg" <[EMAIL PROTECTED]>
"Leon Rosenberg" <[EMAIL PROTECTED]>
07/21/2005 04:20 PM
Please respond to
"Struts Users Mailing List"
To
"'Struts Users Mailing List'"
cc
Subject
AW: [OT] Struts and Content Manage
dumbQuestionsAsker _ wrote:
Hi everybody,
Im wandering a way to add or modify messages into a .properties file
only using Struts(cause I can do it using java.io or nio)
You mean you want to programatically update a properties file? I don't
think Struts provides anything to help with that.
L
Hello all. Before I ask, is the appropriate place for tiles and logic tag
questions.
Mariano Hernandez
Daniel Henrique Ferreira e Silva wrote:
Hi BHansard,
Do you really have to stick to Java for a CMS?
If, and only if, java is not mandatory for your project, i'd go for
Zope + Plone.
Or PHP like drupal, tiki-wiki, etc.
Html works best on p-langs imo. (which is why I wrote a webstart)
.V
-
You need a free cms system?
If not have a look at coremedia (www.coremedia.com)
It's the (imho) best cms available, very well architectured, fast, uses
corba,
Supports multiple databases... works perfectly with struts.
:-)
Regards
Leon
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED
You need a free cms system?
If not have a look at coremedia (www.coremedia.com)
It's the (imho) best cms available, very well architectured, fast, uses
corba,
Supports multiple databases... works perfectly with struts.
:-)
Regards
Leon
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED
I just happened across Magnolia earlier today, I've not used it so not a
recommendation just a pointer.
http://www.magnolia.info/en/magnolia.html
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 3:54 PM
To: Struts Users Mailin
Agree with Ted that you may use any of the Java technologies.
If more people can code their real application in Java, Java has hope. I like
more doers (who developed real site to compete with other technologies such as
php) than talkers.
John H. Xu
Technology columnist/editor, Manager
http:/
Whoa, finally! I uploaded a patch, well not a patch, a full source
code for SelectAction, which replaced DispatchAction in my projects.
It handles pushbuttons, image buttons and regular links uniformly and
allows to set an arbitrary caption for a pushbutton, which does not
relate to a method name.
ridiculous!
On 7/22/05, Maya menon <[EMAIL PROTECTED]> wrote:
> same for hibernate and spring.
>
> Rokibul Islam Khan <[EMAIL PROTECTED]> wrote:whats about hibernate and spring
> ?
>
> On 7/22/05, Maya menon wrote:
> > For us, struts is the company wide standard, so we take it.
> >
> > The rest
Hmm, that's interesting, with one of my webapps it doesn't work for me either!
I haven't had a use for this yet so I haven't run into this issue, so
I don't know if there's a standard way to handle this in Struts. Seems
like extending RequestProcessor to ignore trailing url arguments is
over the
For the applications that we are running, we do require cross platform compatability. I will check out both of these. Thanks for the information.
Daniel Henrique Ferreira e Silva <[EMAIL PROTECTED]>
Daniel Henrique Ferreira e Silva <[EMAIL PROTECTED]>
07/21/2005 04:30 PM
Please respon
Hi BHansard,
Do you really have to stick to Java for a CMS?
If, and only if, java is not mandatory for your project, i'd go for
Zope + Plone. Together they are, imho, the best option for a CMS
system available nowadays. Sure, as anything in this world, they
aren't perfect, but you can have a grea
Have you tried storing it in a variable using using and having
escapeXml="false" and then putting that variable inside the value attribute
of the tag?
- Original Message -
From: "lk" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 21, 2005 12:40 PM
Subject: How to put the sumbol ′ int
same for hibernate and spring.
Rokibul Islam Khan <[EMAIL PROTECTED]> wrote:whats about hibernate and spring ?
On 7/22/05, Maya menon wrote:
> For us, struts is the company wide standard, so we take it.
>
> The rest [ibatis] is not a company standard, so I guess we cannot use it.
>
> Michael R
Hi
How can I forward to current page in Action ? I created locale change
action and want to execute it form every page of site and always get
back to the curent page.
Regards
--
Daniel Łaś <[EMAIL PROTECTED]>
e-direct Polska sp. z o.o.
ul. 1-go Maja 9
45-068 Opole
tel. +48 77 44 17 868
--
whats about hibernate and spring ?
On 7/22/05, Maya menon <[EMAIL PROTECTED]> wrote:
> For us, struts is the company wide standard, so we take it.
>
> The rest [ibatis] is not a company standard, so I guess we cannot use it.
>
> Michael Rasmussen <[EMAIL PROTECTED]> wrote:
> Well,
> As they were
Ted Husted wrote:
People can make any system work, but they have to *want* to make it
work.
That is deep! And very true.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For us, struts is the company wide standard, so we take it.
The rest [ibatis] is not a company standard, so I guess we cannot use it.
Michael Rasmussen <[EMAIL PROTECTED]> wrote:
Well,
As they were posed the requirements had Struts. Assuming that that
wasn't a hard requirement then it would be
Well,
As they were posed the requirements had Struts. Assuming that that
wasn't a hard requirement then it would be completely possible. The
application seems on the cover to be a fairly straightforward web app.
Any of the technologies you mentioned would be more than adequate for
the require
Sorry for the off topic,
I am starting a new project that will be struts based and will require a
content management system. I have looked at OpenCMS but was wondering what
others have used.
Basic requirements
Java 1.5
Tomcat 5.5
Struts 1.2.7 / with tiles
Any Suggestions?
On Thu, July 21, 2005 1:25 pm, Ted Husted said:
> If the application isn't important enough to code some trials, then
> it's not important enough to sweat the decision either. Pick one and
> have at it.
At the risk of going off-topic, I have to say I really don't agree with
that statement. I thin
is it possible to fullfill maya's requirment using spring+hibernate or
spring+iBatis or jsf/struts+spring+hibernate/iBatis. if not can
anybody tell me why ? sorry i am a newbie on this arena. can anyone
shed some light on my thought pls ?!
On 7/21/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
The problem is that there's not a one-size-fits-all answer to the question.
A lot depends on the size and scope of your application, the state of
your database, and the preferences of your developers.
Of the three, what your developers think might be the most important.
People can make any syste
If your building anything bigger then a toy project then forget POJO
DAOs. You'll spend all your time writing grunt-work plumbing and error
handling and maintenance is a nightmare.
I give a big thumbs-up to Hibernate!
I personally don't ever want to write SQL again, and with the tools
available
Hi,
I need to show the character "'" (′) inside an html:text tag.
The problem is that the tag html:text renders an html text field
substituting the escape sequence with the following sequence: ′
It seems that the amperseand is substituted with the sequence &.
Why?
The jstl core tag c:
On 7/21/05, Prashanth.S <[EMAIL PROTECTED]> wrote:
> Hello,
> I needed a small info.
> How many currently existing J2EE complaint Appservers support EJBv3.0 and
> what are they??
There is no completely compliant EJB3 container, because the spec
isn't final yet ... but you can see work in progre
"I like vi, it is way better than emacs."
Good grief, I hope we do not have another one of these three month flame-wars...
If you want ORM, use Hibernate.
If you want SQL mapping, use iBATIS.
Larry
On 7/21/05, Lee Harrington <[EMAIL PROTECTED]> wrote:
> Pick one. I use hibernatebut I'm su
Hello,
Pls check this
http://struts-menu.sourceforge.net/security.html
regards
marco
-Original Message-
From: Mariano Petrakovsky [mailto:[EMAIL PROTECTED]
Sent: 21 July 2005 17:07
To: Lista de correo de Struts
Subject: Struts Menu - PermissionsAdapter
I make my cus
From: "Mariano Petrakovsky" <[EMAIL PROTECTED]>
> I make my custom class implements permissionAdapter...
> How... link my menu with this class ?
It sounds like you're talking about Struts Menu. If so, does the
information on this page help?
http://struts-menu.sourceforge.net/security.html
--
Pick one. I use hibernatebut I'm sure iBatis is fine too. Either
is preferable to writing your own.
Lee
On 7/21/05, Access Denied <[EMAIL PROTECTED]> wrote:
> Alls,
>
> I can't seem to get a convincing answer to the question of using an
> ORM utilitiy, DB interface framework, or home-grown
I make my custom class implements permissionAdapter...
How... link my menu with this class ?
--
Mariano G. Petrakovsky
Programmer · Software Factory
AXG Tecnonexo - www.tecnonexo.com
Development facilities:Av. Maipú 1252 8º (C1006ACT) · Buenos Aires ·
Argentina.
Tel.: (54-11) 4878-0005 - Fax
Alls,
I can't seem to get a convincing answer to the question of using an
ORM utilitiy, DB interface framework, or home-grown POJO DAOs. Would
you guys with experience in these methodologies comment, please? I
think I am spending too much time reading propaganda from iBatis and
Hibernate, don't
Ronnie-
I was looking at the stack dumps you provided and there are some
filters in there, possibly someone else has set them up. Regardless,
it doesn't look like that is causing your problem.
ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 252
Applicati
Hi All
How to access value of T1 and also the uploaded file in JSP?
Regards
Vijay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Kent,
Accd to
http://struts.apache.org/userGuide/building_controller.html#dyna_action_form_classes
"The JSTL EL syntax for referencing a property of an ActionForm goes like this:
${formbean.prop}
"The syntax for referencing a property of a DynaActionForm would be:
${dynabean.map.prop}
"
Hi Ed
Thanks for your help.
Ed Griebel napisał(a):
Hi Daniel-
1) You can set up a Session Listener, which is a class which
implements HttpSessionListener. You implement 2 methods,
sessionCreated() and sessionDestoryed() to do what you need to. This
will need to be added to web.xml file under
Hi Daniel-
1) You can set up a Session Listener, which is a class which
implements HttpSessionListener. You implement 2 methods,
sessionCreated() and sessionDestoryed() to do what you need to. This
will need to be added to web.xml file under a
class path and
name. Here is an old article but it's
s
Rajesh wrote:
hi i am generating reports in a struts based applicationnow i want
to show data graphically also using pie-charts and bars hoe to go for it
Rajesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Hello,
I needed a small info.
How many currently existing J2EE complaint Appservers support EJBv3.0 and what
are they??
Thanks
Prashanth
Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 7/20/05, Nitish Kumar wrote:
>
>
> Personally, I am not a big follower of EJB and I echo the sentiments th
From: "Rajesh" <[EMAIL PROTECTED]>
hi i am generating reports in a struts based applicationnow i want to
show data graphically also using pie-charts and bars hoe to go for it
I'm using JFreeChart http://www.jfree.org/jfreechart. I haven't done more
than put a basic pie chart on the page s
Hi
I'm new to Struts and have two questions:
1. How can I define common session initialization routines, eg. I'd like
to run some code every time session is created.
2. How should I configure struts/tomcat to make PathInfo avalbale? Lets
say I have DefaultAction action configured. When I type
U
Paul,
I agree. It will work if you don't forget override cancelled method in every
action. The better solution is to do it in BaseAction.
Regards,
Przemyslaw
> Przemyslaw,
>
> Thanks for pointing this out! I use dispatching
> actions in my application and each one has a cancelled
> method. Under
I am recently interested in a commercial product named "Fusion Charts2.3".
http://www.infosoftglobal.com/FusionCharts/Site_Doc/HelpDocs/Index.html
Fusion Charts is Macromedia Flash based animated charting solution for the
web. However you do not have to be an expert for Flash/ActionScript stuff
If the API has the functionality and I think it does I would use the Jakarta
POI API to do them in a spreadsheet.
-Original Message-
From: Rajesh [mailto:[EMAIL PROTECTED]
Sent: 21 July 2005 06:52
To: user@struts.apache.org
Subject: Graphs in Struts
hi i am generating reports in a struts
Hi,
Ok, that was the first step.
But you should also change the
line in your struts-config.xml to use the struts-config_1_2.dtd instead
of struts-config_1_0.dtd.
Hope that it will work now,
Tamas
Swapnil Patil wrote:
Hi Tamas,
Now I have included stuts1.2.7.jar, along with
struts-c
Hi Wendy,
I'm not using Filters.
Ronnie.
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 20 de julio de 2005 20:02
Para: Struts Users Mailing List
Asunto: Re: TilesRequestProcessor is executed twice
From: "Ronnie Arosa" <[EMAIL PROTECTED]>
> Well, I'
Hi David,
1) My form declaration:
2) That's one of my forms in a .jsp page
">
Hi everybody,
Im wandering a way to add or modify messages into a .properties file only
using Struts(cause I can do it using java.io or nio)
Thanks in advance.
_
MSN Search : des réponses à tous vos besoins !
http://www.imagine-m
Hi Tamas,
Now I have included stuts1.2.7.jar, along with
struts-config_1_0.dtd.
struts-config_1_1.dtd.
struts-config_1_2.dtd.
in \webapps\register\WEB-INF\lib
Resorce file path is
\webapps\register\WEB-INF\classes\resources\MessageResource.properties
still I am getting the same error. Ever
Hey Swapnil
Check the resource Folder path, I think it must be in the dir structure
as Web project folder/Java Resource Folder/package folder(optional)
/resources/...files
In struts conf file would be as
I think its works fine,try it.
Good luck Bye...
Hi,
I am trying a sample struts
Hi Swapnil,
You hadn't started entry in ur struts-config.xml
Try this snippet
-Original Message-
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 11:55 AM
To: Struts Users
Hi!
1.
Parse Error at line 54 column 65: Element type
"message-resources" must be declared.
org.xml.sax.SAXParseException: Element type
"message-resources" must be declared.
2.
Parse Error at line 59 column 17: The content of
element type "struts-config" must match
"(data-sources?,form-be
87 matches
Mail list logo