Duane,
As far as I understand, "disabled" is a property of the form which should
be denoted as
document.forms[0].disabled
and not just by disabled as you have done in
if(disabled ==true )
change it to:
if( document.forms[0].disabled == true )
and it should work.
This is the reason the
I think the beans u are talking are ActionForm..???
If so no need to worry.When u define action in struts-config.xml, you provide
scope for ur bean as
once bean scope is provided, struts creates a variable named as "yourFormBean"
in scope you specified.You can just remove this variable from
I put keys into the tile definition eg
Then I just treat them as keys. Using either JSTL/EL ()or
Struts tags () to fetch the text from the message resources.
The tiles tags don't provide a method of getting the value directly from
the resource.
so I use so that the values are
availab
I can't imagine that this question has not been asked before, but I could
not dig up answers in the mail archives or the online documentation. I
apologize in advance if there is an obvious answer that I do not see.
Instead of embedding a text value in my tiles definition file like this:
--- "O. Oke" <[EMAIL PROTECTED]> wrote:
> Can anyone please tell me where the "main" (public
> static void main...) class of a Strus web application
> can be found. To put it another way, when I click a
> button in an HTML form, which "main" class kick starts
> the chain of processing that eventu
J2EE App Servers:
Resin, Tomcat, Orion
DB:
MySQL, PostgresSQL, Sybase ASA (not ASE)
Framework:
APache/iBatis PetStore
good luck.
.V
People are conversing... without posting their email or fi
Dave,
You can use this: HttpSession.invalidate(); and poof! there go all your
beans..;)
regards,
Geeta
David Thielen <[EMAIL PROTECTED]>
08/05/2005 06:14 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Deleting all beans
Hi;
When
Hi;
When a user logs out I would like to delete all beans that JSF created
and attached to the session. And I would like to end the session too if
possible.
Is there a way to do this. Preferably without having to know the names
of the beans as that requires we not miss one.
Thanks - dave
Fair enough.. and I'll resist the temptation to ask when you think/hope
those "couple of rounds" will be done..;)
Thanks again for your time!
Geeta
Craig McClanahan <[EMAIL PROTECTED]>
08/05/2005 03:59 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Sub
From: "O. Oke" <[EMAIL PROTECTED]>
To put it another way, when I click a
button in an HTML form, which "main" class kick starts
the chain of processing that eventually leads to my
action class being executed?
The "entry point" for Struts is in the doPost (or doGet) method of
org.apache.struts.
O. Oke wrote:
Can anyone please tell me where the "main" (public
static void main...) class of a Strus web application
can be found. To put it another way, when I click a
button in an HTML form, which "main" class kick starts
the chain of processing that eventually leads to my
action class bein
it's somewhere deep inside the servlet container.
I think what you need to look at is the action servlet, which is defined
in the web.xml in a struts webapp
O. Oke wrote:
Can anyone please tell me where the "main" (public
static void main...) class of a Strus web application
can be found. To
Can anyone please tell me where the "main" (public
static void main...) class of a Strus web application
can be found. To put it another way, when I click a
button in an HTML form, which "main" class kick starts
the chain of processing that eventually leads to my
action class being executed?
Than
hi,
perhaps the subject should be stout vs. porter vs. bitter vs. pale ale vs.
pilsner;)
as an open source advocate and user, i usually recommend open source
solutions. however, i have a rapidly growing client that is uncomfortable
with open source, and has plenty of money.
i haven't worked wit
On 8/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thank you for the detailed reply, Craig. The reason I was hesitating going
> whole hog into Shale was I was worried the functionality of Struts that I
> have gotten used to may still be in an incumbent stage in Shale. However
> since you sta
hi all ,
thanx every one who helped me in i18n , i put the application files
inside classes folder and now its working fine , and now i got now one
doubt , i have defined for two languages english and italina , but all
the time its displaying english , and if i want to display it in
italian langua
oops sorry, I meant spring or some other framework..
[EMAIL PROTECTED]
08/05/2005 03:37 PM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Struts Users Mailing List
Subject
{Spam?} Re: {Spam?} What is the recomended framework
..and for this particula
Hi,
I'm using Struts 1.1 for my web application. I have a
problem with retaining my form bean values in the
following scenario:
I have a JSP page with portions displayed in sequence
based on user action. I have 3 buttons on the page and
parts of the JSP page are displayed when the user
clicks on e
..and for this particular list one question that will be of interest is:
"Would people who know and love Struts find Shale easier/more familiar,
etc. than say MyFaces"? After all, Shale was almost chrstened
Struts2.0 I know, I know, I ought to research all the possiblities,
but for some rea
I think the true answer to that question is it depends.
What is your tolerance for "new technology"?
What is your expectation for integration with older systems?
What is your developer experiance base?
etc
Personally, if I were starting a project from scratch with no chance of integration wi
Thank you for the detailed reply, Craig. The reason I was hesitating going
whole hog into Shale was I was worried the functionality of Struts that I
have gotten used to may still be in an incumbent stage in Shale. However
since you state that JSF+Shale "has pretty much all the functional
featur
Senthilrajan VS wrote:
I am using and using collections. I want to put into
this. Is it possible to have using .
Can't you just include it in your JSP?
L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---
Emmanouil Batsis wrote:
Laurie Harper wrote:
When it comes to server-side Java components and libraries, I
generally find most of what I need at Jakarta or elsewhere at Apache;
it's certainly one of the first places I always look. Is there a
'Jakarta' of client-side components?
Some folks h
I agree with your general impression of sites like that... and, DD has
it's share of "gee whiz, that's neat but oh so annoying!" content too...
but when you find the good stuff it really tends to be *very* good.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http:/
Hi;
This whole struts/shale/jsf/spring/kitchen sink discussion has brought
up a fundamental question.
What should we use, assuming new code to keep it simple.
So, what should we be using on the presentation and persistence side?
JSF and Hibernate seem to be a yes from everyone.
But what ab
I'll have to have a dig around on there. I find sites like that tend to
have an overwhelming amount of trivial or just plain annoying scripts (I
*hate* sites that have a little bumble bee chasing my mouse around the page
;-) rather than full-on UI components, but having done very little with
Ja
It is definitely an option and does what it purports to do, for the most
part. However, if you get stuck and need help, I've found that you are
on your own for solutions. I think that Struts-Faces integration needs
its own mailing list, though.
Kevin Hinners
Senior Technical Analyst
FedEx Serv
Wendy Smoak wrote:
From: "Laurie Harper" <[EMAIL PROTECTED]>
This really should be an FAQ :-) The problem is that it's not legal to
nest JSP tags that way. Try:
That prevents the framework from re-displaying the user's input if the
form fails
validation.
At the risk of repeating myself:
I have the following Javascript primarily used to manipulate a CSS style
and make a portion of a form visible. In the process, the achor invoking
the JavaScript passes parameters from a table Row(resultset) displayed.
In this Row, I have two bean properties declared as Java type Boolean.
The toStri
Michael Jouravlev wrote:
On 8/4/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
The idea of a DTO is to encapsulate the persistence logic so that it can be
independent of the model representation and business logic, and easily
replaceable.
I thought that this is the idea of DAO.
Oops, typo, I m
On 8/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thank you for your response, Kevin. I was starting to think that too..
>
> However, I went back and listened again to Craig's talk in the serverside
> Java Symposium (and that was only in March of this year):
> http://www.theserverside.com/
I agree with Laurie below that (b) is probably the culprit, except I know
I have read (on struts.apache.org) that the only place your struts.jar
ought to be is in WEB-INF/lib of your web application. If for example
other copies are present elsewhere (other than in a web application
context) I t
Hi Anoop, your first note says your error is: "Missing message for key
"app.username". So make sure you have a property called app.username in
your resources file.. Also, I believe you should put your file in
WEB-INF/classes not in WEB-INF...
Regards,
Geeta
"peeths @struts" <[EMAIL PROTECTE
Hi,
I have this in struts-congig.xml
and here the error i get
5-08-05 13:54:30 StandardContext[/DIDE]Servlet /DIDE
threw load() exception
javax.servlet.UnavailableException: Parsing error
processing resource path
Thank you for your response, Kevin. I was starting to think that too..
However, I went back and listened again to Craig's talk in the serverside
Java Symposium (and that was only in March of this year):
http://www.theserverside.com/symposium/presentations.html
I understood him to say that usin
Titi Wangsa wrote:
i'm havig problem with struts.
i'm using 1.2.7 and i'm using the validator plug-in
the problem is when i'm using html:javascript forname=
the name attribiute for form
is not rendered when
however when only is specified, without turning on the
xhtml feature,
the tag is ren
hi ,
i have added
but still i'm getting the same error , i 've placed the resource files
inside WEB-INF folder , how can i recover it .
regards
Anoop
On 5 Aug 2005 05:02:58 -, d d <[EMAIL PROTECTED]> wrote:
>
> u can download MyEclipse (MyEclipse Enterprise Workbench) from Myeclipseside
I haven't used WLS much, but this is almost certainly either (a) you don't
have the Struts jars in place as you think you do ;-) or (b) there are
copies elsewhere on WLS's classpath. Does it have a copy of Struts bundled
or something? Try removing struts.jar from WEB-INF/lib. If that changes the
My experience with this mailing list is that the Struts-Faces
Integration library has been abandoned, at least as far as development
and support goes. I never had any success getting responses from anyone
on this list.
Kevin Hinners
Senior Technical Analyst
FedEx Services
350 Spectrum Loop
Colo
On 8/5/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-08-05 at 08:13 -0600, Larry Meadors wrote:
>
> >
> > Who cares? is opacity not the point of Object Oriented-ness?
> >
>
> maybe. But code readability is the more important feature :-)
>
> leon
Agreed, and IMO, the C# version is
Struts and JSF are apples and oranges. Read Rod Johnson on this.
Putting them together in an application will inevitably lead to
someone who does know that is going on to realizing that you do not.
On 8/5/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
> Ok, that brings up this question.
The operative word here is "if". An "if-then" statement says nothing
unless the "if" clause is true, which it is not in this case. If you
think it is, then, instead of hitchhiking on Rod, please explain how
it is. I cannot see the slightest resemblance myself.
On 8/3/05, Michael Jouravlev <[EMA
So is anybody using struts-faces and trying to integrate struts with jsf?
Or is that project kind of abandoned now..?
Craig McClanahan <[EMAIL PROTECTED]>
08/05/2005 12:18 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Re: [OT] What to ch
On 8/5/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
> Ok, that brings up this question. If we are creating a portlet and it has to
> run on every portal, is Shale+JSF as easy to install and portable as just
> JSF?
Not yet ... but that's a definite goal. There are still some spots
where t
Hi;
Ok, that brings up this question. If we are creating a portlet and it has to
run on every portal, is Shale+JSF as easy to install and portable as just
JSF? We're willing to live with more pain during development to make the
final product as easy as possible to install and totally portable.
An
On 8/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Gurus,
>
> Sorry for the OT.
> I have been working on jsp/servlets for a last four years to create web
> pages. Now that I have found out there is more out there, I am in a dilemma.
> Which one should I learn and why? I have a big w
On 8/5/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-08-05 at 08:13 -0600, Larry Meadors wrote:
>
> >
> > Who cares? is opacity not the point of Object Oriented-ness?
> >
>
> maybe. But code readability is the more important feature :-)
>
> leon
Agreed, and IMO, the C# version is
Agreed.
/me shudders...
Larry
On 8/5/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> Daniel Perry wrote:
>
> >you can do that without the getter/setter in java as MyProperty is public.
> >
> >
> Public properties--now _that_ is evil!
>
> Dave
>
>
>
> --
On 8/5/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-08-04 at 17:05 -0700, Michael Jouravlev wrote:
> > You mean, separate view from the business object, not from the data?
> > ;-) Anyway, I am not sure that this separation is needed, unless view
> > layer is developed by an evil thi
From: "Ayusman dikshit" <[EMAIL PROTECTED]>
Where can I find struts documentation same as HTML format javadoc for
java SDKs
Which I can download and refer as I need.
Assuming you're working with Struts 1.2.7 or prior, the distribution will
have included 'struts-documentation.war' in the 'weba
Daniel Perry wrote:
you can do that without the getter/setter in java as MyProperty is public.
Public properties--now _that_ is evil!
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Leon Rosenberg wrote:
On Fri, 2005-08-05 at 08:13 -0600, Larry Meadors wrote:
Who cares? is opacity not the point of Object Oriented-ness?
maybe. But code readability is the more important feature :-)
If I'm reading the code and see a property access all I need to know is
that I'm acce
Hi;
I'm still a newbie to JSF so take this with a grain of salt. JSF is a lot
like the Mac - you have to do things it's way but if you can fit within it's
paradigm, it works very very well.
- dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: Ted Husted [
Your one-stop shopping destination:
http://struts.apache.org/
Specifically, the User's Guide:
http://struts.apache.org/userGuide/index.html
And the Struts Javadocs (probably what you were looking for):
http://struts.apache.org/api/index.html
Note that these links always point to the most rece
Here you go:
http://struts.apache.org/api/
(you could also google..:)
regards,
Geeta
"Ayusman dikshit" <[EMAIL PROTECTED]>
08/05/2005 11:33 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
{Spam?} Re: Struts documentattion
Hi All,
I am a
Hi All,
I am a new bee.
Where can I find struts documentation same as HTML format javadoc for
java SDKs
Which I can download and refer as I need.
Please suggest.
Ayusman
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
Hi all:
I am using struts-faces to integrate my Struts+Tiles app with faces and am
following pretty much the advice in "Best of Both worlds" article here:
http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk8.html
Here's my question: My left nav bar contents is menu.jsp and has a bu
I would personally tend to agree the C# syntax is cleaner... but I don't
think the difference is all that big frankly and it probably comes down to
a matter of developer proference rather than what's actually "better" in
some way.
They both functionally *DO* the same thing though... your executing
On Fri, 2005-08-05 at 08:13 -0600, Larry Meadors wrote:
>
> Who cares? is opacity not the point of Object Oriented-ness?
>
maybe. But code readability is the more important feature :-)
leon
-
To unsubscribe, e-mail: [EMAIL
On 8/5/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-08-05 at 07:18 -0600, Larry Meadors wrote:
> > You don't see it?!? Have you looked?
> >
> > As a self-professed Java bigot, I will readily admit that C# has a
> > *way* better sytax for defining and using properties that I wish Jav
eh? you can do that without the getter/setter in java as MyProperty is
public.
Daniel.
> -Original Message-
> From: Larry Meadors [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2005 14:18
> To: Struts Users Mailing List
> Subject: Re: [OT] DTOs are evil
>
>
> You don't see it?!? Have you lo
On Fri, 2005-08-05 at 07:18 -0600, Larry Meadors wrote:
> You don't see it?!? Have you looked?
>
> As a self-professed Java bigot, I will readily admit that C# has a
> *way* better sytax for defining and using properties that I wish Java
> would implement (or even better - improve upon).
>
> publ
You don't see it?!? Have you looked?
As a self-professed Java bigot, I will readily admit that C# has a
*way* better sytax for defining and using properties that I wish Java
would implement (or even better - improve upon).
public string MyProperty {
get { return myProperty; }
set
P.S. By the way, Rod Johnson also said persistent objects that contain only
getters and setters are evil too (same page as dto, 27). In my understanding
it means hibernate and ibatis which use such objects are at least as evil?
How are you supposed to represent data anyway then?
the issue is not
Hi all,
I am using and using collections. I want to put
into this. Is it possible to have using .
Thanks & Regards,
SenthilRajan VS
A good starting point would be Mastering JavaServer Faces, which does
a good job of comparing Struts, JSF, and Swing in the context of
introducing JSF.
*
http://opensource.atlassian.com/confluence/oss/pages/viewpage.action?pageId=278
My favorite book for Struts newbies is Struts for Dummies
*
> employeeDAO.updateEmployee( employee );
>
> From what I recall the real OO way would be...
>
> employee.update();
>
> and employee takes care of updating itself.
>
I made a BaseBO using OJB, which has the create, update, softDelete,
hardDelete, findById, findByCriteria methods. It also has an
Laurie Harper wrote:
When it comes to server-side Java components and libraries, I
generally find most of what I need at Jakarta or elsewhere at Apache;
it's certainly one of the first places I always look. Is there a
'Jakarta' of client-side components?
Some folks have been working on JSA
Hi,
I've a little problem with form population after a multipart request's
file size exceeded. What I do is testing the file size of an uploaded
file in the validate method of a form:
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest reque
On Thu, 2005-08-04 at 17:05 -0700, Michael Jouravlev wrote:
> On 8/4/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> > Each software system (which is large enough...) has more then one layer.
> > Different layers usually handles same data. Each of the layers has ist own
> > view on the data. The bu
This works really well, we have our own reporting application that generates xml, from the interface
you can generate a pdf on the fly using xsl-fo via a struts action that writes to the response and
returns null;
The nice thing about using xsl-fo is that you can switch the stylesheet to a gnum
I have never worked with PDF, but I hear that XSL-FO can be translated
into PDF easily. Have you people ever considered keeping the document in
XSL-FO and then fork it where one path converts it into PDF where you
need it and the other path converts it into (X)HTML with which you can
do anythin
If someone cares, I wrote a piece on web islands, which are
essentially multi-state multi-page resources.
http://www.jroller.com/page/javadujour?entry=islands
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
73 matches
Mail list logo