OK, thanks for your view. Maybe it will be better to rewrite it, until
there is not much code...
Jiri
Mark Lowe wrote:
If you've the choice use JSTL.. If you're using the expression
language then use that. I like using the standard struts tags but that
because there's no el. and after readin
Jiri,
What action class does your action extend? If it is
org.apache.struts.action.Action, then the parameter field, which you appear
to have filled in with what seems to be a tiles definition, is ignored. The
parameter field does nothing unless it is a subclass of Action, such as
ForwardAction,
Thanks David,
it looks bettre, you've right, this was a clear mistake :(
this exception is not shown now, but now it is displayed blank page,
only
Maybe, when action class is finished I must set some forward.
now I have
LoadDataService service = new LoadDataService();
ComplRegisterDTO register
Hi,
could someone suggest what I'm doing wrong here?
I've got a form with an associated ActionForm, several members of which
are collections. I display them like this:
[]
Whilst single valued fields are displayed like:
All seems well, and everything displays fine. However
Hi,
as validator framework suggest, is possible to avoid downloading static
functions for validation for every JSP, by creating the page:
<%@ page contentType="application/x-javascript" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
which would hold static functions called from t
This is nonsense.
I use NetBeans 3.5.1 with j2sdk1.4.2, and I rarely restart it (manually or
through a crash) more than one a week. Right now it has been running for
over three weeks fine. The speed issue is relative, what is slow?
NetBeans 3.5.x version was primarily improvements to performance i
When I type in the URL myself and make a spelling mistake, shouldn't I
get a 404 error message saying this resource isn't available?
At the moment I am getting the following 500 error
java.lang.IllegalStateException
at
org.apache.coyote.tomcat4.CoyoteResponseFacade.sendError(CoyoteResponseFaca
Okay forget the beanutils...
theForm.set("fullname",registerDTO.getFullname());
..or
theForm.set("mybean", registerDTO);
Hope this gets you there..
Mark
On Sunday, August 31, 2003, at 05:24 PM, Jiri Chaloupka wrote:
Yes, nested tags, I must look at ...
so now I have it without nested, fo
Jiri,
Your error message explains the problem properly: "No destination bean
specified". This means that BeanUtils.copyProperties is trying to copy the
registerDTO to a bean named 'form', which is null. This makes complete
sense since your previous emails never tell us you've fixed your
tag to i
If you've the choice use JSTL.. If you're using the expression
language then use that. I like using the standard struts tags but that
because there's no el. and after reading the faces stuff, i'm sold on
using jstl.
Although I'm not JSTL's biggest fan it does have a certain elegance of
its ow
c:url is a standard tag from JSTL, so I think it's better to follow
standards
Maybe html:link will be deprecated in a near future.
> -Mensaje original-
> De: Jiri Chaloupka [mailto:[EMAIL PROTECTED]
> Enviado el: domingo, 31 de agosto de 2003 18:36
> Para: Struts Users Mailing List
> Asun
Hi guys,
could be many whys, but it looks like your form bean is null. have you
configured your struts-config mapping correctly to reference this form?
You should also cast the form bean into the type of form class you have
specified, since it is passed into the action as the super class ActionF
Hi Robert
you seem to be fairly confident of the circumstances so I would suggest,
barring any other response on this list (I'm sorry but I don't know
enough to help any further), that you log this in bugzilla and / or post
it to the struts-dev list.
Good luck,
Adam
On 08/30/2003 07:03 PM Rober
> how I can do something as this:
>
>
> ?
Use the EL-tags (look in the contrib/struts-el directory of the Struts 1.1
distribution), e.g.
.. ..
HTH,
Yann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Hi,
In struts-config, I have defined few global-exceptions such as these
I also have created an error page, error.jsp with <%@ page
isErrorPage="true" %> and at the top of the jsp template for all the
pages a <%@ page errorPage="error.jsp" %>. H
Are you able to use JSTL?
I use JSTL for that.
Jiri Chaloupka wrote:
Hallo,
how I can do something as this:
?
I tried page (in manual I read that it canbe created dynamicaly, but it
does not), action, href...
it is still generated as
Home
instead of /apl/Index.do
I know I can do
">
but it does
When the actionForm validate method returns errors,
struts direct the control to the jsp page specified in the input parameter of form
mapping.
is it possible to direct control to the action class in case of error inside the
actionForm validate method without making extra coding effort,
or playin
Solved.
I added instead of a workDocument the collection workDocuments to my
Arraylist. Just a typo
Johan
Johan wrote:
Hi,
I have a JSTL question and the answers in the archives don't solve the
problem. So maybe one of you run into the problem ones
I have an ArrayList containing Objects.
Hallo,
how I can do something as this:
?
I tried page (in manual I read that it canbe created dynamicaly, but it
does not), action, href...
it is still generated as
Home
instead of
/apl/Index.do
I know I can do
">
but it does not add application prefix :(
Thanks,
Jiri
The ideal way would be something like this.
Cheers Mark
On Sunday, August 31, 2003, at 04:27 PM, Yann Cébron wrote:
how I can do something as this:
?
Use the EL-tags (look in the contrib/struts-el directory of the Struts
1.1
distribution), e.g.
.. ..
HTH,
Yann
---
On 08/30/2003 06:42 PM James Mitchell wrote:
You can take advantage of the Unstandard tags.
This doesn't directly answer your question, but I'm sure you are smart
enough to derive your answer from the following archived post on
taglib-users from July:
Unsure if JSTL 1.1 will allow this, but using
Okay assuming the following..
..
Then assuming that fullname, id, and notify are all properties of
ComplRegisterDTO.
Cheers Mark
On Sunday, August 31, 2003, at 03:00 PM, Jiri Chaloupka wrote:
Thanks Mark
I do not know if I understnad well.
No
Thanks Mark
I do not know if I understnad well.
No I have in struts config:
...
, action definition:
path="/Register2"
type="cz.chalu.struts.modules.completeregister.LoadDataAction"
parameter=".main.registerFin
Hi,
I am new to struts & tiles and have several questions/problems That I am
currently dealing with:
1) although a page ( say tiles.page ) is defined in my tiles-def.xml and
referenced
in my struts-config.xml like
and
a link from a jsp page ... resolves to
a link to 'tiles.page'
Your from bean definition is the most useful thing you can provide to
answer this..
if in your formBean definition or in the actionForm class you've got
type
Then you're on the right lines.. But you're nesting so you jsp needs to
be more like
ComplRegisterDTO myObj = whatever...
theForm.se
Hi,
Do I need to include the declaration of a
in a form of type DynaValidatorForm in
the struts-config.xml?
Thanks in advance,
Erez
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
opps...
is better
On Sunday, August 31, 2003, at 05:02 PM, Mark Lowe wrote:
The ideal way would be something like this.
Cheers Mark
On Sunday, August 31, 2003, at 04:27 PM, Yann Cébron wrote:
how I can do something as this:
?
Use the EL-tags (look in the contrib/struts
Thanks, I used html-el and it works.
what is the better to use, use c:url or html-el:link? Or it is
equivalent here?
And one more queestion:
I have object with application persistency (over all sessions), and for
session I call some method to set some parameter and get another object
(array lis
> However, when a
> ServletException occurs, it does not go to the path defined in
> struts-config.xml. Somehow, the error is still showing in the
> application page and not in any one of the error pages defined.
My guess is, the ServletException is happening someplace where Struts'
ExceptionHandl
Yes, nested tags, I must look at ...
so now I have it without nested, form definition is now without it.
but still I got
java.lang.IllegalArgumentException: No destination bean specified
at org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:220)
at
cz.chalu.strut
Hallo,
what is the correct way to load data from db into form?
I have some form:
:
:
etc...
,
action class as:
public class LoadDataAction extends Action {
public ActionForward execute(ActionMapping mapping,
31 matches
Mail list logo