[ http://jira.codehaus.org/browse/DISPL-133?page=comments#action_54675 ]
Ralf Hauser commented on DISPL-133: ----------------------------------- after some source code analysis (and extensive single jsp file compilation as per http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation), I figured out that if the title attribute only contains a "<%=fieldName%>" it is correctly rendered, if there is further text around this tag, this is rendered as "otherText<%=fieldName%>"... probably this is not due to displaytag, but jasper2 ? > struts tags in colum title > -------------------------- > > Key: DISPL-133 > URL: http://jira.codehaus.org/browse/DISPL-133 > Project: DisplayTag > Type: Wish > Components: HTML Generation > Versions: 1.0 RC2 > Reporter: fabrizio giustina > Priority: Minor > Fix For: After 1.1 > > > ==== > imported from sf tracker > id 912526 > submitted by Ralf Hauser - ralfhauser > http://sourceforge.net/support/tracker.php?aid=912526 > ==== > it would be great to be able to not only have a text as > colum title, but also an icon (e.g. a trash can if the > list is a mail inbox). > The next step would even be that this icon has a link > other than sorting or even is a html input type image > button (in the mail inbox analogy to delete multiple > mails that can be checkboxed for deletion). > Obviously, if the icon has a link, it cannot sort at > the same time - for that, one would have to separate > the title cell in a part linking with the button action > and a 2nd clickable part to do the sorting (e.g. by > clicking on the up/down arrows as per > headerClass="sortable") > === > Date: 2004-03-10 10:02 > Sender: ralfhauser > was "icon or link/button as colum title" > as per > http://sourceforge.net/mailarchive/message.php?msg_id=7054257, > I figured that as long as only html tags or <% jsp tags are > put between single quotes (assuming the html uses double > quotes), it does work. > However, while as in the mailing list posting, simple struts > tags always easily can be translated into a native <% jsp > command, there hopefully is an easier way once it comes to > more complex constructs with e.g. nested logic:equal -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel