Re: Struts taglibs - Is data grid possible

2003-01-16 Thread Vincent Stoessel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wow, I learn something new every day on this mailing list.
Dbforms looks kinda cool. Has anyone used it with struts?

Haseltine, Celeste wrote:


You might want to check into using DBForms tag library instead of writing an
applet.  You can get more info on DBForms at
http://jdbforms.sourceforge.net/.

Celeste

-Original Message-
From: Harinath DP [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 6:02 AM
To: Struts-User
Subject: Struts taglibs - Is data grid possible 


Hi,
 
I need to implement Data grid using Struts. Can anybody guide me to how
about doing this? Do we have any taglib, which can do this?
 
-Hari
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


- -- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+JuQE07m/vvdL5r8RAvysAKCJ7tc7emQJGQY6x1K7cl9O9Fz+4wCfXkN3
Mp0BxR7+sW6V04o1TUomO+A=
=aHG6
-END PGP SIGNATURE-


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: [OT] rewards for persevering and becoming [WAS: RE: The bestway for learning struts (stupid question)]

2003-01-16 Thread Vincent Stoessel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Maybe true in many cases but ask yourself this question:
In an economy as bad as this one is, are you still employed/employable?

Andrew Hill wrote:

snip
Yes, that list is very long.  But the rewards for persevering and becoming
an expert are very great :-).
/snip

Is it?
So far all I noticed in 4 years of working is that more experience gains you
same pay, more workload, and less time for hacking round with interesting
technology or even for more mundane pursuits (such as sleeping or spending
time with family)...
:-(




- -- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+Jwrf07m/vvdL5r8RAjEnAJ9Mb5M79/nVqKImeeAL3WetE372fACgkMMo
pk0Vzz9Cp5NY71dqH7WEA9M=
=4yUc
-END PGP SIGNATURE-


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: Problem running Struts-example on JBoss 3.0

2003-01-09 Thread Vincent Stoessel
Unless you really need to use Tomcat (which I love) I would suggest 
using the default Jboss/Jetty version. Struts 1.1b+ runs fine with that
combo.

Mervin Williams wrote:
I deployed the struts-example sample application onto the Jboss 3.0
server, but am getting errors.  If anyone has the struts-example running
on Jboss 3.0, please let me know how you overcame these errors.

Here are the errors:

14:12:20,706 INFO  [ValidatorPlugIn] Loading validation rules file from
'/WEB-INF/validator-rules.xml' 14:12:20,736 ERROR [Digester] Begin event
threw exception
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.apache.commons.validator.ValidatorAction
. . .
14:12:20,816 ERROR [ValidatorResourcesInitializer] Error at (51, -1: No
ClassLoaders found for: org.apache.commons.validator.ValidatorAction
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.apache.commons.validator.ValidatorAction
. . .
14:12:20,916 INFO  [ValidatorPlugIn] Loading validation rules file from
'/WEB-INF/validation.xml' 14:12:20,926 ERROR [Digester] Begin event
threw exception
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.apache.commons.validator.FormSet
. . .
14:12:21,006 ERROR [ValidatorResourcesInitializer] Error at (13, -1: No
ClassLoaders found for: org.apache.commons.validator.FormSet
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.apache.commons.validator.FormSet


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Adding another servlet into the mix

2003-01-08 Thread Vincent Stoessel
Hello,
I am playing with inetsoftware's crystalclear servlet. I have it running
in a seperate context than my struts app. I was wondering if editing and 
adding their servlet into my struts context break the single servlet 
rule. This servlet only generates reports and would not try to be a 
controller at all. In fact it only does stuff to .rpt files judging by 
it's web.xml. So it's ok right?
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: Wanted a Good Struts Book

2003-01-08 Thread Vincent Stoessel
mech wrote:

Avoid Mastering Jakarta Struts. It was on sale at Amazon, so I took it
(at that time all newer (more) up-to-date books weren't available yet).
Actually for a simple application it's okay, but I got the impression
that it's not really complete. It's somewhere stuck in between Struts
1.0 and 1.1. I guess it's fine, if you don't mind to read the Struts
docu whenever you exceed the scope of the book.
And the taglibs, only mentioned in the appendix... Well just written
down what you could find in the documentation. Hardly any examples for
tag usage (except those cases you could figure out yourself because
obvious) 



I would disagree on that point. All the taglibs have
1. a definition of every attribute.
2. working example of the tag.
3. example of what the rendered html result will look like.

There may be errors as mech said, but I have not run across one yet.
I have Chuck and ted's books as well. Weighing in as the thinnist book
of the bunch , I still use it as a tag reference. Having said that I 
love ted's book a lot, it is stuffed with a lot of excellent 
information.A lot of question that are asked frequently on this list
are answered in this book. Chuck's book I have not had a chance to 
really evaluate it fully but I liked what I have seen so far.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: FYI: Struts in Action Unavailable at Amazon

2003-01-03 Thread Vincent Stoessel
3rd printing huh?
Congrats to you all! Who says you can't make a living off of
open source?

Ted Husted wrote:

After several inquiries, my publisher has finally gotten Amazon to
update their database to reflect the true status of the book, Available
in 24 hours.

They do have copies in the warehouse, and a third reprinting is in the
works for when these run out.

Thanks for bringing this up =:0)

-Ted.



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Vincent Stoessel
Micael wrote:

To everyone:

I am not of the Christian faith, so I do not join in the Christ in 
Christmas, but do have my own faith which also celebrates this time of 
year, and I wish you all the best of Holidays.  Jerusalem turned out to 
be the hub of many major world religions, and so did this time of year.  
Following Thanksgiving and the season of gratitude, this time of year is 
especially good to take stock, and then to start the New Year with new 
growth and new hope.

I don't know if you have heard this before, but I like the explanation 
of what the eye of the needle was when Jesus made the comparison 
between a camel going through the eye of the needle and a rich man going 
to heaven.  The gates of towns in those regions and East were open in 
the day and closed at night.  In the gate itself was another thin and 
short gate, which was called the eye of the needle.  For a camel to 
get through the smaller gate, the camel had to disgorge its baggage, 
load, etc. and then to get on its knees.  Thus, the whole point is not 
that redemption is impossible, but that redemption is impossible without 
humility.  I think that will be my goal this year: to become truly 
humble, which I am, whether I realize it or not.

Cheers,

Micael

Amen, from the agnostic. Enjoy the Time everyone!




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [OT] HTTP fetchmail program?

2002-12-21 Thread Vincent Stoessel
I think the best bet would be for you to set an http proxy for her.
I recommend squid as the most reliable and easyest to install.
The trickiest part will be the access list that you have to set up
so read the docs. If you have trouble the squid access logs are your
friend.

Eddie Bush wrote:

You can check it on using a mail client that can do HTTP connections 
(OutlookExpress and ... surely there's another one).  That's why I 
figured that ... well I was hoping beyond hope that someone knew of a 
fetchmail-like program that would do HTTP accounts.  I suppose I could 
write something in JavaMail to do it, but I have other things that (much 
as I love my wife) need to come first.

David Graham wrote:

If Hotmail provides POP3 support it would be news to me.  I haven't 
found any info on that.  I would love to stop going to the irritating 
Hotmail site and use an email client instead.  I think that's exactly 
why they don't provide POP3 ;-).

Dave 








smime.p7s
Description: S/MIME Cryptographic Signature


kiosk mode browser

2002-12-20 Thread Vincent Stoessel
I was was wondering about what people think about  implementing
a kiosk style browser on the client end of a struts app.
I was thinking mozilla because it is already ported to so many platforms 
and it can be customized without paying for a development license. By 
kiosk mode, I mean that the broswer would retain all the functionality 
of modern browser but not have the buttons or url window that end users 
sometime mistakingly use to reload, go back or otherwise shoot 
themselves in the foot. Opinions?
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: kiosk mode browser

2002-12-20 Thread Vincent Stoessel
Oh yes, I should have been more clear.
I would never recommend kiosk for a public, I was talking about very 
specific and targeted internal business apps.




Chappell, Simon P wrote:
Agreed. Public websites should never try to use kiosk mode or any of the other evil things they can do.

Internal web applications, however, can and I would say should, use kiosk mode to help protect the users from themselves.

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526




-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 10:35 AM
To: 'Struts Users Mailing List'
Subject: RE: kiosk mode browser


IMHO, kiosk mode is probably the worst thing a website can do.
Its just plain intrusive.

FYI, this is a humorous take on bad site design.
http://www.webpagesthatsuck.com/

Now from a strut's perspective, the back buttons can usually 
be handled by
just turning on nocache.
ex:
  controller locale=true nocache=true/controller
-Tim

-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 11:27 AM
To: Struts Users
Subject: kiosk mode browser


I was was wondering about what people think about  implementing
a kiosk style browser on the client end of a struts app.
I was thinking mozilla because it is already ported to so many 
platforms 
and it can be customized without paying for a development license. By 
kiosk mode, I mean that the broswer would retain all the functionality 
of modern browser but not have the buttons or url window that 
end users 
sometime mistakingly use to reload, go back or otherwise shoot 
themselves in the foot. Opinions?
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   

mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: kiosk mode browser

2002-12-20 Thread Vincent Stoessel
Kevin A. Palfreyman wrote:

I'm pretty sure the common browsers already do this.

MS IE
http://support.microsoft.com/default.aspx?scid=KB;en-us;q154780

Mozilla
http://tln.lib.mi.us/~amutch/pro/mozilla/kioskmode.htm
http://kiosk.mozdev.org/

This any help?

	Kev




Very cool info, thanks. I still like mozilla a little more
because if I want to run it on a sparc or intel box, I have no
worried and I can customize the throbber to use the client's logo
:)


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: java Beautiful

2002-12-05 Thread Vincent Stoessel
There is a jalopy module for netbeans as well.

[EMAIL PROTECTED] wrote:

Eclipse + Jalopy.
 
 
Regards,
 
Stephen.
 

-Original Message-
From: BARADAT Benoit [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2002 14:34
To: Struts Users Mailing List
Subject: java Beautiful


Hello
 
I'm looking for a tool to have a beautiful java (ident,if,else, case,etc
...)
(like cb on Unix Platform)
 
Thank in Advance



---

Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents.  The material and information is intended for the use of the intended addressee only.  If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful.   The views expressed in this e-mail may not be official policy but the personal views of the originator.  If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED]  Please also delete this e-mail and all documents attached immediately.  
Many thanks for your co-operation.

BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537.
Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF
--

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Learning Struts

2002-11-24 Thread Vincent Stoessel
You are in the very fortunate position right now. Before this month
there was very little published about struts. Now there are Wiley ,
Manning and Orielly books on the subject. Go to your favorite online
bookseller and type in jakarta struts or java struts and you will be
rewarded.

Eric Tse wrote:
 Dear all,
 
 I am interested in learning struts framework and tried to search some articles and 
kick-start my journey. However, it seems to me that all of the tutorial gave me much 
information for the MVC architecture which I know already.
 
 Do you have any simple war/jar file for my learning? I read through the 
struts-example.war already. It does not give me guidance to me to learn. Anyone can 
help?
 
 Thanks a lot.
 
 Eric





smime.p7s
Description: S/MIME Cryptographic Signature


OT: IE's autocomplete

2002-11-21 Thread Vincent Stoessel
[EMAIL PROTECTED] wrote:

Thanks Robert...

I realise Struts is a server side framework but take the Struts notation
for say an input box e.g. html:text property=name size=35/
It supports the attributes 'alt', 'disabled' and various
Javascript-specific extensions which are not all supported or rendered the
same in different browsers...
I have read several mails inquiring about the same thing, if the
'autocomplete' extension will be accessible through Struts in the future...
The auotcomplete function is a security risk or is percieved as such by
many people, it would seem more like common sense to cater for it in
whatever means possible, even if it simply serves to make STRUTS more
attractive as a rapid development framework for people who are going to use
IE to view the application and where security is an issue.


If security is such a big issue, why the heck are you using IE as a
client? I am having success in getting clients to switch to mozilla
as the preferred client for all my web applications. Multiplatform
yet consistent view for everyone.




--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [Struts Tip] #14 Use optional forwarding to extend Actions

2002-11-14 Thread Vincent Stoessel
Ted Husted wrote:

Many times you will find that two Actions are very similar but 
need one small behavior to change. One good way to handle this is 
to subclass one Action from the other and change the behavior that 
way. Though, in the case of an Action, the behavior may buried in 
the perform (or execute) method. It may also not really seem worth 
a hotspot method of its own.

[more ... http://husted.com/struts/tips/014.html]





--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org


Are all these cool tips in the book? (Which I have ordered from Amazon)
:)

--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Need advice on implementing a view

2002-11-14 Thread Vincent Stoessel
I am builing a sort of reservation system using struts.
I have all the components in place for CRUD and all is fine.
The bosses, however, also want a big overview app. Basically it will be
a big grid with a visual representaion of the reserved objects
and the current population for each object. The overview does
not need to tell you _who_ is resevered, just _how many_ people are
curently occupying the obect. I already have views for the oject level
operations.
If there were 30-40 object this would be no big deal to me but we are 
talking about 250 objects and I am wondering how I represent all of them 
on the same web page.
My other thought was that this might be a job for a dedicated swing app
that could poll/refresh the data via an Action class. I figured it would
be easier because you could zoom in and  pan without the shock of
refeshing a web page.
What do you guys think?
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



Re: has anyone gotten struts 1.1b2 to work on Jboss 3.0.3/tomcat4.1.12?

2002-11-12 Thread Vincent Stoessel
Brian Topping wrote:

I'm using 3.04/4.1.12 just fine, but I am not using the TilesActionServlet if
that is what you are talking about.  I *am* using Tiles, just not with the
TAS, which is only required if you want to use XML definitions.

hth,




Unfortunately I am using that functionality. :)




smime.p7s
Description: S/MIME Cryptographic Signature


Re: has anyone gotten struts 1.1b2 to work on Jboss 3.0.3/tomcat4.1.12 ?

2002-11-12 Thread Vincent Stoessel
Gemes Tibor wrote:

2002. november 12. 16:03 dátummal [EMAIL PROTECTED] ezt írtad:


I've gotten this configuration working - the sample application in my book
uses it and contains step by step instructions for configuring it.

I believe the classloader issue you are referring to is isolated to JDK
1.4. JDK 1.3.3 works fine -




We had a lots of pain with deploying to jboss. We use tiles extensively. 
We tried jboss 3.0.3 w/tomcat, and had a bunch of ClassNotFoundException.

We moved to jboss 3.0.4 w/o tomcat, and things seemed to work, until real 
deployment time. After a half day of searching the difference between the 
development and the live server we found that the devel server is running 
with java 1.4.1_01 and the live had 1.3.1 and 1.4.0. None of these worked. 
Finally we installed java 1.4.1_01 and since then everithing seems to be OK.

linux, jboss 3.0.4 jetty, Sun JDK 1.4.1_01, struts jars from the 
struts-blank.war 





Hmm, I have been putting off upgrading to 1.4.1 since 1.4.0 has been 
working with no problems, but this is good reason to go ahead and do it.
I am going to take your advice and try the non-tomcat jboss.



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



has anyone gotten struts 1.1b2 to work on Jboss 3.0.3/tomcat 4.1.12?

2002-11-11 Thread Vincent Stoessel
There seems to be an issue going on with the class loader
tiles initialization. Anyone got a struts project working
in the jboss 3.03/tomcat4.1.12 bundle working?
Thanks.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [ANNOUNCE] Management-oriented Powerpoint Presentation for Struts

2002-11-08 Thread Vincent Stoessel
This is wonderful, thank you for this. Open Source
has been making my professional life a lot easier for a while
now, but a powerpoint presentation for the bosses? This truly
rules! Another wonderful thing is that my open office opened
the file and played it with no problem on linux.
We have come a long way.

[EMAIL PROTECTED] wrote:



James Turner and I have collaborated on a Management Powerpoint
presentation that can be used to make the case for using Struts for
development.

If others have comments/additions/etc of course we are flexible.

The presentation will be available on our site later this evening or
tomorrow,

Thanks!

Kevin

http://www.strutskickstart.com



---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Passing an (Dyna)ActionForm to the business object

2002-11-06 Thread Vincent Stoessel
They actually come from commons Beanutils.


http://jakarta.apache.org/commons/beanutils.html

API

http://jakarta.apache.org/commons/beanutils/api/index.html

[EMAIL PROTECTED] wrote:

Chris -
Where are these classes? I can't find them in the api? (1.1-b2)

Thanks,
Kevin Hooke

Quoting Chris Schneider:



Almost forgot about PropertyUtils.copyProperties and
BeanUtils.copyProperties
(I think the difference is that BeanUtils handles type conversion). If


the


property names of your model match the property names of your form, you


should


be able to use one of those methods to populate your model with a single


method


call.






This email message and all attachments transmitted with it are for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Please DO NOT forward this email outside of the
recipient's Company unless expressly authorized to do so herein.  Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender by reply email
and destroy all copies of the original message.

Any views expressed in this email message are those of the individual
 sender except where the sender specifically states them to be the views of
 Indus
 International, Inc.





--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Passing an (Dyna)ActionForm to the business object

2002-11-05 Thread Vincent Stoessel
I know I have probably violated MVC by doing this but
while trying to find an elegant solution to passing
field values between my Action classes and my Model Classes
I went ahead and passed the whole darn DyaActionForm (daf)
to my Model class:

Why did I got to the dark side? It was so convenient to
only have to add/remove fields in one class (and in struts-config.xml). 
I am working with a massive form that is in flux and editing 2 classes 
all the time was slowing me down:

// The Old way: the force
in myAction:

DynaActionForm daf  = (DynaActionForm) acForm  ;
myModel mym  = new myModel();
   String firstname = (String) daf.get(fname);
   String lastname = (String) daf.get(lname) ;
   String street = (String)daf.get(street) ;
   String city = (String)daf.get(city) ;
   String state = (String)daf.get(state) ;

myModel.doBusiness(firstname, lastname,street,city,state);




then in myModel:

PreparedStatement   pstmt  = con.prepareStatement(qstr);
pstmt.setString(1,(String)daf.get(firstname));
pstmt.setString(2,(String)daf.get(lastname));
pstmt.setString(3,(String)daf.get(street));
pstmt.setString(4, (String)daf.get(city));
pstmt.setString(5, (String)daf.get(state));



// the New Way: the dark side

now I can just do:

myModel mym  = new myModel();
myModel.doBusiness(daf);


Yes, in myModel class  I still have to break out daf.getXXX but at least 
now all thefields can be managed from one place and less prone to 
mismached case/spelling (for me anyway) than it was before.

Of course I really do not want to violate the Struts MVC model, is there
a better way than the first method?

Thanks All


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



Re: Final release for Struts 1.1

2002-11-05 Thread Vincent Stoessel
They say a great work of art is never truly finished, only reluctantly 
abandoned. The devlopers say they will release 1.1 when the bugs are 
smashed.

Xuefeng Wang wrote:
Hi, all,
I'm using Struts 1.1B1 to develop our product, I want to know when 
Struts 1.1 final will be release.

thanks,

James





_
Surf the Web without missing calls! Get MSN Broadband.  
http://resourcecenter.msn.com/access/plans/freeactivation.asp


--
To unsubscribe, e-mail:   
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:struts-user-help;jakarta.apache.org


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Passing an (Dyna)ActionForm to the business object

2002-11-05 Thread Vincent Stoessel
Kris Schneider wrote:

+1

Although it may seem like splitting hairs because (in your case) the same 
object instance is passed to the doBusiness method, there's a huge 
architectural/design difference between:

public class myModel {
  public void doBusiness(DynaActionForm data) {
  ...
  }
}

and:

public class myModel {
  public void doBusiness(DynaBean data) {
  ...
  }
}

I suppose another possibility would be to use BeanUtils.describe or 
PropertyUtils.describe (not sure which is preferred) to generate a Map to pass 
to the doBusiness method. Either describe method can deal with a DynaBean.

This is cool. I will give it a whirl.
Thanks.


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: possibility of a new beta release?

2002-10-31 Thread Vincent Stoessel
How is the bug bounty going, anyway?
Craig R. McClanahan wrote:


On Thu, 31 Oct 2002 [EMAIL PROTECTED] wrote:



Date: Thu, 31 Oct 2002 12:34:07 -0500
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: possibility of a new beta release?

With all of the changes that have taken place since the last beta, are
there any thoughts of a Struts 1.1b3?




That's a question for the developers list.  My personal feeling is that
squashing the remaining few bugs should lead to a release candidate
build, rather than a beta.



TIA,
Andy



Craig


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Don't know how to use struts-console 3.0 with Forte

2002-10-31 Thread Vincent Stoessel
Ooops, James is right.
remove foot from mouth.


James Holmes wrote:

That is the DOCTYPE for Validator config files.  You
should use the Struts DOCTYPE for struts-config.xml
files.

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts
Configuration 1.1//EN
 
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd;

-james

--- Vincent Stoessel [EMAIL PROTECTED] wrote:

I just went through this. Try this:

1. Make sure you are using the new commons DOCTYPE

!DOCTYPE form-validation PUBLIC
 -//Apache Software Foundation//DTD Commons
Validator Rules Configuration 1.0//EN




http://jakarta.apache.org/commons/dtds/validator_1_0.dtd;




2. completely restart forte.



That seemed to do the trick for me.



Derek Lin wrote:


I have followed the installation guide and


successfully installed the struts-console module in
forte -- at least I think so.


Right clicking the struts-config.xml and choosing


open opens the file in xml editing tool which comes
with forte.


Anyone has instructions on the web somewhere I can


follow to use struts-console inside forte?


Thanks,

Derek

p.s.: although the installation was smooth, i


didn't see struts-console module in the Tools -
Options - IDE Configuration - System - Modules. 
Is this expected?


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:  
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




a complex solution for a simple problem

2002-10-29 Thread Vincent Stoessel
 Hello
Here is my situation. I need to copy information from
one database (da_A)  and insert it into another (db_B).I get the
id for the from an ActionForm. I guess the easiest thing to do would
be to write code in my acton class that basically makes jdbc calls
to both databases and do a jdbc get -set between them. I would not need 
any model beans in this case.
Till now I've been kind of proud of the fact that I have not put any 
jdbc code or any real business logic in any of my action classes.
But in this situation every other way I know seems like overkill.

Scenario 1 : jdbc is done in the model classes that contain methods
that can do everything from manipulating jdbc to storing value. In this 
scenario the ActionClass is just a staging area for the transfer.

ActionClass + (db_A_ModelBean -  db_B_ModelBean )


Scenario 2 : jdbc is done in the  ActionClass and the
ModelBeans are really only value beans copyProperties()
comes to mind in this situation

ActionClass + (db_A_ValueBean -  db_B_ValueBean )


Scenario 3 : Break everything out to granular compoments.
Action class does nothing but calls and passes data between
utility beans that do the jdbc work and value beans that
just hold values via get/set.


ActionClass +
((db_A_UtilityBean - db_A_ValueBean )
-
(db_B_ValueBean - db_B_UtilityBean  ))


Which is the best method, are there better suggestions?
Thanks

--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



Re: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Vincent Stoessel
Congrat, James!
I love the console!

Bradley G Smith wrote:

The nov/dec issue of Oracle Magazine has several person of the year
awards. The person picked as Java developer of the year is James Holmes for
his work on Struts Console.

Struts is also mentioned in several articles as a key framework component
in the same issue.

Brad


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




a validation rule called mask

2002-10-25 Thread Vincent Stoessel
Hello, Just for clarification.
Mask is for testing on customized regular expressionsm, right?
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




a little javascript problem

2002-10-25 Thread Vincent Stoessel
Uh oh, it seems I can't use the 'id' attribute in html:* form elements.

I need to do this in a form element :
onClick=disableIt(document.getElementById(myID))

but I cannot do this on the target form element.

html:checkbox property=boo id=myID
because that violates the DTD, I guess.

Any workarounds?






--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: a little javascript problem

2002-10-25 Thread Vincent Stoessel
Egads! You are quite right sir. And I had a book right next to me.
Thanks.

[EMAIL PROTECTED] wrote:

If I am correct the documentation states that the tag attribute styleId
will render  the html id.




Vincent Stoessel [EMAIL PROTECTED] on 10/25/2002 01:30:01 PM

Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]

To:Struts Users [EMAIL PROTECTED]
cc:

Subject:a little javascript problem


Uh oh, it seems I can't use the 'id' attribute in html:* form elements.

I need to do this in a form element :
onClick=disableIt(document.getElementById(myID))

but I cannot do this on the target form element.

html:checkbox property=boo id=myID
because that violates the DTD, I guess.

Any workarounds?






--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:struts-user-help;jakarta.apache.org








--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Validator files questions

2002-10-24 Thread Vincent Stoessel
In my struts 1.1b2 dist, I got 3 Validator related files in my WEB-INF.

validator-rules.xml
validation.xml
validator.xml

In Chuck's book, he only refers to the first 2. What is
validator.xml for?

Thanks.

--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Struts Nightly Build

2002-10-23 Thread Vincent Stoessel
Is upgrading struts a simple matter of swapping out struts.jar ?


Chappell, Simon P wrote:

Thank goodness! You had me worried there. :-)

We're still using 1.1b2, so I haven't tried a nightly build lately. Someone else will have to comment on that, or you can just try it anyway. (That's what I usually do).

Simon



-Original Message-
From: Dennis Muhlestein [mailto:dennis;zserve.com]
Sent: Wednesday, October 23, 2002 9:24 AM
To: Struts Users Mailing List
Subject: RE: Struts Nightly Build


No, No, I picked up the 20021022 build, I need the commons-logging
integrated with the tiles package so that my logs don't fill up with
thousands of lines tiles statements.  

I won't upgrade again unless there is something else I need.  I'm just
wondering if there is anything I should be aware of with the nightly
builds lately??

Thanks
Dennis

On Wed, 2002-10-23 at 08:12, Chappell, Simon P wrote:

Perhaps you could pick a specific nightly build that has the 

extra functionality that you need, but I'm not going to 
recommend updating with EVERY nightly build. I seriously hope 
that this is not what you meant.

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526




-Original Message-
From: Dennis Muhlestein [mailto:dennis;zserve.com]
Sent: Wednesday, October 23, 2002 9:11 AM
To: [EMAIL PROTECTED]
Subject: Struts Nightly Build


I'm about to change our production environment to use the 
struts nightly
build instead of 1.1b2 because of the non commons-logging 

in the tiles


package with 1.1b2.

Does anyone know of any issues to be aware of?  Seems to 

work ok in dev


environment.

TIA
-Dennis

--
To unsubscribe, e-mail:   
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   

mailto:struts-user-unsubscribe;jakarta.apache.org


For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Book Opinions

2002-10-23 Thread Vincent Stoessel
Yes, I should have qualified my review by saying that this is more
geared toward the total struts newbie (like I was/am). The Validator 
framework and  other new stuff was not included. To be fair, the Commons 
tools need their own Oreilly/Willey/Manning books. I found Chuck preview 
invaluable and highly anticipate getting my copy but his book seems to 
be more geared toward the experienced user (moving from 1.0x to 1.1x)
I welcome both to my bookshelf and look forward to browsing the other
new books as well.

Peter A. J. Pilgrim wrote:
Vincent Stoessel wrote:


I highly recomend Mastering Jakarta Struts by James Goodwill.
It breaks all the struts components and proceeds to build a
sample application for you step by step. The last chapers deal
with the jakarta tag libraries in detail with an example for each tag.
That alone made it worth it for me.



I disagree completely. Mr Goodwill books does not discuss DynaFormBean
or Validation or BeanUtils or PropertyUtils, properly. I managed to
look an US import copy last week when I was at Linux Expo 2002 in
London. I did not buy it because it was pretty lame with the meat.
The book is a bit sparse compared to preview of Chuck's book.
It does have a reference section though, indeed YMMV.




--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Book Opinions

2002-10-21 Thread Vincent Stoessel
I highly recomend Mastering Jakarta Struts by James Goodwill.
It breaks all the struts components and proceeds to build a
sample application for you step by step. The last chapers deal
with the jakarta tag libraries in detail with an example for each tag.
That alone made it worth it for me.

Before goodwill's book came out, I had purchased JSP and Tag libraries
for Web Development(de Silva). It is mostly about creating taglibs but 3 
chapters are dedicated to Struts, but strictly the 1.0 version stuff.


To speak the J2ee lingo used on this list (DAO/VA/Session Facade etc) I 
highly recommend getting Core J2ee patterns (Alur,Crupi,Malks)


For Java in general:

I have Java in a Nutshell by Flanagan (3rd edition) which I am only now
beginning to appreciate. I also heard the Patrick Chan's Java Almanac
is good. I really wish he make a new addition of his classic Java
Class Libraries now sadly out of date. Yeah, you can get most of this 
stuff online but there is nothing like a having a book you can leaf 
through on the train ride home.




Nat Papovich wrote:

Hello All -

I'm a recent addition to this list, while I begin learning Struts. Not 
only am I
beginning to learn Struts, I'm beginning to learn all things Java.

I come from a ColdFusion/Fusebox background, but as a leader in that
community, I have secretly wanted more structure from a framework, 
along with
transitioning to a more robust web language. Fusebox also does an 
incomplete,
kludgy job dealing with MVC, of which I am fond.

I'm quickly getting knee-deep in many resources, and am burning 
through my old
to be read book collection of OO programming and JSP (working on 
Bruce Eckel's
Thinking in Java now). I consider myself to be well-versed in OO, very
comfortable with structured programming (structured meaning 
well-designed in
this case, not opposed to OO), but being a huge proponent of ColdFusion's
leading framework, I recognize the importance of starting off on the 
right foot
in my J2EE adventure (and think Struts is that right foot).

That exhaustive background was meant to help you fine folks make book
recommendations for me. I have bookmarked and visit some of the 
excellent online
resources for Struts and Java, but I'm the kind of guy who likes to 
spend money,
have something bound, with a glossy cover, sitting on my desk - it's 
like a
security blanket to me.

So of the apparently excellent titles either currently available or
soon-to-be-released, which one should I start with? Undoubtedly, I 
will acquire
another, and another, but for now... ?

Thanks,
NAT

Nat Papovich
Senior Partner  Lead Architect
Fusium, Inc.
503-913-1659
Buy the book: http://fusium.com/go/book


--
To unsubscribe, e-mail:
For additional commands, e-mail: 



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Best Practice for optaining GLOBAL_ERRORS

2002-10-21 Thread Vincent Stoessel
Hi,
Doesn't just using html:errors / automatically
pull all the ActionErrors out for you?


Dennis Muhlestein wrote:


I want to display errors with
By the input field for the property.  That is fine and works ok.

At the top of my form, I'd like to display any Global Errors.
I've added

That works too, but it doesn't seem like very good practice to have to
add the %page import=org.apache.struts.aciton.ActionErrors% at the
top of the page so I can get the gobal_ERROR attribute

Any suggestions?  I could leave as is and everything would be fine I
guess.

Thanks
Dennis



--
To unsubscribe, e-mail:
For additional commands, e-mail: 



--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




struts + EJBs?

2002-10-16 Thread Vincent Stoessel

Hello,
I am using struts 1.1b2
I am finding that modeling my business logic in custom beans seems to be
working fine for me in tomcat 4.1.x enviroment. I know that my 
management would really like for me to add the buzz compliant EJBs to 
the mix. I was looking at using jboss. Can some pro-Jboss/EJB person 
tell why in the world I need to be using EJB instead of using my own 
model classes? it is a relatively small app but an important one for the 
company.
Thanks.
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Is Struts full J2EE compliant?

2002-10-16 Thread Vincent Stoessel

Hello, this brings out an issue that I have been dealing with
lately. Management wants my fledging struts application to run
on a J2EE application server. Even though I beleive that the whole
app will continue to run fine on tomcat 4.1.x.




David Graham wrote:
 You can find all the java specs on java.sun.com.  Being J2EE compliant, 
 as I understand it, is only applicable to app. servers.  Struts will 
 work in all J2EE compliant app. servers because it is 100% java code.
 
 David
 
 
 
 
 
 
 From: [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Is Struts full J2EE compliant?
 Date: Wed, 16 Oct 2002 09:57:01 +0200


 Hi list,

 Is Struts full J2EE compliant?
 Can I find confirmation on this somewhere?
 And by the way, where can I find a short article who summary the J2EE
 specification.

 Thanks.


 Gilles Vandaele
 0498 52 64 12
 [EMAIL PROTECTED]


 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 _
 Internet access plans that fit your lifestyle -- join MSN. 
 http://resourcecenter.msn.com/access/plans/default.asp
 
 
 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




anyone seen this startup error?

2002-10-16 Thread Vincent Stoessel

Oct 16, 2002 2:53:00 PM org.apache.struts.validator.ValidatorPlugIn init
SEVERE: null
java.util.ConcurrentModificationException
at 
org.apache.commons.collections.FastHashMap$CollectionView$CollectionViewIterator.hasNext(Unknown
 
Source)
at org.apache.commons.validator.Field.processMessageComponents(Unknown 
Source)
at org.apache.commons.validator.Field.process(Unknown Source)
at org.apache.commons.validator.Form.process(Unknown Source)
at org.apache.commons.validator.FormSet.process(Unknown Source)


I did view the validator xml files in netbeans once but I don't see how 
that would cause the problem. I'm not using the dyna validator stuff yet
but everything seems to work fine so far.

struts 1.1b2 jdk 1.4 tomcat 4.1.12 redhat linux 7.3
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




struts in netbeans

2002-10-15 Thread Vincent Stoessel

Hello,
I am trying to deploy a struts app from NetBeans 3.4.
Netbeans attempts to compile all the classes before creating
a .war file. The problem is that compilation stops when it cannot
find the BodyTagSupport class  which is located in javax.servlet.jsp.tagext
I tried mounting servlet.jar from tomcat to no avail. Is there something
that I am missing here. Anyone here have any success with  making  NB 
3.4's compiler aware of the servlet/taglib stuff?
Thanks
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




OT : javascript revival?

2002-10-11 Thread Vincent Stoessel

Maybe because I've done mostly server side stuff but it seems to me that
Javascript is more popular than ever. The mozilla project uses it with 
cool XUL for the interface. And now JSF and EL it seems to be creeping 
into my world. Ugh. I know the minimal amount of Javascript. What I want 
to know from my java brethren is this: do I need to pick up the 
definitive guide to javascript so I can leverage the full power of the 
new technologies?
Thanks.
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread Vincent Stoessel

For the life of me, I cannot understand why people are using
netscape 4.7 instead of netscape 7.x. I think netscape should
think about releasing a version 4.8 for the old heads that looks like 
netscape 4.7 but is gecko based.

Galbreath, Mark wrote:
 Don't use 4.7 - we had to abandon it as a required browser because we found
 ourselves maintain two client-side code bases.  It just wasn't worth the
 trouble.
 
 -Original Message-
 From: Michael Delamere [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 11:36 AM
 
 exactly!
 
 Perhaps, some javascript guru can tell me how to set the cursor back to the
 end of the text in an input field.  Basically, I´m checking the entered
 value whenever someone types a letter into the input field, change it
 slightly and then assign the new string back to the input field.  Now this
 works with mozilla and explorer like a dream, but netscape 4.7x always puts
 the cursor to the beginning!!??
 
 Come on you javascript gurus!  Who has the solution? :-D
 
 Regards,
 
 Michael
 
 
 - Original Message -
 From: David Graham 
 To: 
 Sent: Friday, October 11, 2002 5:22 PM
 Subject: Re: [OT] : javascript revival?
 
 
 99% of the javascript I use has to do with validating form fields.  You
 don't need to know every detail of it to use it well.
 
 If you want to spend most of your time coding front end gui stuff then you
 should know all that good dhtml stuff.  In my experience this will consume
 your entire day because of the browser incompatibilities.  That's why I've
 chosen to not use dhtml in my pages and if I want some cool gui effect I
 just buy it from people who do this for a living.
 
 Dave
 
 
From: Vincent Stoessel 
Reply-To: Struts Users Mailing List 
To: Struts Users 
Subject: OT : javascript revival?
Date: Fri, 11 Oct 2002 10:42:28 -0400

Maybe because I've done mostly server side stuff but it seems to me that
Javascript is more popular than ever. The mozilla project uses it with cool
XUL for the interface. And now JSF and EL it seems to be creeping into my
world. Ugh. I know the minimal amount of Javascript. What I want to know
from my java brethren is this: do I need to pick up the definitive guide to
javascript so I can leverage the full power of the new technologies?
Thanks.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:

For additional commands, e-mail:

 
 
 
 
 _
 Join the world’s largest e-mail service with MSN Hotmail.
 http://www.hotmail.com
 
 
 --
 To unsubscribe, e-mail:
 
 For additional commands, e-mail:
 
 
 
 
 --
 To unsubscribe, e-mail:
 
 For additional commands, e-mail:
 
 
 
 --
 To unsubscribe, e-mail:   
 For additional commands, e-mail: 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread Vincent Stoessel

David Graham wrote:
 They use 4.x over 7 because 4 is faster, requires way less memory, and 
 they don't feel like switching.  They don't want to use IE (the better 
 browser) because they hate microsoft or because Netscape was out first.  
 Personally, Opera is the best browser I've used...Netscape is dead.
 
 Dave
 

Actually the gecko engine in mozilla/netscape/pheonix is very sweet
and worth the upgrade. I do my work on a linux computer so I have no ie
option. I count this as a good thing however.
I find mozilla an indespensible tool for web development. It's CSS 
support, tabbed browsing and pop-up elimination is making me more 
productive when I do my work. If you are on the windows platform
and hate memory bloat take a look at the slick browser-only mozilla
project pheonix, it zooms!
http://www.mozilla.org/projects/phoenix/

they have a cool roadmap too:


http://www.mozilla.org/projects/phoenix/phoenix-roadmap.html
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts forms best practice

2002-10-11 Thread Vincent Stoessel


 
  In the past, before using the copyProperties methods, I used a
  helper class to do the conversions which I liked, but using
  BeanUtils (and PropertyUtils) is much quicker.
 
  How do you suggest getting Dates in the proper format between
  form beans and model layer beans?
 
  Thanks,
  

Hi, where can I learn more about using BeanUtils in struts. I haven't 
(knowingly) played that toy yet.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: missing classes in commons-logging.jar in 1.1b2

2002-10-10 Thread Vincent Stoessel

Keith Cheng wrote:
 Dear all,
 
 I found that the commons-logging.jar in 1.1b2 does NOT contain log4j wrapper 
classes.  That means I cannot use log4j for logging even I have properties files 
setup correctly and log4j.jar in my webapp's classpath.  
 
 Can struts bundle the FULL version of commons-logging.jar?
 
 Thanks.
 
 Cheers,
 
 -- Keith Cheng
 
 ,??,,???...
 ?800Hit!
 Over 800 latest ringtones, only on Yahoo!
 


Thank you for that report! I had wasted an entire day trying to figure 
out why logging was not working.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Searching the Archives...

2002-10-10 Thread Vincent Stoessel

The marc archive 100% better than the one you are using.
Here is your original query for example :


http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=nested%3Aiterateq=b


[EMAIL PROTECTED] wrote:
 could someone please point me to the best method of searching:
 http://www.mail-archive.com/struts-user@jakarta.apache.org/
 
 This archive as stated does not support Boolean and so forth..
 (It is frustrating when a search in *nested:iterate* returns 0 results  but
 *nested iterate* will return huge results)
 
 I guess I want Google to search this archive for me.  :-)
 
 Thanks..
 
 
 
 --
 To unsubscribe, e-mail:   
 For additional commands, e-mail: 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [ANNOUNCE] struts-layout 1.0b1

2002-10-09 Thread Vincent Stoessel

Very impressive. So this tag library sits on top of struts functionality?

Jean-Noel Ribette wrote:
 Hello everybody
 
 I'm pleased to announce that struts-layout 1.0 beta 1 - an open source 
 tag library for struts that allows to speed up interface creation - is 
 available for download.
 struts-layout includes the following features:
 
 - UI components tags: form, input fields, javascript date pick-up 
 calendar, sortable list, pager, tabbed panel, treeview and a few more.
 - Layout tags: grid, row and column.
 - skin support: a struts-layout application can load different css file, 
 allowing dynamic change of colors, fonts and images.
 - CRUD support: struts-layout input field can be displayed read-write or 
 read-only in function of what you're doing (creating, editing or viewing 
 data)
 
 A new tutorial explains how to build a simple struts-layout page. All 
 the components can be seen live on a demonstration news server.
 
 Changes since previous version includes several bug fixes, enhancements 
 and new tags.
 
 For more information, visit http://struts.application-servers.com, and 
 
http://struts.application-servers.com/DemoServeurDeNews/allNews.do?reqCode=showAllNews
 
 for the demonstration.
 
 Best regards,
 
 Jean-Noel Ribette
 
 --__/ \__---
   improve   Jean-Noël Ribette
 --/-\--
 Software engineer
 
 
 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




dynamic variables into my struts tag? How?

2002-10-08 Thread Vincent Stoessel

Hello All,
I am building a results page in my struts app
that is iterating through an ArrayList. Everthing is working
wonderfully. For each fow I am making a radio button. I need that
radio button to hold a unique value that I can get from the ArrayList
but what is the best way to insert that dynamically into the 
html:radio/ tag?

I want to produce something like:

input type=radio name=choose value=1  ...
input type=radio name=choose value=2  ...
input type=radio name=choose value=3  ...
input type=radio name=choose value=4  ...
...

I guess I could abandon html:radio/  tag
and just println(); but that does not seem half as cool.
Thanks in advance.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: dynamic variables into my struts tag? How?

2002-10-08 Thread Vincent Stoessel

Ok, I ended up going with :

input type=radio name=id value=bean:write
name=user property=id / 

It works but it this the best way to do it?




Daniel Haynes wrote:
 Attached is a JSP, form and action class which does a similar thing (I
 think) to what you need. 
 
 Dan
 
 
 
 -Original Message-
 From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
 Sent: 08 October 2002 16:38
 To: Struts Users
 Subject: dynamic variables into my struts tag? How?
 
 
 Hello All,
 I am building a results page in my struts app
 that is iterating through an ArrayList. Everthing is working
 wonderfully. For each fow I am making a radio button. I need that
 radio button to hold a unique value that I can get from the ArrayList
 but what is the best way to insert that dynamically into the 
  tag?
 
 I want to produce something like:
 
  ...
  ...
  ...
  ...
 ...
 
 I guess I could abandon  tag
 and just println(); but that does not seem half as cool.
 Thanks in advance.
 
 -- 
 Vincent Stoessel
 Linux Systems Developer
 vincent xaymaca.com
 
 
 --
 To unsubscribe, e-mail:
 
 For additional commands, e-mail:
 
 
 
 
 --
 To unsubscribe, e-mail:   
 For additional commands, e-mail: 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




EL and the developer's roadmap

2002-10-03 Thread Vincent Stoessel

OK,
I'll bite. What does  EL stand for?
 From what I'm hearing, there seems to be a current trend
of moving away from Struts taglibs if there
is a JSTL tag that has the same functionality. I admit that
makes me a bit nervous as a newbie. I'm still learning the struts
tags! The Goodwill book has an excellent appendix with _examples_
of individual tag usage. Now I guess I will have to get a book on JSTL
book as well. Is there a Struts roadmap available anywhere?
Sometimes I feel I am always running to to catch up in Struts. Mastered 
ActionForms? oops gotta learn DynaActionForms! Learned how to validate
in the action class? , ha! better learn Dyna*Valid* stuff. Mastered
struts-logic? no! learn JSTL!

I know I don't have to use all new features but I would like have
a little warning about what may be coming down the road. That is where
a roadmap would come in very handy. I could know which technologies to 
watch and which to ignore in the short term.
Thanks for listening.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: okay, one more time for the slow people...

2002-10-01 Thread Vincent Stoessel

Hello,
Peace everyone, I figured it out.

I think that it would be helpful if some example documentation
was added somewhere in the standard doc about DynaActionForms. At least 
in the javadocs. The struts API normally very verbose is very terse on
Dyna* stuff.





Eddie Bush wrote:
 V. Cekvenich wrote:
 snip/
 
 Some posters on mail list only do philosophical answers, but if I show 
 code, I can live with the critiqe, it makes it a better design. 
 
 
 snip/
 
 Vic, don't take this wrong :-)  I think you're doing a lot of good, and 
 I certainly wouldn't want to offend you:
 
 My approach is to KISS my answers :-)  Yes, there are times when a 
 person needs additional guidance - let them ask for it.  To be quite 
 forward, I personally believe it is a best practice to point people to 
 good resources and let them get ideas for their implementation there. 
 Being developers worth our salt (!) we shouldn't always need a 
 full-blown code example.  Omitting the code and giving a quick 
 overview is often done by me because of one of:
 
- I've already posted code for a given solution at least a couple times
- I think the person shows an obvious lack of self-discipline to go 
 acitvely learn the technology
(In which case, I do not see it as my job to do everything for them)
- I believe the references I give can speak volumes more than any 
 code snippit I could post
- It saves bandwidth
 
 I'm all for helping people out, and I do fully realize there are times 
 when thoughts can't be conveyed in a better form than with a code 
 sample, however I also believe that for those people that are willing to 
 put a little work into it, direction is more important (and better) than 
 spoon-feeding :-)
 
 Just my opinion ;-)  You'll notice that I do post solid examples when 
 it's obvious to me someone needs them.
 
 Best Regards,
 
 Eddie
 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: okay, one more time for the slow people...

2002-10-01 Thread Vincent Stoessel

Thank you for the link, I've been meaning to start browsing through this 
generous resource. I own the Goodwill book and though I really am 
finding it helpful, the Dyna* stuff did not make it in this first 
edition. I am eagerly anticipating the other 2 pending jakarta struts 
books as well.


Eddie Bush wrote:
 http://www.theserverside.com/resources/strutsreview.jsp
 
 I'm sorry, I didn't post the URL last time.  I guess I expect people 
 know it by now :-(  If you're new to Struts you should check that out.
 
 James Goodwill (think that's right) has a Struts book in publication 
 right now - and there are a couple of highly-anticipated ones coming 
 (Chuck's and Teds - that's a review for Chucks [read: preview chapters] 
 and I personally found it quite handy).  I hear James' book is quite 
 good for a Struts newcomer.  You might think about getting a copy if you 
 can manage to.  The things that make the advanced features hard to use 
 are ... subtle.  I have to admit I found some of the things challenging 
 just because I missed very subtle keys to usage.  These books are good 
 resources for fleshing out those easily overlooked things ...
 
 Vincent Stoessel wrote:
 
 Hello,
 Peace everyone, I figured it out.

 I think that it would be helpful if some example documentation
 was added somewhere in the standard doc about DynaActionForms. At 
 least in the javadocs. The struts API normally very verbose is very 
 terse on
 Dyna* stuff. 
 
 
 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




okay, one more time for the slow people...

2002-09-30 Thread Vincent Stoessel

How do you use the DyanActionForm in the action classes.
I saw 2 different examples in the archive, neither of which worked for
me.

 DynaActionFormClass dafc = 
DynaActionFormClass.getDynaActionFormClass(AddUserForm);
 DynaActionForm myForm = dafc.newInstance();


gives me this compile error:

AddUserAction.java [48:1] incompatible types
found   : org.apache.commons.beanutils.DynaBean
required: org.apache.struts.action.DynaActionForm

line 48 : DynaActionForm myForm = dafc.newInstance();


What is the official way?
Thanks.



Thanks
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [FRIDAY] [OT] Best misunderstanding of an acronym?

2002-09-27 Thread Vincent Stoessel

I love this new one floating around: RTFA

Read the F*cking Archive!

Peter S. Hamlen wrote:
 Yesterday, I sent an email to a co-worker on a topic, and added at the
 bottom YMMV without bothering to explain the acronym.
 
 This morning (about ten minutes ago), she showed up and asked:
 What does YMMV mean? You Make Me Vomit?  
 
 Anyone else have any choice examples of misunderstood acronyms?
 
 -Peter
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




struts 2.0 naming conventions?

2002-09-27 Thread Vincent Stoessel

In the next version of struts, will there be some thought given
to the naming conventions of naming the main classes in struts?
Calling everything ActionThis and Actionthat is really confusing the
new user.
ActionForm could just be Form for example etc.
Thank You for your time.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




to the bookstore!

2002-09-27 Thread Vincent Stoessel

I am going to the bookstore this weekend. Any struts/jsp/j2ee/patterns 
related recommendations?

I was thinking about picking up Core J2EE Patterns to learn more about 
DAO and other recommended patterns.

I got Masterering Jakarta Struts, btw. It is a great book for a beginner 
like me. I use is as a reference while I build struts apps and read a 
chapter a day on the train to work.



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




using tiles and j_security_check

2002-09-26 Thread Vincent Stoessel

Hello,
I am using tomcat's realm authentication
to protect my struts 1.1 app. The actual
form is constructed using tiles. This works
fine for the most part but occasionaly I will submit the
login form and get stuck at a blank page with a
url of http:/mysite/j_security_check

Usually I have to retry it a few times and then
it will work. Has anyone seen this behavior?
Should I feed tiles a plain html and not use tiles for that?
I am also looking to see if this could be some
kind of session problem. Of course the first time this problem showed
up was when I was demoing my struts app in front of the
suits. argh!
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


syntax highlighting struts tags in netbeans/forte

2002-09-24 Thread Vincent Stoessel

Hello,
Has anyone been able to get the struts custom tags to
work with the autocomplete database of netbeans/forte?

Thanks.
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: syntax highlighting struts tags in netbeans/forte

2002-09-24 Thread Vincent Stoessel

yes, Yes and YES!

James Mitchell wrote:
 You mean like this:
 
 
 http://www.open-tools.org/struts-atlanta/images/IDE/NetBeans/convince-me.gif
 
 
 
 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta
 
 
 
 
 
-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 5:03 PM
To: Struts Users
Subject: syntax highlighting struts tags in netbeans/forte


Hello,
Has anyone been able to get the struts custom tags to
work with the autocomplete database of netbeans/forte?

Thanks.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com

 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: syntax highlighting struts tags in netbeans/forte

2002-09-24 Thread Vincent Stoessel

Actually, ffj 4 is not seeing the tags. Thinking about switching to
netbeans 3.4 and see if that makes a difference. I am just using
the same example struts war that comes with 1.1b. Does the IDE need to
told anything special to recognize the custom tags. I have asked this 
question on the netbeans as well.
Thanks.


James Mitchell wrote:
 LOLI made that a few months ago.
 
 NetBeans rocks!!!
 
 If the options don't appear in the drop down, give the internal parsers a
 few minutes to complete.  If it still doesn't appear, check your jsp paths
 relative to the mounted directories and how you are specifying in the tag
 descriptor and web.xml.
 
 Good Luck!!!
 
 
 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta
 
 
 
 
 
-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 5:18 PM
To: Struts Users Mailing List
Subject: Re: syntax highlighting struts tags in netbeans/forte


yes, Yes and YES!

James Mitchell wrote:

You mean like this:




http://www.open-tools.org/struts-atlanta/images/IDE/NetBeans/convi
nce-me.gif



James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta






-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 5:03 PM
To: Struts Users
Subject: syntax highlighting struts tags in netbeans/forte


Hello,
Has anyone been able to get the struts custom tags to
work with the autocomplete database of netbeans/forte?

Thanks.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com




--
To unsubscribe, e-mail:
 
 mailto:[EMAIL PROTECTED]
 
For additional commands, e-mail:
 
 mailto:[EMAIL PROTECTED]
 
 
 --
 Vincent Stoessel
 Linux Systems Developer
 vincent xaymaca.com
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


deploying to jboss/embedded tomcat

2002-09-20 Thread Vincent Stoessel

Hello,
I have come a long way in learning to use and love struts 1.1.
I have been using forte for writing code and using tomcat 4.1.10
for my dev server. Now I want to move closer to my original goal
of deploying from jboss. My question that exposes my ignorance is this:
How do you edit your struts app if everything is jarred into war file
residing in jboss?
Will I have to extract it everytime I want to make a change?
Thanks.


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


OT: report generators that plays well with struts

2002-09-19 Thread Vincent Stoessel

Hello,
I was wondering if there are
any EJB components for generating reports out of an jdbc
datasource? something that plays well with tomcat/struts?
Thanks.
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


CURD/CRUD: a better way?

2002-09-19 Thread Vincent Stoessel

Hello All,
I am here create my umpteenth form to interface with a db
that I will be selecting, updating , inserting , deleting from.
To save time I usually combine the insert/update form and make
separate delete and search (select)  screens.
What I was wondering if some angel out there has created
an application, bean, or applet  that can generate an html form for you 
based on the metainfo of an sql table.
Doesn't have to be fancy looking, just working.
this seems to be a common need for me at least. How are the smarts
developers reducing time of this tedious task?

Thanks.


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: report generators that plays well with struts

2002-09-19 Thread Vincent Stoessel

Very nice, even available as an EJB.

Dependent on one having access to Crystal Reports though.
Any open source alternatives?

Crystal Reports seems to be the top choice for reporting so I might just 
bite the bullet on that one.



Brad Rhoads wrote:
 http://inetsoftware.de
 
 
 
-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 11:55 AM
To: Struts Users
Subject: OT: report generators that plays well with struts


Hello,
I was wondering if there are
any EJB components for generating reports out of an jdbc
datasource? something that plays well with tomcat/struts?
Thanks.
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com

 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [ANNOUNCE] Struts Console v2.2

2002-09-19 Thread Vincent Stoessel

In netbeans Ctl-S will save the struts-config file.
So basically you have to use keyboard shortcuts for now.
caveat: I have never used IDEA :)

Vilya Harvey wrote:
 Thanks for this great tool - it's made my life a lot easier!
 
 One question, about the IDEA plugin: the only way that I've been able to
 save the edited file is to close and reopen the current project. Am I
 missing something obvious?
 
 Cheers,
 Vil.
 --
 Vilya Harvey, Consultant
 [EMAIL PROTECTED] / digital steps /
 (W) +44 (0)1483 469 480
 (M) +44 (0)7816 678 457 http://www.digitalsteps.com/
 
 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


hardware composition

2002-09-11 Thread Vincent Stoessel

Hello All,
I am putting together specs for what will be JBoss/Struts-on-Tomcat/DB 
platform.

I'm already thinking that the Database should be on a seperate server, 
but I was wondering about JBoss and Struts, would it be OK to have them
on the same server or would it wise seperate them on their own boxes
and have them communicate via the network?

What are some of the hardware configurations that you folks are using
that are giving good results? Where are the bottlenecks?
Thanks
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


jndi as a data source

2002-09-10 Thread Vincent Stoessel

Hello All,
I'm cuurently searching but can't seem to find a page with an example
jndi example for struts. I have to build a quick demo app for the suits. :)
Any pointers or clue bricks will be appreciated.
Thanks in advance.


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: jndi as a data source

2002-09-10 Thread Vincent Stoessel

I thought it might be cool to use ldap as an authetication mechanism.
Yeah, I saw the tomcat jndi how-to.
I could have sworn that I saw jndi used as a datasource but I could 
haave been tired on that day. I'm still a struts newbie, so I wouldn't 
know how to do cool struts authetication with regular JDBC either.  :)


Galbreath, Mark wrote:
 JNDI operates through your container environment, not Struts.  You can get
 that information from your app server's docs (specifically) or from
 java.sun.com (generally). What, specifically do you need to know?
 
 Mark
 
 -Original Message-
 From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 10:26 AM
 To: Struts Users
 Subject: jndi as a data source
 
 
 Hello All,
 I'm cuurently searching but can't seem to find a page with an example
 jndi example for struts. I have to build a quick demo app for the suits. :)
 Any pointers or clue bricks will be appreciated.
 Thanks in advance.
 
 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


more verbose logging

2002-09-10 Thread Vincent Stoessel

Hello, I am trying to debug my struts app.
When I submit a form I just get a blank page and I would
like to know if there is a way for struts to tell me what
exactly it is doing the action mapping as it is happening.
thanks.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


JDBC 2.0 Optional Package Classes

2002-09-04 Thread Vincent Stoessel

Do the  JDBC 2.0 Optional Package Classes
classes realy need to be compiled from source
in order to use data sources in struts.

I have tried many solutions from the mail archives but I
continue to get this error message on tomcat
start up:


Sep 4, 2002 1:46:07 PM org.apache.commons.logging.impl.Jdk14Logger error

SEVERE: Initializing application data source pg
java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource
at 
org.apache.struts.util.GenericDataSource.createDataSource(GenericDataSource.java:408)


then I added commons-dbcp.jar  and commons-pool.jar to the
mix and now I get:


   org.apache.commons.logging.impl.Jdk14Logger error
SEVERE: Initializing application data source pg
java.sql.SQLException: Cannot load JDBC driver class 'null'
at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529)

in my struts-config.xml  I have postgres configured thus:

data-sources
data-source
autoCommit=false
description=Postgres Connection
type=org.apache.commons.dbcp.BasicDataSource
driverClass=org.postgresql.Driver
key=pg
maxCount=4
password=
user=me
url=jdbc:postgresql://dbhostr:5432/whatever /

 /data-sources


can some see my mistake?

I have pgjdbc2.jar in the WEB-INFO/lib directory of my app.
Thanks.

-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: struts console bug?

2002-07-23 Thread Vincent Stoessel

I just wanted to say that this bug went away after I
installed struts console 2.0. Which works great so far.
Thanks.

James Holmes wrote:
 Vincent,
 
 We can take this offline and I'll help you debug
 what's going on and see if there's a bug in Struts
 Console.
 
 What version of Struts Console are you using?  Can you
 send me the config file and the steps to recreate the
 problem?
 
 Please email me back directly and not the list.
 
 Thanks,
 
 -james
 [EMAIL PROTECTED]
 http://www.jamesholmes.com/struts/
 
 
 --- Vincent Stoessel [EMAIL PROTECTED] wrote:
 
I am using struts console in forte 4 java 4 CE
and whenever I try to close the struts console
window.
sine I can't kill the window, struts-console begins
with forte
at startup. Throwing same error on the opening and
closing
of forte.

the  exception:

*** Exception occurred 
Tue Jun 25 16:26:53 EDT 2002:
java.lang.NullPointerException: no message
java.lang.NullPointerException
  at 

 
 
org.apache.struts.console.adapters.netbeans.StrutsConsolePanel.closeLast(StrutsConsolePanel.java:136)
 
  at 

 
 
org.openide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:286)
 
  at 

 
 org.openide.windows.CloneableTopComponent.canClose(CloneableTopComponent.java:143)
 
  at

 
 org.openide.windows.TopComponent.close(TopComponent.java:263)
 
  at

 
 org.openide.windows.TopComponent.close(TopComponent.java:243)
 
  at 

 
 
org.netbeans.core.windows.frames.DefaultContainerImpl.doPerformAction(DefaultContainerImpl.java:445)
 
  at 

 
 
org.netbeans.core.windows.frames.DefaultContainerImpl.access$000(DefaultContainerImpl.java:76)
 
  at 

 
 
org.netbeans.core.windows.frames.DefaultContainerImpl$1.run(DefaultContainerImpl.java:431)
 
  at

 
 java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
 
  at

 
 java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
 
[catch] at 

 
 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
 
  at 

 
 java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
 
  at

 
 java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
 
  at

 
 java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
 
  at

 
 java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
 
any clue as to what is going on?

My strings:


   Product Version   = Forte for Java 4,
Community Edition (Build 
020521)
   IDE Versioning= IDE/1 spec=1.43.3
impl=020521
   Operating System  = Linux version 2.4.7-10
running on i386
   Java; VM; Vendor  = 1.4.0; Java HotSpot(TM)
Client VM 1.4.0-b92; 
Sun Microsystems Inc.
   Java Home = /usr/j2sdk1.4.0/jre
   System Locale; Encod. = en_US; ISO-8859-1
(f4j_ce)


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:  
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

 
 
 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Tiles And Struts

2002-06-26 Thread Vincent Stoessel

Just out of curiosity, what functionality is lost
by using tiles' ActionComponentServlet ?
Thanks

Ricardo de Souza Moura wrote:
 Can I use a plugIn to Tiles ?
 I am not wanting to use the ActionComponentServlet, but I am wanting to 
 use the definitions-config param.
 
 There are some way ?
 
 Thanks
 
 _
 MSN Photos é a maneira mais fácil e prática de editar e compartilhar sua 
 fotos: http://photos.msn.com.br
 
 
 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tiles And Struts

2002-06-26 Thread Vincent Stoessel

Thanks. That's what I thought.
I was wondering why the original poster id not want to use it.



Cedric Dumoulin wrote:
   By using tiles ActionComponentServlet , no Struts functionalities are lost. You
 gain one : the ability to use Tiles definitions names as Struts forward.
   Note that Struts1.1 also require the TilesRequestProcessor to enable Tiles.
 
  Cedric
 
 
 Vincent Stoessel wrote:
 
 
Just out of curiosity, what functionality is lost
by using tiles' ActionComponentServlet ?
Thanks

Ricardo de Souza Moura wrote:

Can I use a plugIn to Tiles ?
I am not wanting to use the ActionComponentServlet, but I am wanting to
use the definitions-config param.

There are some way ?

Thanks

_
MSN Photos é a maneira mais fácil e prática de editar e compartilhar sua
fotos: http://photos.msn.com.br


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Learning by doing: longer

2002-06-26 Thread Vincent Stoessel

I think I will go for JSP Site Design, thanks for that.

OK, it's time for me to get real basic here.

I want to make the ulimate Hello MVC Struts app from scratch as a 
learning exercise and for a tutorial that I will freely post and give away.




Platform: tomcat 4.01 , struts 1.1 with included tiles.
Dev tools:  forte for java 4.0 CE and emacs when I get tired of the GUIs.


Goal:to make a mvc struts app so basic that a beginner can understand 
the basic structure of the framework. all it has to do is display
You are learning well on a web page if you login sucessfully
or take users to an error page if login is not sucessfull.
For simplicity, the username and passwd can be stored in a local file.



The old jsp designer in me would plan out a series of web pages
that would execute JSP applications in a linear fashion or all on
one page (yes, the dreaded embedded scriptlet code in one jsp page).
I now know that the logic needs to be separated into a bean(taglib?)

I've seen all the model 2 diagrams and understand how it all works in 
theory. But from a partical struts point of view I'm baffled by the
naming conventions (everything is named Action*). Is my business
logic supposed to be contained in a class, bean or taglib?
I am new to taglib thing and I am looking for a good
boook, online tutorial on that as well.

So what is the first step, creating a struts-config file, writing the 
business logic class/bean/taglib or drawing a pretty visio diagram?

Thanks in advance.

















Dave Hodson wrote:
 Get a copy of either JSP Site Design or JSP Web Development
 They have pretty good examples...
 
 (JSP Site Design has a much more in-depth look at Struts than does JSP Web 
Development, which is more of a beginner's guide to JSP)
 
 Dave
 
 
 
 ---
 Dave Hodson 
 MessageCast, inc.
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 www.messagecast.net
 
 
 
-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 2:50 PM
To: Struts Users
Subject: learning by doing: newbie alert


Hello,
I have been doing a lot of reading lately about struts
and have tried modifying examples and such. I have really 
been trying to
just mess with things till I get a feel as to how all this works.
This thing has a lot of moving parts. :)

I am getting frustrated but I know that is a normal part
of learning something new, so I trudge on.

I'm still trying to understand how to start adding
my own functionality to the default struts webapps.
For example my goal right now is to create a simple
login screen that authenticates off a jdbc data source.
Do I have to write a taglib in order to do this?
Maybe we need a struts-stripped-down-basic-example.war ?
Thanks


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




struts console bug?

2002-06-25 Thread Vincent Stoessel

I am using struts console in forte 4 java 4 CE
and whenever I try to close the struts console window.
sine I can't kill the window, struts-console begins with forte
at startup. Throwing same error on the opening and closing
of forte.

the  exception:

*** Exception occurred 
Tue Jun 25 16:26:53 EDT 2002: java.lang.NullPointerException: no message
java.lang.NullPointerException
at 
org.apache.struts.console.adapters.netbeans.StrutsConsolePanel.closeLast(StrutsConsolePanel.java:136)
at 
org.openide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:286)
at 
org.openide.windows.CloneableTopComponent.canClose(CloneableTopComponent.java:143)
at org.openide.windows.TopComponent.close(TopComponent.java:263)
at org.openide.windows.TopComponent.close(TopComponent.java:243)
at 
org.netbeans.core.windows.frames.DefaultContainerImpl.doPerformAction(DefaultContainerImpl.java:445)
at 
org.netbeans.core.windows.frames.DefaultContainerImpl.access$000(DefaultContainerImpl.java:76)
at 
org.netbeans.core.windows.frames.DefaultContainerImpl$1.run(DefaultContainerImpl.java:431)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
[catch] at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

any clue as to what is going on?

My strings:


   Product Version   = Forte for Java 4, Community Edition (Build 
020521)
   IDE Versioning= IDE/1 spec=1.43.3 impl=020521
   Operating System  = Linux version 2.4.7-10 running on i386
   Java; VM; Vendor  = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; 
Sun Microsystems Inc.
   Java Home = /usr/j2sdk1.4.0/jre
   System Locale; Encod. = en_US; ISO-8859-1 (f4j_ce)


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: kickstarting struts/tiles

2002-06-20 Thread Vincent Stoessel

cool, found it.
Using  tiles-blank-struts1-1.war specifically.
thanks.

Ted Husted wrote:
 I believe there's a tiles-blank.war in the current distribution for just
 this purpose.
 
 Vincent Stoessel wrote:
 
OK, newbie question.

I want to start developing a struts app with the use of tiles
for templating. My question is this. The way I have been doing it
is to copy all the *.tld  and jars into the WEB-INF of my tomcat server.
Would it be quicker/ faster to just use make a copy of the provided
struts-tiles.war file and rename it to myApp  . I figure that would
reduce  the margin for misconfiguration. Opinions?
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
 -- Ted Husted, Husted dot Com, Fairport NY US
 -- Java Web Development with Struts
 -- Tel: +1 585 737-3463
 -- Web: http://husted.com/about/services
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




anyone using struts with jboss?

2002-06-07 Thread Vincent Stoessel

Hello,
I am considering using tomcat/struts in combination
with jboss for my j2ee development platform. Anyone here using
struts with Jboss, any issues?
Thanks
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




dynamic templates?

2002-05-30 Thread Vincent Stoessel

OK, lets say I wanted to create a web application
and I wanted to keep a consistent look for each page.

Does struts have any kind of include tag or should I just
use jsp to do that?

example:


htmlheader never changes

my stuts content

htmlfooter never changes




-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




New to Struts

2002-05-29 Thread Vincent Stoessel

Hello,
I have been using forte CE as my main IDE for developing my java and jsp
applications. The concept behind struts sounds great as I want to move 
toward a more standand templates/framework for my web based 
applications. My taglib experience has been very small and my EJB 
experience is still in the book reading phase. Does forte CE
work well with struts or am I better off just using xemecs/jde
to edit files by hand. Thanks.
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: New to Struts

2002-05-29 Thread Vincent Stoessel

Truly cool, it's running sweet in forte 3.0 CE.

OK, time for the slow part, reading the struts docs.
:)

Thank You



James Holmes wrote:
 Forte CE and NetBeans are good tools for working with
 Struts.  Currently the Struts Console plugs into both
 of the IDEs.
 
 Struts Console:
 http://www.jamesholmes.com/struts/
 
 I'm working with some folks at Sun to bring better
 Struts support into both of these IDEs. This should
 add alot of needed development support tools.
 






--
To unsubscribe, e-mail:  
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

 
 
 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]