You need the following in your <head> for the buttons to work:

<script type="text/javascript" src="<c:url
value='/scripts/selectbox.js'/>"></script>

The leftId and rightId are used to set the "id" attribute of the drop-downs.

Matt

On 5/23/07, Volcan <[EMAIL PROTECTED]> wrote:

Hey,

I want to use the pickList with on my left side a list with email adresses
and the left side the selection of it.

            <table class="pickList">
                <tr>
                    <th class="pickLabel">
                        <label class="required"><fmt:message
key="mail.availableMails"/></label>
                    </th>
                    <td></td>
                    <th class="pickLabel">
                        <label class="required"><fmt:message
key="mail.selectMails"/></label>
                    </th>
                </tr>
                <c:set var="leftList" value="${availableAdresses}"
scope="request"/>
                <s:set name="rightList" value="adresList" scope="request"/>
                <c:import url="/WEB-INF/pages/pickList.jsp">
                    <c:param name="listCount" value="1"/>
                    <c:param name="leftId" value="availableAdresses"/>
                    <c:param name="rightId" value="selectedAdresses"/>
                </c:import>
            </table>


Displaying the left adresses works perfect. But the buttons to move the
adresses doesn't seem to work ??

Do I need to implement smt special to do this ??


Thx in advance ....



btw what is the meaning of the leftId and rightId ? First the set's are
picked up, why not use those sets ?


--
View this message in context: 
http://www.nabble.com/Problem-with-picklist-tf3803264s2369.html#a10761534
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to