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
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
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);
.
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
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
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
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
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
8 matches
Mail list logo