Re: Type conversion of ListSomeInterface - how does one do it?

2011-05-18 Thread Jeffrey Black
Hey there Miguel.   Have a look here:   http://struts.apache.org/2.0.14/docs/type-conversion.html#TypeConversion-GenericsandErasure   Best,   jb From: Miguel mig...@almeida.at To: user@struts.apache.org Sent: Tuesday, May 17, 2011 5:19 AM Subject: Type conversion of ListSomeInterface - how does

Re: Need suggestion to get started Struts 2

2011-05-18 Thread Jeffrey Black
Rashid,   Give the following link a read then kick yourself.   http://struts.apache.org/2.1.8.1/docs/struts-2-maven-archetypes.html   NetBeans can work with Maven projects natively.  After Maven generates your project your project just open it in NB and go. I believe the same is true for

Re: Need suggestion to get started Struts 2

2011-05-18 Thread prashid
Thanks for the reply, Yes, I am looking for sample CRUD application for Struts2 if there is any... I will buy Struts 2 In Action by Manning and give it a try. Any other resources online? How is Struts2 Black Book? -- View this message in context:

RE: Need suggestion to get started Struts 2

2011-05-18 Thread Baubak Gandomi
Hello Prashid, 1. I would say that you should understand how taglibs work/are called, but it goes with the territory. 2. Why don't you check wildcards for this: http://struts.apache.org/2.x/docs/wildcard-mappings.html It is often used for CRUD implementations. 3. I think that the best place is

Serialization of stackTrace in REST-plugin

2011-05-18 Thread Stefan Magnus Landrø
Hi there, We are seeing some serialized stacktraces in addition to our custom exception result in our json-output after upgrading to 2.2.3. Is there a way to turn it off? Cheers Stefan -- BEKK Open http://open.bekk.no - To

Re: Type conversion of ListSomeInterface - how does one do it?

2011-05-18 Thread Miguel
On Tue, 2011-05-17 at 14:42 -0700, Jeffrey Black wrote: Hey there Miguel. Have a look here: http://struts.apache.org/2.0.14/docs/type-conversion.html#TypeConversion-GenericsandErasure Thanks Jb. In my case a possible solution is to remove the generic reference to the list (ie,

Re:..

2011-05-18 Thread alex zaim
http://www.benesseretotale.com/cool01.11.php?ID=487 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread inception
Hi Everyone i am not able to get the syntax for passing java contents inside jsp using struts 2.2.1. my requirement being : Myjsp : % String test =#session.levelList/ s:select name=levelList listValue=%= test % listKey=levelId / i am not able to pass the sting test inside the select tag..

RE: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread Biesbrock, Kevin
s:select name=levelList listValue=%= test % listKey=levelId / I think you need to wrap test in either single or double quotes. Seems like double. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread Dave Newton
On Wed, May 18, 2011 at 7:49 AM, inception incepti...@in.com wrote: % String test =#session.levelList/ s:select name=levelList  listValue=%= test %  listKey=levelId / i am not able to pass the sting test inside the select tag.. it gives me an exception Normally you'd give details, like what

Re: Separate Java Bean Class for Getter/Setter method.

2011-05-18 Thread arin_12
Now the URL looks like, No extra amp; http://localhost:8080/Samvidh_CIS/doEditAllergy.action?alId=2alDescription=algy_full_descalName=algy_short_desc Now the New problem is that, I am not able to retrieve the value of the key though I am able to see the key. Code in Action Class-

Re: Serialization of stackTrace in REST-plugin

2011-05-18 Thread Stefan Magnus Landrø
Hi there, I'm not sure if you're right. It seems like our exception result is never returned, only the exception itself, including the stacktrace. Cheers, Stefan On Wed, May 18, 2011 at 5:51 PM, Martin Gainty mgai...@hotmail.com wrote: it appears you have encountered a bug here is why:

RE: Separate Java Bean Class for Getter/Setter method.

2011-05-18 Thread Biesbrock, Kevin
You have to override the Object's toString method. Why is your map holding a Object? Should be one of your classes. Beez r 5347 -Original Message- From: arin_12 [mailto:arin...@lycos.com] Sent: Wednesday, May 18, 2011 1:13 PM To: user@struts.apache.org Subject: Re: Separate

request

2011-05-18 Thread Alexandru
I kindly ask all the moderators to delete this and previous message that came from this account. Thank you in advance!!

Re: Need suggestion to get started Struts 2

2011-05-18 Thread Jeffrey Black
This site may help:   http://www.vaannila.com/struts-2/struts-2-tutorial/struts-2-tutorial.html     From: prashid pirzada.ras...@gmail.com To: user@struts.apache.org Sent: Wednesday, May 18, 2011 3:56 AM Subject: Re: Need suggestion to get started Struts 2 Thanks for the reply, Yes, I am

Re: request

2011-05-18 Thread Rene Gielen
Sorry, postings can not be deleted - that's the nature of a mailing list. On 18.05.11 22:54, Alexandru wrote: I kindly ask all the moderators to delete this and previous message that came from this account. Thank you in advance!! -- René Gielen http://twitter.com/rgielen

Re: Need suggestion to get started Struts 2

2011-05-18 Thread Rene Gielen
Hi, in addition to what others said: On 18.05.11 02:57, prashid wrote: Hi, I am new to Java but learning it fast. I have been working in ASP.NET C# for a long time now. Just want to learn Java EE. Just started Strut2 reading online material. Took lots of time to configure Netbeans 7 to

Re: Need suggestion to get started Struts 2

2011-05-18 Thread Saeed Najahi
best place I've found so far (in addition to the online struts tutorialshttp://struts.apache.org/2.2.3/docs/getting-started.htmland vaannila), give it a try http://www.mkyong.com/tutorials/struts-2-tutorials/ --

Re: Pagination using Struts library

2011-05-18 Thread Zoran Avtarovski
You'll need to make some mods for displaytag to work with S2. 1. You'll need to add an acceptableParameterName method to your classes, we just add it to our base class. 2. You have to add the Displaytag responseOverrideFilter to your web.xml for the export to work Having said all that, we are