RE: back office tool (urgent, TIA)

2002-07-03 Thread Eyassu, Daniel

Torque auto generates source code based on a set of of XML  descriptions of
your database schema, which you can then programmatically use to carry out
CRUD operations. Turbine (which includes Torque) does not create any HTML
for you; it is just an application framework. If you find the Torque/Turbine
approach, stick with Struts, it solves the same problem and I believe (based
on my experience) it is easier to use.

Dan

-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: RE: back office tool (urgent, TIA)



I guess that I can also use Torque from Turbine (Apache), for the same. Does

any of you have a experience with it? It seems that can generate the HTML 
front end pages.

Maybe I can mix it up with struts also

Adolfo.

From: Eyassu, Daniel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: back office tool (urgent, TIA)
Date: Tue, 02 Jul 2002 10:11:44 -0400

If you have MS Access, you can use its wizards to create CRUD operations on
a database, such as Oracle 8i very quickly. It will automatically create 
all
the necessary GUI elements(HTML or application) for you. If you have
additional business logic(other than CRUD operations), it gets more
involved.


Dan

-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 9:59 AM
To: [EMAIL PROTECTED]
Subject: back office tool (urgent, TIA)


Hi All,

we are planning to incorporate a back office tool for the projects 
developed

at our company. Our RDBMS is Oracle 8i. It should, at least provide a easy
handling in CRUD operations, and MAYBE allow data model management (modify
tables, rows, constraints...).

The primer intend is to evaluate three options:

- some open source or freeware tool, (I do not know any),

- purchasing something, (we know just http://www.objectmatter.com),

- or even developed ourselves based in open source APIS, e.g. based on
SIMPER, on some Entity EJB project, on Torque?s (from Turbine)... + Struts
or Velocity  ???

I would appreciate opinions and pointers that could help to take a decision
or evaluate different projects.

Thanks in advance,

Adolfo




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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


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

_
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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


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




RE: back office tool (urgent, TIA)

2002-07-02 Thread Eyassu, Daniel

If you have MS Access, you can use its wizards to create CRUD operations on
a database, such as Oracle 8i very quickly. It will automatically create all
the necessary GUI elements(HTML or application) for you. If you have
additional business logic(other than CRUD operations), it gets more
involved.


Dan

-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 9:59 AM
To: [EMAIL PROTECTED]
Subject: back office tool (urgent, TIA)


Hi All,

we are planning to incorporate a back office tool for the projects developed

at our company. Our RDBMS is Oracle 8i. It should, at least provide a easy 
handling in CRUD operations, and MAYBE allow data model management (modify 
tables, rows, constraints...).

The primer intend is to evaluate three options:

- some open source or freeware tool, (I do not know any),

- purchasing something, (we know just http://www.objectmatter.com),

- or even developed ourselves based in open source APIS, e.g. based on 
SIMPER, on some Entity EJB project, on Torque?s (from Turbine)... + Struts 
or Velocity  ???

I would appreciate opinions and pointers that could help to take a decision 
or evaluate different projects.

Thanks in advance,

Adolfo




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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


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




Html:options question help

2002-06-26 Thread Eyassu, Daniel

IF I have an ActionFrom that looks like
 

public class WorkAuthForm extends ActionForm
{
 private ArrayList engineers;

public ArrayList getEngineers()
{
return this.engineers;
}

public void setEngineers(ArrayList engineers)
{
this.engineers = engineers;
}
 
..
}
 

And engineers are:

public class Engineer
{

private String id;

private String name;

/** Creates a new instance of Engineer */
public Engineer()
{
}

public void setId(String id)
{
this.id = id;
}

public String getId()
{
return id;
}

public void setName(String name)
{
this.name = name;
}

public String getName()
{
return name;
}
}
 

why cant I do the following:
 

html:select property=id value=name 
   html:options collection=workAuthForm.engineers
labelProperty=name property=id/
/html:select 
 

Thanks
Dan



RE: Test

2000-12-08 Thread Eyassu, Daniel

Yep

-Original Message-
From: Alan McAuley [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 9:59 AM
To: [EMAIL PROTECTED]
Subject: Test


Is there anyone on the struts list, if so, stand up and be counted.
There would appear to be zero traffic here.

Regards

Alan



RE: org.apache.struts.action.MESSAGE exception with orion 1.4

2000-12-06 Thread Eyassu, Daniel

FYI:

This approach doesn't work for BEA's Weblogic 5.1.0 server.

-Original Message-
From: Douma, Ate [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 9:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: org.apache.struts.action.MESSAGE exception with orion 1.4


For Orion perform the following steps 

1. remove the org/apache/struts/resources/struts-config_1_0.dtd from the
struts.jar
2. put the dtd under /WEB-INF/classes/org/apache/struts/resources.

Ate Douma

 -Original Message-
 From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 06, 2000 11:05 AM
 To: [EMAIL PROTECTED]; Orion-Interest
 Subject: Re: org.apache.struts.action.MESSAGE exception with orion 1.4
 
 
 Juan Gargiulo wrote:
 
  Did somebody found a work-around for the "Missing 
 resources" problem in
  Orion 1.4?
  I tried several different potential solutions but none of 
 them worked. I
  really need to get struts 1.0 working with Orion 1.4 ASAP.
 
 Me too, please!
 
 klaus
 
 
  -Original Message-
  From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 21, 2000 9:53 AM
  To: [EMAIL PROTECTED]
  Subject: Re: org.apache.struts.action.MESSAGE exception 
 with orion 1.4
  
  
  "Douma, Ate" wrote:
  
  
  The two problems preventing the Struts example (build 
 20001120) to work on
  Orion (1.4.0) can be solved as follows:
  
  1. javax.servlet.jsp.JspException: Missing resources attribute
  org.apache.struts.action.MESSAGE error
  
  The problem is caused by Orion not allowing access on 
 resources (in this
  case a resourcebundle property file) in the 
 WEB-INF/classes folder. It
  
  seems
  
  that the Servlet 2.2 spec. doesn't states clearly if this 
 is allowed or
  
  not;
  
  the Orion team decided to not allow access.
  A simple solution is making the resources available through the
  
  (application
  
  its) classpath.
  By jarring the resources (e.g. the WEB-INF/classes 
 folders) and putting
  
  this
  
  jar in the WEB-INF/lib folder the resources can be found.
  
  I would suggest the Stuts team to implement this solution 
 for the struts
  example as Orion is probably not going to change its 
 behavior in this.
  
  
  
  I would suggest instead that Orion fix their buggy 
 classloader.  This
  particular
  issue has nothing to do with the servlet specification -- 
 Orion is not
  implementing the getResource() method of 
 java.lang.ClassLoader, which is
  used by
  the ResourceBundle classes of the JDK, correctly.
  
  
  2. java.net.MalformedURLException: unknown protocol: jndi
  
  The solution to this problem is given by Olli Pyry yesterday in the
  
  message
  
  with subject: Strugs  Orion  JNDI
  
 From:   Olli Pöyry[SMTP:[EMAIL PROTECTED]]
 Sent:   Tuesday, November 21, 2000 9:51:08 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject:Strugs  Orion  JNDI

 The following error that occurs in ActionServlet's 
 startup with the
  newest
 Struts nightly build and Orion:

 register('-//Apache Software Foundation//DTD Struts 
 Configuration
  1.0//EN',

  
  
 'jndi:/home/jblum/web/struts/WEB-INF/lib/struts.jar/org/apache
 /struts/resour
  
 ces/struts-config_1_0.dtd'
 resolveEntity('-//Apache Software Foundation//DTD 
 Struts Configuration
 1.0//EN',
  
  'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
  
  Resolving to alternate DTD

  
  
 'jndi:/home/jblum/web/struts/WEB-INF/lib/struts.jar/org/apache
 /struts/resour
  
 ces/struts-config_1_0.dtd'

 seems be caused from the following line in 
 ActionServlet.java (about
  line
 881):

 URL url = 
 this.getClass().getResource(registrations[i+1]);

 when this is replaced with:

 URL url =
  getServletContext().getResource(registrations[i+1]);

 the dtd is found and everything works.
 However you have to rebuild struts.jar - but that is easy ant.

 Hope this helps!

 Olli Pyry, Essaim Oy, Helsinki, Finland
  
  As this requires changing the source, I kindly request 
 that the Struts
  development team could fix this also.
  
  
  
  This statement again depends on the container correctly 
 implementing the
  class
  loader they are using for web applications.
  
  My understanding is that Struts has been working fine with 
 previous versions
  of
  Orion.  It sounds like they changed something in the latest 
 code.  If so,
  they
  should change it back.
  
  
  Ate Douma
  
  
  
  Craig McClanahan
  
  
  
  -Original Message-
  From: Kevin Wang [mailto:[EMAIL PROTECTED]]
  Sent: Monday, November 20, 2000 6:32 PM
  To: '[EMAIL PROTECTED]'
  Subject: RE: org.apache.struts.action.MESSAGE exception 
 with orion 1.4
  
  Struts 1.0 example (11/15 nightly) is not working on Orion 
 (1.2.9) either.
  It seems something is wrong with 'jndi' as it use jndi to resolve
  'struts-config_1_0.dtd'.
 

RE: CLASSPATH problems (I think)

2000-12-05 Thread Eyassu, Daniel

I don't use TOMCAT, but at least in Weblogic there is a properties file that
maps web application to specific directories. I would think TOMCAT should
have a config file that contains similar mappings.

-Original Message-
From: De Smet Koen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 10:48 AM
To: Struts Mailinglist (E-mail)
Subject: CLASSPATH problems (I think)


Hello,

I've posted a question on this last week and finally found the solution
myself, but there's still something wrong in my configuration somewhere and
I still have some questions.

The problem is that the files under the webapps/project/WEB-INF/lib are not
found. 

It's obvious that the problem has something to do with the CLASSPATH.

A solution for all this could be to manually add each path, .jar, ... in the
OS Classpath, but I don't think this is a good solution. Don't think it's a
good idea to change the CLASSPATH manually each time you create an
application. I suppose TOMCAT should know at startup to add for each webapp
the lib directory to the CLASSPATH.  Why are those directories and files not
recognized?

Also when I try to access a package
webapps/project/WEB-INF/classes/prog/package2 from a Java file in
webapps/project/WEB-INF/classes/prog/package1 (import prog.package2.*), an
error occurs (package prog.package2 does not exists).

I hope you can help me with this. I think that many
"Resource-bundle-related" questions can be solved the same way my problems
will be solved...


Greetings,

Koen De Smet


P.S. Is it possible to alter tomcat.bat and add the next lines? 

set _LIBJARS2=
for %%i in (%TOMCAT_HOME%\webapps\*\lib) do call
%TOMCAT_HOME%\bin\cpappend.bat %%i

set CP=%CP%%_LIBJARS2%


The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
The Capital Markets Company.

http://www.capco.com
***