Re: Java based spell check

2011-06-27 Thread Wendy Smoak
On Mon, Jun 27, 2011 at 10:15 PM, Ashish Kulkarni wrote: > Hi > Does anyone know of open source Java based spell check which does not call > google webservice for spell check? Like pspell in PHP which can be hosted in > intranet environment Long ago I used JSpell in a Struts app. Looks like they

Java based spell check

2011-06-27 Thread Ashish Kulkarni
Hi Does anyone know of open source Java based spell check which does not call google webservice for spell check? Like pspell in PHP which can be hosted in intranet environment -- Ashish www.ayurwellness.com www.mysoftwareneeds.com

Re: POJO's collection not populated when submitting form

2011-06-27 Thread Dave Newton
On Mon, Jun 27, 2011 at 10:57 AM, Justin Robbins wrote: > I wonder why the Hibernate docs use Set and mention Set is the most > commonly used Collection in mappings. Maybe it is, I guess I've just never found it helpful in anything I've done--I've usually needed either a known order, or to be abl

Re: POJO's collection not populated when submitting form

2011-06-27 Thread Justin Robbins
Many thanks for the confirmation Dave. I'll convert my Hibernate mappings to List or Map. I wonder why the Hibernate docs use Set and mention Set is the most commonly used Collection in mappings. I realize that is a discussion for another venue though. Thanks again. On Wed, Jun 22, 2011 at 3:5

Re: POJO's collection not populated when submitting form

2011-06-27 Thread Dave Newton
IMO a set is user-hostile unless you've defined an iterator with known sequence, otherwise the same page might return the same values in a different order. That's just confusing. (And I've never actually used a set in Hibernate, always a list or a map.) I don't think collection syntax (square bra

Re: POJO's collection not populated when submitting form

2011-06-27 Thread Justin Robbins
Hi folks, Not possible to populate a java.util.Set from a form post in Struts 2? A discussion on Stack Overflow concluded that you can't populate a java.util.Set type Collection with a form post in Struts 2. Can you guys confirm? Basically, I'm able to successfully iterate over a Set in a JSP t

Re: include tag problem

2011-06-27 Thread Dave Newton
On Mon, Jun 27, 2011 at 8:32 AM, k3v1n wrote: > Can you send example code please? ... http://download.oracle.com/javaee/5/tutorial/doc/bnalj.html http://www.javascriptdownload.net/site/page.asp?dsy_id=501 http://onjava.com/pub/a/onjava/excerpt/jserverpages3_ch11/index.html http://today.java.net/

Re: include tag problem

2011-06-27 Thread k3v1n
Can you send example code please? -- View this message in context: http://struts.1045723.n5.nabble.com/include-tag-problem-tp4527676p4528142.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
Cool; glad you got it working. Dave On Mon, Jun 27, 2011 at 8:37 AM, Maithily wrote: > Oh! yes, thanks for pointing that out. It works smoothly. > Apologies for the silly mistake. > > Regards, > Maithily. > > On Mon, Jun 27, 2011 at 6:03 PM, Dave Newton wrote: > >> From http://struts.apache.org

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Oh! yes, thanks for pointing that out. It works smoothly. Apologies for the silly mistake. Regards, Maithily. On Mon, Jun 27, 2011 at 6:03 PM, Dave Newton wrote: > From http://struts.apache.org/1.2.4/userGuide/dev_validator.html > > * minlength - validate input data isn't less than a specified

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
>From http://struts.apache.org/1.2.4/userGuide/dev_validator.html * minlength - validate input data isn't less than a specified minimum length. Requires a minlength variable. minlength3 So, it's a colon there. Dave On Mon, Jun 27, 2011 at 8:31 AM, Maithily

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Yeah, it renders as you have said. I have declared the var as per the struts validator documents. minlength 6 I also tried this configuring it like this -

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
Oh, you're saying that the error message *renders* as "... less than ${var.minlength} characters"? What happens when you declare the var as ${var:minlength} as in the docs? Dave On Mon, Jun 27, 2011 at 8:17 AM, Maithily wrote: > Thanks  for the reply Dave. > > The default error message configur

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Thanks for the reply Dave. The default error message configured as follows errors.minlength={0} can not be less than {1} characters. Regards, Maithily On Mon, Jun 27, 2011 at 4:30 PM, Dave Newton wrote: > {1} like the default message. > > Dave > On Jun 27, 2011 3:14 AM, "Maithily" wrote: >

Re: include tag problem

2011-06-27 Thread Dave Newton
Why not use a JSP-based custom tag? Dave On Jun 27, 2011 7:03 AM, "k3v1n" wrote: > Hi all, > > I need help, please. > > I have collection of User object... In my jsp page, I have foreach block for > print all user contains in my collection. I want use other jsp for print it! > > For example: > >

Re: Struts2 - The requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread Dave Newton
You're only populating the list in the "execute" method, but that isn't run on a validation error--"input" is. Consider implementing Preparable. IIRC this is in the faq (I might be recalling wrong). Dave On Jun 27, 2011 3:18 AM, "akshat [PG8]" wrote: > Hi everyone, > > Please help me in Struts2

include tag problem

2011-06-27 Thread k3v1n
Hi all, I need help, please. I have collection of User object... In my jsp page, I have foreach block for print all user contains in my collection. I want use other jsp for print it! For example: <% Collection users = (Collection)request.getAttribute("users"); Iterator it = users.iterator(); w

Struts2 - he requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread log2akshat
Please help me in Struts2, I am stucked in action The problem is that I have a application form for accessing that form you should be registered in the database. So the login utility will check for the password & email in the database if it is there than it will go to the app. form otherwise i

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
{1} like the default message. Dave On Jun 27, 2011 3:14 AM, "Maithily" wrote: > Hi, > > I am new to this mailing list and am facing a problem using the "minlength" > field validation provided by the Struts Validation Framework. > Struts version - 1.2.4 > Application Server - Apache Tomcat (5.5)

Transparent Proxy and redirect

2011-06-27 Thread Sistemas
Hello. I am running Tomcat behind a transparent proxy which provides SSL. This way the tomcat server is serving http and the clients connecting through the proxy get https service. The problem is when I make a forward with redirect="true" with struts the http response specifies a complete URL

Re: JQuery Grid Tag [ avoid ajax on load? ]

2011-06-27 Thread Johannes Geppert
Currently not. The tag only works together with a JSON Data Provider. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/JQuery-Grid-Tag-avoid-ajax-on-load-tp4527455p4527629.html Sent from the Struts

JQuery Grid Tag [ avoid ajax on load? ]

2011-06-27 Thread Muhammad Hassan
Hi, I am using jquery grid. Following ** * Any help in this is appreciated. Thanks Hassan

Struts2 - The requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread akshat [PG8]
Hi everyone, Please help me in Struts2, I am stucked in action The problem is that I have a application form for accessing that form you should be registered in the database. So the login utility will check for the password & email in the database if it is there than it will go to the app. fo

Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Hi, I am new to this mailing list and am facing a problem using the "minlength" field validation provided by the Struts Validation Framework. Struts version - 1.2.4 Application Server - Apache Tomcat (5.5) I have configured the following in my validation.xml file -