It seems that it is not possible to use the logic tags to test is this
property either null or an empty string?. Using logic:present, I can
determine that some value is present, but as far as I can tell, there is no
way to test for an empty string. Specifying value= for tags such as
notEqual
hi,
this sounds very interesting to me.
So, if you don't mind, i'd like to take a look.
regards
stefan werner
- Original Message -
From: Roland Huss [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 10:49 PM
Subject: Extensions to Struts
Ahoi,
first all thanx
Hi
I have written a subclass of org.apache.struts.util.MessageResources and also
a subclass of org.apache.struts.util.MessageResourcesFactory,
and made my implementation so that when html:errors/ tag is called it gets
the error message from my database instead of the ActionResources.properties
From: Martin Cooper [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Logic tags and string properties
Date: Wed, 23 May 2001 00:12:59 -0700
It seems that it is not possible to use the logic tags to test is this
property either null or an empty string?. Using
Sounds like you want the application resource bundle to be an instance of
your MessageResource subclass. In that case, you should just have to
specify your MessageResourcesFactory subclass fully qualified name for the
factory init parameter of the ActionServlet (see
On Wed, 23 May 2001, Martin Cooper wrote:
It seems that it is not possible to use the logic tags to test is this
property either null or an empty string?. Using logic:present, I can
determine that some value is present, but as far as I can tell, there is no
way to test for an empty string.
I haven't done this, but if you look in the comments at the start of
ActionServlet it say you need to add a factory parameter to the web.xml
file, something like this:
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
Just interesting. The charter of the project says:
Based on the Jakarta Struts project, the Ruby Web Application framework
is a framework for developing web/wap applications founded in the Ruby
programming language.
http://sourceforge.net/projects/ruby-waf/