Hello Paul,

 

 <display:column><img src="${images/pic}" alt="Picture"></img></display:column>

 

pic is a the DB attribute.  IT should work but no.

 

<display:column><img src="images/menjeans.png" 
alt="Picture"></img></display:column>

 

THe above works though in the DB 'pic' attribute contains the string 
menjeans.png

 

So That's why I need to display it as the first line above..

 

Basically, if I have 1000 pictures to display I wouldn't want to hard code it as

 

<display:column><img src="images/menjeans.png" 
alt="Picture"></img></display:column>

 

Thanking you.

 

eve
 


From: pcoo...@emspic.org
To: displaytag-user@lists.sourceforge.net
Date: Fri, 9 Oct 2009 19:16:34 -0400
Subject: Re: [displaytag-user] displaying images with displaytag issues







The following works for me...
 
<display:column headerClass="data" class="data_left_centered" title="State 
Emp." sortable="true">
      <img src="images/check.gif"/>
</display:column>
 
So put the image name and path in a request variable, and it should work.
 
<display:column headerClass="data" class="data_left_centered" title="State 
Emp." sortable="true">
      <img src="${path_to_image}"/>
</display:column>
 
 


From: miguel [mailto:mig...@almeida.at] 
Sent: Friday, October 09, 2009 7:03 PM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] displaying images with displaytag issues
 
Just on a sanity check, does this work:


<display:column><img src="images/menjeans.png" 
alt="Picture"></img></display:column>




?

On Fri, 2009-10-09 at 23:54 +0100, Eve Pokua wrote:


hello everyone,
 
I have open up this thread again because I've come to a conclusion it's a 
displaytag
problem.
 
I've the string menjeans.png in a DB.  This works for me without displaytag.
 
               <%
                    String pic2="menjeans.png";%>
                 <img src="images/<%= pic2 %>">
 
With displaytag -
 
<display:column><img src="images/<=bpic>" alt="Picture"></img></display:column>
<display:column><img src="images/=bpic" alt="Picture"/></img></display:column>
<display:column><img src="${images/bpic}" alt="Picture"></img></display:column>
<display:column><img src="images/${bpic}" alt="Picture"></img></display:column>
 
None of the above works. And this -
 
<display:column><img src="images/<%=balpic%>" 
alt="Picture"/></img></display:column>
 
Can't even ran my application with that.
 
So what is your suggestions?
 
I don't want to have to stop using displaytag as the picture display is an
important part of the application.
 
Thanking you.
 
regards
 
eve




Have more than one Hotmail account? Link them together to easily access both.  
------------------------------------------------------------------------------Come
 build with us! The BlackBerry(R) Developer Conference in SF, CAis the only 
developer event you need to attend this year. Jumpstart yourdeveloping skills, 
take BlackBerry mobile applications to market and stay ahead of the curve. Join 
us from November 9 - 12, 2009. Register 
now!http://p.sf.net/sfu/devconference_______________________________________________
 displaytag-user mailing list displaytag-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/displaytag-user
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.8/2425 - Release Date: 10/09/09 
18:43:00
                                          
_________________________________________________________________
Learn how to add other email accounts to Hotmail in 3 easy steps.
http://clk.atdmt.com/UKM/go/167688463/direct/01/
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to