Re: Need suggestion to get started Struts 2

2011-05-17 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 IntelliJ

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

2011-05-17 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 To: user@struts.apache.org Sent: Tuesday, May 17, 2011 5:19 AM Subject: Type conversion of List - how does one do it? I've always struggle

Need suggestion to get started Struts 2

2011-05-17 Thread prashid
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 work with Struts2 for HelloWorld example but finally did it. I have few things

Re: encodeBase64URLSafeString in s:param

2011-05-17 Thread Andrew Lee
You can do that using "@com.xxx.xxx.classname@methodname(arg)" but wouldn't it be better to expose another getter on your action which provided the encoded string. Would be easier to test. On 17 May 2011 10:25, wrote: > Hi, > > I have a problem calling a method in a s :param tag. > > I want to en

Type conversion of List - how does one do it?

2011-05-17 Thread Miguel
I've always struggled with type conversion of lists and I'd appreciate a more experienced brain to help me out. Consider the following multiple select box: As per the documentation, "name your element people.name and the framework will understand that it should create a new Person object for ea

Element_xxx in action-convertion-properties for HashMap>

2011-05-17 Thread Hitendra Banyal
I have a HasMap> postCodeMap property in the action class, How can I write Element_xxx in action-convertion-properties? I tried Element_postCodeMap = java.util.List and Element_postCodeMap = java.util.Map.Entry and Element_postCodeMap = java.util.List But it didn't work. Sincerely, Hitendra ban

encodeBase64URLSafeString in s:param

2011-05-17 Thread Matthieu.Marc
Hi, I have a problem calling a method in a s :param tag. I want to encode an url parameter in base64 in order to avoid French special char and charset problem. The param 'dn' is working. Item.result.common.dn.bytes is working (tested with a s:property tag). But the method

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

2011-05-17 Thread arin_12
http://localhost:8080/Samvidh_CIS/doEditAllergy.action?alId=2&alDescription=algy_full_desc&alName=algy_short_desc This the URL that is generating. It is al not all. -- View this message in context: http://struts.1045723.n5.nabble.com/Separate-Java-Bean-Class-for-Getter-Setter-method-tp4385274p4