Hi
I have been trying to use struts and wanted to use the html:errors/ tag.
I wanted to the error messages to be read from a database instead of the
ActionResources properties file. Could you let me know
what exactly I am suppose to do to achive that.
I wanted to changed the code at the place
I think I would subclass MessageResources and MessageResourcesFactory, then specify
the name of the new factory class in
web.xml.
HTH
Jean-Noel
- Original Message -
From: Muthu Kannappan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 12:39 AM
Subject:
Hi Shogo,
Have a look at the 'example' webapp provided with struts, this uses a taglib
to check the user is logged on, I'm sure you could use/amend it to fit your
purpose.
Jon.
-Original Message-
From: Ito, Shogo [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 20:11
To: [EMAIL PROTECTED]
Hello Friends i am facing a problem.i want to hide and show a text box
(html element ) at run time. using both netscape 4.x and IE 4.x the
problem is it works fine with IE if i use a style sheet with the element
and at run time using java script functions i can say
for hide
look this is working fine with ie but not with netscape 4.6 the text
field is not even looking like disabled sort this does not solve my
problem.
-Original Message-
From: Michaƫl Bellefroid [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 2:41 PM
To: '[EMAIL PROTECTED]'
Subject:
Jon.Ridgway [EMAIL PROTECTED] writes:
Hi Shogo,
Have a look at the 'example' webapp provided with struts, this uses a taglib
to check the user is logged on, I'm sure you could use/amend it to fit your
purpose.
Jon.
I am not very happy with taglibs checking for logged in user. Taglibs can
jamil,mahmood wrote:
Please unsubscribe me from this list.
I would do this on the server side by wrapping the text box in a logic
tag.
logic:present name=visibilityFlag
html:text ... \
/logic:present
But perhaps you have a requirement to do it on the client.
- Original Message -
From: Dinesh Chaturvedi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Thanks John.
For now we simply stepped back to b1.
But maybe this indicates that your changes should be applied struts, so
that we can all benefit from it.
-hendrik
Hi Hendrik,
This is a 'feature' of WTE. To resolve it edit
org.apache.struts.taglib.FormTag.doEndTag so the first two
Hi,
in BeanUtils (public static Map describe(Object bean)) the constant
Collections.EMPTY_MAP is used. This constant was only defined in JDK
1.3.
It would be nice if this could be changed (back?) to using something
like
public static final Map EMPTY_MAP = new HashMap();
so that people having
Title: RE: Question on the ActionForm design for dynamic data?
Yes Yes. While the form will be
automatically populated, you will, however, need to write your own validation
for the form collection(s).
- Original Message -
From:
Joyce Tang
To: 'Jeff Trent
'
Sent:
Please unsubscribe me from this list.
Hi Wayne,
Thanks for youre feedback.
I m using Xerces and version of my silverstream is 3.7.1. as i mentioned in
my previous mail, this application was working fine last thursday and
suddenly it start giving problem on friday.
any help will be appreciated.
Thanks
Tanver
-Original
Hi All ,
For those of you out there who have used image buttons to submit
information, i have a problem which i am hoping you will help me with...
I am using an image where onclick will let me open a new window with the new
information on it. The below html does this quite nicely.
A
Hi Craig,
Craig R. McClanahan wrote:
On Fri, 16 Mar 2001, Dan Malks wrote:
[snip]
In fact, I've gotten some emails recently asking me to write a paper about the
relationship of an existing framework and the Patterns. Describing the synergy
between Struts and the J2EE Patterns might be
I'm running into some weird behavior using the template tags. I have a
directory structure which separates different areas of my application into
different directories. My template.jsp file is in my root directory and is
shared by pages in the sub-directories. The problem is, all paths to other
Title: Referer pages and structs
Write
your own tag which takes in as input a parameter,. It checks the permissions for
that parameter and returns true or false.
cheers,
Amar..
-Original Message-From: Shunhui Zhu
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 22, 2001 12:34
Gregor the example application has the tag to check for logged in user in
the jsp page.
But in addition to this - they also check if the user is logged in in each
action class.
Another thing is the tag is not really authenticating the user but just
checkign if the user has been authenticated,
Title: Referer pages and structs
Sounds like the best solution is to write your own form field tags
(perhaps subclassing the Struts ones). A lot of work, maybe, but has the best
reusability separation of logic and presentation.
-- Tim
Moore / Blackboard Inc. / Software
Engineer 1899 L
You should be using struts-logic.tld, not struts.tld. Never use struts.tld.
-Original Message-
From: Amos Shapira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 1:16 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to use the new iterate tag?
I use the TLD extracted from the
This email list server is kind of weak in terms of threads and discussion.
Should be moved over to a Forums. I built a really good robust one. If I
get some requests, I can implement it and host it for free.
Anyone interested in moving this over to a Forums?
My view is that authentication is best handled totally outside of struts by
the application server. The web deployment descriptor (web.xml) per the j2
spec is specifically designed to remove login mechanics from the developer.
I'm running the JBoss/Tomcat at home and weblogic 5.1 at work and
22 matches
Mail list logo