Return-Path: Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: (qmail 42736 invoked from network); 3 Apr 2009 15:02:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 15:02:31 -0000 Received: (qmail 27173 invoked by uid 500); 3 Apr 2009 15:02:30 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 27097 invoked by uid 500); 3 Apr 2009 15:02:30 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 27089 invoked by uid 99); 3 Apr 2009 15:02:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 15:02:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 15:02:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E8C9234C051 for ; Fri, 3 Apr 2009 08:02:06 -0700 (PDT) Message-ID: <80429486.1238770926451.JavaMail.jira@brutus> Date: Fri, 3 Apr 2009 08:02:06 -0700 (PDT) From: "Praveen Kumar Mattaparthi (JIRA)" To: issues@struts.apache.org Subject: [jira] Updated: (WW-3073) showLoadingText attribute Issue in sx:div. In-Reply-To: <1655462540.1238755926262.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 2265bf7ad70cb93affdfde3e15287371 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Praveen Kumar Mattaparthi updated WW-3073: ------------------------------------------ Description: Hi All, I am Sorry if the post already been posted. I had problem with showLoadingText attribute in sx:div. I had a jsp that display content in Grid from the database using Dojo. see the below code. Parent JSP: Child JSP
">
If User Clicks The next image it calls javascript function getNext(...). Below is my JS file function getNext(limitValueId,recordsPerPageId,totalRecordsId) { var limitValue = parseInt(document.getElementById(limitValueId).value); var recordsPerPage = parseInt(document.getElementById(recordsPerPageId).value); var totalRecords = parseInt(document.getElementById(totalRecordsId).value); if((limitValue+recordsPerPage) == totalRecords) { alert("You are Already Viewing Last Page"); return false; }else { limitValue = limitValue+recordsPerPage; document.getElementById(limitValueId).value = limitValue; dojo.event.topic.publish("Get_MyAccounts"); } } "limit value" is used get the next set of records from the database. Here is my problem. If I set showLoadingText="false". I am able to get the Form variables limitValue, recordsPerPage,totalRecords in the Action class. But If I set showLoadingText="true" for displaying the loading message. I am unable to get form variables limitValue, totalRecords in child JSP but I am able to get recordsPerPage in Parent JSP. Can Anyone tell me why showLoadingText is behaving like this? If I set it false I am getting All form variables. But I set it false I am unable to get. I need to use this in my project and it is very important. was: Hi All, I was had problem with showLoadingText attribute in sx:div. I had a jsp that display content in Grid from the database using Dojo. see the below code. Parent JSP: Child JSP
">
If User Clicks The next image it calls javascript function getNext(...). Below is my JS file function getNext(limitValueId,recordsPerPageId,totalRecordsId) { var limitValue = parseInt(document.getElementById(limitValueId).value); var recordsPerPage = parseInt(document.getElementById(recordsPerPageId).value); var totalRecords = parseInt(document.getElementById(totalRecordsId).value); if((limitValue+recordsPerPage) == totalRecords) { alert("You are Already Viewing Last Page"); return false; }else { limitValue = limitValue+recordsPerPage; document.getElementById(limitValueId).value = limitValue; dojo.event.topic.publish("Get_MyAccounts"); } } "limit value" is used get the next set of records from the database. Here is my problem. If I set showLoadingText="false". I am able to get the Form variables limitValue, recordsPerPage,totalRecords in the Action class. But If I set showLoadingText="true" for displaying the loading message. I am unable to get form variables limitValue, totalRecords in child JSP but I am able to get recordsPerPage in Parent JSP. Can Anyone tell me why showLoadingText is behaving like this? If I set it false I am getting All form variables. But I set it false I am unable to get. I need to use this in my project and it is very important. > showLoadingText attribute Issue in sx:div. > ------------------------------------------- > > Key: WW-3073 > URL: https://issues.apache.org/struts/browse/WW-3073 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Dojo Tags > Affects Versions: 2.1.2 > Reporter: Praveen Kumar Mattaparthi > > Hi All, > I am Sorry if the post already been posted. > I had problem with showLoadingText attribute in sx:div. > I had a jsp that display content in Grid from the database using Dojo. see the below code. > Parent JSP: > > > > > > > Child JSP > > >
> > > > > > > > > > > > > > > > > > >
">
> > > > >
>
> If User Clicks The next image it calls javascript function getNext(...). Below is my JS file > function getNext(limitValueId,recordsPerPageId,totalRecordsId) { > var limitValue = parseInt(document.getElementById(limitValueId).value); > var recordsPerPage = parseInt(document.getElementById(recordsPerPageId).value); > var totalRecords = parseInt(document.getElementById(totalRecordsId).value); > if((limitValue+recordsPerPage) == totalRecords) { > alert("You are Already Viewing Last Page"); > return false; > }else { > limitValue = limitValue+recordsPerPage; > document.getElementById(limitValueId).value = limitValue; > dojo.event.topic.publish("Get_MyAccounts"); > } > } > "limit value" is used get the next set of records from the database. > Here is my problem. > If I set showLoadingText="false". I am able to get the Form variables limitValue, recordsPerPage,totalRecords in the Action class. > But If I set showLoadingText="true" for displaying the loading message. I am unable to get form variables limitValue, totalRecords in child JSP but I am able to get recordsPerPage in Parent JSP. > Can Anyone tell me why showLoadingText is behaving like this? > If I set it false I am getting All form variables. But I set it false I am unable to get. > I need to use this in my project and it is very important. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.