Revision bd56cbc1
Added by Andreas Kohlbecker almost 4 years ago
src/main/java/eu/etaxonomy/dataportal/pages/TaxonProfilePage.java | ||
---|---|---|
33 | 33 |
import eu.etaxonomy.dataportal.elements.LinkElement; |
34 | 34 |
|
35 | 35 |
/** |
36 |
* TODO: subpages like /cdm_dataportal/taxon/{uuid}/images are not jet suported, implement means to handle page parts
|
|
36 |
* TODO: subpages like /cdm_dataportal/taxon/{uuid}/images are not yet supported, implement means to handle page parts
|
|
37 | 37 |
* |
38 | 38 |
* @author andreas |
39 | 39 |
* @since Jul 1, 2011 |
40 | 40 |
* |
41 | 41 |
*/ |
42 |
public class TaxonProfilePage extends PortalPage {
|
|
42 |
public class TaxonProfilePage extends TaxonPage {
|
|
43 | 43 |
|
44 | 44 |
public static final Logger logger = Logger.getLogger(TaxonProfilePage.class); |
45 | 45 |
|
46 |
private UUID taxonUuid; |
|
47 |
|
|
48 | 46 |
protected static String drupalPagePathBase = "cdm_dataportal/taxon"; |
49 | 47 |
|
50 |
/* (non-Javadoc) |
|
51 |
* @see eu.etaxonomy.dataportal.pages.PortalPage#getDrupalPageBase() |
|
52 |
*/ |
|
53 |
@Override |
|
54 |
protected String getDrupalPageBase() { |
|
55 |
return drupalPagePathBase; |
|
56 |
} |
|
57 | 48 |
|
58 | 49 |
@FindBy(id = "taxonProfileImage") |
59 | 50 |
@CacheLookup |
... | ... | |
66 | 57 |
private List<LinkElement> tableOfContentLinks = null; |
67 | 58 |
|
68 | 59 |
|
69 |
|
|
70 | 60 |
/** |
71 | 61 |
* @param driver |
72 | 62 |
* @param context |
... | ... | |
75 | 65 |
*/ |
76 | 66 |
public TaxonProfilePage(WebDriver driver, DataPortalContext context, UUID taxonUuid) throws MalformedURLException { |
77 | 67 |
|
78 |
super(driver, context, taxonUuid.toString()); |
|
79 |
|
|
80 |
this.taxonUuid = taxonUuid; |
|
68 |
super(driver, context, taxonUuid); |
|
81 | 69 |
} |
82 | 70 |
|
83 | 71 |
|
Also available in: Unified diff
ref #9010 taxon node status display for taxon pages with tests