RE: JBuilder 5, Struts 1.0 WebLogic 6.0, a Tutorial

2001-08-10 Thread markus . colombo

Thanks for everybody giving me feedback.

I'll try to keep the Tutorial updated (if I find some spare time...)

Markus

-Original Message-
From: Anthony Martin [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 9. August 2001 20:32
To: '[EMAIL PROTECTED]'
Subject: RE: JBuilder 5, Struts 1.0  WebLogic 6.0, a Tutorial


By the way, another good session I sat in on can be found at
http://www.borland.com/conf2001/updates/, 3004, Building Extensible Web
Frameworks Using XML, XSL-T, and Java by Richard Vowles.

Trouble is, they put the wrong slide show into the archive.  The code
examples are correct and include Struts, Tapestry (Richard's favorite, I
think), and xsltaglibs.

Richard didn't seem to like Struts too much, but shows it anyway.  He took a
lot of time to show Tapestry.  It's a replacement for JSP and my impression
is that it uses Action Listeners better than any Servlet I've seen.  But
maybe I made that up because I was falling asleep during that part of the
session...ala Homer Simpson (Cult Member: There's nothing like that in the
movie.  Homer: Yeah, I know.  I just make stuff up when I get bored, OH A
BIRDIE!).


Anthony

-Original Message-
From: Anthony Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 11:22 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JBuilder 5, Struts 1.0  WebLogic 6.0, a Tutorial


Hehe, that's fine if you want to download 4megs.  It does come with a
project example, and instructions for JBuilder 4 and 5.

Ken's great, I met him at Borcon and I attended the session on Struts.  In
fact, besides Ken's session, three other sessions that I attended mentioned
Struts (more in favor than not).

He also hinted that someone should add a Struts item to the Object Gallery
(File | New | Web), which I think is a good idea.  Can it be added like with
OpenTools?


Anthony

-Original Message-
From: Bill G [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 11:13 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: JBuilder 5, Struts 1.0  WebLogic 6.0, a Tutorial


Markus, Nice Work!

You should check out Ken Sipe's presentation of Struts at Borcon.  The
slides and all required resources are at
http://www.borland.com/conf2001/updates/  look for presentation 3148.

Bill Gfroehrer...


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 5:24 AM
To: [EMAIL PROTECTED]
Cc: Wymann, Roland
Subject: JBuilder 5, Struts 1.0  WebLogic 6.0, a Tutorial


A small Tutorial can be found at:
http://www.netstore.ch/mesi/strutsTutorial/

Even if it is weblogic specific, it might be interresting for everybody who
develops with JBuilder.

Thanks to Anthony, Bill and everybody else in this list for the tips !


Markus Colombo, ConsultantTel: +41-(0)61-377 77 17
THALES Information Systems AG Tel: +41-(0)61-377 77 77
Auf dem Wolf 17
CH 4052 Basel, SwitzerlandFax: +41-(0)61-377 77 99
[EMAIL PROTECTED]   http://www.thales-is.ch

THALES Information Systems AG ,vormals Syseca (Schweiz) AG:
 hat in der Schweiz an 6 Standorten über 240 IT Professionals.
 ist ein international operierendes Unternehmen mit 4'700 Mitarbeitern.
 ist eine Unternehmung der THALES Group, vormals Thomson-CSF.
Die THALES Group hat weltweit 65'000 Mitarbeitern.





RE: can`t submit form when using ie 5.0

2001-08-09 Thread markus . colombo

Try a href=javascript:document.forms[0].submit()Send skjema/a

Hope this helps (I have no time to test at the moment)
(This is a bug in 5.0)

-Original Message-
From: Jan Fredrik Øveraasen
[mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 9. August 2001 11:54
To: '[EMAIL PROTECTED]'
Subject: can`t submit form when using ie 5.0


Hi
I have a form like this:

  html:form action=jsp/usermanagement_updateuser.do

html:text property=firstname size=15 /

   html:radio property=sex property=sex value=female /
   html:radio property=sex property=sex value=male/

td class=texth3bwhitea href=#
onClick=document.forms[0].submit()Send skjema/a/td

   /html:form

In ie 5.0 this form is not submitted.

Can anyone tell me if there is something I can do different or is this a bug
in ie 5.0.




___ Jan Fredrik Øveraasen | Senior Systems Developer
___ Cell Network ASA | Pb. 5313, Sørkedalsv. 10A, N-0304 Oslo,
Norway
___ Tel: +47 23196600/35 | Fax: +47 23196601 | Mob: +47 93 49 99 88
   ___ http://www.cellnetwork.com/ |
mailto:[EMAIL PROTECTED]




RE: JBuilder w/Struts Support

2001-08-02 Thread markus . colombo

Hi,

just tried the steps below with JBuilder5/Struts1.0/Weblogic6:
Omitted steps 7  8
step 10: the classpath from step 9 still included ...\struts.jar
which I had to remove to make it run


Thanks for your tips

Markus



-Original Message-
From: Anthony Martin [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 1. August 2001 22:55
To: '[EMAIL PROTECTED]'
Subject: RE: JBuilder w/Struts Support


Only steps 7 and 8 are effected by this.

-Original Message-
From: Bill G [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 1:52 PM
To: [EMAIL PROTECTED]
Subject: RE: JBuilder w/Struts Support


Hi Anthony,

This might explain why the .TLD files weren't moving over.

If this is true then are your instructions for steps 3 through 11 still
valid?

BG...


-Original Message-
From: Anthony Martin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 1:16 PM
To: '[EMAIL PROTECTED]'
Subject: RE: JBuilder w/Struts Support


Regarding step 1, you are correct.  I had it wrong.  The jar files must be
used.  This might explain why the .TLD files weren't moving over.

If this is correct, step 2 may not be necessary.  But to clarify, Step 2 had
a typo, and wasn't clear to begin with.  Sorry about that.

It should read:

2. Move:
o strutsblank\WEB-INF\classes\*.* to strutsblank\src
o strutsblank\WEB-INF\*.tld to strutsblank\src

Again, the purpose of moving the .tld into src was to make sure they got
included in the .war.  If I had the open tools wrong, this would explain it.


Anthony

-Original Message-
From: Bill G [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 1:06 PM
To: [EMAIL PROTECTED]
Subject: RE: JBuilder w/Struts Support


Anthony,

I am trying to implement your solution and need some clarification on steps
1 and 2.

Step 1 question -
The instruction that come with the downloaded files from Borland
(Nostruts.zip  webinfextension.zip) indicate that the JAR files need to
be placed into c:/jbuilder5/lib/ext which is different from your
instructions which say to place the ZIP files in the directory. I have the
ZIP files in the directory but I am wondering if I missed something here?

Step 2 question -
The instruction Move: strutsblank\WEB-INFclasses to strutsblank\src. So I
created strutsblank\ and strutsblank\src directories under
C:/jbuilder5/jakarta-tomcat-3.2.1/webapps/, then extracted (unzipped) the
struts-blank.war to the strutsblank\ directory. Next, I moved
\strutsblank\WEB-INF\classes to \strutsblank\src\classes, is this
correct?

Thanks,
BG...




-Original Message-
From: Anthony Martin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:15 AM
To: [EMAIL PROTECTED]
Subject: JBuilder w/Struts Support


Here is my recipe for JBuilder5 w/Struts Support.  These steps are a
culmination of a variety of posts found on a variety of groups.  Thanks to
all who contributed to this, for there are many.  I hope these steps work
for everyone.  And I hope Borland eventually adds better support for JB5
w/Struts in the near future.  The .TLD is the biggest problem, and it's not
even a Struts specific requirement.

Ingredients:

o Borland JBuilder5 Enterprise (not tested on other versions)

o Struts Support Addin
Nostruts.zip  webinfextension.zip
http://codecentral.borland.com/ goto JB5 x OpenTools

o Struts Blank .war file
struts-blank.war http://jakarta.apache.org/struts goto
downloads

Steps:

1. Download/Install the above:
o Extract the Struts Support Addin files to the open tools
directory.  Usually it's c:/jbuilder5/lib/ext on Windows.
o Extract the Struts Blank file to your webapps directory.  This
allows it to run outside JB5  For example, the path would likely be
C:/jbuilder5/jakarta-tomcat-3.2.1/webapps/strutsblank on Windows.  You can
call it whatever you want, but JB5 doesn't like dashes in the project .jpx,
so I took it out.

2. Move:
o strutsblank\WEB-INFclasses to strutsblank\src
o strutsblank\WEB-INF\*.tld to strutsblank\src
o You'll see...

3. In JB5, set up Struts Support Addin
o Tools | Configure Libraries...
o New...
o Name: Struts Support Addin
o Location: User Home (default)
o Add... c:/jbuilder5/lib/ext/Nostruts.zip
o Add... c:/jbuilder5/lib/ext/webinfextension.zip
o Click OK

4. Set Up Struts (still in Configure Libraries)
o New...
o Name: Struts v1.0 Release (or whatever version you have)
o Location: User Home (default)
o Add... path.to.struts.jar
o Click OK
o Click Required Libraries Tab
o Add... Struts Support Addin
o Click OK

5. Start a new project in JB5.
o File | New | Project
o Project name: strutsblank
o Root path: C:/jbuilder5/jakarta-tomcat-3.2.1/webapps
o Project directory name: strutsblank (default)
o Source directory name: src (default)
o