RE: [SPAM - Bayesian] - Re: [OT] Not struts but u guys know a goo d Spell Check - Bayesian Filter detected spam

2005-09-02 Thread Ajaya Agrawalla
Thanks for the info.  Apart from JSpell anyone has any experince using
Jazzy. 

I am trying to reduce the round trips to the webserver for the spell check
and I was thinking I can do a Spell Check of the content once the user hits
Submit and then display a Window with the errors highlighted.

So that means all the processing I can do on the server side with only one
roundtrip.

So will jazzy be trusty enough??  Sorry If I am ticking off people asking
non-struts stuff here.

ajay



-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 3:17 PM
To: Struts Users Mailing List
Subject: [SPAM - Bayesian] - Re: [OT] Not struts but u guys know a good
Spell Check - Bayesian Filter detected spam


From: "Ajaya Agrawalla" <[EMAIL PROTECTED]>

>I am trying to validate some long input from the browser with a spell
> checker.. Any suggestions??

JSpellHTML [not free] runs as a webapp and does a great job of spell 
checking HTML form elements.

 http://www.thesolutioncafe.com/html-spell-checker.html

One of my webapps has the users entering long text descriptions of their 
activities which then get emailed out to a large group of people.  They love

having the ability to spell check their work before submitting the form.

-- 
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Not struts but u guys know a good Spell Check

2005-09-01 Thread Ajaya Agrawalla
I am trying to validate some long input from the browser with a spell
checker.. Any suggestions??

aj


Specifying MessageResource for Title information.

2005-08-31 Thread Ajaya Agrawalla
Folks,

I am trying to have all my form fields to have a title.  The way I
approached this was to pass title information to the html:* tags like below.



I have the hints.properties file in the classes folder.

I separated all the title related keys to hints.properties.  The problem
with this approach is I have to specify the bundle information every time I
have pass title information.  The only other way I could get away from
passing bundle info is to put the keys in ApplicationResource file.  But i
really wanted to keep it separate.  We envision having title information in
multiple languages.

Anyone have any better idea??

Thanks

AJ



RE: [SPAM - Bayesian] - Re: Configurable Forms Fields Authorizati on - Bayesian Filter detected spam

2005-08-26 Thread Ajaya Agrawalla
What I was looking was...

Is there any framework which would read a form definition file either based
on a form bean or not and allow or disallow access to those fields.

I have looked around and the struts-layout has some built in feature for
access to fields.  but layout tag seems too much for my application.  Any
other idea??

ajay

-Original Message-
From: Gareth Evans [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 12:34 PM
To: Struts Users Mailing List
Subject: [SPAM - Bayesian] - Re: Configurable Forms Fields Authorization
- Bayesian Filter detected spam


Hi,

I use a similar method to generate a form,
Use a xml file to define the form e.g.


  
   
   


I then use a custom tag to parse the xml tag and set the form config within
the page context for me 
to iterate through and display.

I've added options to display a date selector, or a select box based on
either values defined in the 
  xml or on a collection within the request context.

I use the grouping function to wrap fieldsets around parts of the form just
to split it up.

Another nice feature is to pull the label for a field directly from the
message resources e.g 
"field.name.value1" or "group.name.section1".

This approach works well for me!

Regards,

Gareth

Ajaya Agrawalla wrote:

> Folks,
> 
> I am working on simple struts application and using formdef plugin.  I
need
> to have customizable way where I can control whether users are allowed to
> fill in values for some fields.  This requirement varies depending on
> installation. 
> 
> I am thinking of having a config file where we can specify whether a form
> field is accesible or not and then display the fields accordingly in JSP.
> 
> Any thoughts??
> 
> AJ
> 

-- 
Gareth Evans

MSoft eSolutions Limited
Technology Centre
Inward Way
Rossmore Business Park
Ellesmere Port
Cheshire
CH65 3EN

-- 
Tel:+44 (0)870 0100 704
Fax:+44 (0)870 9010 705
E-Mail: [EMAIL PROTECTED]
Web:www.msoft.co.uk

--
Terms:
Please note that any prices quoted within this e-mail are subject to VAT.
All program details and code described in this e-mail are subject to
copyright © of MSoft eSolutions Limited and remain the intellectual
property of MSoft eSolutions Limited.
Any proposal or pricing information contained within this e-mail are
subject to MSoft eSolutions' Terms and Conditions
--
Disclaimer:
This message is intended only for use of the addressee. If this message
was sent to you in error, please notify the sender and delete this
message. MSoft eSolutions Limited cannot accept responsibility for viruses,
so please scan attachments. Views expressed in this message do not
necessarily reflect those of MSoft eSolutions Limited who will not
necessarily be bound by its contents.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Configurable Forms Fields Authorization

2005-08-26 Thread Ajaya Agrawalla
Folks,

I am working on simple struts application and using formdef plugin.  I need
to have customizable way where I can control whether users are allowed to
fill in values for some fields.  This requirement varies depending on
installation. 

I am thinking of having a config file where we can specify whether a form
field is accesible or not and then display the fields accordingly in JSP.

Any thoughts??

AJ


OutofMemory hunts me again

2005-08-08 Thread Ajaya Agrawalla
Folks,

I know this is a well known problem which is also well documented in this
BUG 
http://issues.apache.org/bugzilla/show_bug.cgi?id=26135

I have run across same problem and my application seem to run into
OutofMemory errors after 5 restarts.  I have implemented the
Introspector.flushCaches() thing to do a final cleanup before the context is
unloaded but it has no effect on my memory usage.

What i have found from the BUGZILLA and archives.. is that there is NO
certain fix for this problem and hot reloading is not advisable.  Period.
Am I right?  Is this a good advise going forward to my clients??

Thx..

AJ