Executing Struts-layout

2004-03-18 Thread Zakaria khabot
Hi all,
when I execute an Action which forward to a JSP I receive a null pointer
exception.
in my JSP I have :
layout:collection name=SaisiPBForm property=tab id=col1
styleClass=FORM 

layout:collectionItem title=SIGLE1 property=SIGLE1 width=150/

layout:collectionItem title=SIGLE2 property=SIGLE2 width=150/

/layout:collection



tab in an ArrayList witch I got from the Database.

can someone help me.

thanks



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



Re: Executing Struts-layout

2004-03-18 Thread Khalid K.
Just take a close look at the stack trace and read it from buttom up, and see
where the code fails...Usually it is something like:
NullPointerException
com.blablah.myAction (myAction:30)

which means the nullpointerexception happened at line 30 of myAction or
whatever class you are calling..

Khalid

Quoting Zakaria khabot [EMAIL PROTECTED]:

 Hi all,
 when I execute an Action which forward to a JSP I receive a null pointer
 exception.
 in my JSP I have :
 layout:collection name=SaisiPBForm property=tab id=col1
 styleClass=FORM 
 
 layout:collectionItem title=SIGLE1 property=SIGLE1 width=150/
 
 layout:collectionItem title=SIGLE2 property=SIGLE2 width=150/
 
 /layout:collection
 
 
 
 tab in an ArrayList witch I got from the Database.
 
 can someone help me.
 
 thanks
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Khalid K.

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



[ANNOUNCEMENT] final release of struts-layout 1.0

2004-03-09 Thread Jean-Noel Ribette
Hi everybody,

Im pleased to announce that struts-layout 1.0 is available now. 
Struts-layout is an open source taglib for struts which provides easy 
and fast interface creation. This is achieved by powerful tags which 
display panels, input fields, tables, treeviews, sortable lists, popups, 
calendars etc. With those tags, the developer have neither to write nor 
know HTML.

Struts-layout 1.0 features include:
- Date pickup calendar, sortable list, pager, tabbed panels, treeview 
and more,
- Runtime modification of css style and writeability of input fields,
- Runtime display of buttons and links,
- Skin framework, allowing to use a customized css file or generate 
specific HTML code for different users or clients,
- Format framework, allowing to format date, numbers, and any objets,
- Basic el support

Improvements since 1.0b2 include:
- Maven build system,
- Improved documentation,
- New FAQ section,
- Allow to expand / close a whole subtree in the treeview,
- Support el on many more properties.
Find more information on struts-layout at 
http://struts.application-servers.com
struts-layout 1.0 can be downloaded at 
http://struts.application-servers.com/struts-layout-v1.0.zip

Best regards,

Jean-Noel Ribette

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


struts layout

2004-03-06 Thread Ivo Zivkov
Hello, anybody using struts-layout 
(http://struts.application-servers.com/) ? Any comments?

Regards,
Ivo Zivkov


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


Struts-layout problem ?

2003-09-01 Thread Rosén Håkan
I'm quite new to struts and try to use struts-layout
(http://struts.application-servers.com/).
Now, I've made a form :
 layout:form align=center action=/myaction.do reqCode=create

and inside the form a number of buttons :
layout:formActions
  layout:submit mode=N,N,D reqCode=createNy/layout:submit
  layout:submit mode=N,D,N reqCode=editEdit/layout:submit
/layout:formActions
this works fine !

BUT inside the form is a list of items with a link back to the same page + a
key-parameter 
layout:collectionItem title=Action param=pid 
url=/acme/myaction.do?reqCode=editpid=Edit
/layout:collectionItem

this works too, but i get a new instance of my form-bean and loose all my
data,
How can my collectionItem perform an action just like the submit-button ?
regards
//Håkan 

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



Any IDE to help code Struts pages using the Struts Layout library ? eom

2003-08-28 Thread Madhu Nair


-
Madhu Nair
Member of Technical Staff,
Persistent Systems Private Limited,
Pune 411016 INDIA.
Tel: +91-20-5678900 Ext: 335


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



Struts Layout problem: NPE with layout:checkboxes???

2003-08-02 Thread David Benoff
Hi all,
Im experimenting with Struts Layout and having a problem with the
layout:checkboxes tag.  The jsp Im replacing uses the multibox tag
backed by a DynaActionForm with a String[] property and works fine.  But
with Struts Layout, the layout:checkboxes grabs the collection
properly out of the request and populates the form with checkboxes, but
I get an NPE on form submit.  Ive wracked my brains and cant diagnose
the problem.  Any hints appreciated!
 
Heres the form:
 
layout:form action=/newteamsave.do?method=newteamsave
focus=teamname key=newteam.title styleClass=FORM
 
 
Snip
 
  layout:checkboxes key=prompt.selectcats property=cats
layout:options collection=categories
property=categoryname/
  /layout:checkboxes
 
  layout:formActions
  layout:submit property=submit value=Submit/
  layout:reset/
  /layout:formActions
 
/layout:form
 
 
And heres the NPE.  Ive tried my own form class with an ArrayList()
property insteadstill get the same exception.
 
java.lang.NullPointerException
at
org.apache.commons.beanutils.PropertyUtils.setIndexedProperty(PropertyUt
ils.java:1458)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:928)
at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
 


Struts-layout

2003-07-21 Thread Saman Ghodsian


Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada



 -Original Message-
 From: Shyam A [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 21, 2003 1:04 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie]: Accessing labelProperty in html:options
 
 
 Hi,
 
 I'm using the html:options tag to populate a
 drop-down list from a collection.
 
 My code is as follows:
 
 html:select property=termCode
 onchange=submitForm(this.form) 
 html:options
 collection=termList property=value
 labelProperty=label/
 /html:select
 
 The property termCode is a string in my ActionForm
 class. I would like to access the selected value in
 the drop-down, i.e, labelProperty in my ActionClass.
 I'm not sure how it is done.
 
 Any help would be greatly appreciated.
 
 Thanks,
 Shyam
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



struts layout what do people think

2003-07-16 Thread McRobb, John
I am looking for positive/negative feedback on this as we are considering
using it.

Thanks in advance

John




Tesco Personal Finance Limited is a joint venture between The Royal Bank of Scotland 
plc and Tesco PLC. Tesco Personal Finance Limited is registered in Scotland No 173199. 
Registered Office: 42 St Andrew Square, Edinburgh EH2 2YE. 

This e-mail message is confidential and for use by the addressee only. If you are not 
the addressee, please return the message to the sender by replying to it and then 
delete the message from your computer. 

Internet e-mails are not necessarily secure. Tesco Personal Finance Limited does not 
accept responsibility for changes made to this message after it was sent.


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



RE: struts layout what do people think

2003-07-16 Thread Davidson, Glenn
John,
Right to the point. 
Positive: 
The Struts framework simplifies development of robust (are there any other
kind) Web applications. It provides a simple and intuitive implementation of
the MVC (or MVC2 to be more precise) pattern. Forms, actions, navigation,
validation etc are all made very simple.
It encourages good development practices. 
It is not exclusive, by that I mean you can use other (not all) web
technologies with Struts. 
It is relatively easy to learn the basic features of Struts. 
It is open source and has an active development community supporting it. 
With the addition of Tiles, Validator, DynaAction, Velocity etc. you have a
very powerful development environment. 
Struts is based upon Java and JSP, both very strong mature and widely
accepted technologies. You have the option to use EJB's or not.

Negatives: 
Struts is still relatively new. 
The view components are not strong. To get any fancy client view
functionality you will have to use JavaScript or something like it. (Note.
Java Server Faces may address some of these shortfalls but it is still just
a specification.)
There are few development tools for Struts. 
There are questions as to whether or not Struts has reached the critical
mass of developers to ensure it's survival. ( I do not agree with this but I
include it in an attempt to be at least superficially objective.) 
Some good books do exist, but they cover the basic features of Struts,
documentation on advanced features (including examples) is still lacking.
When you want to do something advanced for the first time be prepared to
take some additional time to figure out how to make it work. 

Bottom line:
We are using Struts to build trading systems for a company that has
multi-billion (280+)dollars under management. We have been able to deliver
on time and on budget while satisfying our users (sounds too good to be true
:-) ). 

Struts works.

I hope this helps.

Glenn

-Original Message-
From: McRobb, John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 8:40 AM
To: '[EMAIL PROTECTED]'
Subject: struts layout what do people think


I am looking for positive/negative feedback on this as we are considering
using it.

Thanks in advance

John




Tesco Personal Finance Limited is a joint venture between The Royal Bank of
Scotland plc and Tesco PLC. Tesco Personal Finance Limited is registered in
Scotland No 173199. Registered Office: 42 St Andrew Square, Edinburgh EH2
2YE. 

This e-mail message is confidential and for use by the addressee only. If
you are not the addressee, please return the message to the sender by
replying to it and then delete the message from your computer. 

Internet e-mails are not necessarily secure. Tesco Personal Finance Limited
does not accept responsibility for changes made to this message after it was
sent.


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


struts-layout

2003-07-03 Thread McRobb, John
I heard that this was in struts 1.1rc1, what happened to it that it didn't
make 1.1 and what are the plans.

Ta

John



Tesco Personal Finance Limited is a joint venture between The Royal Bank of Scotland 
plc and Tesco PLC. Tesco Personal Finance Limited is registered in Scotland No 173199. 
Registered Office: 42 St Andrew Square, Edinburgh EH2 2YE. 

This e-mail message is confidential and for use by the addressee only. If you are not 
the addressee, please return the message to the sender by replying to it and then 
delete the message from your computer. 

Internet e-mails are not necessarily secure. Tesco Personal Finance Limited does not 
accept responsibility for changes made to this message after it was sent.


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



Re: struts-layout

2003-07-03 Thread Nicolas De Loof
struts-layout is a taglib developped by Improve to help building Struts app.

http://struts.application-servers.com/

It is not currently part of Struts, and was noy included in 1.1rc1. It will not bee 
since Improve didn't donate code to
Apache Software Fundation.


Nico.

- Original Message - 
From: McRobb, John [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 3:12 PM
Subject: struts-layout


 I heard that this was in struts 1.1rc1, what happened to it that it didn't
 make 1.1 and what are the plans.

 Ta

 John



 Tesco Personal Finance Limited is a joint venture between The Royal Bank of Scotland 
 plc and Tesco PLC. Tesco Personal
Finance Limited is registered in Scotland No 173199. Registered Office: 42 St Andrew 
Square, Edinburgh EH2 2YE.

 This e-mail message is confidential and for use by the addressee only. If you are 
 not the addressee, please return the
message to the sender by replying to it and then delete the message from your computer.

 Internet e-mails are not necessarily secure. Tesco Personal Finance Limited does not 
 accept responsibility for changes
made to this message after it was sent.


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


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



Re: struts-layout

2003-07-03 Thread Craig R. McClanahan


On Thu, 3 Jul 2003, McRobb, John wrote:

 Date: Thu, 3 Jul 2003 14:12:12 +0100
 From: McRobb, John [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: struts-layout

 I heard that this was in struts 1.1rc1, what happened to it that it didn't
 make 1.1 and what are the plans.


Struts-layout was not in 1.1rc1 (or any other release) as part of Struts,
and AFAIK there have been no formal discussions on incorporating it into
Struts directly.  Such a thing is certainly possible, of course; it would
require a formal proposal and vote on the STRUTS-DEV mailing list to make
it happen.

 Ta

 John

Craig

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



Re: [struts-layout] struts 1.1 b3

2003-03-03 Thread Jean-Noel Ribette
Hi,

struts-layout tries to be compatible with both struts 1.0 and 1.1, which 
causes the deprecated errors you got when compiling with struts 1.1.
However, this should not prevent the use of strut-layout with b3. (unless 
you use the struts-layout plugin, which still use the b2 interface).

Best regards,

Jean-Noel Ribette

At 18:27 01/03/2003, you wrote:
 Hi does anyone have use correcty struts-layout (latest one) and
 the b3 ?
When I add these lib and compile my project I got many deprecated errors.
 Thanks for your help.

 /**
 * Alexandre Jaquet
 */


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

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


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


[struts-layout] struts 1.1 b3

2003-03-01 Thread alexj
Hi does anyone have user correcty struts-layout (latest one) and
the b3 ?
When I add these lib and compile my project I got many deprecated errors.

Thanks for your help.

/**
* Alexandre Jaquet
*/


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



Re: [struts-layout] struts 1.1 b3

2003-03-01 Thread alexj
 Hi does anyone have use correcty struts-layout (latest one) and
 the b3 ?
When I add these lib and compile my project I got many deprecated errors.
 
 Thanks for your help.
 
 /**
 * Alexandre Jaquet
 */
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

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



struts-layout + sslext

2003-02-11 Thread alexj
Does anyone know if it's possible to include sslext with struts-layout ? 
Both sslext and struts-layout use different form tag.

Thanks in advance.

--
Alexandre Jaquet
-



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




Re: struts-layout taglibraries

2003-01-04 Thread Martin Cooper
Assuming you're talking about the Struts Layout tag library, which is an
extension to Struts and not part of it, you should contact the Struts
Layout team, or post a message to the Struts Layout mailing list. The
contact information is available on their web site:

http://struts.application-servers.com/

--
Martin Cooper


On Mon, 30 Dec 2002, usha wrote:

 Hi

 Thnaks a lot for replying. yes i defenetly need the help from u in using
 the struts-layout . i was just struggling to implement the struts-layout
 from past 1 week. right now i have 1 problem i am using the text tag
 where i am specifying the isRequired=false but still it displays the
 pixel icon besides the text box. how to disable this.
 i have an invoice page where there are 2 section one is header and
 details section. i wanted to display the header portion depends on the
 mode if its in create then i wanted to display the text box else a plain
 text depending on the button onclick on the header portion like
 add,delete,update. can u tell me what i need to do to achieve this. and
 if u have time can u explain me how this modes works.

 Thanks
 usha
 Xavier Escuderosabadell wrote:

 Hi Usha. We are using struts-layout, and I have to say that is very useful!!
 We've used it mainly for developing only 1 jsp for a one maintenance use case
 (create, update, delete), because it allows to specify with tags and code the 
enabling and
 disabling of components (if you are in an update, some textfields or combos appear 
like labels, etc.)
 
 Don't hesitate if you want more information.
 
 
 anybody is using the struts-layout taglibraries. i wanted to know how to
 use this with strutsv1.0.2.
 
 thanks
 usha
 
 
 --
 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]




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




Re: struts-layout taglibraries

2002-12-30 Thread Xavier Escuderosabadell
Hi Usha. We are using struts-layout, and I have to say that is very useful!!
We've used it mainly for developing only 1 jsp for a one maintenance use case
(create, update, delete), because it allows to specify with tags and code the enabling 
and
disabling of components (if you are in an update, some textfields or combos appear 
like labels, etc.)

Don't hesitate if you want more information.

 anybody is using the struts-layout taglibraries. i wanted to know how to
 use this with strutsv1.0.2.

 thanks
 usha


 --
 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]




Re: struts-layout taglibraries

2002-12-30 Thread Xavier Escuderosabadell
In terms of your question, I think that it doesn't have to do anything with struts.
You can use it without it, but maybe I'm wrong
 Hi

 anybody is using the struts-layout taglibraries. i wanted to know how to
 use this with strutsv1.0.2.

 thanks
 usha


 --
 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]




Re: struts-layout taglibraries

2002-12-30 Thread usha
Hi

Thnaks a lot for replying. yes i defenetly need the help from u in using 
the struts-layout . i was just struggling to implement the struts-layout 
from past 1 week. right now i have 1 problem i am using the text tag 
where i am specifying the isRequired=false but still it displays the 
pixel icon besides the text box. how to disable this.
i have an invoice page where there are 2 section one is header and 
details section. i wanted to display the header portion depends on the 
mode if its in create then i wanted to display the text box else a plain 
text depending on the button onclick on the header portion like 
add,delete,update. can u tell me what i need to do to achieve this. and 
if u have time can u explain me how this modes works.

Thanks
usha
Xavier Escuderosabadell wrote:

Hi Usha. We are using struts-layout, and I have to say that is very useful!! 
We've used it mainly for developing only 1 jsp for a one maintenance use case 
(create, update, delete), because it allows to specify with tags and code the enabling and
disabling of components (if you are in an update, some textfields or combos appear like labels, etc.)

Don't hesitate if you want more information.
 

anybody is using the struts-layout taglibraries. i wanted to know how to 
use this with strutsv1.0.2.

thanks
usha


--
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]




Re: struts-layout taglibraries

2002-12-24 Thread David Graham
The easiest way in 1.0.2 would be to use the template library.  You can also 
integrate Tiles but that's a bit more work.  Tiles is integrated in 1.1 and 
the template library is deprecated.  See the user's guide for details.

David






From: usha [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: struts-layout taglibraries
Date: Tue, 24 Dec 2002 14:26:51 +0800

Hi

anybody is using the struts-layout taglibraries. i wanted to know how to 
use this with strutsv1.0.2.

thanks
usha


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


_
STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. 
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_stopmorespam_3mf


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



struts-layout taglibraries

2002-12-23 Thread usha
Hi

anybody is using the struts-layout taglibraries. i wanted to know how to 
use this with strutsv1.0.2.

thanks
usha


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



Problem with scriplet inside tag attribute. (struts-layout)

2002-10-23 Thread Emmanuel Boudrant
Hi,

I've got a problem with some dynamic tag attributes, I want to put a scriplet in a tag 
attribute
but the code isn't compiled.

layout:tab key=%= name % 
   ...
/layout:tab

When a display HTML source, I've got the %= ... %. The tags came from struts-layout.

ps : This solution work fine with html:form action=%= path% 

Thx,
-emmanuel



___
Do You Yahoo!? -- Une adresse yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.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




RE: Problem with scriplet inside tag attribute. (struts-layout)

2002-10-23 Thread Trieu, Danny
Look at you tld file.  You need to allow RE for attribute key.

danny

-Original Message-
From: Emmanuel Boudrant [mailto:b7st;yahoo.fr] 
Sent: Wednesday, October 23, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: Problem with scriplet inside tag attribute. (struts-layout)


Hi,

I've got a problem with some dynamic tag attributes, I want to put a
scriplet in a tag attribute but the code isn't compiled.

layout:tab key=%= name % 
   ...
/layout:tab

When a display HTML source, I've got the %= ... %. The tags came from
struts-layout.

ps : This solution work fine with html:form action=%= path% 

Thx,
-emmanuel



___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo!
Mail : http://fr.mail.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

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




RE: [ANNOUNCE] struts-layout 1.0b1

2002-10-15 Thread Jean-Noel Ribette

Struts-layout uses a modified version of an old release of the struts-menu 
extension.
The source code is available in the struts-layout cvs, and a jar is 
available in the struts-layout distribution (in the WEB-INF/lib directory 
of the example).

Jean-Noel

At 18:20 14/10/2002, you wrote:
First of all, great job! This looks like a very useful extension.
I tried to download and compile it and ran into trouble with the struts-menu
package. I tried to download the struts-menu package from
http://husted.com/struts/resources/struts-menu.zip but it is old and refers
to org.apache.struts.digester. After fixing that, struts-layout still does
not compile with it because MenuComponent doesn't have get/setPage and
get/setForward as struts-layout requires. Where can I get the source of a
working package?

Tal Lev-Ami
Trivnet Ltd.

-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 6:16 PM
To: Struts Users Mailing List
Subject: Re: [ANNOUNCE] struts-layout 1.0b1


At 17:18 09/10/2002, you wrote:
 Very impressive. So this tag library sits on top of struts functionality?

Yes, struts-layout is the last brick - it generates the output for the user.

The differences between a struts application using the struts-html taglib
and an application using the struts-layout one is in the jsps. The other
parts (application core, struts action and form) are the same.

With struts-layout, you don't have to bother about how to write a nice
table, list, menu or treeview in HTML. You just insert the tag, and the
component is displayed. The layout of the different components is done
automatically. As a result there is no HTML code in the jsp which make it
smaller, easier to write and to understand.

Jean-Noel


 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]
 

--__/ \__-
improve   Jean-Noël Ribette
--/-\--
Ingénieur études et développement


--
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]




RE: [ANNOUNCE] struts-layout 1.0b1

2002-10-14 Thread Tal Lev-Ami

First of all, great job! This looks like a very useful extension.
I tried to download and compile it and ran into trouble with the struts-menu
package. I tried to download the struts-menu package from
http://husted.com/struts/resources/struts-menu.zip but it is old and refers
to org.apache.struts.digester. After fixing that, struts-layout still does
not compile with it because MenuComponent doesn't have get/setPage and
get/setForward as struts-layout requires. Where can I get the source of a
working package?

Tal Lev-Ami
Trivnet Ltd.

-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 6:16 PM
To: Struts Users Mailing List
Subject: Re: [ANNOUNCE] struts-layout 1.0b1


At 17:18 09/10/2002, you wrote:
Very impressive. So this tag library sits on top of struts functionality?

Yes, struts-layout is the last brick - it generates the output for the user.

The differences between a struts application using the struts-html taglib 
and an application using the struts-layout one is in the jsps. The other 
parts (application core, struts action and form) are the same.

With struts-layout, you don't have to bother about how to write a nice 
table, list, menu or treeview in HTML. You just insert the tag, and the 
component is displayed. The layout of the different components is done 
automatically. As a result there is no HTML code in the jsp which make it 
smaller, easier to write and to understand.

Jean-Noel


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]


--__/ \__-
   improve   Jean-Noël Ribette
--/-\--
Ingénieur études et développement


--
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]




[ANNOUNCE] struts-layout 1.0b1

2002-10-09 Thread Jean-Noel Ribette

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]




Re: [ANNOUNCE] struts-layout 1.0b1

2002-10-09 Thread kiuma

Seems very nice, but are the only possible layouts?

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]

 .





--
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 Developer

excellent work Jean, Merci, bon travail.

- Original Message -
From: Jean-Noel Ribette [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 09, 2002 8:55 AM
Subject: [ANNOUNCE] struts-layout 1.0b1


 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=s
howAllNews
 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]



--
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 Chen, Gin

I have alot of things that I developed that work like this. Some might
benefit your taglib.
But I cant seem to get into CVS. Do you have instructions on how to
contribute?
Thanks,
-Tim

-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 8:56 AM
To: [EMAIL PROTECTED]
Subject: [ANNOUNCE] struts-layout 1.0b1


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=s
howAllNews 
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]

--
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 Darren Hill

The tutorial says nothing about 'setting-up' struts-layout.

ie.  Where to css files, how to initialize stuff in the web.xml, where to
put things.

The example .war files doesn't even include 'struts-layout.tld' in the
web.xml .. ???

D.

-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: October 9, 2002 8:56 AM
To: [EMAIL PROTECTED]
Subject: [ANNOUNCE] struts-layout 1.0b1


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=s
howAllNews 
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]

--
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 Jean-Noel Ribette

Be careful that the cvs does not run on the standard cvspserver port. This 
can cause problems if you're behind a firewall.

If' you'd like to contribute, you can start by participate to the 
mailing-list ([EMAIL PROTECTED]) and propose your improvements 
(doc, patch,  new features etc. are welcome).

Regards,

Jean-Noel

At 16:10 09/10/2002, you wrote:
I have alot of things that I developed that work like this. Some might
benefit your taglib.
But I cant seem to get into CVS. Do you have instructions on how to
contribute?
Thanks,
-Tim

-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 8:56 AM
To: [EMAIL PROTECTED]
Subject: [ANNOUNCE] struts-layout 1.0b1


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=s
howAllNews
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]

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

--__/ \__-
   improve   Jean-Noël Ribette
--/-\--
Ingénieur études et développement


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




Struts-Layout 1b1

2002-10-09 Thread Developer

I've had to modify the code to ad the titleKey functionality to the layout tags.  
I've had to call it hintKey since title key would not be too intuitive in the 
struts-layout perspective.  Is that support added to 1b1 yet, if not are you planning 
on adding.

Is the sort collection functionality working with tiles yet?

Thanks.


RE: [ANNOUNCE] struts-layout 1.0b1

2002-10-09 Thread Jean-Noel Ribette

At 16:10 09/10/2002, you wrote:
The tutorial says nothing about 'setting-up' struts-layout.

The tutorial indeed does not say anything about that.
There is a link for the initial setting-up on the download page, and 
information about the customization on the skin page.

Basically to start a struts-layout application you have to add the 
struts-layout jar and tld to the corresponding directory, and copy the 
needed resources (directory config and images of the example). 
Configuration is done for a skin by adding a property files.


ie.  Where to css files, how to initialize stuff in the web.xml, where to
put things.

The example .war files doesn't even include 'struts-layout.tld' in the
web.xml .. ???

I didn't know that...  (it doesn't seem to prevent the example to run)

Jean-Noel



D.

-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: October 9, 2002 8:56 AM
To: [EMAIL PROTECTED]
Subject: [ANNOUNCE] struts-layout 1.0b1


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=s
howAllNews
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]

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

--__/ \__-
   improve   Jean-Noël Ribette
--/-\--
Ingénieur études et développement


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




Re: Struts-Layout 1b1

2002-10-09 Thread Jean-Noel Ribette

At 16:43 09/10/2002, you wrote:
I've had to modify the code to ad the titleKey functionality to the 
layout tags.  I've had to call it hintKey since title key would not be 
too intuitive in the struts-layout perspective.  Is that support added to 
1b1 yet, if not are you planning on adding.

Adding this attribute is still on my todo list. It will be in the 1.0 final 
release.


Is the sort collection functionality working with tiles yet?

It's working with some tiles configuration, but not all. This is the main 
bug that prevent struts-layout 1.0 to be released.

Jean-Noel



Thanks.

--__/ \__-
   improve   Jean-Noël Ribette
--/-\--
Ingénieur études et développement


--
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]




Re: [ANNOUNCE] struts-layout 1.0b1

2002-10-09 Thread Jean-Noel Ribette

At 17:18 09/10/2002, you wrote:
Very impressive. So this tag library sits on top of struts functionality?

Yes, struts-layout is the last brick - it generates the output for the user.

The differences between a struts application using the struts-html taglib 
and an application using the struts-layout one is in the jsps. The other 
parts (application core, struts action and form) are the same.

With struts-layout, you don't have to bother about how to write a nice 
table, list, menu or treeview in HTML. You just insert the tag, and the 
component is displayed. The layout of the different components is done 
automatically. As a result there is no HTML code in the jsp which make it 
smaller, easier to write and to understand.

Jean-Noel


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]


--__/ \__-
   improve   Jean-Noël Ribette
--/-\--
Ingénieur études et développement


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




using struts-layout by Improve

2002-04-14 Thread Melissa . Manoogian


I am using the Struts framework in my current application which consists
of building web forms to add/edit/delete records from the database.
The Struts framework saved me a lot of time - I will use Struts every time
in my future projects!

One weak point of the bare-bones Struts is that *it does not* provide any
means for rapid
building of GUI. So - when I found  the  Struts Layout by Improve it was
going to solve
 EXACTLY this issue. Unfortunately I cannot get struts-layout  to work.
 I unpacked the  struts-layout.war, but when I type  this URL
http://localhost:8080/struts-layout/
I am getting an exception from
fr.improve.struts.taglib.layout.util.LayoutUtils.getLabel(LayoutUtils.java:292).
I am using Tomcat 4.0.1 and Struts1.0.1.
Does anyone know what may be causing this exception?

Thanks in advance
Melissa Manoogian
JPM STO

javax.servlet.jsp.JspException
at
fr.improve.struts.taglib.layout.util.LayoutUtils.getLabel(LayoutUtils.java:292)
at
fr.improve.struts.taglib.layout.util.LayoutUtils.getLabel(LayoutUtils.java:263)
at
fr.improve.struts.taglib.layout.LabelledTag.getLabel(LabelledTag.java:60)
at
fr.improve.struts.taglib.layout.HtmlTag.doPrintHead(HtmlTag.java:134)
at
fr.improve.struts.taglib.layout.HtmlTag.doStartTag(HtmlTag.java:167)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:94)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Unknown Source)



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




Re: problem using struts-layout by Improve

2002-04-14 Thread mailinglist

  EXACTLY this issue. Unfortunately I cannot get struts-layout  to work.
  I unpacked the  struts-layout.war, but when I type  this URL
 http://localhost:8080/struts-layout/
 I am getting an exception from

fr.improve.struts.taglib.layout.util.LayoutUtils.getLabel(LayoutUtils.java:
292).
 I am using Tomcat 4.0.1 and Struts1.0.1 - and this is the content of my


I encountered the same problem but it disappear when I am online
(I have to accept these connections in my firewall in order to make it work)
'JAVA.EXE' from your computer wants to connect to daedalus.apache.org
[63.251.56.142], port 80
'JAVA.EXE' from your computer wants to connect to flres.java.Sun.COM
[192.18.97.71], port 80

(JDK 1.4  /  Tomcat 4.0.2  /  Struts1.0.2  /  Struts Layout v0.4)



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




[ANNOUNCE] struts-layout 0.4 released

2002-04-04 Thread jnribette

Hi,

I'm proud to announce the release of struts-layout 0.4. Struts-layout is a 
specialized and open source taglib for struts that allows fast UI development 
by providing tags to insert usual components (form, fields, lists etc.) in a 
page. The tags deal with the layout and the developer don't have to write HTML 
code any more.

struts-layout 0.4 supports value formatting and the display of input fields 
read-write or read only according to the user profile or the type of action 
done (creation of data, edition of data, inspection of data).

For more information about struts-layout please visit  
http://struts.application-servers.com

Regards,

Jean-Noel Ribette

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




Struts-layout menu tag : scrollbar possible?

2002-01-15 Thread DUPRAT Alexandre

Hi,

I currently use struts-layout menu tag witch work fine with struts-template.
My problem is that my menu is a dynamic one : it can go larger if i insert
long named nodes.
This is making node to wrap on next line, not so nice...
How can i avoid this?
How can i have something like a horizontal scrollbar?
Is it possible for struts layout menu tag (or Scott Sayles' struts-menu)? (i
tried it in a frame but no scrollbar...)

Thanks for help.


Alexandre Duprat
tel : 05 57 26 00 91 
[EMAIL PROTECTED]


++
| Ce courrier ainsi que les fichiers joints sont confidentiels.  |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : [EMAIL PROTECTED]   |
|  - |
| Ce message confirme que le courrier a passe le controle|
| antivirus du relais de messagerie Internet avec succes.|
++

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




RE: Parser error while testing struts-layout

2002-01-04 Thread DUPRAT Alexandre

I just managed to execute struts-layout.
My problem was i did not remome jaxp.jar in tomcat\lib directory. So i had 2
classes with the same name loaded in tomcat VM.
Removing jaxp.jar, putting xerces.jar in place and replacing
strut-layout\WEB-INF\lib\digester.jar by the last version of digester
strut-layout\WEB-INF\lib\common-digester.jar seems to make all go round.

Thanks Jean-Noel for help and a good article found at
http://www.develop.com/downloads/DevWPJav.pdf (it enlighted the first
exception message)

I hope i can now use struts tree-view.

-Message d'origine-
De: DUPRAT Alexandre [mailto:[EMAIL PROTECTED]]
Date: jeudi 3 janvier 2002 16:30
À: '[EMAIL PROTECTED]'
Cc: 'Jean-Noel Ribette'
Objet: RE: Parser error while testing struts-layout


Jean-Noel :
I just tried replacing my digester 1.0 by 1.1.1
I got a different error : 

Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
va:57)
at org.apache.commons.digester.Digester.getParser(Digester.java:508)
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
not found
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


Maybe i could try digester 1.1 but...?

I would be really happy if i could use tree menu of struts-layout.


-Message d'origine-
De: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Date: jeudi 3 janvier 2002 15:47
À: Struts Users Mailing List; [EMAIL PROTECTED]
Objet: Re: Parser error while testing struts-layout


At 15:01 03/01/2002, you wrote:
Hi all,

Happy new year :-)

I'm currently testing struts-layout found at :
http://struts.application-servers.com/

when deploying on tomcat 3.2.3 i got errors like :


Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
 at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
 at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.j
a
va:57)
 at
org.apache.commons.digester.Digester.getParser(Digester.java:338)
 at org.apache.commons.digester.Digester.parse(Digester.java:859)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:
1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit

Parser error while testing struts-layout

2002-01-03 Thread DUPRAT Alexandre

Hi all,

Happy new year :-)

I'm currently testing struts-layout found at :
http://struts.application-servers.com/

when deploying on tomcat 3.2.3 i got errors like :


Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
va:57)
at org.apache.commons.digester.Digester.getParser(Digester.java:338)
at org.apache.commons.digester.Digester.parse(Digester.java:859)
at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled Code)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method parse(Ljava/io/InputStream;L
org/xml/sax/helpers/DefaultHandler;)V not found
at org.apache.commons.digester.Digester.parse(Digester.java:859)
at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled Code)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


Do i have any issue with my xml parser witch is xerces 1.4.2?

Need help please...!




Alexandre Duprat
SOPRA. Direction France Sud. Bordeaux
tel : 05 57 26 00 91 
[EMAIL PROTECTED]


++
| Ce courrier ainsi que les fichiers joints sont confidentiels.  |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : [EMAIL PROTECTED]   |
|  - |
| Ce message confirme que le courrier a passe le controle|
| antivirus du relais de messagerie Internet avec succes.|
++

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




RE: Parser error while testing struts-layout

2002-01-03 Thread DUPRAT Alexandre

Jean-Noel :
I just tried replacing my digester 1.0 by 1.1.1
I got a different error : 

Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
va:57)
at org.apache.commons.digester.Digester.getParser(Digester.java:508)
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
not found
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


Maybe i could try digester 1.1 but...?

I would be really happy if i could use tree menu of struts-layout.


-Message d'origine-
De: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Date: jeudi 3 janvier 2002 15:47
À: Struts Users Mailing List; [EMAIL PROTECTED]
Objet: Re: Parser error while testing struts-layout


At 15:01 03/01/2002, you wrote:
Hi all,

Happy new year :-)

I'm currently testing struts-layout found at :
http://struts.application-servers.com/

when deploying on tomcat 3.2.3 i got errors like :


Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
 at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
 at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.j
a
va:57)
 at
org.apache.commons.digester.Digester.getParser(Digester.java:338)
 at org.apache.commons.digester.Digester.parse(Digester.java:859)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:
1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
p
Interceptor.java, Compiled Code)
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method parse(Ljava/io/InputStream;L
org/xml/sax/helpers/DefaultHandler;)V not found
 at org.apache.commons.digester.Digester.parse(Digester.java:859)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init

Re: Parser error while testing struts-layout

2002-01-03 Thread Jean-Noel Ribette

At 15:01 03/01/2002, you wrote:
Hi all,

Happy new year :-)

I'm currently testing struts-layout found at :
http://struts.application-servers.com/

when deploying on tomcat 3.2.3 i got errors like :


Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
 at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
 at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
va:57)
 at org.apache.commons.digester.Digester.getParser(Digester.java:338)
 at org.apache.commons.digester.Digester.parse(Digester.java:859)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled Code)
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method parse(Ljava/io/InputStream;L
org/xml/sax/helpers/DefaultHandler;)V not found
 at org.apache.commons.digester.Digester.parse(Digester.java:859)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled Code)
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


Do i have any issue with my xml parser witch is xerces 1.4.2?

Need help please...!

The issue is with the old digester jar ship with the actual struts-layout 
release. Could you try to use the latest digester available at 
http://jakarta.apache.org/builds/jakarta-commons/release/commons-digester/ ?

HTH,

Jean-Noel






Alexandre Duprat
SOPRA. Direction France Sud. Bordeaux
tel : 05 57 26 00 91
[EMAIL PROTECTED]


++
| Ce courrier ainsi que les fichiers joints sont confidentiels.  |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : [EMAIL PROTECTED]   |
|  - |
| Ce message confirme que le courrier a passe le controle|
| antivirus du relais de messagerie Internet avec succes.|
++

--
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]




RE: Parser error while testing struts-layout

2002-01-03 Thread Jean-Noel Ribette

The digester still doesn't find Xerces as it tries to instanciate sun's 
parser. Could you make sure Xerces is in the WEB-INF/lib directory ? If not 
could you check if Struts alone is starting ok ?

Jean-Noel

At 16:29 03/01/2002, you wrote:
Jean-Noel :
I just tried replacing my digester 1.0 by 1.1.1
I got a different error :

Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
 at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
 at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
va:57)
 at org.apache.commons.digester.Digester.getParser(Digester.java:508)
 at org.apache.commons.digester.Digester.getReader(Digester.java:527)
 at org.apache.commons.digester.Digester.parse(Digester.java:1206)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
not found
 at org.apache.commons.digester.Digester.getReader(Digester.java:527)
 at org.apache.commons.digester.Digester.parse(Digester.java:1206)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


Maybe i could try digester 1.1 but...?

I would be really happy if i could use tree menu of struts-layout.


-Message d'origine-
De: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Date: jeudi 3 janvier 2002 15:47
À: Struts Users Mailing List; [EMAIL PROTECTED]
Objet: Re: Parser error while testing struts-layout


At 15:01 03/01/2002, you wrote:
 Hi all,
 
 Happy new year :-)
 
 I'm currently testing struts-layout found at :
 http://struts.application-servers.com/
 
 when deploying on tomcat 3.2.3 i got errors like :
 
 
 Digester.getParser:
 javax.xml.parsers.ParserConfigurationException: Namespace not supported by
 SAXParser
  at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
  at
 com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.j
a
 va:57)
  at
org.apache.commons.digester.Digester.getParser(Digester.java:338)
  at org.apache.commons.digester.Digester.parse(Digester.java:859)
  at
 org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
 52)
  at
 org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:
1
 75)
  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
  at
 org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
  at org.apache.tomcat.core.Handler.init(Handler.java:215)
  at
 org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
  at
 org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
p
 Interceptor.java, Compiled Code)
  at
 org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
 Compiled Code)
  at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
 Compiled Code)
  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
 Exception in thread main java.lang.NoSuchMethodError:
 javax.xml.parsers.SAXParser

RE: Parser error while testing struts-layout

2002-01-03 Thread DUPRAT Alexandre

I put xerces.jar in WEB-INF/lib but it doesn't change anything.
Error appends when i start tomcat, not while running the webapp.

Tomcat server can't start with struts-layout.
It was starting with struts-example and our struts application...

The first error was a ClassNotFoundException for
org.xml.sax.helper.DefaultHandler.
That's why i 've putted xerces.jar in \jakarta-tomcat-3.2.3\lib.
Then the class is found but you know what appends next :-(

It's the first time i have such a classpath problem with tomcat.
I usually put all jars in WEB-INF\lib and it works...


-Message d'origine-
De: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Date: jeudi 3 janvier 2002 16:57
À: Struts Users Mailing List; [EMAIL PROTECTED]
Objet: RE: Parser error while testing struts-layout


The digester still doesn't find Xerces as it tries to instanciate sun's 
parser. Could you make sure Xerces is in the WEB-INF/lib directory ? If notc
 ould you check if Struts alone is starting ok ?

Jean-Noel

At 16:29 03/01/2002, you wrote:
Jean-Noel :
I just tried replacing my digester 1.0 by 1.1.1
I got a different error :

Digester.getParser:
javax.xml.parsers.ParserConfigurationException: Namespace not supported by
SAXParser
 at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
 at
com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.j
a
va:57)
 at
org.apache.commons.digester.Digester.getParser(Digester.java:508)
 at
org.apache.commons.digester.Digester.getReader(Digester.java:527)
 at org.apache.commons.digester.Digester.parse(Digester.java:1206)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:
1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
p
Interceptor.java, Compiled
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
not found
 at
org.apache.commons.digester.Digester.getReader(Digester.java:527)
 at org.apache.commons.digester.Digester.parse(Digester.java:1206)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
52)
 at
org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:
1
75)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
p
Interceptor.java, Compiled
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


Maybe i could try digester 1.1 but...?

I would be really happy if i could use tree menu of struts-layout.


-Message d'origine-
De: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Date: jeudi 3 janvier 2002 15:47
À: Struts Users Mailing List; [EMAIL PROTECTED]
Objet: Re: Parser error while testing struts-layout


At 15:01 03/01/2002, you wrote:
 Hi all,
 
 Happy new year :-)
 
 I'm currently testing struts-layout found at :
 http://struts.application-servers.com/
 
 when deploying on tomcat 3.2.3 i got errors like :
 
 
 Digester.getParser:
 javax.xml.parsers.ParserConfigurationException: Namespace not supported
by
 SAXParser
  at
com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
  at

com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.j
a
 va:57)
  at
org.apache.commons.digester.Digester.getParser(Digester.java:338)
  at org.apache.commons.digester.Digester.parse(Digester.java:859)
  at

org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:
2
 52)
  at

org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:
1
 75)
  at javax.servlet.GenericServlet.init

Struts-Layout Error: Need Help

2001-12-21 Thread L. Yeung

Hi I'm a newbie in Struts-Layout.
I got this error when i deployed it in Tomcat-4.0

javax.servlet.ServletException: try to access method
org.apache.struts.action.ActionForm.getServlet()Lorg/apache/struts/action/ActionServlet;
from class fr.improve.struts.taglib.layout.FormTag

Thanks in advance.
L. Yeung

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

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




Struts Layout : Pb with the Dynamic Menu

2001-09-19 Thread Arnaud Héritier

Hi all !!

Is there anybody who success to use the dynamic menu from the Struts Layout Library ???

I have a probleme with labels of the menu.

In all my application, the ApplicationRessources are correctly loaded and used but in 
this library my menu labels are all null.

Is there anybody who know this problem or who can help me.

thanks

arnaud H.




struts-layout using struts 1.0/1.1 ?

2001-08-31 Thread Chris Chang

Folks

got a question about struts-layout, does it use struts 1.0 or 1.1? cuz I
have a problem that when I use struts-layout in my application, It generates
the following error:

500 Internal Server Error
Error parsing JSP page /commodity_form.jsp line 38
Tag class fr.improve.struts.taglib.layout.FieldTag not found:
org/apache/struts/action/ActionMessages

However, I already searched through my struts.jar (which is 1.0 only) and I
cannot find the ActionMessages.  Is that ActionMessages from
struts-validator (with different package name)?

If struts-layout has to use with struts 1.1, are there any version of
struts-layout that uses struts 1.0, cuz we r not ready for struts 1.1 yet.
Pls advise.

Thanks in advance

Chris Chang



struts-layout

2001-07-19 Thread jnribette

Hi there!

I am happy to inform you that the 0.3 version of struts-layout has been 
released on http://struts.application-servers.com. struts-layout is a tag 
library for Struts that allows for fast and easy development of jsp pages. With 
struts-layout, pages are described with only a small set of special tags. HTML 
tags are not any more needed (well, nearly), as struts-layout tags generates 
the layout. I kindly invite you to have a look on the site for more information.

struts-layout is now used in my company's projects and in 
http://www.application-servers.com, a French site dedicated to information 
about application servers. French users can also find an introduction to Struts 
and struts-layout on this site in the article section.

Please feel free to send me feedbacks and bug reports.

Cheers,

Jean-Noel