Hi everyone,
I'm using *Struts 1.1* to build an application with multiple Struts
modules.
I put my validations for each module in a seperate validations.xml
file. For example, I have validations-a.xml for module a and
validations-b.xml for module b. I then found out that although the
ok I attached files , I access this page using http://localhost:8090/rs/tiles/example.jsp
It displays header, left pane, content, footer. But does not show text box in content.
Thanks for your help.
bibWendy Smoak [EMAIL PROTECTED] wrote:
From: "bib_lucene bib" <[EMAIL PROTECTED]> I still cannot
Forget it! This is because the digester class uses the logging before
you initializes it.
Manfred
Deep Chand schrieb:
Even if it is a warning why do I see that...what's wrong with the
configurationand i waited for like 30 seconds it keeps on printing
somethingbelow is the initial log:
Have u map it with form-bean.
bib_lucene bib [EMAIL PROTECTED]
10/11/2005 11:54 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List user@struts.apache.org
cc
Subject
Re: html:text not interpreted :-(
ok I attached files , I access this
no, just put a simple html:text to see if a text box appears, I thought I will
get this done and then continue adding more elements adding action classes etc?
Is that wrong approach?
[EMAIL PROTECTED] wrote:
Have u map it with form-bean.
bib_lucene bib
10/11/2005 11:54 AM
Please respond to
Hi,
I have an application where I store PDF of each of my client...
I would like to know how to restrict the view of PDF to the client that PDF
belongs to
Actually to view PDF I have a link like this :
www.mywebsite.com/mystrutslink.do?pdf=/pdf/clientId/test.pdf
As you may notice, the
try using filter=false
e.g.
bean:write name=myBean property=myProp filter=false /
Gareth
Kishore Senji wrote:
When you say bean:write is not parsed, you mean that in the html source
that's generated you see bean:write in it? If so, you might have just
forgot the bean taglib reference (%@
Hi,
I have some general questions about connection pooling and exception
handling.
Struts suggests that developers use declarative exception handling. In
declarative exception handling, there are almost no try { } catch() {}
blocks in the Action classes. Exception occuring in Action classes are
A pertinent question, had the same problem myself this afternoon.
I use Tomcat DBCP and found that each connection really does need to be closed.
If
you don't your pool of connections is quickly depleted.
From the many code samples I have looked at (not that many really) I find many
people
Another solution is to use a proxing framework (like spring), that
opens and closes the connections for you. This way you know that the
connection will always be closed after the method call, regardless if
there was an error or not.
You can also create a base class for all your actions that has a
I should know this, but how do I use '' in a tiles xml?
I guess this makes me the whipping boy for a while.
amp;
On 11/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I should know this, but how do I use '' in a tiles xml?
I guess this makes me the whipping boy for a while.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Yes, I am still wondering. Thanks Adam, I'll look into your suggestion.
-
a href=http://Struts_User_List.roomity.com;roomity.com/a
Your Roomity Broadband Webapp ~~1129041675336~~
no, it's not the taglib that isn't parsed but the html tags in the
property's string to be written by the taglib.
- Original Message -
From: Kishore Senji [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, October 11, 2005 12:18 AM
Subject: Re: html
is it within html:form and /html:form tags?
here's the header of my own jsp page concerning the taglibs just in cast it
works for you since it works well for me.
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean%
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html%
%@ taglib
Many thanks! It worked!
try using filter=false
e.g.
bean:write name=myBean property=myProp filter=false /
Gareth
Kishore Senji wrote:
When you say bean:write is not parsed, you mean that in the html
source
that's generated you see bean:write in it? If so, you might have just
forgot
It is very usual that we open a connection to the database at the beginning
of the Action class and then close it at the end. When an exception
occurs,
an exception-handler outside of our Action class (in which the exception
is
thrown) handles the exception. Then, what happens to the connection?
DBCP has some properties to help with connection pool leaks:
removeAbandoned, logAbandoned. See
http://jakarta.apache.org/commons/dbcp/configuration.html
On 11/10/05, emre akbas [EMAIL PROTECTED] wrote:
Hi,
I have some general questions about connection pooling and exception
handling.
Struts
So, is it possible to submit a form to another page, either with
submit button or with a link? OutputLink does not seem to submit a
form.
Michael.
-- Forwarded message --
I looked up for an attribute of h:commandButton which would allow to
submit to another URL, and I could not
I am using shale/clay html full view. I have an initial page, index.html,
which contains a commandLink to another page, page2.html.
index.html
html
body
form jsfid=form
a jsfid=page2LinkPage 2/a
/form
/body
/html
clay-config.xml
...
component jsfid=page2Link extends=commandLink
We've installed a Struts based portal on our test system(Solaris box).
When we test inside the network everything works fine. But if we log in
from outside the network via Netscreen(there is an IP address
translation that happens), the first login page takes over 5 minutes to
appear. But once the
On 10/11/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
So, is it possible to submit a form to another page, either with
submit button or with a link?
There is no such attribute on the h:commandButton or h:commandLink
components, because in HTML that is not what determines where the submit
I am trying to figure out if there is a way to have the Validator
framwork verify that the form element names defined in the
validation.xml, are in synch with my ActionForms, but not jst at
runtime. Right now if there is a mismatch, then I get an error in the
form of an error, sometimes obscure,
D.J.,
Perhaps you should try it yourself. It works for me.
If the html:submit tag is used, and the property
attribute is specified, then that property is
available in the action class as
request.getParameter(the_submit_button_property_name);
I don't see any code that wraps HttpServletRequest.
Hello all.
In my app, I use the DynaActionForm, because it makes it much easier to
declare all the forms I need. However, it is giving me a problem with
Boolean type variables used in checkboxes.
Specifically, I have the following form-bean:
form-bean
name=test_form
Mick Knutson wrote:
I am trying to figure out if there is a way to have the Validator
framwork verify that the form element names defined in the
validation.xml, are in synch with my ActionForms, but not jst at
runtime. Right now if there is a mismatch, then I get an error in the
form of an
Ryan
the Clay dcumentation at
http://struts.apache.org/shale/features.html#view
For each JavaServer Faces view that you wish to associate with a
ViewController backing bean, you must:
a.. Implement the ViewController interface. The most convenient way to do
this is likely to be extending
It could be at build time just fine, but I am using maven.
So how could I integrate this into my build then?
Dave Newton wrote:
Mick Knutson wrote:
I am trying to figure out if there is a way to have the Validator
framwork verify that the form element names defined in the
validation.xml,
Mick Knutson wrote:
It could be at build time just fine, but I am using maven.
So how could I integrate this into my build then?
I have no idea :)
In my case, with ant, I was just running an external task. I don't even
remember how I was getting status information back and all that. Just
Wouldn't XDoclet's Struts Validator features work for you
in this regard? It wouldn't be i nthe JSP or at startup
but at build/compile time. See:
http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED]
evel_Tags
I am trying to figure out if there is a way to have the Validator
framwork
Hi Ryan,
I am using shale/clay html full view. I have an initial page, index.html,
which contains a commandLink to another page, page2.html.
index.html
[snippet]
index is configured as in faces-config.xml and implements ViewController.
When I click on page2Link I see that the following is
I've done this in the past. Used modules to logically (and for the sake
of having sane config files) break up these config files. However I'm
wondering if anyone avoids using modules and maybe merges the files
using ANT or something? Reason I ask is because I know there are
pitfalls to using
Some people prefer to stay away from modules (I have a vague memory of at
least one Struts committer saying they generally try to avoid them for
example). One option that Craig turned me on to (and I hope I'm
remembering this right!) is using entities to import XML into another. If
the only real
No, in our case it's mostly to make the code manageable. We're putting
code into separate packages and separate JSP directories, but it's all
going to be part of the same application in the end. And avoiding
modules wold be nice if possible.
Preston
[EMAIL PROTECTED] 10/11/2005 2:02:48 PM
Some
no, because my code is being generated from wsdl2java, and not xdoclet.
David G. Friedman wrote:
Wouldn't XDoclet's Struts Validator features work for you
in this regard? It wouldn't be i nthe JSP or at startup
but at build/compile time. See:
Just tried this. This works nice. Only downside is that then you don't
get any context help in the editor as you can't have a full XML file
with a doctype at the top (for the included files).
Bummer.
Preston
[EMAIL PROTECTED] 10/11/2005 2:02:48 PM
Some people prefer to stay away from modules
From: Preston CRAWFORD [EMAIL PROTECTED]
I've done this in the past. Used modules to logically (and for the sake
of having sane config files) break up these config files. However I'm
wondering if anyone avoids using modules and maybe merges the files
using ANT or something?
You can have
Oooh. I like that. That works relatively well so far, although it's not
picking up on my secondary tiles-defs.xml file.
Preston
[EMAIL PROTECTED] 10/11/2005 2:26:22 PM
From: Preston CRAWFORD [EMAIL PROTECTED]
I've done this in the past. Used modules to logically (and for the
sake
of having
Hi
Can I get a working sample which has struts and tiles. Basically has some
layout like head body and footer. Body includes a jsp with a form that has
html:text.
My example just dont work.
Thanks
bib
-
Yahoo! Music Unlimited - Access
Bib,
Can you include your Tiles definition and your jsp using tiles so we can
look at it? Are you observing any errors in your logs? Do the logs show
that the TilesRequestProcessor has initialized?
Regards,
David
-Original Message-
From: bib_lucene bib [mailto:[EMAIL PROTECTED]
Sent:
[EMAIL PROTECTED] (Gary VanMatre) wrote on 10/11/2005 04:29:47 PM:
If you are using myfaces runtime, you need to add a preprocess
filter command. The usecase has an example (http://svn.apache.
org/viewcvs.cgi/struts/shale/trunk/use-cases/src/web/WEB-INF/chain-
config.xml?view=markup). This
Great subject line, isn't it? :)
OK. I've been doing Struts for like 2-3 years now, and
Struts Modules I loved for awhile but now I absolutely
can't stand them
First off, my initial appeal to modules was to split
up the configuration files so different developers can
work on the project
Paul,
See, after all these years, I really wanted was to
split files up. Modules don't gain me anything, do
they? I know (or I think) when Craig wrote Struts 0.x,
he had an action.xml which did something similar
Now I could create file of just actions and use XML
ENTITIES to include
Paul, you are aware that you can specify multiple configuration files,
right? There isn't even a need to use XML entities, which I suspect
isn't as well-known as it probably should be, and another poster pointed
out that it presents some troubleshooting (or was it validation?)
problems. I
44 matches
Mail list logo