You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Néstor Boscán <ne...@tcs.com.ve> on 2004/12/20 16:46:08 UTC

RE: datagrid pagination

Hi André 

It's possible that the datagrid is having a hard time constructing the URL
for the pagination and order processes. This cases happen a lot with
technologies such as Struts. In this cases there is an attribute called
requestPath that you can use to set the URL that you are using. 

Regards,

Néstor Boscán

-----Mensaje original-----
De: Andre Branco [mailto:andre.branco@dtsconsulting.com.br] 
Enviado el: Lunes, 20 de Diciembre de 2004 09:08 a.m.
Para: Nestor. Boscan (E-mail)
Asunto: datagrid pagination

Hi Nestor!

For some security reasons the project that I am doing and that use the
datagrid it´s necessary to hide (put) the jsp files under the folder
WEB-INF, but I do that the pagination doesn´t work. Is there any another
aproach to this?

Thanks in advance!

Regards,
André V. Branco
DTS Consulting
http://www.dtsconsulting.com.br/
Rua Domingos de Moraes, 1293
Vila Mariana - São Paulo - SP - 04009-003
Telefone: 11 5083-3245 / 5083-5493 ramal 227







---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.811 / Virus Database: 552 - Release Date: 13/12/2004





---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


problems with html:javascript

Posted by Nadia Maclaren <na...@intelligenz.co.nz>.
Hi,
I have a a html:javascript on the jsp pages. It is throwing a null 
exception, and I can't work out why. It was working quite happily a few 
months ago. But we have just revisited it and it doesn't want to work 
any more.

Its happening on all our pages that have client-side validation. Any 
ideas will be greatly appreciated.

The jsp page contains (when remove this line the page works fine, 
including server-side validation):
<html:javascript formName="EFTSReportForm" />

the validation-administrationModule.xml contains:
<form name = "EFTSReportForm">
           <field property="ReportYear" depends="required, integer, 
intRange">
                <arg0 key="field.adminSite.workspace.reports.reportYear" 
resource="true"/>
                <arg1 name="intRange" key="${var:min}" resource="false"/>
                <arg2 name="intRange" key="${var:max}" resource="false"/>
                <var><var-name>min</var-name><var-value>0</var-value></var>
                
<var><var-name>max</var-name><var-value>4000</var-value></var>
            </field>
        </form>

the struts config file contains:
<action path="/eftsReport"
        
type="com.colts.ui.adminSite.workspace.reportModule.reports.EFTSReportProcess" 

        validate="false"
        name="EFTSReportForm">       
        <forward name="form_step1" path="/reports/EFTS.view"/>
        <forward name="RUN_REPORT" path="/reports/eftsReportAction.do"/>
    </action>

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
   <set-property property="pathnames" 
value="/WEB-INF/validator-rules.xml,/WEB-INF/config/validation-adminstrationModule.xml"/>
 </plug-in>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org