Hello
here is my situation
i have a page in which a foreachtag prints values from a bean into the page
c:forEach items=${hitlist.hitListResult} var=resultSet
tr
td
c:out value=${resultSet.identifier}/
% out.flush(); %
/td
/tr
/c:forEach
now i want that after all values are printed an action
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
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:
html-el:checkbox property=test /html-el:checkbox
now if i select the field the
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
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
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 in
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 below
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
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 to executing page?
Hello
is there anyway to get back
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
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: [EMAIL
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
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
on my first look:
shouldnt u use
message-resources property=languages /
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
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:
form-bean
name=SearchForm
type=org.apache.struts.validator.DynaValidatorForm
form-property
name=searchString
type=java.lang.String/
/form-bean
and a Bean looking
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:
definition name=result-layout-top path=/MasterLayout.jsp
put name=title
knows that
getothertiles is 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 question about tiles
i have
or in other words how can i make
that i can use
frame src=tiles:getAsString name='body'/ name=body
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
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
21 matches
Mail list logo