cancel
Showing results for 
Search instead for 
Did you mean: 

image references

rdanner
Champ in-the-making
Champ in-the-making
This is probably the result of coding at break-neck speeds.  But we should get these in to some sort of resolved string rather then a hard coded one.   It might be better to stay away from capital letters because of UNIX as well.


public class WebResources
{
   // Image paths
   public static final String IMAGE_PREVIOUSPAGE_NONE   = "/images/icons/PreviousPage_unavailable.gif";
   public static final String IMAGE_PREVIOUSPAGE        = "/images/icons/PreviousPage.gif";
   public static final String IMAGE_FIRSTPAGE_NONE      = "/images/icons/FirstPage_unavailable.gif";
   public static final String IMAGE_FIRSTPAGE           = "/images/icons/FirstPage.gif";
   public static final String IMAGE_NEXTPAGE_NONE       = "/images/icons/NextPage_unavailable.gif";
   public static final String IMAGE_NEXTPAGE            = "/images/icons/NextPage.gif";
   public static final String IMAGE_LASTPAGE_NONE       = "/images/icons/LastPage_unavailable.gif";
   public static final String IMAGE_LASTPAGE            = "/images/icons/LastPage.gif";
  
   public static final String IMAGE_SORTUP     = "/images/icons/sort_up.gif";
   public static final String IMAGE_SORTDOWN   = "/images/icons/sort_down.gif";
   public static final String IMAGE_SORTNONE   = "/images/icons/sort_flat.gif";
  
   public static final String IMAGE_EXPANDED   = "/images/icons/expanded.gif";
   public static final String IMAGE_COLLAPSED  = "/images/icons/collapsed.gif";
  
   public static final String IMAGE_MOVELEFT   = "/images/icons/move_left.gif";
   public static final String IMAGE_MOVERIGHT  = "/images/icons/move_right.gif";
   public static final String IMAGE_GO_UP      = "/images/icons/up.gif";
  
   public static final String IMAGE_INFO       = "/images/icons/info_icon.gif";
}
1 REPLY 1

kevinr
Star Contributor
Star Contributor
Not really, those are default images used by Alfresco specific components. The appropriate images can be overridden using tag attributes on those components. The case of the filename is correct.

Kevin