implemented the first baby steps of "Find"...a "Find Categories" function

This commit is contained in:
Eric J. Bowersox
2003-05-26 09:58:35 +00:00
parent 0ffd03e38b
commit 25569583ea
13 changed files with 306 additions and 27 deletions

View File

@@ -392,10 +392,17 @@ public class ButtonSupplier
// get the full URL of the image
String image_url = rewrite.rewriteURL("IMAGE",m_subdir + "/" + token.getImageName());
// render as <image/> tag
if (ButtonType.IMAGE.equals(token.getType()))
wr.write("<img src=\"" + image_url + "\" alt=\"[" + token.getCaption() + "]\" width = \"" + m_width
+ "\" height=\"" + m_height + "\" border=\"0\" />");
{ // render as <image/> tag
String xcapt;
if (token.getName().startsWith("0"))
xcapt = token.getCaption();
else
xcapt = "[" + token.getCaption() + "]";
wr.write("<img src=\"" + image_url + "\" alt=\"" + xcapt + "\" width = \"" + m_width + "\" height=\""
+ m_height + "\" border=\"0\" />");
} // end if
// render as <input type="image"/> tag
if (ButtonType.INPUT.equals(token.getType()))

View File

@@ -71,6 +71,12 @@ public class StandardContentSupplier
} // end header1
public Object bullet() throws DatabaseException
{
return getContentBlock("std.bullet");
} // end bullet
} // end class ContentOps
/*--------------------------------------------------------------------------------