hi Rich,

Thanks for posting the Camino update info on Java Skyline! To answer your questions:

> 1. Do you have a a step-by-step tutorial for Scioworks - and possibly show where to look at the Struts docs?

There is a step-by-step tutorial to help you get from the "raw" to the "finished" project. It's located in the <Install Dir>/doc/tutorial/tutorial.html   Check it out and let us know if its useful in helping you learn about Camino.


> 2.  Also, is there a document I should look at that describes what is supposed to go into the various fields?
> There are a lot of fields, and some of them it seems you can just type anything into.

We are currently working on a help system for Camino. In the mean time, you have to go thru the tutorial to find out about the various key fields in the dialog boxes mean. Yeah, the learning curve is a bit steep if you are new to the Struts lingo :-)


> 3.  A discovery!  But what did I not fill out?  After placing an action on the diagram, I tried running the
> Wizard | Generate classes and it generated a .java program for the action.  But it leaves the method without a return.

The code generator generates skeleton classess to help reduce the amount of time needed to manually create these classes by hand. For every Action and FormBean, there are 2 classes generated: A base class, a subclass. What you have to do then is to fill in the logic for each of the doXXX() methods in the subclass. You should never have to make any modifications to the generated base classs. The tutorial has a more detailed description with examples on working with these generated classes.


> 4. I'm sure this is obvious if you've used Struts before, but when would you decide to use Action vs. DispatchAction as a base class?

A DispatchAction allows an action to be sent to a method specified by the parameter property. The Struts API describes it better than I can :-)    http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchAction.html   The Camino tutorial also has a section on how to go about using DispatchActions in Camino via the storyboard.


Hope the above answers help. If you have further questions, please feel free to drop me an email. Also, you may want to sign up on the Camino mailing list: http://www.scioworks.com/scioworks_camino_mailingList.html


Regards,
Kin Onn

p/s: I think your questions are useful to new users of Camino. I'm forwarding this to the camino-user mailing list. Hope you don't mind.


At 02:41 PM 15/10/2001 -0700, you wrote:
Posted.  See:
 Java Skyline: Application Server News and
 Java Skyline: Scioworks Camino announcement

The story-board editor idea is great.

I'm just getting started with this.

I have a few questions about Scioworks (see below).

Regards and best wishes,

Rich Katz
 Java Skyline the future starts here
 
 

Questions
=======
1. Do you have a a step-by-step tutorial for Scioworks - and possibly show where to look at the Struts docs?

For instance, how to go from (your example "raw" to the "finished" project - if that's your intention.    I notice that there is a project file for the finished Horoscope - but not for the Raw one.  So I created a project for raw (first copying raw to raw2 to be on the safe side).  After setting up the new raw project with the JSPs, I ran Wizard | Convert JSPs and that worked.  Neat!

Then I dragged the JSPs onto the story board.

2.  Also, is there a document I should look at that describes what is supposed to go into the various fields?  There are a lot of fields, and some of them it seems you can just type anything into.

3.  A discovery!  But what did I not fill out?  After placing an action on the diagram, I tried running the Wizard | Generate classes and it generated a .java program for the action.  But it leaves the method without a return.   Here's the code:
  protected ActionForward doPerform(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
      throws javax.servlet.ServletException, java.io.IOException
  {
    /**@todo: implement this method */
    throw new IllegalAccessError("Method not yet implemented");
  }

    What do I need to fix in the storyboard?

4. I'm sure this is obvious if you've used Struts before, but when would you decide to use Action vs. DispatchAction as a base class?

Many thanks for the answers!  I'm guessing you might want to use Scioworks along with an IDE (or other bean generator) to create beans - since the Bean Edit in Scioworks just allows you to name the bean.

Regards,

Rich Katz

[EMAIL PROTECTED] wrote:
A new build of Scioworks Camino is now available at:

    http://www.scioworks.com/scioworks_camino_download.html

Here is the summary of the key enhancements:

  - Major enhancements in JSP Parser:
     - Improvement in parsing speed. Up to 100% faster!
     - Support JSPs with international character encoding
       (eg. characters with accents)
     - Improved error reporting of parsing errors. Information such as
       line numbers and the tag which causes the errors are reported.
     - Minimal changes are made to the original JSP layout; does not
       reformat/pretty print JSPs when saving
     - Support incomplete JSP fragments used in server-side inclusion
       (e.g. JSP without the <body> tag)
     - More forgiving to non-standard html syntax, particularly related to
       <table> with <form> outside <td>
     - Checks for matching start - end tags
     - Checks for taglib / namespace declarations and warns of invalid tags
     - Various bug fixes

  - Enhancements in Code Generator:
     - Allows independent source paths for action classes and formBean classes
     - Allows users to select/de-select individual classes to generate
     - Allows users to specify different superclass for the generated action
       classes.

  - Improvement in Struts support
     - Full visual support of DispatchAction
     - Enchancements in the user interface
     - New Message Pane
     - New "create project" wizard

  - Others
     - Skips DTD validation for struts-config.xml if the DTD source is
       inaccessible (e.g. behind the firewall).
     - Camino project file now remembers relative paths instead absolute paths
     - Tutorial has been completely updated and expanded
     - New automatic installation

--
Camino Development Team

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  You are receiving this message because you have selected to receive
  update notifications of Scioworks Camino. If you no longer want to receive
  notifications, please send a message to <[EMAIL PROTECTED]> with
  the SUBJECT line "unsubscribe camino-announce".
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Low Kin Onn                 Scioworks Technologies
e: [EMAIL PROTECTED]           o: +65  873 5989
w: http://www.scioworks.com      m: +65 9833 0967

Reply via email to