<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2013 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">

  <bean id="LookupSampleView" parent="Uif-LookupView">
    <property name="parentLocation">
      <bean parent="Uif-RicePortalParentLocation"/>
    </property>
    <property name="viewName" value="LookupSampleView"/>
    <property name="headerText" value="Lookup Sample"/>
    <property name="dataObjectClassName" value="org.kuali.rice.krad.demo.travel.dataobject.TravelAccount"/>
    <property name="criteriaFields">
      <list>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="number"/>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="name"/>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="createDate" p:ranged="true"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean parent="Uif-DataField" p:propertyName="number"/>
        <bean parent="Uif-DataField" p:propertyName="name"/>
        <bean parent="Uif-DataField" p:propertyName="createDate"/>
      </list>
    </property>
  </bean>

  <bean id="LookupSampleViewURLSearch" parent="LookupSampleView">
    <property name="viewName" value="LookupSampleViewURLSearch"/>
    <property name="headerText" value="Lookup Sample - Return results of URL criteria"/>
    <property name="renderSearchButtons" value="false"/>
    <property name="criteriaFields">
      <list>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="number" p:readOnly="true"/>
      </list>
    </property>
  </bean>

  <bean id="LookupSampleViewMultipleValuesSelectLimit" parent="LookupSampleView">
    <property name="viewName" value="LookupSampleViewMultipleValuesSelectLimit"/>
    <property name="headerText"
              value="Lookup Sample - Multiple Value Specified in View with result set limit of 5 rows"/>
    <property name="multipleValuesSelectResultSetLimit" value="5"/>
    <property name="multipleValuesSelect" value="true"/>
  </bean>

  <bean id="OperatorsLookupSampleView" parent="LookupSampleView">
    <property name="header.lowerGroup">
      <bean parent="Uif-GridSection" p:headerText="Demonstration Links" p:renderHeader="true">
        <property name="layoutManager.numberOfColumns" value="3"/>
        <property name="layoutManager.renderAlternatingHeaderColumns" value="false"/>
        <property name="items">
          <list>
            <bean parent="Uif-Message" p:colSpan="3"
                  p:messageText="Note that range operators use alpabetic/lexicographic ordering for string fields, so 'a14' &lt; 'a2'" p:style="font-weight: bold;" />
            <bean parent="Uif-Link" p:linkText="'a1*': account number starts with 'a1'"
                  p:href="/krad-dev/kr-krad/lookup?lookupCriteria['number']=a1*&amp;methodToCall=search&amp;viewId=OperatorsLookupSampleView&amp;hideReturnLink=true" />
            <bean parent="Uif-Link" p:linkText="'!a1': account number is NOT 'a1' "
                  p:href="/krad-dev/kr-krad/lookup?lookupCriteria['number']=!a1&amp;methodToCall=search&amp;viewId=OperatorsLookupSampleView&amp;hideReturnLink=true" />
            <bean parent="Uif-Link" p:linkText="'a1?': account number is 'a1' followed by another character "
                  p:href="/krad-dev/kr-krad/lookup?lookupCriteria['number']=a1?&amp;methodToCall=search&amp;viewId=OperatorsLookupSampleView&amp;hideReturnLink=true" /><commit_msg>KULRICE-10843: create demo view for L9, support for the special lookup operators * fix a typo<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2013 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">

  <bean id="LookupSampleView" parent="Uif-LookupView">
    <property name="parentLocation">
      <bean parent="Uif-RicePortalParentLocation"/>
    </property>
    <property name="viewName" value="LookupSampleView"/>
    <property name="headerText" value="Lookup Sample"/>
    <property name="dataObjectClassName" value="org.kuali.rice.krad.demo.travel.dataobject.TravelAccount"/>
    <property name="criteriaFields">
      <list>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="number"/>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="name"/>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="createDate" p:ranged="true"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean parent="Uif-DataField" p:propertyName="number"/>
        <bean parent="Uif-DataField" p:propertyName="name"/>
        <bean parent="Uif-DataField" p:propertyName="createDate"/>
      </list>
    </property>
  </bean>

  <bean id="LookupSampleViewURLSearch" parent="LookupSampleView">
    <property name="viewName" value="LookupSampleViewURLSearch"/>
    <property name="headerText" value="Lookup Sample - Return results of URL criteria"/>
    <property name="renderSearchButtons" value="false"/>
    <property name="criteriaFields">
      <list>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="number" p:readOnly="true"/>
      </list>
    </property>
  </bean>

  <bean id="LookupSampleViewMultipleValuesSelectLimit" parent="LookupSampleView">
    <property name="viewName" value="LookupSampleViewMultipleValuesSelectLimit"/>
    <property name="headerText"
              value="Lookup Sample - Multiple Value Specified in View with result set limit of 5 rows"/>
    <property name="multipleValuesSelectResultSetLimit" value="5"/>
    <property name="multipleValuesSelect" value="true"/>
  </bean>

  <bean id="OperatorsLookupSampleView" parent="LookupSampleView">
    <property name="header.lowerGroup">
      <bean parent="Uif-GridSection" p:headerText="Demonstration Links" p:renderHeader="true">
        <property name="layoutManager.numberOfColumns" value="3"/>
        <property name="layoutManager.renderAlternatingHeaderColumns" value="false"/>
        <property name="items">
          <list>
            <bean parent="Uif-Message" p:colSpan="3"
                  p:messageText="Note that range operators use alphabetic/lexicographic ordering for string fields, so 'a14' &lt; 'a2'" p:style="font-weight: bold;" />
            <bean parent="Uif-Link" p:linkText="'a1*': account number starts with 'a1'"
                  p:href="/krad-dev/kr-krad/lookup?lookupCriteria['number']=a1*&amp;methodToCall=search&amp;viewId=OperatorsLookupSampleView&amp;hideReturnLink=true" />
            <bean parent="Uif-Link" p:linkText="'!a1': account number is NOT 'a1' "
                  p:href="/krad-dev/kr-krad/lookup?lookupCriteria['number']=!a1&amp;methodToCall=search&amp;viewId=OperatorsLookupSampleView&amp;hideReturnLink=true" />
            <bean parent="Uif-Link" p:linkText="'a1?': account number is 'a1' followed by another character "
                  p:href="/krad-dev/kr-krad/lookup?lookupCriteria['number']=a1?&amp;methodToCall=search&amp;viewId=OperatorsLookupSampleView&amp;hideReturnLink=true" />
{'fraction_non_alphanumeric': 0.13476718910879762, 'fraction_numerical': 0.009152270907218854, 'mean_word_length': 4.0855148342059335, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 2, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 8}, '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': '836098', 'n_tokens_mistral': 2545, 'n_tokens_neox': 2470, 'n_words': 546}