Re: need some files..

2006-02-22 Thread Cédric Levieux
RTFM ?

2006/2/22, hemant kumar [EMAIL PROTECTED]:



 hi frnds..i m very much new to struts programing...so i need some help..
 i need 13 .jar files..to place them in my lib folder..plus the .tld
 files..
 plz it would be very helpful if nebody send them to...
 [EMAIL PROTECTED]   .

 thnks in advance..


 -
 Jiyo cricket on Yahoo! India cricket
 Yahoo! Messenger Mobile Stay in touch with your buddies all the time.



Re: A table on a form from a List of Lists

2005-01-26 Thread Cédric Levieux
true

html:text name=myField property=myProperty/

is the good way ...



On Tue, 25 Jan 2005 18:15:06 +0100, Olasoji Ajayi [EMAIL PROTECTED] wrote:
 i thought the property attribute is required in the html:text tag.
 - Original Message -
 From: Cedric Levieux [EMAIL PROTECTED]
 To: Struts Users Mailing List user@struts.apache.org
 
 Sent: Tuesday, January 25, 2005 6:02 PM
 Subject: Re: A table on a form from a List of Lists
 
  So if row is a list try this
 
  html:form action=/myAction
  table
  logic:iterate id=row name=myForm properties=listOfRows
tr
logic:iterate id=myField name=row
td
html:text name=myField/
/td
/logic:iterate
/tr
  /logic:iterate
  /table
  /html:form
 
  directly
 
  - Original Message -
  From: Olasoji Ajayi [EMAIL PROTECTED]
  To: Struts Users Mailing List user@struts.apache.org
  Sent: Tuesday, January 25, 2005 5:37 PM
  Subject: Re: A table on a form from a List of Lists
 
 
  the second iterate will treat row like a bean and will try to retrieve
  the
  value of property called list of fields and it will result in an erroe
  because the row is actually a List and not a bean and it does not have a
  property called listofFields. and i dont think html:text works without a
  property attribute
 
  - Original Message -
  From: Cedric Levieux [EMAIL PROTECTED]
  To: Struts Users Mailing List user@struts.apache.org
  Sent: Tuesday, January 25, 2005 5:27 PM
  Subject: Re: A table on a form from a List of Lists
 
 
   And by this way ?
  
   html:form action=/myAction
   table
   logic:iterate id=row name=myForm proprties=listOfRows
  tr
  logic:iterate id=myField name=row proprties=listOfFields
  td
  html:text name=myField/
  /td
  /logic:iterate
  /tr
   /logic:iterate
   /table
   /html:form
  
   but the problem is that you didn't know which row is the parent of a
  field
  
   - Original Message -
   From: Olasoji Ajayi [EMAIL PROTECTED]
   To: Struts Users Mailing List user@struts.apache.org
   Sent: Tuesday, January 25, 2005 5:02 PM
   Subject: Re: A table on a form from a List of Lists
  
  
   if this works, it will take care of writing the table to the jsp but i
   need
   an html input type of field so i can also set the properties of the
   ActionForm by editing the fields and submiting the form.
   - Original Message -
   From: Cedric Levieux [EMAIL PROTECTED]
   To: Struts Users Mailing List user@struts.apache.org; Hubert
  Rabago
   [EMAIL PROTECTED]
   Sent: Tuesday, January 25, 2005 3:36 PM
   Subject: Re: A table on a form from a List of Lists
  
  
Hi,
   
There is a way :
   
table
logic:iterate id=row name=myForm proprties=listOfRows
   tr
   logic:iterate id=myField name=row proprties=listOfFields
   td
   bean:write name=myField/
   /td
   /logic:iterate
   /tr
/logic:iterate
/table
   
Regards,
   
Cedric
   
- Original Message -
From: Olasoji Ajayi [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org; Hubert
   Rabago
[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 3:25 PM
Subject: Re: A table on a form from a List of Lists
   
   
the method did not work, i think its because the nested tags deal
  with
beans
nested in beans but this deals with lists in a list in a bean (like
  a
2
dimensional array), i was hoping if i code the property like
property[row][col], if will call my getter method String
   getProperty(int
row, int col) since it calls String getProperty(int index) for
property
specified as property[index].
all the methods i have used either comes up with the erron no
  gettter
method
for this or that or null attribute.
   
i am begining to think there is no way to get/set a two dimentional
   array
type of data in a form bean other than to make the property also
beans.
   
i would really appreciate any help because i want to keep my
  property
   as
a
list of lists. the form bean is like:
   
public class myBean extends ActionForm{
  private List table = new ArrayList();
/// other propeties that are of type string
   
public List getTable(){
  return table;
}
   
public List getRow(int row){
  return (List)table.get(row);
}
   
public String getField(int row, int col){
  return (String)((List)table.get(row)).get(col);
}
   
 and corresponding setter methods
   
i wrote the acessor methods this way so i can specify different
   property
to
get different componentof the bean's property.
   
the problem i have is how to code a jsp to call the getter/setter
   methods
   
with two int arguments, i dont know very much about the bean
specification.
can anyone tell me how to code my jsp or ActionForm to get the
third
accessor methods called, 

Re: Reloading plugin

2005-01-25 Thread Cédric Levieux
What about, like I said, a Web Administration Page for your plugin and
change the plugins configuration with that ?

Cedric

On Tue, 25 Jan 2005 16:42:14 +0200, Ovidiu EFTIMIE [EMAIL PROTECTED] wrote:
 The thing is that the application must be running without any
 interupption. I was thinking about a plugin that watches over the
 other ones inspecting the struts-config file from time to time and
 compare the plugin configurations with the ones alredy loaded.
 Any ideas ?
 
 Ovidiu
 
 On Tue, 25 Jan 2005 14:31:05 +0100, Cedric Levieux
 [EMAIL PROTECTED] wrote:
  Hi,
 
  Go to the manager tomcat system and you can stop/start/restart application
  by application ... but it need to stop the application.
 
  The other possibility is to implement your own web admin system for
  configuring your plugins, replacing the values inside by setters.
 
  Hope it can help,
 
  Cedric
 
  - Original Message -
  From: Ovidiu EFTIMIE [EMAIL PROTECTED]
  To: Struts Users Mailing List user@struts.apache.org
  Sent: Tuesday, January 25, 2005 2:27 PM
  Subject: Reloading plugin
 
   Hi,
   I have an web apllication, using several plugins that I've made, and I
   want to be able to change the plugin configuration without stopping
   the Tomcat. Does anyone knows if it's possible ?
  
   Thanx,
   Ovidiu
  
   -
   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]
 


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