Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Kiran
Thank you Lucasz for looking into this. Yes I Have all the setter and getter for all the properties. Its working now. I just need to give the whole path of the property in the s:select value attribute. Like value="%{diseasetracking.diagnosisDTO.primaryDiagnosis}" Because I have the property in t

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Lukasz Lenart
2017-04-03 16:04 GMT+02:00 Kiran Kongala : > > listKey=*"dstLookupTypeId"* > Do you have a getter for this value? getDstLookupTypeId() ? > listValue=*"lookupValue"* > Same here, do you have a getter? getLookupValue() ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ PS. Do not inl

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Kiran Kongala
Hi Lukasz, Thank you for helping. I am new to Struts2. What are the other attributes I need to use if not listkey and listvalue. In my example, I defined the select as below with name as diagnosisDTO.primaryDiagnosis and list as primaryDiagnosisTypes which is an object which has dstLookupTypeID as

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Lukasz Lenart
2017-04-02 22:58 GMT+02:00 Kiran Kongala : > Hi Lulasz, > > > *I am not comparing the same objects.I am trying to compare the String to > a constant String.Still do I need to override the equals and hashCode > methods.* > > *I added a tag in the jsp and I see the values.But the value > doesnt set

Re: horizontal alignment of tag

2017-04-03 Thread Lukasz Lenart
2017-04-03 8:30 GMT+02:00 Patrick Kelly : > Hi - I am upgrading from 2.3.32 to 2.5.10.1 and have noticed that the > "submit" tag behaves differently. > > In 2.3.32 will left align the submit > button. > > In 2.5.10.1 has the button right > aligned. > > Has the syntax changed? Yes, the "align" at

Re: horizontal alignment of tag

2017-04-03 Thread Lukasz Lenart
2017-04-03 9:00 GMT+02:00 Patrick Kelly : > I think I figured it out > > I need to use style="float: left" instead of align="left" > > If that is not the recommended approach then left me know. I would rather use CSS instead of inlining style in tags. Regards -- Łukasz + 48 606 323 122 http://w

Re: horizontal alignment of tag

2017-04-03 Thread Lukasz Lenart
2017-04-03 8:30 GMT+02:00 Patrick Kelly : > Hi - I am upgrading from 2.3.32 to 2.5.10.1 and have noticed that the > "submit" tag behaves differently. > > In 2.3.32 will left align the submit > button. > > In 2.5.10.1 has the button right > aligned. > > Has the syntax changed? What theme do you u

Re: horizontal alignment of tag

2017-04-03 Thread Patrick Kelly
I think I figured it out I need to use style="float: left" instead of align="left" If that is not the recommended approach then left me know. Patrick Kelly PatrickKelly PrincipalConsultant *River**Dynamics* E: patrick.ke...@riverdynamics.com W: www.ri