Best regards,
Jean-Noel Ribette
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
Hi,
This is very strange, could you double check that Struts-Layout.jar is in
the lib directory, that it contains the required classes, and that the jar
is added to the classpath ?
Are you trying to precompile the jsp ? In this case do you need to do some
extra configuration to add the jar to
At 18:20 16/10/2002, you wrote:
hi,
many thank's for incomming help ;-) (especialy an
Jean-Noel Ribette...)
i'm trying to use my own sort.gif like
layout:collection name=tableBean styleClass=FORM width=600
sortAction=client sortPictogram=jsp/struts_layout/sort.gif
but i'm getting an error
Hi,
If you're getting the list by the getColumn1 method, the code should be:
jsp:useBean id=result scope=request
class=com.hvbsystems.sg.marvin.obj.ResultBean /
layout:collection name=result property=column1 styleClass=ARRAY
id=column1
layout:collectionItem title=Column1
At 15:19 16/10/2002, you wrote:
hi,
my databean contains an property which uses an parameter like this
getColumnValue( int column_key )
when i try to get this property in struts collection tag like
layout:collectionItem title=TS Typ name=bla property=columnValue(0)
/
it will not work ;-)
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
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
. 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
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
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.
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
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
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
Actually, I don't know in this case what this collection should look like.
Is it the same as the one that we use in collection attribute (ie a
collection of LabelValueBean for example) ?
Can anyone show me an example of using options tag with name and property
attributes ?
For the first
If your method are getName() and setName(...) the property name is name
without caps (javabean spec). I think you are using Name instead of
name in your jsp.
Jean-Noel
At 09:15 05/09/2001, you wrote:
Thank you very much !!
Now it works, but now i have another problem.
it's about the action
Hi Jeff,
Struts tags are very simple, which allows you to do whatever you want with
the HTML code. But you still need to write it. Another solution is to use
the layout taglib I am working on. This taglib allows to design screens
very rapidly without writing HTML code. You can have a look at
You might want to have a look at struts-layout
(http://struts.application-servers.com) , a library my company is using for
its struts development. It helps to build UIs very rapidly, especially UIs
with forms and list of items. You still need to write JSPs but you don't
need to write HTML
The can't remove attribute from request scope is due to changes in the html:form
that makes it imcompatible with
some servlet container (WebSpehere ...).
See this message for a description of the problem:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html
A fix from Chris
A radio button will be cheked if its value is equals to the value of the form property
specified.
Jean-Noel
- Original Message -
From: Guus Holshuijsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 10:28 AM
Subject: Checked radio buttons
I'm trying to find out
Hi Thomas,
My mod_jk.conf file looks like this:
LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
IfModule mod_jk.c
JkWorkersFile /usr/local/java/jakarta-tomcat-3.2.1/conf/workers.properties
JkLogFile logs/jk.log
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /*.do ajp12
JkMount /servlet/*
Craig's presentation can be found at
http://www.computer-programmer.org/articles/struts/
Jean-Noel
- Original Message -
From: Felix von Delius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 2:11 PM
Subject: searching for struts intro powerpoint presentation
I think you should remove the value attribute.
html:submit
bean:message key=extern.add.submitmessage/
/html:submit
Jean-Noël
- Original Message -
From: Mark Schenk [EMAIL PROTECTED]
To: Struts-User [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 12:56 PM
Subject: i18n a submit button
I think you got this behaviour because Struts is calling the reset() method before of
the form populating it, so the
form is reinitialize betwen each actions.
You can solve this problem by having a blank reset() method and a realReset() method
that you can from your action class
when needed.
Hi Satish,
You can easily change the colors and the cells alignment by using different CSS files.
HTH,
Jean-Noël
- Original Message -
From: Satish Khanzode [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 2:11 PM
Subject: Changing UI
Hi all
I have created a
I think I would subclass MessageResources and MessageResourcesFactory, then specify
the name of the new factory class in
web.xml.
HTH
Jean-Noel
- Original Message -
From: Muthu Kannappan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 12:39 AM
Subject:
Did you try to put ApplicationResources.properties in
project_resources\name_of_struts_example_project\org\apache\struts\webapp\example ?
(or ..\struts\example if using an old release)
HTH
Jean-Noel
- Original Message -
From: Mikkel Bruun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi everybody,
I would like to inform you that I wrote with Didier Girard an article in French about
Struts. It is available at
http://www.application-servers.com/articles/
Cheers,
Jean-Noël
Hi Jim,
There has been discussions about this on the mailing list. I suggest you have a look
at the archive at
http://www.mail-archive.com/struts-user%40jakarta.apache.org/. Look for EJB and
specially communicating with EJB.
Jean-Noel
- Original Message -
From: Jim Downing [EMAIL
Hi Alec,
If I understand what you want to do, you're trying to iterate over two collections at
the same time, and not over nested
ones. That can't be done in Struts now.
However, you can modifiy the html code to do something like this:
table
trtd
table
logic:iterate id=cols
I'm affraid this error comes from an error in the cvs.
The attribute styleId was introduced in the class BaseHandlerTag of the deprecated
org.apache.struts.taglib package and
not org.apache.struts.taglib.html (same for FormTag) on the 18th
The release notes for Beta2 list the modifications in the current nightly builds from
the Beta1. Beta2 is not out yet.
You can use a recent nightly build if some bug fixes are important for you.
Jean-Noel
- Original Message -
From: Ryan Rich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
The html:form tag generates the action value in function of the servlet mapping. So
if the servlet is mapped to *.do
the tag removes what is after the dot in your action value and append .do
If you want to use .bws suffix, you'll need to map the action servlet to *.bws in
web.xml
Jean-Noel
There is a method in the Action class you can use to do this:
saveErrors(HttpServletRequest request, ActionErrors
errors).
You can also do directly :
request.setAttribute(org.apache.struts.action.ERROR, errors)
So all you have to do is create an ActionErrors object, put errors in it, save it
You can use the menuing component written by Scott Sayles and available at
http://www.husted.com/about/struts
In the action class you'll need to
- load the items from the database and create the menu components.
- put the menu in the menu repository
Then in the jsp you'll be able to use the
Ayilliath
(Software Engineer)
Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032
[EMAIL PROTECTED]
www.ayilliath.8m.com
- Original Message -
From: Jean-Noel Ribette [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Rakesh [EMAIL PROTECTED]
Sent
Did you try to put your property file in your project resources
(ide/project_resources/myproject) and add your project
to the project classpath of TomcatRunner (Tomcat Runner - properties - classpath) ?
I use to have problems when putting the property files in the \WEB-INF\classes
directory.
This is due to the javabean convention. If the method name begins with two uppercase
letters, the property name is the
same as the method name.
For example getXXX() = property XXX.
getXxX() = xxX
There are more messages about this problem on the mail archives.
Jean-Noël
The problem is in your Java version. Struts needs Java 1.2 or later to run.
Jean-Noel
- Original Message -
From: Jim Bruno Goldberg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 20, 2001 6:16 PM
Subject: Tomcat+Apache+Struts Problem
I people.
I am still with my
It is possible to use the bean:size tag to expose the size of a collection:
bean:size name="items" property="values" id="itemsSize" scope="session"/
...
...
logic:greaterEqual name="itemsSize" value="1"
...
...stuff
...
/logic:greaterEqual
logic:lessThan name="itemsSize" value="1"
...
...other
- Original Message -
From: Sundaram Ramasamy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 3:14 PM
Subject: getting size of a collection
Hi
I have collection like this.
%java.util.ArrayList list = new java.util.ArrayList();
list.add("First");
Try with two apostrophes:
index.title=Sammy''s
Jean-Nol
- Original Message -
From: Stanley Tan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 10:23 AM
Subject: Apostrophe is Resource File
How do I include an apostrophe (') in a resource file (eg
- Original Message -
From: Marcin Baj [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 30, 2001 2:37 PM
Subject: iterate tag, once again
Hello,
I've read themessage:
You must use jsp:useBean to introduce a reference to an existing bean, if you wish
to reference that bean
- Original Message -
From: Tom Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 30, 2001 3:33 PM
Subject: Re: JavaScript in Struts
Thanks, Ted.
I like Craig's suggestion about combining dynamic Javascript menu systems
with Struts. I wonder if anyone has tried
- Original Message -
From: Joel Shellman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 28, 2001 4:22 PM
Subject: Removing ActionForm's from context
I don't quite understand the the below quote from the example tour. The
paragraph doesn't make sense. Anything in
I don' use servletexec myself but some people on the mailing-list got a similar
problem.
You can try the solution given in this mail:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg00991.html
Jean-Noel
- Original Message -
From: burhan arshad [EMAIL PROTECTED]
To:
Allen,
you need to specify the paramId attribute (paramId is the name of the parameter added
to the link, paramName and
paramProperty are used to get the parameter value)
The correct tag is:
html:link page="/addItem.do" paramId="isbn" paramName="item" paramProperty="isbn"
...
/html:link
It is possible to reload the struts-config file:
http://localhost:8080/myApp/admin/reload.do
(to be able to do that the reload action must be declared in struts-config)
Jean-Noel
- Original Message -
From: Ali Ozoren [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 20,
The jsp code:
jsp:useBean id="jobQueueForm" type="JobQueueForm" /
logic:iterate id="list" name="jobQueueForm" property="JqRow"
bean:write name="list" /
/logic:iterate
The form code:
public String [] getJqRow ()
{
49 matches
Mail list logo