hi please check this war

2010-07-15 Thread Salish S
HI please checjk this war
on clicking the edit it will ask for input what all changes has to add ther
for add hibernate is this the right formate to do hibernate in the same
appliction how can i do the crud appliction by the same please check this
war and tell what changes that has to do to work it properly crud

thanks thanks in advance

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

how can i get the validation in japanese

2010-07-13 Thread Salish S
Hi all
I'm facing a problem ,

in a sample there is a username and password there two has to show in
japanese if the user didnt enter the values the validation also has also be
shown in japanese i had changed the page encoding ,changed to validation.xml
to property file there also on saving eclise is shwing cant encode to utf-8
some ISO ... is enabled so i change the language support of my
sys,in eclipse also Window-PrefencesGeneral---Workspace to
UTF-8 but on deplaying the validation is showing in  why what is
the problem and how can i get it correct
Thanks in advance


Re: how can i get the validation in japanese

2010-07-13 Thread Salish S
Thanks for the reply
but my problem is not solved,
i had a jsp page in which user enter japanese char there has to use client
side validation so that validation message has to be in japanese and if all
are correct that has to enter in the mysql db's table in that i'm not sure
what the encoding used for table and on listing the entered values also has
to show in japanese in jsp page
ob using utf-16 some error appear  in xml as well as the eclipse java code
also changed to japanes on selecting the whole project'properties and change
the encoding to UTF-16 what should i do

Thanks in advance


On Tue, Jul 13, 2010 at 5:30 PM, Martin Gainty mgai...@hotmail.com wrote:


 UTF-8 wont handle dbcs or tbcs languages
 i would suggest change all encodings (parameter and file,input and output)
 to UTF-16



 ?xml version=1.0 encoding=UTF-8 ?

 change all XML declaration tags for all XML files to UTF-16 e.g.

 ?xml version=1.0 encoding=UTF-16 ?



 freemarker and velocity have their language specific scripts which you will
 need to modify or insert located at

 /WEB-INF/velocity/tiles-defs_ja_JA.xml

 /WEB-INF/freemarker/tiles-defs_ja_JA.xml



 if you use the embeddedjsp plugin you will need to provide
 LocalStrings_ja.properties in resources folder


 \plugins\embeddedjsp\src\main\resources\org\apache\struts2\jasper\resources\LocalStrings_ja.properties



 if you are using portlets in portlet.xml change
 supported-localeen/supported-locale to
 supported-localeja/supported-locale



 set the locale for your sessions to ja_JA via i18n-interceptor

 https://cwiki.apache.org/WW/i18n-interceptor.html


 Martin Gainty
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
 destinataire prévu, nous te demandons avec bonté que pour satisfaire
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
 de ceci est interdite. Ce message sert à l'information seulement et n'aura
 pas n'importe quel effet légalement obligatoire. Étant donné que les email
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
 aucune responsabilité pour le contenu fourni.





  Date: Tue, 13 Jul 2010 13:04:56 +0530
  Subject: how can i get the validation in japanese
  From: ssal...@gmail.com
  To: user@struts.apache.org
 
  Hi all
  I'm facing a problem ,
 
  in a sample there is a username and password there two has to show in
  japanese if the user didnt enter the values the validation also has also
 be
  shown in japanese i had changed the page encoding ,changed to
 validation.xml
  to property file there also on saving eclise is shwing cant encode to
 utf-8
  some ISO ... is enabled so i change the language support of my
  sys,in eclipse also Window-PrefencesGeneral---Workspace to
  UTF-8 but on deplaying the validation is showing in  why what
 is
  the problem and how can i get it correct
  Thanks in advance

 _
 The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
 Hotmail.

 http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5



where is the datepicker in struts2-core-2.1.8.1

2010-07-11 Thread Salish S
Hi all
How can i add datepicker in jsp if i'm using the struts2-core-2.1.8.1.jar
and is that all the jar files i need for a simple application in struts2
from here
http://mirror.olnevhost.net/pub/apache/struts/library/struts-2.1.8.1-lib.zip
thank for replys


Re: hi please help me struts2

2010-07-10 Thread Salish S
thanks for the reply
so by using the struts 2.1.8 jar files from apache the validation by giving
he validation=true has to worked
for that i asked

on using hibernate the hibernate will make the class by anotation and for
the validation also we has to do the same how can i make a crud with
hibernate as model jsp as view struts2 as controller.
in the struts2 is that the interceptor is excluded for the validation to
remove for inpit and how


On Fri, Jul 9, 2010 at 6:19 PM, Brian Thompson elephant...@gmail.comwrote:

 For client-side validation:  Just write a javascript function and have
 it run for either the onclick event of the form submit button or the
 onsubmit event for the form itself.

 For Hibernate by property file, I'm not sure what you mean.  I've
 always used either hibernate.cfg.xml files or annotations in the model
 classes.  Could you post an example of what you're trying to do?

 -Brian



 On Fri, Jul 9, 2010 at 7:39 AM, Salish S ssal...@gmail.com wrote:
  -- Forwarded message --
  From: Salish S ssal...@gmail.com
  Date: Fri, Jul 9, 2010 at 6:07 PM
  Subject: hi please help me struts2
  To: es...@vaannila.com es...@vaannila.com
 
 
  Hi
  i had gone through the struts2 crud in the
 
 http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html
 
  its fine and goog pgm for me
  but the problem came when i want to add client side validation how i add
  clientside validation
  i had gone though the hibernate validation also its also fine
 
 http://www.vaannila.com/struts-2/struts-2-tutorial/struts-2-hibernate-validation-tutorial-1.html
 
  is that clientside validation is doing therer
  and very important is that
  How can i use hibernate by property file not that by the
 hibernate.cfg.xml
  file to connectt to db in the same example
 
  please help me
  thenkuse
 

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




Fwd: hi please help me struts2

2010-07-09 Thread Salish S
-- Forwarded message --
From: Salish S ssal...@gmail.com
Date: Fri, Jul 9, 2010 at 6:07 PM
Subject: hi please help me struts2
To: es...@vaannila.com es...@vaannila.com


Hi
i had gone through the struts2 crud in the
http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html

its fine and goog pgm for me
but the problem came when i want to add client side validation how i add
clientside validation
i had gone though the hibernate validation also its also fine
http://www.vaannila.com/struts-2/struts-2-tutorial/struts-2-hibernate-validation-tutorial-1.html

is that clientside validation is doing therer
and very important is that
How can i use hibernate by property file not that by the hibernate.cfg.xml
file to connectt to db in the same example

please help me
thenkuse


Re: Struts2 or Struts1?

2010-07-09 Thread Salish S
struts2

On Fri, Jul 9, 2010 at 6:28 PM, Dale Newfield d...@newfield.org wrote:

 On 7/9/10 6:42 AM, Alvarito wrote:

 Does anyone knows what is the support and existing online documentation
 to work with Struts2 and Hibernate together?


 Matt Raible has put together quite useful documentation that goes along
 with his AppFuse tool that basically helps you kick start an application
 like the one you're considering, saving you lots of time by getting you off
 the ground with all these tools already configured.

 -Dale


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




hi please help me struts2 with hibernate

2010-07-09 Thread Salish S
hi hello
i had done the project as described in this site example
http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html

its working fine just the change is that the Db i used is mysql thatall

But how can i do the clientside validtion by xml file and how can i do the
same with hibernate config file not with a cfg file


Please check and tell me

Thanks in advance