Re: problem with JAASRealm

2003-08-27 Thread Thomas . Gaudin
Hi folks,

For those interested in a basic example of using JAASRealm : 

http://forum.java.sun.com/thread.jsp?thread=233317&forum=60&message=1225787

hope it can help,

Thomas

Struts training

2003-04-03 Thread Thomas . Gaudin
Hi,
I am thinking about trying to convince management in my company to pay and
let me attend to some training on struts.
Anybody has already experienced trainings on that topic ?
I would be very interested into knowing where they did it and wether they
consider it was worth doing.
I would be more interested by sessions based in Europe, but If I am obliged
to go to polynesia or hawai, well I will suffer it ;)
Thanks,

Thomas



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



how to add a new record to a table

2003-04-02 Thread Thomas . Gaudin
Hi,

I guess my problem is common but I couldn't find an answer on the
archive...
I have a bean that provides an indexed  property (a java.util.List).
I  have this list displayed on a jsp page with a table and I would like the
last row of the table to be editable.
When the user submits the form, I would like the last row (the editable
one) to be added as a new entry in the indexed property
Any advise for how to do that ?
Thanks

Thomas



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



RE: [OT] Taglib reference and IntelliJ

2003-04-01 Thread Thomas . Gaudin

Hi,

Concerning errors for Taskdef in build.xml : I ran into the same problem to
declare Tomcat custom tasks.
It's been solved by adding catalina-ant.jar in the properties of Idea ant
panel (not in the project properties).
Hope that helps

Thomas




It still does not stop this problem :(

Also I in build.xml, I am getting error in the editor for the targets that
I
created using Taskdef







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



List of available tag libraries

2003-03-27 Thread Thomas . Gaudin
Hi,
Can someone provide me with some links gathering available tag libraries
for Struts ?
I had a look on the ressource page of struts web site but the  tag
lib is missing for example.
thanks,

Thomas



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



DynaValidatorForm question

2003-03-24 Thread Thomas . Gaudin
Hi,

There's something I am not able to figure out in the corner of
DynaValidator form, can someone give me some clues about that  ?

I have a buziness object that can be searched and edited.

I created my own ActionForm for editing pages (it is stored in the users's
session) and it has two properties : 'name' and 'description'.
It is declared in struts-config.xml and called 'myBean'

I use a DynaValidatorForm for my search page (which is also stored in the
session) and it has a 'name' and a 'description' property as well
It is declared in struts-config.xml as 'mySearchBean'.

The problem is that when I have edited and assigned values to myBean
ActionForm  (let's say I give it the name 'foo' and description 'bar')
then when I go to the search page mySearchBean has his values set with
'foo' and 'bar' whereas it is a completly different bean !

The problem disapears if I rename the properties of the DynaValidatorForm
(name -> name1, description -> description1) so that they are not the same
as in the normal ActionForm bean.
Is there any known issue that forbids to use same names for properties
across different beans ?
Anybody has an idea about what is the problem ?

Thanks a lot for giving insight,

Thomas



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



Re: Validation question

2003-02-20 Thread Thomas . Gaudin

>> you could check at the Form bean level by setting the flag to true for
any
>> set .
>> if false after all sets are invoked then u know no value is set
>> Sangeetha Nagarjunan
>> IT Solutions India Pvt. Ltd.
>> Bangalore
>> 080 - 6655122 X 2119

OK...
Is there any way to do so for a DynaActionForm ?
or do I have to turn my form into a standard Action ?
Cheers,

Thomas



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




Validation question

2003-02-20 Thread Thomas . Gaudin
Hi folks,

Is it possible to use the validator to check that at least one field in the
complete ActionForm is set ?
If yes, could someone give me some hints about how to do that ?
many thanks,

Thomas



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