Executing Struts-layout

2004-03-18 Thread Zakaria khabot
Hi all,
when I execute an Action which forward to a JSP I receive a null pointer
exception.
in my JSP I have :










"tab" in an ArrayList witch I got from the Database.

can someone help me.

thanks



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



Re: Validation: Problem with datePattern and JavaScript

2003-12-10 Thread Zakaria khabot
Hi,
Do u have an example of using validate-rules.xml in a JSP file.
Thanks

- Original Message - 
From: "Rouven Gehm" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 1:53 PM
Subject: Validation: Problem with datePattern and JavaScript


> I want to know if someone has updated the javascript code
> in the validate-rules.xml, for the datePattern option ?
> Because the code i have from the Struts 1.1 zip only
> work with datePatternStrict !!!
> 
> I have searched the user mailing list, for this problem, but
> not found any solution.
> 
> Thanx
> 
> Rouven
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



Error message!

2003-12-09 Thread Zakaria khabot
Hi,
I received this error message and don't understand the soiurce of error :

javax.servlet.jsp.JspException: No getter method for property action of bean 
org.apache.struts.taglib.html.BEAN

java.lang.Object 
org.apache.struts.util.RequestUtils.lookup(javax.servlet.jsp.PageContext, 
java.lang.String, java.lang.String, java.lang.String)

RequestUtils.java:968

int org.apache.struts.taglib.html.BaseFieldTag.doStartTag()

BaseFieldTag.java:176

int org.apache.struts.taglib.html.HiddenTag.doStartTag()

HiddenTag.java:123

void _detail._jspService(javax.servlet.http.HttpServletRequest, 
javax.servlet.http.HttpServletResponse)

[/detail.jsp]

detail.jsp:29

My detail.jsp file is the following :
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="/WEB-INF/app.tld"prefix="app" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>





Consultation et modification des données.




Les données sur le DVD.



 

function go(action) {
document.forms["myform"].action.value=action;
 }
 


 






  

  :



  

 

  

  

  :


  

  

  

  :


  

  

  

  :


  

  

  




  




 

 

 

 

 

 

 


  







Thanks.
Zakaria

  


html:link

2003-12-04 Thread Zakaria khabot

Hi,
In a JSP file a have done 




But I received the error :
action is not a property of org.apache.struts.taglib.html.LinkTag
What can I do (I am usinf Jdevelopper 9i)
Thanks.




The API of a package

2003-12-02 Thread Zakaria khabot
Hi,
In wich Pakage exist the "import org.jdom.* "
Thanks for all...

 


Displaying a dialogue box with Struts...

2003-11-19 Thread Zakaria khabot
Hi!!
How to display a dialog box using struts.
The dialog box will contain two button (Ok and Cancel).
Thanks...


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



Two actionForm in the same Action

2003-11-12 Thread Zakaria khabot
Hi,
How to call two ActionForm in the same Action.
I have wrote : 
EnregisterForm enregForm = (EnregisterForm) form;
and also 
RechForm rechForm = (RechForm) form;
but I received an Exception.
How to do.
thanks.


 
Zakaria KHABOT
Ingénieur d'état Réseaux informatiques
MFIE/CGED
Tel : +212 62 46 10 29
E_mail : [EMAIL PROTECTED]
 


Creating a bean!!!!

2003-10-07 Thread Zakaria khabot
Hi,
I have created a formBean :




But the class Book isn't known as an element of tke package books. and I received this 
exception :

javax.servlet.jsp.JspException: Exception creating bean of class books.Book: {1}

void org.apache.struts.taglib.html.FormTag.initFormBean()

FormTag.java:563

int org.apache.struts.taglib.html.FormTag.doStartTag()

FormTag.java:520

how to resolve this problem. thanks.