<from-outcome>admin_show_generic_product</from-outcome>
<to-view-id>/admin/generic_product/admin_generic_product_show.xhtml</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>admin_show_basic_data</from-outcome>
+ <to-view-id>/admin/basic_data/admin_basic_data_show.xhtml</to-view-id>
+ </navigation-case>
</navigation-rule>
<!--
<factory>
</p:link>
</p:column>
- <p:column headerText="#{project.ADMIN_RECEIPT_ITEM_MANUFACTURER_NAME_HEADER}" sortBy="#{item.itemManufacturer.companyName}" filterBy="#{item.itemManufacturer}" filterMatchMode="in">
+ <p:column headerText="#{project.ADMIN_RECEIPT_ITEM_MANUFACTURER_NAME_HEADER}" sortBy="#{receiptItem.itemManufacturer.companyName}" filterBy="#{receiptItem.itemManufacturer}" filterMatchMode="in">
<f:facet name="filter">
<p:selectCheckboxMenu
filter="true"
</p:selectCheckboxMenu>
</f:facet>
- <p:link
- href="#{item.itemManufacturer.companyWebsiteUrl}"
- target="_blank"
- title="#{msg.LINK_COMPANY_WEBSITE_URL_TITLE}"
- rel="external"
- rendered="#{not empty item.itemManufacturer.companyWebsiteUrl and not empty item.itemManufacturer.companyName}"
- >
- <h:outputText value="#{item.itemManufacturer.companyName}" />
+ <p:link outcome="admin_show_basic_data" value="#{beanHelper.renderBasicData(receiptItem.itemManufacturer)}" title="#{msg.ADMIN_LINK_SHOW_BASIC_DATA_TITLE}" rendered="#{not empty receiptItem.itemManufacturer}">
+ <f:param name="basicDataId" value="#{receiptItem.itemManufacturer.basicDataId}" />
</p:link>
- <h:outputText value="#{item.itemManufacturer.companyName}" title="#{msg.NO_WEBSITE_URL_ENTERED}" rendered="#{empty item.itemManufacturer.companyWebsiteUrl and not empty item.itemManufacturer.companyName}" />
-
- <h:outputText value="#{msg.ADMIN_NOT_ASSIGNED}" title="#{project.ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE}" rendered="#{empty item.itemManufacturer}" />
+ <h:outputText value="#{msg.ADMIN_NOT_ASSIGNED}" title="#{project.ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE}" rendered="#{empty receiptItem.itemManufacturer}" />
</p:column>
<p:column headerText="#{msg.ENTRY_CREATED_HEADER}" sortBy="#{receipt.receiptCreated}" filterable="false">