Struts 2.1 book

2009-04-19 Thread Yanto
Hi, Just wondering currently is there any book that cover Struts 2.1 ? try to google but so far not found yet. Thanks & Regards Yanto

Re: Struts 2.1 book

2009-04-19 Thread Yanto
thanks wes for the information...will try the MEAP version then Rgds Yanto On Mon, Apr 20, 2009 at 9:55 AM, Wes Wannemacher wrote: > On Sunday 19 April 2009 21:47:24 Yanto wrote: > > Hi, > > > > Just wondering currently is there any book that cover Struts 2.1 ? > &g

Undefined attribute name notifyTopics

2009-05-04 Thread Yanto
cs" in the following code Refresh can I ignore this warning ? currently I haven't manage to run the sample application yet, but not sure whether this warning cause the issue. Regards Yanto

Re: Undefined attribute name notifyTopics

2009-05-05 Thread Yanto
need to change to I follow the step from http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html Thanks & Regards Yanto On Tue, May 5, 2009 at 10:31 PM, mitch gorman wrote: > Yanto wrote: > > Hi all, > > > > I'm new to struts

Integrate JasperReports into a Struts2 web application

2009-05-11 Thread Yanto
of people use the same method as bruce or there is other most common way. Thanks & Regards Yanto

Re: Integrate JasperReports into a Struts2 web application

2009-05-11 Thread Yanto
nt jasperPrint = > JasperFillManager.fillReport(jasperReport, > parameters,ds); >outputFile = > JasperExportManager.exportReportToPdf(jasperPrint); > inputStream = new ByteArrayInputStream(outputFile); > >} catch (JRException e) { &g

Interceptor issue in Struts 2.1.6

2009-06-16 Thread Yanto
/input.*jsp* /input.*jsp* /input.*jsp* I noted nothing printed and anyone can help to resolve the issue. Thanks Yanto

validator issue in Struts 2.16

2009-06-16 Thread Yanto
etAnswer() { *return* answer; } *public* *void* setAnswer(String answer) { *this*.answer = answer; } } /input.*jsp* /input.*jsp* /input.*jsp* Thanks Yanto

Re: Interceptor issue in Struts 2.1.6

2009-06-16 Thread Yanto
work2.interceptor.DefaultWorkflowInterceptor TimerInterceptor com.opensymphony.xwork2.interceptor.TimerInterceptor Thanks Yanto 2009/6/16 Paweł Wielgus > Hi Yanto, > use this [1] plugin to verify if all namespaces and stacks are as You > think they should be. > > [1] http://s

Re: Interceptor issue in Struts 2.1.6

2009-06-16 Thread Yanto
action [//authentication!authentication] took 93 ms. is this the configuration requirement of the interceptor in 2.1.6 ? Thanks Yanto 2009/6/16 Yanto > Hi Pawel, > > thanks for the link > > we already check the interceptor for the namespace, and it's showing the > intercept

Re: Interceptor issue in Struts 2.1.6

2009-06-16 Thread Yanto
n("Testing the interceptor flow from TEST &&&&&:"); *return* invocation.invoke(); } } Thanks Yanto On Tue, Jun 16, 2009 at 7:32 PM, Dave Newton wrote: > Yanto wrote: > >> >> >> >> > > This will conf

Re: Interceptor issue in Struts 2.1.6

2009-06-16 Thread Yanto
*return* invocation.invoke(); } } Regards Yanto On Wed, Jun 17, 2009 at 7:18 AM, Volker Karlmeier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > sounds like you mixed up interceptors and action classes. > Look at *http://struts.a

Re: Interceptor issue in Struts 2.1.6

2009-06-17 Thread Yanto
? Regards Yanto On Wed, Jun 17, 2009 at 11:39 AM, Yanto wrote: > Hi Dave, > > after following your note, we are able to run our sample interceptor, > however now we have another issue the sample interceptor will always > looping, > > since we have the following code in t

Re: Interceptor issue in Struts 2.1.6

2009-06-17 Thread Yanto
Hi Wes, thanks for the explaination, we decide to use the simple theme and use the tag to display the error. Case closed, thanks for others also that already help... Regards Yanto On Wed, Jun 17, 2009 at 8:57 PM, Wes Wannemacher wrote: > All of the themes "work" with valida

drop down list not working after using validation.xml

2009-06-17 Thread Yanto
Please select the entity Please *keyin* the *username* Please *keyin* the password Any one help on this ? Regards Yanto

Re: Interceptor issue in Struts 2.1.6

2009-06-18 Thread Yanto
Hi Dave, thanks, we already solve the interceptor issue, we need to include the defaultstack before the custom interceptor.. after that it's working fine... Regards Yanto On Thu, Jun 18, 2009 at 7:36 PM, Dave Newton wrote: > Yanto wrote: > >> thanks, we are able to run th

Re: drop down list not working after using validation.xml

2009-06-19 Thread Yanto
ruts creating the instance per request ok. Any problem in the above approach ? Regards Yanto On Thu, Jun 18, 2009 at 7:38 PM, Dave Newton wrote: > Please consider copying your code snippets into a plain-text editor before > including them in an email message: we're getting a blank li

Re: drop down list not working after using validation.xml

2009-06-19 Thread Yanto
Hi Girish, Is this mean we can load the list again in Action's Preparable method ? currently, we are trying looking at the sample in internet. Thanks & Regards Yanto On Thu, Jun 18, 2009 at 10:23 PM, Girish Naik wrote: > After validation, Action's Preparable method is called,

Re: drop down list not working after using validation.xml

2009-06-19 Thread Yanto
Hi Greg, thanks for the link...seem this faq entry explain the problem that we face now...will try it... Thanks Yanto On Fri, Jun 19, 2009 at 11:15 PM, Greg Lindholm wrote: > Did you look at this FAQ entry? > > > http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-whe

Re: Input validation in Struts 2 and extrating the errors in jsp

2009-06-19 Thread Yanto
you need to use tags s:fielderror and s:actionerror to display error if you use simple theme Regards Yanto On Sat, Jun 20, 2009 at 9:06 AM, Thomas Rene Vervik wrote: > > I manage to do input validation when I have one of the default themes > selected (xhtml, css_xhtml, etc). But

Re: empty validation.xml file - please help.

2009-06-21 Thread Yanto
are you using simple theme and struts 2.1.6 ? if yes you need to use tags s:fielderror and s:actionerror to display error On Sun, Jun 21, 2009 at 8:45 PM, Sam Wun wrote: > Hi, > > I tried generate a validation.xml file with "form name", "field > property", "msg name", and "key" in the file, but

Re: drop down list not working after using validation.xml

2009-06-21 Thread Yanto
? Any other way to handle this? Please select the Entity Regards Yanto On Fri, Jun 19, 2009 at 11:33 PM, Yanto wrote: > Hi Greg, > thanks for the link...seem this faq entry e

Step to Validate Drop Down List Struts 2.1.6

2009-06-24 Thread Yanto
, and display the error message the field is required. Thanks & Regards Yanto

Re: Step to Validate Drop Down List Struts 2.1.6

2009-06-24 Thread Yanto
name and password error message gone because we keyin already. so validation assuming the still dropdown value not selected and throws error message in the screen and due to that my authentication action not called. not sure whether we miss any step ? Thanks & Regards Yanto On Thu, Jun 25,

Re: applicationresources.properties with utf-8 characters

2009-07-01 Thread Yanto
Change the file properties, file type to utf8 On Thursday, July 2, 2009, Odelya YomTov wrote: > Hi! > > I would like to have in my applicationresources.properties utf-8 charcters. > When I write: > login.notRecognized = "נא לנסות שנית" > > and try to save, I get the message > Some characters canno

Re: applicationresources.properties with utf-8 characters

2009-07-01 Thread Yanto
01 July 2009 21:03:32 Yanto wrote: > > Change the file properties, file type to utf8 > > > > I am pretty sure that you can only use ISO-8859-1 for properties files. I > ran > into this once before and the accepted solution is to use the native2ascii > tool as was

Re: applicationresources.properties with utf-8 characters

2009-07-02 Thread Yanto
that unicode chars should use the \u generated by > the native2ascii tool. If another method works for you, that's good, > but I would proceed with caution because you might just be lucky right > now and screwed the next time you upgrade your jre/jdk. > > -Wes > >

Reduce Java Script Depecency in Struts 2

2010-10-05 Thread Yanto Bong
? is the JQuery is a good option ? Best Regards Yanto

Re: Reduce Java Script Depecency in Struts 2

2010-10-05 Thread Yanto Bong
Hi Hantsy, Jose, thanks, we'll take a look at the plug in. Best Regards Yanto On Wed, Oct 6, 2010 at 11:48 AM, Jose A. Corbacho wrote: > I meant, yep, using the plugin provided for jQuery. > > On Wed, Oct 6, 2010 at 10:40 AM, Hantsy Bai wrote: > > > There is a p

Asking about BigDecimal in Struts 2

2010-12-05 Thread Yanto Bong
Hi All, We've using BigDecimal as datatype in hibernate and model for Numeric (20,8) datatype in database. however when we display it in JSP using struts 2, if the value <> 0 then it will display correctly. However if the value is 0. in database, then it will display in JSP it will shown a

Re: Asking about BigDecimal in Struts 2

2010-12-06 Thread Yanto Bong
of BigDecimal. > > May be you can try this: > > > http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html#toPlainString%28%29 > > > > 2010/12/6 Yanto Bong : > > Hi All, > > > > We've using BigDecimal as datatype in hibernate an

Re: Asking about BigDecimal in Struts 2

2010-12-06 Thread Yanto Bong
connect to SQL Server, it won't happend when we use Oracle DB. Thanks & Regards Yanto On Tue, Dec 7, 2010 at 11:07 AM, Mead Lai wrote: > Hello, > > 1,convert the munber into string in the jsp/view page. > 2,write a JSTL to render that dataType by your self. > > Regard