<commit_before><!--

    Copyright 2005-2014 The Kuali Foundation

    Licensed under the Educational Community License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.opensource.org/licenses/ecl2.php

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

  <!-- Breadcrumbs demo -->
  <bean id="Demo-BreadcrumbsView" parent="ComponentLibraryView">
    <property name="xmlFilePath" value="/org/kuali/rice/krad/demo/uif/library/DemoBreadcrumbs.xml"/>
    <property name="javaFullClassPath"
              value="org.kuali.rice.krad.uif.view.View"/>
    <property name="docBookAnchor" value="d7339e4811"/>
    <property name="demoGroups">
      <list>
        <ref bean="Demo-Breadcrumbs-Example1"/>
        <ref bean="Demo-Breadcrumbs-Example2"/>
        <ref bean="Demo-Breadcrumbs-Example3"/>
        <ref bean="Demo-Breadcrumbs-Example4"/>
        <ref bean="Demo-Breadcrumbs-Example5"/>
        <ref bean="Demo-Breadcrumbs-Example6"/>
        <ref bean="Demo-Breadcrumbs-Example7"/>
        <ref bean="Demo-Breadcrumbs-Example8"/>
        <ref bean="Demo-Breadcrumbs-Example9"/>
        <ref bean="Demo-Breadcrumbs-Example10"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example1" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Default Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View1&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example2" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Home ParentLocation"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View2&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example3" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="ParentLocation Chain/Trail"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View3&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example4" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="ParentLocation View and Page"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View4&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example5" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="preView and prePage breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View5&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example6" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Override Breadcrumb Label"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View6&amp;methodToCall=start&amp;inputField1=avalue1"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example7" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Homeward Path Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View7&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example8" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Path-based Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View8&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example9" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Breadcrumb Overrides"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View9&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example10" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Sibling Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View10&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-View1" parent="Demo-Breadcrumbs-BaseView"></bean>

  <bean id="Demo-Breadcrumbs-View2" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example2 start-->
    <property name="parentLocation">
      <bean parent="Uif-ParentLocation">
        <property name="parentViewLabel" value="Home"/>
        <property name="parentViewUrl.viewId" value="KradSampleAppHome"/>
        <property name="parentViewUrl.controllerMapping" value="/kradsampleapp"/>
      </bean>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example2 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View3" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example3 start-->
    <property name="parentLocation">
      <bean parent="Uif-ParentLocation">
        <property name="parentViewLabel" value="My Parent View"/>
        <property name="parentViewUrl.viewId" value="Demo-Breadcrumbs-ParentView"/>
        <property name="parentViewUrl.controllerMapping" value="/kradsampleapp"/>
      </bean>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example3 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View4" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example4 start-->
    <property name="parentLocation">
      <bean parent="Uif-ParentLocation">
        <property name="parentViewLabel" value="My Parent View"/>
        <property name="parentViewUrl.viewId" value="Demo-Breadcrumbs-ParentView"/>
        <property name="parentViewUrl.controllerMapping" value="/kradsampleapp"/>

        <property name="parentPageUrl.viewId" value="Demo-Breadcrumbs-ParentView"/>
        <property name="parentPageUrl.pageId" value="Demo-Breadcrumbs-Page2"/>
        <property name="parentPageUrl.controllerMapping" value="/kradsampleapp"/>
      </bean>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example4 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View5" parent="Demo-Breadcrumbs-BaseView">
    <property name="entryPageId" value="Demo-Breadcrumbs-Page2"/>
    <!-- ex:Demo-Breadcrumbs-Example5 start-->
    <property name="breadcrumbOptions.preViewBreadcrumbs">
      <list>
        <bean parent="Uif-BreadcrumbItem" p:label="Application"
              p:url.href="@{#ConfigProperties['application.url']}"/>
      </list>
    </property>
    <property name="breadcrumbOptions.prePageBreadcrumbs">
      <list>
        <bean parent="Uif-BreadcrumbItem" p:label="Previous Page"
              p:url.viewId="Demo-Breadcrumbs" p:url.pageId="Demo-Breadcrumbs-Page1"
              p:url.controllerMapping="/kradsampleapp"/>
      </list>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example5 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View6" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example6 start-->
    <property name="breadcrumbItem.label" value="View (@{inputField1})"/>
    <!-- ex:Demo-Breadcrumbs-Example6 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View7" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example7 start-->
    <property name="breadcrumbOptions.homewardPathBreadcrumbs">
      <list>
        <bean parent="Uif-BreadcrumbItem">
          <property name="label" value="Home"/>
          <property name="url.href" value="@{#ConfigProperties['application.url']}"/><commit_msg>[KULRICE-11896] Small related config fix for Breadcrumb demo<commit_after><!--

    Copyright 2005-2014 The Kuali Foundation

    Licensed under the Educational Community License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.opensource.org/licenses/ecl2.php

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

  <!-- Breadcrumbs demo -->
  <bean id="Demo-BreadcrumbsView" parent="ComponentLibraryView">
    <property name="xmlFilePath" value="/org/kuali/rice/krad/demo/uif/library/DemoBreadcrumbs.xml"/>
    <property name="javaFullClassPath"
              value="org.kuali.rice.krad.uif.view.View"/>
    <property name="docBookAnchor" value="d7339e4811"/>
    <property name="demoGroups">
      <list>
        <ref bean="Demo-Breadcrumbs-Example1"/>
        <ref bean="Demo-Breadcrumbs-Example2"/>
        <ref bean="Demo-Breadcrumbs-Example3"/>
        <ref bean="Demo-Breadcrumbs-Example4"/>
        <ref bean="Demo-Breadcrumbs-Example5"/>
        <ref bean="Demo-Breadcrumbs-Example6"/>
        <ref bean="Demo-Breadcrumbs-Example7"/>
        <ref bean="Demo-Breadcrumbs-Example8"/>
        <ref bean="Demo-Breadcrumbs-Example9"/>
        <ref bean="Demo-Breadcrumbs-Example10"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example1" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Default Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View1&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example2" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Home ParentLocation"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View2&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example3" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="ParentLocation Chain/Trail"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View3&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example4" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="ParentLocation View and Page"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View4&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example5" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="preView and prePage breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View5&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example6" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Override Breadcrumb Label"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View6&amp;methodToCall=start&amp;inputField1=avalue1"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example7" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Homeward Path Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View7&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example8" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Path-based Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View8&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example9" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Breadcrumb Overrides"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View9&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-Example10" parent="Uif-VerticalBoxSection">
    <property name="items">
      <list>
        <bean parent="Uif-Link" p:linkText="Sibling Breadcrumbs"
              p:href="@{#ConfigProperties['krad.url']}/kradsampleapp?viewId=Demo-Breadcrumbs-View10&amp;methodToCall=start"
              p:target="_blank"/>
      </list>
    </property>
  </bean>

  <bean id="Demo-Breadcrumbs-View1" parent="Demo-Breadcrumbs-BaseView"></bean>

  <bean id="Demo-Breadcrumbs-View2" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example2 start-->
    <property name="parentLocation">
      <bean parent="Uif-ParentLocation">
        <property name="parentViewLabel" value="Home"/>
        <property name="parentViewUrl.viewId" value="KradSampleAppHome"/>
        <property name="parentViewUrl.controllerMapping" value="/kradsampleapp"/>
      </bean>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example2 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View3" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example3 start-->
    <property name="parentLocation">
      <bean parent="Uif-ParentLocation">
        <property name="parentViewLabel" value="My Parent View"/>
        <property name="parentViewUrl.viewId" value="Demo-Breadcrumbs-ParentView"/>
        <property name="parentViewUrl.controllerMapping" value="/kradsampleapp"/>
      </bean>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example3 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View4" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example4 start-->
    <property name="parentLocation">
      <bean parent="Uif-ParentLocation">
        <property name="parentViewLabel" value="My Parent View"/>
        <property name="parentViewUrl.viewId" value="Demo-Breadcrumbs-ParentView"/>
        <property name="parentViewUrl.controllerMapping" value="/kradsampleapp"/>

        <property name="parentPageUrl.viewId" value="Demo-Breadcrumbs-ParentView"/>
        <property name="parentPageUrl.pageId" value="Demo-Breadcrumbs-Page2"/>
        <property name="parentPageUrl.controllerMapping" value="/kradsampleapp"/>
      </bean>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example4 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View5" parent="Demo-Breadcrumbs-BaseView">
    <property name="entryPageId" value="Demo-Breadcrumbs-Page2"/>
    <!-- ex:Demo-Breadcrumbs-Example5 start-->
    <property name="breadcrumbOptions.preViewBreadcrumbs">
      <list>
        <bean parent="Uif-BreadcrumbItem" p:label="Application"
              p:url.href="@{#ConfigProperties['application.url']}"/>
      </list>
    </property>
    <property name="breadcrumbOptions.prePageBreadcrumbs">
      <list>
        <bean parent="Uif-BreadcrumbItem" p:label="Previous Page"
              p:url.viewId="Demo-Breadcrumbs-View1" p:url.pageId="Demo-Breadcrumbs-Page1"
              p:url.controllerMapping="/kradsampleapp"/>
      </list>
    </property>
    <!-- ex:Demo-Breadcrumbs-Example5 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View6" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example6 start-->
    <property name="breadcrumbItem.label" value="View (@{inputField1})"/>
    <!-- ex:Demo-Breadcrumbs-Example6 end-->
  </bean>

  <bean id="Demo-Breadcrumbs-View7" parent="Demo-Breadcrumbs-BaseView">
    <!-- ex:Demo-Breadcrumbs-Example7 start-->
    <property name="breadcrumbOptions.homewardPathBreadcrumbs">
      <list>
        <bean parent="Uif-BreadcrumbItem">
          <property name="label" value="Home"/>
          <property name="url.href" value="@{#ConfigProperties['application.url']}"/>
{'fraction_non_alphanumeric': 0.1582071337438287, 'fraction_numerical': 0.009541243690020525, 'mean_word_length': 3.3970731707317072, 'pattern_counts': {'":': 0, '<': 317, '<?xml version=': 0, '>': 317, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5716588', 'n_tokens_mistral': 5981, 'n_tokens_neox': 5897, 'n_words': 870}