Hello
here is my situation
i have a page in which a foreachtag prints values from a bean into the page
<% out.flush(); %>
now i want that after all values are printed an action is called to do
something else
at the end of page doesnt do
anything
anyone knows?
-
Hello
i have a little question
in the MessageTag i can specify an attribute called name to say where he can find the
errors or messages in request.
Lets say the value is "DOIT"
now how can i make that if i use validate in my FormBean, the ActionErrors are saved
under "DOIT" instead of Globals
Hello
i want to use DispatchAction
now my questions is can i use in one action the struts-config entry validate="true"
and in the other action validate="false"
Thx for any hints
Michael
Hello
i have a problem with the checkbox tag
i have a ActionForm Bean containg one value test
private class testBean extends ActionForm{
private String test;
//+ Getter and Setter
}
no i inserted in my jsp page:
now if i select the field the checkbox is marked as checked
but now if i deselec
Hello
i have a little problem with the iterate tag and checkbox
i have a collection of some beans:
private aBean{
String id;
//+ getter and Setter
}
The collection is in another bean
private colBean{
Hashtable col;
//+ getter and setter
}
the bean is posted in the session under "sc
hello
i probalbly have a simply question but i dont get it working
i have a bean which i use as a action form
public class SearchBean extends ActionForm{
private String[] searchString;
//+ getter setter methods
...
}
now i want to present this searchString in jsp page in input field
i made it a
Globals are in the struts.jar
org.apache.struts.Globals
Have a nice day
Michael
- Original Message -
From: "Honza Spurný" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 11:07 AM
Subject: Re: MessageResources
Hello
it totally depends what you need.
different names:
if u use different names than there will be created five different forms,
each under an other name.
if all are in request it makes not really sense to do this because they are
deleted if the request is over.
but if you use them in session t
Hello
just a little question about the taglib
i want to have one form with 2 buttons in it
one button should do "new"
the other "update"
how can i make my action class know which button was hit?
additionally i want that the buttons get there labels from a property file
that works as shown bel
nput
from both the jsp's and returning the both of them and then well u have the
two different flows.
> -----Original Message-
> From: Frers Michael [mailto:[EMAIL PROTECTED]
> Sent: 30 October 2003 16:41
> To: Struts Users Mailing List
> Subject: Doing an action and get back
Hello
is there anyway to get back to the side which called an action?
here more specific example
i have 2 jsp sides: a.jsp and b.jsp
from both i can call a strutsaction dosomething.do
after executing i want to get back to a or to b (depending who called the side)
i think best solution would
Hello
just a simple question
how can set the actual used local?
i have two propertie files:
application.properties
application_de.properties
application_en.properties
struts takes as default application_de.properties
how can i make it that a user can click a GreatBritain flag and then the app
Hello
have a look at
http://www.reumann.net/do/struts/lesson3/step5
there the DynaActionForm is populated over an ActionClass with the Values
needed in the select boxes
Hope this is what you have meant
Good luck
Michael
- Original Message -
From: "Looser" <[EMAIL PROTECTED]>
To: <[EM
Hi
well this is ok
tiles is used to manage many jsp sides with all nearly the same layouts over
one configuration file
this means you have to maintain (if you use full tiles power) minimum 3
files:
the layout jsp (setting positions of header, body, footer, and so on)
the content files (foreach (h
Hello
on my first look:
shouldnt u use
i think there is a missing "s"
- Original Message -
From: "Mahin Jeyachandran" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 4:57 AM
Subject: a query regarding
good day all,
I'm new
Hello
i try to get Values from a dynaactionform to a bean
but BeanUtils.copyproperties(...,...); doesnt work;
How can i do this in an easy way?
Looking in my logfile says that the value is in the DynaActionForm but not
in the bean after copying
My Ressources:
#
DynactionForm:
#
Hello
anyone have an idea how to easy copy values from a dynavalidatorform to an
existing bean?
i have a dynavalidatorform like:
and a Bean looking like:
public class SearchValues {
private String sSearchString;
public String getSearchString() {
return sSearchString;
}
public void setSearch
or in other words how can i make
that i can use
while 'body' is replaced with a tiles defnition
- Original Message -----
From: "Frers Michael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, October 23,
s a tiles definition
any idea?
- Original Message -
From: "Frers Michael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, October 23, 2003 3:12 PM
Subject: Struts and Tiles
> Hello
> again a small quest
Hello
again a small question about tiles
i have a layout with
header,body and footer
and a another with left and right
now i want that in body of the first is again another tile to get the second
layout into it
like:
so if i call result-lyout-top than i want to have the header,
Hello
did anyone ever tried to combine Frames and Tiles?
i want to build a page with one left and one right frame.
is there any chance to build frames with tiles?
(i need the frames because i get results from database slowly and want to print
results as soon as they arrive)
if i only use tile
21 matches
Mail list logo