Re: Any Struts + mysql example ?

2009-11-28 Thread A. Lotfi
Hi Saeed, would like please send it to me or give me a link to it.   thanks --- On Sat, 11/28/09, Saeed Iqbal wrote: From: Saeed Iqbal Subject: Re: Any Struts + mysql example ? To: "Struts Users Mailing List" Date: Saturday, November 28, 2009, 9:52 PM I wouldnt have a JDBC example but i ha

RE: Any Struts + mysql example ?

2009-11-28 Thread Martin Gainty
the Spring 2.5 distro has a Hibernate example org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter did you say Struts is the view ..perhaps you meant Struts-taglib is used in the jsp??? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/

Re: Any Struts + mysql example ?

2009-11-28 Thread larryreed
Another example using JPA/Hibernate would be the Struts2InAction example from the book of that name. - Original Message - From: "Saeed Iqbal" To: "Struts Users Mailing List" Sent: Saturday, November 28, 2009 6:52:29 PM GMT -08:00 US/Canada Pacific Subject: Re: Any Struts + mysql ex

Re: Any Struts + mysql example ?

2009-11-28 Thread Saeed Iqbal
I wouldnt have a JDBC example but i have a MVC example where Model ORM is Hibernate, Controller is Spring and View is Struts Search for startsoft in google code On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi wrote: > with jdbc, > > thanks > > --- On Sat, 11/28/09, Saeed Iqbal wrote: > > > From: Sae

Re: Alert Box issue in Struts

2009-11-28 Thread Paweł Wielgus
Hi Deepak, as far as i know validation framework will generate your validation javascript automaticly if client side validation is turn on (somewhere in configuration maybe). But i haven't used client side validation at all so i'm not a good help here. Best greetings, Pawel Wielgus. 2009/11/28, d

Re: Where to disable encrypting of non latin chars?

2009-11-28 Thread Alex Siman
I do not get what you are talking. Saeed Iqbal-2 wrote: > > I mean if you want to display decoded HTML value, then feed in encoded > values or the other option first > > On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote: > >> These are encoded characters. Either output this but first you mus

Re: Any Struts + mysql example ?

2009-11-28 Thread A. Lotfi
with jdbc,   thanks --- On Sat, 11/28/09, Saeed Iqbal wrote: From: Saeed Iqbal Subject: Re: Any Struts + mysql example ? To: "Struts Users Mailing List" Date: Saturday, November 28, 2009, 11:41 AM Struts with JDBC? or JPA/Hibernate On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi wrote: > Hi, >

Re: Any Struts + mysql example ?

2009-11-28 Thread Saeed Iqbal
Struts with JDBC? or JPA/Hibernate On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi wrote: > Hi, > > I Please if you know about a nice example or a small proj using struts and > mysql I would appreciate. > > thanks > > > -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Arc

Any Struts + mysql example ?

2009-11-28 Thread A. Lotfi
Hi,   I Please if you know about a nice example or a small proj using struts and mysql I would appreciate.   thanks

Re: Alert Box issue in Struts

2009-11-28 Thread deepakl_2000
Hi Pawel, i need to implement a Javascript function for this in jsp.(not server side validation),how to mix javascript with jsp code please help with snippet of code... Deepak Paweł Wielgus wrote: > > Hi Deepak, > read about validation framework in struts2 and about action messa

Re: Where to disable encrypting of non latin chars?

2009-11-28 Thread Alex Siman
)) Yeah, congrats! I use this magic from the day 1. Anyway, thanx for attention. Miguel-55 wrote: > > I use lots of pages with accented latin characters, and in the source > you can see the native characters, not encoded as html entities. > The thing I use, in the <%@ page ...%> header, tha

Re: Alert Box issue in Struts

2009-11-28 Thread Paweł Wielgus
Hi Deepak, read about validation framework in struts2 and about action messages which should solve your problem. Best greetings, Pawel Wielgus. 2009/11/28, deepakl_2000 : > > Hi Struts Experts, > > I'm using Struts for Controller,i.e presentation tier. > IBatis as a Persistence Framework . > > Ac

Re: S2 Strange behaviour of validation

2009-11-28 Thread Denis Cabasson
Hi Titus, This behaviour is the "standard" behaviour of struts 2. Your second message comes from the conversion error : http://struts.apache.org/2.1.8.1/docs/conversion-error-interceptor.html I suppose that your field is of type int (or any number like class). Struts will in the first try to

S2 Strange behaviour of validation

2009-11-28 Thread Marsman
Hi! I'm using the Struts 2 validation for my form fields. For a required numeric input field, I've set the "required" and the "int" validator and a custom message for each of them. But when the user enters none numeric characters, the custom localized required-messages and a default "Invalid fiel

REST multiple return type problems

2009-11-28 Thread David Canos
Hi guys i'm using REST plugin in Struts 2.1.8.1 I'm using ModelDriven and also using a result (resultType stream) to output some special cases like simple "true or false" coded manually in json. It's working properly but if I define I *cannot use my own results*, it's always returning model

Alert Box issue in Struts

2009-11-28 Thread deepakl_2000
Hi Struts Experts, I'm using Struts for Controller,i.e presentation tier. IBatis as a Persistence Framework . Action class --> Service class --> Ibatis .xml file --> Database(SQL Sever 2000) I have implemented a Save operation In Service class which inserts a record in database. When the re

Re: textfield label localized

2009-11-28 Thread Saeed Iqbal
No Problem :) On Saturday, November 28, 2009, wrote: > Hi, > > Thanks for the answer, both are working now. > > > Regards > LV > > > > > From: KamHon Eng > To: Struts Users Mailing List > Sent: Sat, November 28, 2009 9:41:32 AM > Subject: Re: textfield label lo

Re: textfield label localized

2009-11-28 Thread mailtolouis2020-struts
Hi, Thanks for the answer, both are working now. Regards LV From: KamHon Eng To: Struts Users Mailing List Sent: Sat, November 28, 2009 9:41:32 AM Subject: Re: textfield label localized or shoud working On Sat, Nov 28, 2009 at 4:53 AM, wrote: > Hi, >

Re: textfield label localized

2009-11-28 Thread mailtolouis2020-struts
Hi, Thanks, its work now by using key. Regards LV From: Saeed Iqbal To: Struts Users Mailing List Sent: Sat, November 28, 2009 1:54:48 AM Subject: Re: textfield label localized There are 2 ways to go about this 1) within Struts tags use key="" where your

Re: textfield label localized

2009-11-28 Thread KamHon Eng
or shoud working On Sat, Nov 28, 2009 at 4:53 AM, wrote: > Hi, > > Can someone tell me how to make the label use my resource bundle value? I've > tried this > theme="xhtml"/> > and > theme="xhtml"/> > both are not working. > > But this work: > > > in my resource bundle properties file > I