Title: Message

Here is what I currently have for processing the page (the page worked before I placed display-tag into it).

 

<script language="javascrpt">

//process the action the user has selected.  Need to rename the eventSubmit_ hidden field name in order for

//Jetspeed to process the action

function processAction_Pzf623a1a83cz10006(action)

{

var e = document.queueListForm_Pzf623a1a83cz10006.elements["eventSubmit"];

e.value = action;

e.name = "eventSubmit_" + action;

                         

document.queueListForm_Pzf623a1a83cz10006.submit();

}

</script>          

 

<form name= "queueListForm_Pzf623a1a83cz10006" action=''>

<input type='hidden' name='eventSubmit'         value=''>

 

 

<display:table  name="queueArrayList" cellspacing="0" cellpadding="4" style="width:100%; border-bottom: 1px solid #c0c0c0" id="taskQueueList">

<c:choose>

  <c:when test='${showCheckbox == true}'>

    <display:column headerClass="col_checkbox" title="&nbsp;"              style="width:2%; vertical-align:center; text-align:right" class='Module' decorator="">

      <input type='checkbox' name='selectedEGroupKeys' value='<cut value="${taskQueueList.exceptionGroupKey}"/>' />

    </display:column>

</c:when>

<c:ctherwise>

    <display:column headerClass="col_checkbox" title="&nbsp;"              style="width:2%; vertical-align:center; text-align:right" class='Module' decorator="">

      %nbsp;

    </display:column>

</c:otherwise>

 

{there are other columns}

  </display:table>

 

 

  <c:if test="${showOwnLink == true}" >

<a href="" value='${key}'/>('doOwn');" class="ModuleLink"><img src="" width="11" height="10" border="0">Own Selected Task</a>&nbsp;

  </c:if>

 

</form>

 

 

Placing alerts into the _javascript_ function show that the function is being called and that the eventSubmit name  is being set.  But the doOwn action is not been called in the java code to process the users selection.

......

 

 


This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com

-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 1:00 AM
To: [EMAIL PROTECTED]
Subject: RE: [displaytag-user] Check box data not submitted

 

This sounds like it's unrelated to the displaytag.  I'm willing to bet that if you removed the displaytag, copied and pasted the generated HTML into your page, and clicked the button - the same thing would happen. ;-)  Make sure your <input type="submit"> ??

 

Matt

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boyd, David
Sent: Monday, May 03, 2004 3:41 PM
To: ([EMAIL PROTECTED])
Subject: [displaytag-user] Check box data not submitted

I have added check boxes to my table.  I have looked at the resulting page after it has been rendered and see that all the information is correct.  Now, the user is able to select a given checkbox, then select a button to take ownership of the item.  But, the ownership action is not called.  I am using Jetspeed 1.4 b3.  The page is just refreshed.  The form is set up to just submit back to itself.

 

Any ideal as to what is going on here? Or is more information required?

 

David Boyd

 


This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com

 

Reply via email to