beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glauber Adriano Reis <glauber.r...@gmail.com>
Subject netui-samples typos
Date Fri, 02 Sep 2005 01:00:06 GMT
Hi,
In netui-samples, 2 jps's petId property were petID. That spawned errors when accesing "Page
Input" and
"Repeating Select with Select Option Body Content and Integer Keys" samples.

Here goes a fix


Index: ui/select/repeatingSelectWithOptionBody.jsp
===================================================================
--- ui/select/repeatingSelectWithOptionBody.jsp (revision 265810)
+++ ui/select/repeatingSelectWithOptionBody.jsp (working copy)
@@ -32,7 +32,7 @@
            <br/>
            <br/>
            <netui:select dataSource="actionForm.name" optionsDataSource="${pageInput.petList}"
repeater="true">
-              <netui:selectOption value="${container.item.petID}" repeatingType="option">
+              <netui:selectOption value="${container.item.petId}" repeatingType="option">
                    <netui:content value="${container.item.name}"/>
                </netui:selectOption>
            </netui:select>
@@ -42,4 +42,4 @@
        </netui:form>
        <br/>
    </netui-template:section>
-</netui-template:template>
\ No newline at end of file
+</netui-template:template>
Index: ui/pageinput/index.jsp
===================================================================
--- ui/pageinput/index.jsp      (revision 265810)
+++ ui/pageinput/index.jsp      (working copy)
@@ -29,7 +29,7 @@
        <br/>
        <table>
            <tr><td colspan="2"><b>Pet Details</b></td></tr>
-          <tr><td>Identifier:</td><td>${pageInput.pet.petID}</td></tr>
+          <tr><td>Identifier:</td><td>${pageInput.pet.petId}</td></tr>
            <tr><td>Name:</td><td>${pageInput.pet.name}</td></tr>
            <tr><td>Price:</td><td>${pageInput.pet.price}</td></tr>
        <tr><td>Description:</td><td>${pageInput.pet.description}</td></tr>
@@ -43,4 +43,4 @@
        that <i>does</i> provide the required page input.
        <br/>
    </netui-template:section>
-</netui-template:template>
\ No newline at end of file
+</netui-template:template>

Mime
View raw message