Hi Tim!
i didn't tryed it out,
but on ORA's ONJAVA
is saw an artikel on that
http://www.onjava.com/lpt/a/3886
perhaps you got some ideas on it!
Cheers, Matthias
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 10:31 AM
To: [EMAIL
Hi Adam
there is a good book on it!
http://www.corej2eepatterns.com/Patterns2ndEd/index.htm
i use it very often...
but more it's german version... :-)
however that covers j2ee1.4
cheers,
btw. under the sun, there is a code camps, or however they call it
for strtus and j2ee_patterns:
yes no problems,
(in production)
but sometimes, my laptops memory is FULL,
(home_development_system)
than you can see, each tile gets included,
step by step by step...
but its more notebook-issue :-)
cheers.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent:
hi nadeem
Personally I think if struts 2.0 would be able to leverage JSF and JSTL
and add IoC, cleaner interfaces, workflow, chained
actions and JMX configured ActionMapping it would make it my ideal
framework and would probably make it the best framework for medium to
large scale projects.
Dean!
got it to work?
i use this use-case for multiform-pages...
like big poll.
class: DynaValidatorActionForm
and the path in validator-xml.file
however, here is validation XML and the definition for
the ValidatorActionForm:
Cheers!
Matthias Weßendorf
struts-cfg.xml_:
!--
you
are explaining. BTW, thanks for responding,
I've been beating my head against the wall
trying to figure out how to properly build
a wizard.
Dean
Matthias Wessendorf wrote:
Dean!
got it to work?
i use this use-case for multiform-pages...
like big poll.
class: DynaValidatorActionForm
from the url:
http://java.sun.com/j2ee/javaserverfaces/download.html
This release of JavaServer Faces has been tested with various
configurations with the Java 2 SDK, Standard Edition version 1.3.1_04,
1.4, and 1.4.1 on the following platforms and browsers:
* Solaris 2.8
* Solaris 2.9
hi jim,
searched the web :)
http://www.javaworld.com/javaworld/jw-11-2003/jw-1114-jsfredux-p2.html
the last to pics looks like mac
but it is not a sample for the RI
it is form Early Access4
(old) :-)
Cheers!
-Original Message-
From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 2:23 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] 2 JSF questions
hi jim,
searched the web :)
http://www.javaworld.com/javaworld/jw-11-2003/jw-1114-jsfredux-p2.html
the last to pics
Hi,
i noticed, that JSF became final.
Now i asked myself, when the struts-faces-lib will be shipped? that one,
that works with 1.0_final... ;-)
Is main focus now working on struts_1.2?
or is the integration-lib independent of struts-1.2
because it is in contrib-folder!
Thanks for answer! :-)
Hi Mark,
like Adam said, i also have one super-action-class :-)
i declare it as abstract an implement execute()-methode
form Action
inside execute(), i call an abstract methode (e.g. doExecute())
so our ActionServlet(it´s RequestProcessor...) calls execute()
and every subclassed doExecute().
hi its code from
1.2-dev
there is saveErrors with ActionErrors deprecated
and a new saveErrors with ActionMessages
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.htm
l
in 1.1 there is only
saveErrors() with ActionErros
(This will be removed after Struts 1.2)
and
hi daniel
use this:
struts-html:messages id=error property=foo
struts-bean:write name=error/
/struts-html:messages
cheers,
-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 3:30 PM
To: Struts Users Mailing List
Subject: html:errors /
I'm
/
/html:messages
html:form action=logon
senha : html:password property=senha/html:errors
property=senha//br
usuario : html:text property=usuario/html:errors
property=usuario//br
html:submit/html:cancel/
/html:form
body
/html
thanks
Daniel S.
- Original Message -
From: Matthias Wessendorf
Hi,
i just played a bit on Stereo-types for
documentation of my web-Apps.
I wanted to document classes (incl. JSPs)
for every use-case. However, here is my try:
http://www.wessendorf.net/struts_uml.gif
inspiration came on reading: Jim Conallen
(Web-Apps with UML)
however, is there any
hi,
perhaps you mean
request.getSession().removeAttribute(nameOfFormBean);
cheers,
-Original Message-
From: Darren Massel [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 7:08 PM
To: '[EMAIL PROTECTED]'
Subject: Dyna Validator Form values
How do i reset the values of a
Hi Dave,
in http://jakarta.apache.org/struts/userGuide/release-notes.html
are some details on deprecated
but there also stands:
Although not removed, in many cases(!) you should replacethe deprecated
ActionErrorswith the preferred ActionMessagesto ensure correct
operation.
i figured out,
Struts 1.1 applications? Or
would it be better to wait until developing apps for Struts 1.2?
Dave
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Errors or messages or??
Hi
hi Andrew,
never used, but
knowing this candidate:
http://it.cappuccinonet.com/strutscx/index.php
cheers
matthias
-Original Message-
From: Andrew Bate [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 2:57 PM
To: '[EMAIL PROTECTED]'
Subject: Struts and XSL ?
Hi,
Does anyone
Hi,
Can someone please add me to Orkut
Thanks in advance
Cheers, Matthias
-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 6:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Orkut
Hello, Please add me to Orkut.
Thanks
Hi Tim,
yes only Error, not Errors, because of
validate()
in jsp use this:
html:text property=foo/
struts-html:messages id=error property=foo
struts-bean:write name=error/
/struts-html:messages
cheers, !
matthias
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL
hi,
i use in in my form.jsp
to enter foo-property of my formBean
and the messages-tags to display error-messages,
that came up during validation.
//INPUT
FOO: html:text property=foo/
//DISPLAY ERRORS-MSG
struts-html:messages id=error property=foo
struts-bean:write name=error/
hi david,
if you mean validation.framework,
i think yes, they are using ActionMessages instead
ActionErrors.
http://jakarta.apache.org/struts/api/org/apache/struts/validator/FieldCh
ecks.html
ActionErrors is in 1.2 only used in
validate():ActionErrors
cheers,!
-Original Message-
.
Still, it is not working for me...
- Original Message -
From: Matthias Wessendorf [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, February 07, 2004 4:19 PM
Subject: RE: Problem in Multipage Validation with DynaValidatorForm
hi joseph
you should use
hi joseph
you should use DynaValidatorActionForm in form-bean-declaration
in your validator.xml you enter instead of the name (myNiceFormBean)
the path (/submit1 or /submit2)
und on field you deal as well, which is required in page1 or page2
greeting,
matthias
-Original Message-
From:
hi, there is something under the sun
http://developers.sun.com/dev/edu/camps/demos/j2eestruts/download.html
it shows howto use
struts and J2EE-Desing-Pattern
cheers,
matthias
-Original Message-
From: Far Naq [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 7:42 AM
To: Struts
session.setMaxInactiveInterval(int interval);
Specifies the time, in seconds, between client requests before the
servlet container will invalidate this session. A negative time
indicates the session should never timeout
-Original Message-
From: Oliver Thiel [mailto:[EMAIL PROTECTED]
PROTECTED]
Sent: Friday, January 30, 2004 11:48 AM
To: 'Struts Users Mailing List'
Subject: RE: session timeout -- time limit
session.setMaxInactiveInterval(int interval); would this override the
session-timeout set in the web.xml for the application??
-Original Message-
From: Matthias
Hi list,
here is a nice article on choice of
ActionForm or DynaActionForm.
http://weblogs.java.net/pub/wlg/964
cheers,
Matthias Weßendorf
Email: mailto:[EMAIL PROTECTED]
URL: http://www.wessendorf.net
-
To unsubscribe,
hi Mauricio,
logic:equal parameter=type value=Alteração
yes it is Alteração :-)
/logic:equal
cheers,
-Original Message-
From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 11:25 AM
To: Struts Users Mailing List
Subject: parameter
How can I compare
and note,
that in some cases you should use
(trouble with firewalls)
servlet-mapping
servlet-nameaction/servlet-name
url-pattern/do/*/url-pattern
/servlet-mapping
instead of *.do
look at Book: Struts Fast Track:
by Vic Cekvenich
-Original Message-
From: Nushin Nushin
oh...
saw the special char...
sorry...
-Original Message-
From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 11:25 AM
To: Struts Users Mailing List
Subject: parameter
How can I compare a parameter in my URL (someAction.do?type=Alteração)
with the tag
did you add
the oro-jar-file
from
http://jakarta.apache.org/oro/index.html
to
WEB-INF/lib ?
java.lang.NoClassDefFoundError
--
org/apache/oro/text/perl/Perl5Uti
cheers,
-Original Message-
From: Pani R [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 8:23 PM
To: [EMAIL
Nushin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 2:27 PM
To: 'Struts Users Mailing List'
Cc: [EMAIL PROTECTED]
Subject: RE: What does do stand for in .do files
Vic,
Would you elaborate on *.do? What does do stand for?
Regards,
Nushin
-Original Message-
From: Matthias
+1
on it!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 4:25 PM
To: Struts Users Mailing List
Subject: Re: AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts
Application on CD ??
Can something be done to stop these
store it in
/WEB-INF/classes
when in config is:
message-resources parameter=ApplicationResources /
or in
/WEB-INF/classes/com/foo/bar/
when in config is:
message-resources parameter=com.foo.bar.ApplicationResources /
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf
hi jim!
did you add struts-legacy.jar in WEB-INF/lib ?
but in 1.2 its not more supported (GenericDataSource)
look here:
http://jakarta.apache.org/struts/faqs/database.html
(The Struts DataSource Manager)
then you need pool.jar and
dbcp.jar
from the corresponding commons-projects
-
hi jim,
again...
here in your struts-conf:
data-source type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
value=com.mysql.jdbc.Driver /
set-property property=url
value=jdbc:mysql://localhost:3306/myDatabase /
have to rethink it. From what you say, there
isn't any reason to include a data-sources element in struts-config
since the persistence layer should be invisible to Struts. Am I
understanding you correctly?
On Jan 28, 2004, at 12:26 PM, Matthias Wessendorf wrote:
hi jim!
did you add struts
hi kris,
yes i figured out the same - but today
is better than yesterday, i think.
but also delaying a bit - but why ?
;-)
greetings
matthias
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 7:59 PM
To: Struts Users Mailing List
Robert,
is there a reason, why you dont use
DynaValidatorActionForm ?
you can define in validator.xml
which attributes a needed for e.g. /submit2
--
formset
form name=/submit2
field depends=required,email property=email
...
greetings,
matthias
-Original Message-
From: Ben
hi
enter
input=/myFormular.jsp
so validate goes back to formular
there you can display
action-messages (or even errors if you use)
cheers,
matthias
-Original Message-
From: Robert Lehner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 7:13 PM
To: Struts Users Mailing List
hi Vinicius
logic:iterate id=element name=allVOS
html:link action=/doSomething paramId=name paramName=element
paramProperty=propertyOfA_VO
link me
/html:link
/logic:iterate
this shoud work
cheers,
matthias
-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
hi
do you have also
pool.jar in /WEB-INF/lib
http://jakarta.apache.org/commons/pool/
it was time ago problem in my case.
greetings, matthias
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 25, 2004 8:32 PM
To: [EMAIL PROTECTED]
Subject: dbcp
Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 3:00 PM
To: [EMAIL PROTECTED]
Subject: [OT] Struts and its economic efficiency
Hi,
i am just searching some information about
the economic efficiency of struts (or more general a
Model2
Hi,
i am just searching some information about
the economic efficiency of struts (or more general a
Model2-Implementation).
Does anyone know a link to a statistic,
where is shown, that model2 is more profitable than
the old model1 ?
--
Matthias Weßendorf
Email: mailto:[EMAIL PROTECTED]
URL:
hi
use the DynaValidatorActionForm
in validate.xml
enter the path of submit instead of complete-formbeanName
name=/submit1
and so on
greetings
-Original Message-
From: Nandita Rajagopalan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 5:24 PM
To: [EMAIL PROTECTED]
hi kelly,
did you integrate it into
struts-config?
--
plug-in
className=org.apache.struts.validator.ValidatorPlugIn
set-property
property=pathnames
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/
/plug-in
greetings
. It is exactly like your application.
Matthias Wessendorf wrote:
hi kelly,
did you integrate it into
struts-config?
--
plug-in
className=org.apache.struts.validator.ValidatorPlugIn
set-property
property=pathnames
value=/WEB-INF/validator-rules.xml
To: Struts Users Mailing List
Subject: Re: validation problem
I'm sorry, I didn't get what you mean... could you explain?
Matthias Wessendorf wrote:
what is about
name=loginForm
instead:
name = loginForm
(as action.-attribute)?
but can´t be... ?!?
-Original Message-
From: Kelly Goedert
hi,
use getResources(request);
or if more then 1
getResources(request, keyOfResource);
this returns an MessageResource-Object
then you can read it.
greeting
-Original Message-
From: Eric C [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 12:42 PM
To: Struts Users Mailing
Hi Claire
have you tried the nested-tag?
like this?
nested:form action=/nested
nested:nest property=details
name: nested:text property=name/br/
ref: nested:text property=reference/br/
/nested:nest
html:submit/
/nested:form
your formBean (detailsForm) is
is the difference between nested logic tags and
nested html tags and in which situations would you choose to use
nested not the others?
cheers
claire :)
- Original Message -
From: Matthias Wessendorf [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, January 14
hi peter
on our show details action
store the object in the request
and forward to details-form
and then do
html:text property=beanProperty name=nameOfObjectInRequest/
greetings
-Original Message-
From: Peter Verhoye [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004
hi...
perhaps you need a link like this:
to get the desired record:
struts-html:link action=showDetailsForMyRecordAction
paramId=recordId paramName=currentInIterate
paramProperty=propertyOfBeanPerhapsIddetails/html:link
(you are using the logic:iterate ?)
regards,
-Original
Hi Patrick,
you can store files in an action-class
to c:/
or if you use linux to: /home/patrick/
(if there is no policy against it)
that what you mean?
regards,
Matthias
-Original Message-
From: Patrick Scheuerer [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 2:32 PM
To:
Hi,
did you have also the
pool.jar from:
http://jakarta.apache.org/commons/pool/
in WEB-INF/lib i had had trouble without it...
greetings
-Original Message-
From: Sandy Bingham-Porter [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:55 PM
To: Struts Users Mailing List
oh...
some new validator-tags... :-)))
-Original Message-
From: Sachin Pandey [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:17 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Struts Tag Lib and Performance
Struts provides a lot of tag libraries in
hi Ricardo,
here you have a nice diagramm which showes
J2EE-Patterns for Web-based applications
http://java.sun.com/blueprints/corej2eepatterns/Patterns/
struts is doing, like Manfred told you, only the
presentation. (e.g FrontController is the ActionServlet or
the composite view can be done
Hi,
yes it has an Controller in EJB-Tier.
But i didn´t realy use it - or seen a
solution, which use this.
for plain EJBs you can
watch http://xpetstore.sf.net
it uses Xdoclet for generating ejbs, struts
and so on. nice :-)
greetings
-Original Message-
From: Ricardo de Souza Moura
: Friday, January 09, 2004 7:37 PM
To: [EMAIL PROTECTED]
Subject: RE: EJB Tier
What do you think about this Controller ?
Why don't Struts incorporate something like this in your framework ?
Not
with EJB particularly, but with a abstract class for sample
From: Matthias Wessendorf [EMAIL
On (2004/01/08 01:00), Matthias Wessendorf wrote:
i dind´t say, that is reset==initialize()
I wasn't disagreeing with you. I meant oh, you're right, reset() isn't
what I want, but initialize() is. :-)
Thanks,
Sheldon
.
Oliver
-Ursprüngliche Nachricht-
Von: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. Januar 2004 18:41
An: [EMAIL PROTECTED]
Betreff: ServletMapping for ActionServlet and firewalls
Hi,
i have in mind, that the mapping
*.do
for our actionServlet is sometime
Hello Daniel,
let me ask, for the reason of using radio:
you are setting it with: price1 OR price2 OR price3
isn´t it?
so, you get an Array of size 1. (you can click only one)
thats reason for ArrayIndexOutOfBoundsException
perhaps, when you will set multiple values for your price-property
hi sudhakar,
please add in your struts-config.xml
something like instead
message-resources
parameter=net.wessendorf.j2ee.strutsJSF.web.common.Application /
for your Application.properties
greetings
-Original Message-
From: Namasivayam, Sudhakar (Cognizant)
[mailto:[EMAIL PROTECTED]
(java page container from caucho), It's
supports servlets 2.3 version, can i use JSF for this container,
Regards,
Viru
- Original Message -
From: Matthias Wessendorf [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 5:16 PM
Subject: RE
hi chris,
have you tried:
getDataSource(req,dataSource);
greetings
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 10:25 AM
To: [EMAIL PROTECTED]
Subject: Datasource problem
Hi,
I must be missing something here but for the
help.
Chris
On Wed, 7 Jan 2004, Matthias Wessendorf wrote:
hi chris,
have you tried:
getDataSource(req,dataSource);
greetings
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 10:25 AM
To: [EMAIL PROTECTED]
Subject
developed this from reading the link
http://www.isabelle-hurbain.com/doc/struts.html
Could you please give me other simple application to start my life with
struts!!!
Thanks
sudhakar
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 4:51
hi,
in an actionForm.validate():
MessageResources res =
(MessageResources) request.getAttribute(GLOBALS.MESSAGES_KEY); //thats
default-key
String foo = res.getMessage(my_Key_In_bundle);
//get an message
greetings
-Original Message-
From: e-denton Java Programmer [mailto:[EMAIL
a static function to
get the resource and use that.
I would have been happier if an extra function could have been provided
in ActionMessage or ActionError like getMessage() which would have
returned the full message after substitution.
-Original Message-
From: Matthias Wessendorf
Hi,
i have in mind, that the mapping
*.do
for our actionServlet is sometime a problem...
better should be:
/do/*
but i can´t find anything in web...
does anyone had some experiences on it?
regads,
Matthias
Matthias Weßendorf
Aechterhoek 18
D-48282 Emsdetten
Email: mailto:[EMAIL PROTECTED]
yes it is with SRC in WAR
and here is a class which helps you to store
a FormFile-Object:
(perhaps not nice, but works :-))
use:
saveFile(FormFile file, String place);
or you couldt use a properties-file (foo.properties)
which needs something like:
uploadPath=C:/path/to/nowhere
greetings
Hi,
a DynaValidatorForm has not
an own reset().
the reset() of DynaActionForm is called
but she doesn´t do anything:
public void reset(ActionMapping mapping, HttpServletRequest request) {
; // Default implementation does nothing
}
but you can
set the properties to its default,
is this
i dind´t say, that is reset==initialize()
greetings
mw
-Original Message-
From: Sheldon Hearn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 7:09 PM
To: Struts Users Mailing List
Subject: Re: How to reset properties of a DynaValidatorForm
On (2004/01/07 19:03), Matthias
hi jan,
perhaps you must change the sturcuture of build.xml
in my case:
i copied jsf-1.0 beta in to $jwsdp.home
and copied some specified lib into $jwsdp.home too.
e.g. jsp-api, servlet-api
of course i copied jsf-libs and jstl-libs to WEB-INF/lib of example2
now tomcat started them up...
and
or the jar files deployed with this
application
very strange.
the struts-jsf works, but not core jsf...
do anyone know?
i am using tomcat version 4.1.27
or must i use tc 5.X for JSF?
--- Matthias Wessendorf
[EMAIL PROTECTED] schrieb: hi jan,
perhaps you must change the sturcuture of build.xml
hi!
servlet.jar is needed for
stuff like:
javax.servlet.http.HttpServletResponse
it is deliverd with tomcat
in $TOMCAT/common/lib (in case of using tomcat)
or
in j2ee.jar (in $J2EE_HOME/lib)
add this to your classpath
and of course your struts-jarS!
do you use an IDE?
-Original
is what was written in
the book I am following to learn.
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: 06 January 2004 12:13
To: 'Struts Users Mailing List'
Subject: RE: error
hi!
servlet.jar is needed for
stuff like
hi,
perhaps it is this:
(look at:
http://jakarta.apache.org/struts/userGuide/struts-bean.html#define )
type:
Specifies the fully qualified class name of the value to be exposed as
the id attribute.
[ java.lang.String (if you specify a value attribute) or
java.lang.Object otherwise. ] [RT Expr]
Hi Patrick,
a DynaValidatorForm has not
an own reset().
the reset() of DynaActionForm is called
but she doesn´t do anything:
public void reset(ActionMapping mapping, HttpServletRequest request) {
; // Default implementation does nothing
}
but you can
set the properties to its default,
Hi Pedro,
with:
FormBeanConfig fbc = new FormBeanConfig();
fbc.setName(myForm);
DynaActionFormClass dafc =
DynaActionFormClass.createDynaActionFormClass(fbc);
DynaActionForm formBean = (DynaActionForm) dafc.newInstance();
formBean.set(property, businessObject.getProperty());
Hi Patrick,
thanks! i fell honored about it :-)
thanks again!
what is the topic/title of your (diploma?) thesis
Matthias
-Original Message-
From: Patrick Scheuerer [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 5:40 PM
To: Struts Users Mailing List
Subject: Re: Advice
=helperBean property=foo/
...
/struts-html:form
it works fine!
Regards, Matthias
-Original Message-
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 6:08 PM
To: Struts Users Mailing List
Subject: Re: dynaform populate
On 04/01/2004 16:55, Matthias
17:16, Matthias Wessendorf
[EMAIL PROTECTED]
wrote:
Hi Pedro,
the properties are!!! important!!!
i do the following in an action:
request.setAttribute(helperBean,myValueObject);
return mapping.findForward(updateFormularPage);
and have something like that in
the forwarded
Hi,
help is that what everybody needs sometimes...
sounds nice facts with your thesis.
best wishes with finishing that
at the fachhochschule :-)
you heared about struts in University of Applied Sciences?
nice!:-)
greetings.
--
Matthias Weßendorf
Aechterhoek 18
D-48282 Emsdetten
Email:
hi,
attribute:
Name of the request-scope or session-scope attribute that
is used to access our ActionForm bean, if it is other than
the bean's specified name. Optional if name is specified,
else not valid.
if you have something like this:
action path=/foo
Hi,
the default size in Class
org.apache.struts.config.ControllerConfig
is:
/**
* The maximum file size to process for file uploads.
*/
protected String maxFileSize = 250M;
perhaps in struts-config
this will help:
controller maxFileSize=2G /
greetings
matthias
Hi Patrick,
you want to get the path of /myapp
like C:\Tomcat\webapps\myapp
or?
that is done with:
String placeString =
getServlet().getServletContext().getRealPath(/);
in an actionClass.
you now want to store
in placeString\uploaddir
isn´t it?
i wrote an Util-Class which managed the
is then in root.
hope this is what you needed.
greetings
matthias
-Original Message-
From: Patrick Scheuerer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 5:15 PM
To: Struts Users Mailing List
Subject: Re: Still having problems with File upload (multipart-formdata)
Matthias
;
import java.io.OutputStream;
import java.util.Properties;
import org.apache.struts.upload.FormFile;
/**
* Hilfsklasse, mit welcher aus einer Web-Anwendung
* Daten zum Web-Server geladen werden können.
*
* @author Matthias Wessendorf
*/
public final class UploadFile
Hi,
The DynaValidatorForm will match the formset name with the form-bean
name.
it uses mapping.getAttribute() to init the validator
The DynaValidatorActionForm will match the formset name with the
action-mapping path.
it uses mapping.getPath() for init the validator
-Original Message-
Hi,
just having a question about Tiles and the Portlet-Spec.
Tiles aims to reduce the work to develop
composite-webpages. which are modular and reusable!
The Portlet-Spec defines a standard incl. Portlet-Container.
A RI is in develop -- http://jakarta.apache.org/pluto
In Pluto-Docs found this
hi,
use controller maxFileSize=1M/
set this in struts-config for maxFileSize.
look at file-upload-sample in your struts-distribution
There cames an error, if the file is bigger.
greetings
matthias
-Original Message-
From: Patrick Scheuerer [mailto:[EMAIL PROTECTED]
Sent: Monday,
hi,
it must end with
.tld
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
and place the file in /WEB-INF
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 27, 2003 3:52 PM
To: Struts Users Mailing List
Subject: Re: bean:write not writing?
Hi,
you have in struts-conf a formBean:
form-bean name=form1
type=org.apache.struts.validator.DynaValidatorForm
form-property name=property1 typejava.lang.String/
/form-bean
this action-config:
action path=/foo name=form1 validate=true .../
in validation.xml:
formset
form name=form1
beer sounds good ;-)
merry xmas to all of you
matze
-Ursprüngliche Nachricht-
Von: SasiDharma Tharmarajah [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 22. Dezember 2003 12:34
An: Struts Users Mailing List
Betreff: MERRY X'MAS
Hi developers...
Wishing u all a merry xmas and happy new
hi,
you can also use
in jsp:
bean:write name=hulp/
and in action before:
String hulp=request.getParameter(users.userId);
request.setAttribute(hulp,hulp);
//FORWARD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
Use this
var-namedatePatternStrict/var-name
var-valuedd.MM./var-value
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 14. Oktober 2003 21:59
An: [EMAIL PROTECTED]
Betreff: validator
Hello all:
I'm having problems using
thank you,
but my problem is, i can not create a instance of a DynaActionForm
in my execute() i have something like this:
...
BusinessData bd = Application.getBusinessObject();
Hashtable ht = new Hashtable();
ht.put(Name, bd.getName());
ht.put(Foo, bd.getFoo());
request.setAttribute(data,ht);
1 - 100 of 105 matches
Mail list logo