Hi
Some of you must have had the same problem like I try to solve now:
In a JSP I iterate over a collection with x elements of type XYZ.
The user can edit one property in the XYZ Object and submit the form back to
the server. So far so good.
The user can also delete an element and subit the form
it from whichever scope it was put in.
Yann
-Original Message-
From: Roland Berger [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 8:22 AM
To: Struts
Subject: Tiles problem?
Hi all
I have JSP code which used to work with older struts versions (1.1 beta xy).
Now I use struts
Hi Andy
One of the key words might be ValueListHandler. With this pattern you fetch
the data from the datasource, and keep the result set in the
ValueListHandler. The clients can call method like getNext(), getPervious().
But this Pattern is not related to struts its a bussines layer pattern. If
Hi all
I have JSP code which used to work with older struts versions (1.1 beta xy).
Now I use struts 1.1 stable release.
I have two jsp pages. I want to nest JSPPage2 into JSPPage1 with
tiles:insert ( see JSPCode ). All I get is [ServletException
in:/WEB-INF/pages/JSPPage2.jsp] Cannot find bean
Hi all
I'd like to use the Validation Framework outside of struts but I'm facing
some problems how to find out if the validation has faild or not after
calling the validate method of the Validator Class.
I tried to look how struts does it but did not succeed.
Does anybody know what to do after
Is it an option to swap cancel and enter button? Then you would have the
behaviour you like.
Roland
-Ursprüngliche Nachricht-
Von: Vivian, Nigel (N.) [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Mai 2003 11:09
An: '[EMAIL PROTECTED]'
Betreff: cancel button problem
Hi all
I've got
Yeah, why use Eclipse if IntelliJ IDEA has it all and better. Don't spend
$3000 on wsad (unless you need swing gui builder), spend approx. $500 for
IDEA.
Roland
-Original Message-
From: Robert S. Sfeir [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 12. Marz 2003 17:56
To: Struts Users Mailing
Hi all
Craig has described in the thread File upload/download design question how
to download a file from within an action. Others have described how to set
the Header so that the browser is promting for the right filename:
response.setHeader(Content-Disposition,attachment; filename=\ +
Hi Rob
If you work with struts 1.1 beta xy you can use a plugin for this. You have
to implement the init() method.
public class InitPlugin implements org.apache.struts.action.PlugIn {
public void destroy() {
// code to free resources
}
public void init(ActionServlet
an insert ... is
performed inside a tag implementing the BodyTag interface (like insert,
iterate, ...).
Is there a tag surrounding tiles:insert ... in your memberDetail.jsp
file ?
Cedric
Roland Berger wrote:
Hi Cedric
Sorry, but I can not find the problem even with the examples. I belive I
Tomcat 4.1.18
Can I teach it to deal right with inclusion?
Regards
Roland
-Ursprüngliche Nachricht-
Von: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 4. März 2003 16:59
An: Struts Users Mailing List
Betreff: Re: AW: AW: AW: Tiles Body question
Roland Berger wrote
Dumoulin [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 4. März 2003 16:59
An: Struts Users Mailing List
Betreff: Re: AW: AW: AW: Tiles Body question
Roland Berger wrote:
Yes, the Tag's surrounding tiles:insert are:
nested:form ...
nested:nest ...
nested:nest ...
table ...
tr
Yes, that's exactly what I also want to do. But it seems that I missed the
big picture. When I set flush=true I get a Illegal to flush error. If I
set flush=false the tile I want to insert into the body template is
inserted at the top of the page and not where the insert tag is. Can you
give a
. It is also possible to
insert the definition corresponding to a page inside a nested bodies
(see the tabs in the example directory).
Maybe I have miss something in what you are trying to do ...
Cedric
Roland Berger wrote:
Yes, that's exactly what I also want to do. But it seems that I
Hi all
tiles:insert does not insert the jsp page where it should.
I have the following setup:
In my master Layout (classicLayout.jsp) I have the tag:
Code snippet start of classicLayout.jsp *
...
tiles:insert attribute=body/
...
Code snippet end
Hi
We have to decide wheter we are going to use struts 1.1b1 or 1.02. Since
struts 1.1 has some new cool features, we would like to use it. But it is
only a beta version. So, what are the risks of using sturts 1.1b1?
Thanks
Roland
Roland Berger
Softwareentwickler
Hi all
If I'm right the initial question of Andrej was also how to do type
conversion between Value Objects and Action Forms (i.e property type in VO
is Date but in AF it is of type String). I don't have an elegant answer to
this but would also be interested to get this question answered. Not
Hi Francois
Will yor mapper framework become a part of jakarta commons? What are the
plans?
When should I use David Winterfeld's validation framework and when yours?
Can they work in parallel?
TIA
Roland
-Ursprüngliche Nachricht-
Von: Rey Francois [mailto:[EMAIL PROTECTED]]
Gesendet:
Hi all
I have a select box with several options. I'd like that a particular option
is alredy checked when the JSP page is dispayed to the user. How to do that?
i.e.
html:select property=fanum size=1 style=width:100%
html:options collection=RegionalClubs property=value
Hi Yuriy
Yes I'm intressted too. Especially about the design of the navigation and
sorting stuff.
Thanks you.
Roland
-Ursprungliche Nachricht-
Von: Yuriy Zubarev [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. November 2001 22:45
An: [EMAIL PROTECTED]
Betreff: If someone is
There is a tool called struts console which handles the struts-config.xml
file. Unfortunately this tool doesen't format the xml file nicly after
saving the struts-config.xml file to disk. But as long as you work with that
tool and as long you don't want to go back to edit the xml in a normal
Hi all
How is it possible to use CSS for struts tags? Or does anybody know a better
way than using CSS for formating etc. WEB pages generated with struts and
JSP?
style type=text/css
html:text {color: green}
/style
Does not work with me.
Thanks
Roland
--
To unsubscribe,
Hi all
I'd like to put severel (submit) buttons into one html:form tag. Each of
this button should execute a different action. The problem is that only the
action given in the html:form tag is called.
Is there a way to tell struts to analyze the request for a property action
and if the action
=selected
name=ListMitgliederSelektionForm value=true/
/td
/tr
/logic:iterate
Can struts handle this. If not how can I do that in an elegant way?
Roland Berger
.
Since I'm quite new to JSP this might be a stupid question. If it is, plese
answer anyway.
Kind regards
Roland Berger
Hi all
I try to access an MSAccess DB out of struts and I work with JBuilder 5.0.
But when running the application I get the following error from JBuilder:
cannot load servlet name: action2001-08-30 09:39:47 - path=/pcd :action:
Initializing application data source
26 matches
Mail list logo