) something else I have yet to think of :)
thanks again,
Nathan
Ralf Fischer wrote:
Hi Nathan,
On Wed, Jan 21, 2009 at 9:25 AM, Nathan Coast wrote:
Hi Dave,
Thanks for your tip. Apologies for my newbie-ness. Like I said, I've tried
every combination I can think of - except presumably the co
#x27;d like to add to the URL.
Any hints as to the syntax I should use in the s:param tag?
cheers,
Nathan
Dave Newton wrote:
Nathan Coast wrote:
Is passing a map of params to a construct a url supported by the URL
tag? (or some other str
Hi,
Is passing a map of params to a construct a url supported by the URL
tag? (or some other struts2 mechanism).
I've tried most things but no joy - e.g:
${key} ${value} return the correct values however the s:param doesn't
support expressions.
thanks
apologies if this is a dumb question, but how come there is no
validateBoolean?
Niall Pemberton wrote:
On 2/9/07, Nathan Coast <[EMAIL PROTECTED]> wrote:
Hi Niall,
thanks again for the quick response.
I've been looking at the struts and validator source and have a couple
of
excellent stuff,
It would probably have taken me a couple of weeks to get here :)
I'll let you know how I got on.
cheers
Nathan
Niall Pemberton wrote:
On 2/9/07, Nathan Coast <[EMAIL PROTECTED]> wrote:
Hi Niall,
thanks again for the quick response.
I've been looking a
to clone form validators so that adding validations
to the validator doesn't affect subsequent validations on forms with the
same name.
any chance you can point me in the right direction before I waste 2 days
trying something impossible :)
cheers
Nathan
Niall Pemberton wrote:
On 2
m validation method is
probably what I need.
cheers
Nathan
Niall Pemberton wrote:
On 2/9/07, Nathan Coast <[EMAIL PROTECTED]> wrote:
Hi,
I have two fields in a form. I believe the validwhen rule executes a
specific rule (e.g. required) on field a based upon the value of field
b. The
Hi,
I have two fields in a form. I believe the validwhen rule executes a
specific rule (e.g. required) on field a based upon the value of field
b. The situation I have is that I need to execute different validations
on field a determined by the value of field b.
Is this possible client sid
Hi,
The codeczar team is pleased to announce the 1.0 release of the codeczar
security component, providing database-driven users, roles and groups
for your webapps.
* security-admin - a webapp to manage users, roles & groups.
* security-client - api access for programmatic security.
* tomcat
Thanks Niall,
perfect, you were right, it was an issue with the jcv_retrieveFormName.
I'll post again when I've figured out whether it's caused by rhino,
validator, httpunit or a combination of all three :)
As a workaround I can override the jcv_retrieveFormName(form) in each
jsp to return
need to get http unit to
generate the html as a jsp would do and have it parse the form and set
up the dom as the browser would - quite how I'm not sure and I guess
its easier said than done.
Niall
On 11/21/06, Nathan Coast <[EMAIL PROTECTED]> wrote:
Hi,
First off, thanks for the
Hi,
First off, thanks for the validator - saved me countless hours of
writing js.
I've started trying to introduce httpunit integration tests to my
applications and unfortunately with both js and validator enabled, it
barfs in fine style.
httpunit 1.6.2, validator 1.3.0, rhino js-1.6R3.jar
Hi,
The codeczar team is pleased to announce the 1.0 release of the i18n
component.
The codeczar i18n component provides database-driven
internationalization (i18n) for Java servlet & jsp web applications. The
codeczar I18n component facilitates run-time, cross-cluster i18n
management witho
Hi,
The codeczar team is pleased to announce the 1.0-beta release of the
codeczar security component. This component enables db-resident
user/role/group security within your webapps. This release includes:
* admin webapp to manage users, roles & groups.
* client jars to integrate with your we
n to html as
Aşterge and the browser rendered as Aşterge
Nathan Coast wrote:
Hi,
utf-8 seems to be working fine in my apps for internationalised
messages, unfortunately it seems to break whenever I use
In other words, if I'm attempting to render 'Aşterge' from a reso
Hi,
utf-8 seems to be working fine in my apps for internationalised
messages, unfortunately it seems to break whenever I use
In other words, if I'm attempting to render 'Aşterge' from a resource
bundle using a property of a bean and I attempt to render it using
Interestingly, if I set How
Hi,
The codeczar team is pleased to announce the 1.0-beta release of the
i18n component. i18n-admin is a web interface to manage
internationalized content within your struts-based web applications.
This release provides the following improvements over 1.0-alpha:
* language usability enhancem
without struts inserts the name="tryItForm" attribute for
the form. With struts inserts the id="tryItForm"
attribute. You need to change your javascript to
document.getElementById('tryItForm').submit();
David Byron wrote:
I've inherited some struts code and I have a question about the ht
shame I can't spell :) admininistration anyone?
Nathan Coast wrote:
Hi,
I am pleased to announce the alpha release of the codeczar i18n web-app.
The purpose is to provide an intuitive gui for managing all
internationalised resources within struts web-apps. Messages are stored
in
Hi,
I am pleased to announce the alpha release of the codeczar i18n web-app.
The purpose is to provide an intuitive gui for managing all
internationalised resources within struts web-apps. Messages are stored
in a db rather than properties files. i18n.war is released under an
Apache OS Lic
the action form, nor in the action.
The business logic should throw appropriate exception, which then can be
handled by struts part of the application.
Regards
Leon
-Ursprüngliche Nachricht-----
Von: Nathan Coast [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 5. Mai 2005 10:43
An: struts-
Hi,
Is there a standard way to handle validations that can only occur
server-side? e.g. unique fields.
I'm guessing you don't have to include the unique validation in any of
your validation configuration.
Is it simply a case of overriding the validate method in my action form?
public ActionErr
@struts.apache.org/msg12942.html
I'm not even sure if it is possible to find the size of a file upload
within javascript. Obviously if it isn't possible from javascript, it
can't be implemented in the validator (not in the client at least).
cheers
Nathan
--
Nathan Coast
Managing Direct
part is to then modify Struts - that bit I'm
hoping to get round to in the next week or two.
Niall
----- Original Message -
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, January 17, 2005 9:00 AM
Subject: multiple message reso
ingle ApplicationResources.properties
from the individual message files.
Is there any plan to modify the validator to support multiple message
resources?
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.codecza
/classes/ApplicationResources.properties
/WEB-INF/classes/[module-name]/ApplicationResources.properties
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.codeczar.com
Hi,
I have a price field that I want to validate as a float with these
additional constraints 1-3 digits before the decimal, if the decimal
exists, 1-2 digits after the decimal.
anyone know the regexp that describes this?
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852
.
Nathan Coast wrote:
if enclosing page (e.g. tiles layout) forwards to or includes a jsp that
throws an error (compile or otherwise) and the enclosing page doesn't
have the errorPage directive, the sub-page processing of the error page
causes an IllegalStateException (see bottom of email)
r
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Kishore Senji wrote:
On Sun, 16 Jan 2005 12:10:37 +0800, Nathan Coast <[EMAIL PROTECTED]> wrote:
Hi,
I've been strugling for a while with exception handling. I've bee
throw new JspException(blah blah blah);
}
I think the JspException(Throwable) constructor was added in jsp 2.0 so
I guess backwards compatability is why this isn't in struts (yet).
3) redirecting browsers, saving and retrieving exceptions in sessions
I still feel like I should be able to def
of excluding the integer depends but this then tells
me that 'abcdef is not in the range 0 - 2147483647', where 'abcdef is
not an integer' would be the better message
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
ript seems to
work fine though.
Firefox bug?
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.codeczar.com
-
To unsubscribe, e-mail: [EMA
ream until you're sure no exceptions have been thrown, then std
servlet exception handling should work. No idea how to do this but if
its possible I guess it's a tomcat config.
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 87
7;go' in one place yet
still have the flexibility to change some of them to a different label later
foo.bar.view.label=go
foo.bar.action.label=${foo.bar.view.label}
foo.bar.submit.label=${foo.bar.view.label}
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852)
Then you have the apparent fact that by doing so you are now outside the Java provided i18n stuff,
when you mention 'java provided i18n stuff' are you referring to the
message resources features in struts (message bundles, locales etc)? or
have I missed another java feature somewhere?
So, you ga
x27;t find this class anywhere.
If there is a db implementation for message resources? I guess the
natural progression is a web-app gui for managing those resources. Does
such a thing exist?
cheers
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 283
s? If not, how are you supposed to
work with collections that may increase in size at the client?
thanks Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.co
e to a jsp to create the html email content.
4) trap the content (don't return to the user) and send as an email.
5) return a message to user confirming email has been sent.
is this possible without having to re-invent a servlet container :)
thanks
Nathan
--
Nathan Coast
Managing Director
Code
lugIn implementation class to
have a corresponding public property setter method that can be used to
pass on that value. Thus, if you have:
then your MyPlugIn class must have a setFoo() method to receive that value.
Craig
On Thu, 25 Nov 2004 07:59:46 +0800, Nathan Coast <[EMAIL P
rties();
}
this feels a little awkward, is there a more direct mechanism for a
plugin to access its properties?
thanks
Nathan
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://w
Hi,
Is there any way to execute some code when a module loads? I could
write servlets with the code in the init method and then declare them in
the web.xml. However I'd like to do this on a per-module basis without
having to add to the web.xml. Are plugins what I'm looking for?
getItem(int idx)
{
some code to ensure the Collection 'grows' and is populated with 'blank'
objects to be populated with data
}
public void setItems(Collection)
thanks
Nathan
--
Nathan Coast
Managing Director
codeczar ltd
mobile: (852) 9049 5581
email: mailto:[EMAIL PRO
for writing
HttpUnit test classes. This has been documented here:
http://www.codeczar.com/technologies/httpunit/HttpUnitHowTo.html
We found this pattern very useful so hopefully others will too.
cheers
Nathan
--
Nathan Coast
Managing Director
codeczar ltd
mobile: (852) 9049 5581
email: mailto
-DartifactId=maven-struts-module-plugin
-DgroupId=codeczar-struts
-Dversion=1.0
plugin:download
Cheers
Nathan
--
Nathan Coast
Managing Director
codeczar ltd
mobile: (852) 9049 5581
email: mailto:[EMAIL PROTECTED]
web:http://www.codeczar.com
apologies, sent this to the wrong list, pls ignore
Nathan Coast wrote:
Hi,
I have a couple of Jelly tag classes, what's the 'correct' way write log
statements in tag classes. e.g.
1) info - information that is always logged to stdout
2) debug - info that is displayed during
Hi,
I have a couple of Jelly tag classes, what's the 'correct' way write log
statements in tag classes. e.g.
1) info - information that is always logged to stdout
2) debug - info that is displayed during with -X
cheers
Nathan
--
Nathan Coast
Managing Director
codeczar ltd
mob
Hi,
will the 1.2.4 jars & tlds be uploaded to the maven repos some time soon?
where do they go?
http://www.apache.org/dist/java-repository/struts/jars/
or
http://www.ibiblio.org/maven/struts/jars/
or is one a mirror of the other?
thanks
Nathan
Martin Cooper wrote:
The Struts team is pleased to anno
Hi, if this is the only module defined in the web.xml I get a NullPointerException
config/upload
/WEB-INF/upload/struts-config.xml
if I add this, the problem goes away
config
/WEB-INF/upload/struts-config.xml
is this correct? Is it mandatory to have the
Hi,
I'm thinking of developing a maven plugin for struts modules. I want to check that this
isn't being done by anyone else and to get feedback from the struts / maven communities.
The idea came from working on LogWeb http://www.codeczar.com/products/logweb/ When
producing distros I have to pr
49 matches
Mail list logo