Hi everyone,
I know this is of the topic but I am hoping that someone has came accross this
and wouldn't mine shareing with me how they eloquently solve this problem.
I have an ActionForm (and corresponding Action class) that takes input from
the user and does a search depending on the
Struts 1.10 final version is now released. New features (originally added
in RC2, but not announced here):
secure property for actions in struts config file now accepts values
true, false AND any. A value of any means that the action will
accept http or https protocol, whichever is current.
Guess I forgot to say Struts 1.10 final version of *sslext* released. Find
it at sslext.sourceforge.net.
-Original Message-
From: Ditlinger, Steve [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 19, 2003 1:21 AM
To: 'Struts Users Mailing List'
Subject: Struts 1.10 final version
Find more info at sslext.sourceforge.net.
Struts 1.10 final version is now released. New features
(originally added
in RC2, but not announced here):
secure property for actions in struts config file now accepts values
true, false AND any. A value of any means that the
Hi list, I have a problem getting tiles definitions to work (using
Struts 1.1).
It works fine, when I use tiles:put name=head value=Kopf.jsp / in
my JSP pages,
but not with the XML:
Here is the code in my tiles-defs.xml
definition name=mainLayout path=Layout.jsp
put name=head
Hi list,
I found something weird:
tiles:insert page=Layout.jsp flush=true
tiles:put name=head value=Kopf.jsp /
tiles:put name=book value=Buch.jsp /
tiles:put name=foot value=Fuss.jsp /
tiles:put name=author value=Autor.jsp /
/tiles:insert
Works fine in a JSP. And it still works if I
[EMAIL PROTECTED] wrote:
Hi list, I have a problem getting tiles definitions to work (using
Hi Stephan,
Struts 1.1).
It works fine, when I use tiles:put name=head value=Kopf.jsp / in
my JSP pages,
but not with the XML:
Here is the code in my tiles-defs.xml
definition name=mainLayout
Hi Axel,
that did not help. Now I just get null as the exception .-(
Axel Sachmann wrote:
[EMAIL PROTECTED] wrote:
Hi list, I have a problem getting tiles definitions to work (using
Hi Stephan,
Struts 1.1).
It works fine, when I use tiles:put name=head value=Kopf.jsp / in
my JSP pages,
but not
Hi Stephan,
has you define the tile-config in your struts-config?
You must define the tile - plugin in the struts-config
CIao
Stephan Wiesner wrote:
Hi Axel,
that did not help. Now I just get null as the exception .-(
Axel Sachmann wrote:
[EMAIL PROTECTED] wrote:
Hi list, I have a problem
yes I have.
Axel Sachmann wrote:
Hi Stephan,
has you define the tile-config in your struts-config?
You must define the tile - plugin in the struts-config
CIao
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
[EMAIL PROTECTED] wrote:
Hi list, I have a problem getting tiles definitions to work (using
Struts 1.1).
It works fine, when I use tiles:put name=head value=Kopf.jsp / in
my JSP pages,
but not with the XML:
Here is the code in my tiles-defs.xml
definition name=mainLayout path=Layout.jsp
are you sure struts.jar is in your classpath? It doesn't matter that
struts.jar is in $TOMCATHOME\webapps\MyApplication\WEB-INF\lib when you are
compiling. only that it is in your classpath.
echo $CLASSPATH or echo %CLASSPATH% and see if you see struts.jar.
-Original Message-
From:
I'd guess you didn't reload/restart your webapplication after the first
editing of your tiles-defs.xml.. Tiles uses Digester - and Digester surely
does know about comments
Yann
Hi list,
I found something weird:
tiles:insert page=Layout.jsp flush=true
tiles:put name=head
Hi Axel,
?
insertAttribute is not valid.
Axel Sachmann wrote:
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
tiles:insertAttribute name=head/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I have to restart my application when I change a JSP? Tried it again. Even stopped the
Tomcat completely. He clearly recompiled the JSP (I can hear the hard disc work). The
comments are ignored.
I can send you a WAR file, if you want to try it yourself...
Stephan
Yann Cébron wrote:
I'd guess
I made a web application using struts which enables users to upload image
(Bfiles.
(BWhen files are submitted with Mac IE 5, the exception below occured.
(BWith Mozilla or any browsers for Windows, it will work fine.
(B
(BWhat is the cause and how can I solve this problem?
(B
Hi,
have a look at this tutorial -
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
Go to Page 7.
Insert Attribute works with my complete site
Ciao Axel
Stephan Wiesner wrote:
Hi Axel,
?
insertAttribute is not valid.
Axel Sachmann wrote:
%@ taglib
ah, but there is a space in between.
tiles:insert attribute='menu'/
not
tiles:insertAttribute name=head/
That is how it works for me, but without the tiles-defs.xml. So, sadly, I am still where I
started (about the day before yesterday) .-(
Axel Sachmann wrote:
Hi,
have a look at this tutorial
Hi - That person was me. I have built a war with a demo of using the tiles context
through the tiles action and another example of accessing the tiles context through a
tag. Unfortunately I have been plagued by poor Bell South DSL service for over a
week. They have the worst customer service
Jimmy, thanks for your reminder and sorry for my
stupid question. I worked late last night (after
mid-night) and was not thinking well.
Now, I put the struts.jar file back to the CLASSPATH
(not $TOMCATHOME/webapps\MyApplication\WEB-INF\lib)
and everything works.
--- Jimmy Emmanual [EMAIL
okay - last try. It is possible that the tile-plugin is not starting?
Have you any german sonderzeichen in yout tiles-defs.xml? That will
cause an error when the digester parsing your file
Stephan Wiesner wrote:
ah, but there is a space in between.
tiles:insert attribute='menu'/
not
Hi list (or better: hi Axel), thanks for the try to help. Figured it out now and wrote it
down (in German, though).
Can be found here: http://rzserv2.fhnon.de/~lg002556/Templates.zip (html with screenshots)
Just wrote it down, so expect tons of Rechtschreibfehler. Will be part of a book about
If you are using the XML definition factory then you should call the definition
instead of the jsp. So in your JSP to call the definition it should look like this:
tiles:insert definition=mainLayout flush=true/
mainLayout then will provide the link to Layout.jsp do to the path attribute. Then
Have you tried using a TilesAction? Using an action tied to a definition allow for
the building of independent jsps - they not only have the html but they have an action
attached to them that can load any beans necessary for rendering. You can then drop
into any definition or template a self
I think JSPs ignore html comments only the browser respects them. Have you tried
commenting out with JSP comments? %-- tiles:put --%
Cal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 19, 2003 06:30
To: [EMAIL PROTECTED]
Subject: tiles:
Hi,
After user clicks on search button, I try to display the
search results at the botton of the page. I am not sure how to do
this without using frames ( my html and _javascript are very lame) in Struts? This
must be vry common, but I just cannot think a nice way to do it. Is it possible to use
Hi everyone,
I just completed phase one of my project which is the development and
testing of my business model. some 120 classes, now I'm evaluating
options to implement my front end. I've been looking at struts as an
option, but I still have some concerns about how to go about it.
I'm
If you put your search results in a bean to be able to display them, it is
quite simple : just check if such a bean exists. If so, then a search has
been called.
html
// display search form here
logic:present name=yourresultbean
// display results here
/logic:present
/html
Thomas
Thanks, Thomas:
Seems pretty easy to handle, I gotto try it out using your
suggestions.
regards,
--- In [EMAIL PROTECTED], Thomas Cornet [EMAIL PROTECTED] wrote:
If you put your search results in a bean to be able to display them,
it is
quite simple : just check if such a bean exists.
Thanks, Thomas:
Seems pretty easy to handle, I gotto try it out using
your
suggestions.
regards,
--- Thomas Cornet [EMAIL PROTECTED] wrote:
If you put your search results in a bean to be able
to display them, it is
quite simple : just check if such a bean exists. If
so, then a search
I'we found a bug in struts-html.tld (1.1-b3), the attribute
property of html:optionsCollection-tag has required set to true.
According to the doc's its not required.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Henrik == Henrik Lindqvist [EMAIL PROTECTED] writes:
Henrik I'we found a bug in struts-html.tld (1.1-b3), the attribute
Henrik property of html:optionsCollection-tag has required set to true.
Henrik According to the doc's its not required.
If you check the online CVS history,
Name all of your search fields using this pattern:
criteria(name). For example,
input name=criteria(firstName)
input name=criteria(email)
Now use a Map backed form attribute called criteria in your form bean with
a method like this:
public void setCriteria(Map criteria) {
Greetings David.
I understood everything up to the point where I have to read in a properties
file. If it is not to much of a problem., can you please elaborate from that
point downwards.
I thought that once I have the criteria I would just build the SQL query.
However, your approach appears
Cal,
Thank you for your in-depth reply... I have a few questions about the
implementation. You are referring to a TilesAction. Is this an extension
of the Struts Action class. Does your /do/portalWhatsNew Action extend
TilesAction?
Secondly, the do/portalWhatsNew and the PortalWhatsNew.jsp
35 matches
Mail list logo