Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Fair question... it's because the right label which is the localised name of the current TicketDescription will be determined only by the choosen locale during runtime and is not knowm during compile time. For instance German clients will be presented with German translations. Someone in France

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Dave Newton
Why not just build the list with the right label already in it? Dave On Wed, Jun 27, 2012 at 8:01 AM, Mounir Benzid wrote: > > Can I do something along the lines of this? > > > list="ticketDescriptions" > li

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Can I do something along the lines of this? using #this as a reference for the current TicketDescription instance. Am 6/27/2012 1:41 PM, schrieb Mounir Benzid: Like this? String getTicketLabelById(Long id) { TicketDescription td = lookupTicketDescriptionBy(id); .

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Like this? String getTicketLabelById(Long id) { TicketDescription td = lookupTicketDescriptionBy(id); } The only downside I see is the lookup that has to be carried out every time the method is called, since in theory I'm already iterating through the appropri

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Dave Newton
My idea would be to create presentation layer data outside of the JSP. Dave On Wed, Jun 27, 2012 at 6:38 AM, Mounir Benzid wrote: > Hi > > > here's the deal. > > Suppose I want to display a tag showing a list of > TicketDescriptions where each has the property ticketName, i.e. a method > getTi

How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Hi here's the deal. Suppose I want to display a tag showing a list of TicketDescriptions where each has the property ticketName, i.e. a method getTicketName()). getTicketName itself returns an instance of type LocalizedString for which I wrote a custom struts conversion. LocalizedString is

Re: JasperReport Weblogic 11g NPE Problem

2012-06-27 Thread Ankit Sangoi
I had encountered a similar NPE but that was due to servletContext.getRealPath(finalLocation) used in JasperReportsResult.java to determine the report directory. I solved it by enabling the "Archived Real Path" global property in Weblogic admin console > configuration > Web Applications. Doing sam

Re: problem with docs for convention plugin

2012-06-27 Thread Maurizio Cucchiara
We could also consider it solved IMHO, looking at the latest version (http://goo.gl/xuprK) Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 26 June 2012 23:5