Re: I need WO help.
Re: I need WO help.
if you want to copy/duplicate files (i hope you mean web components)
you can copy the .woo and the .wod file but in the .api file you have
to ensure that you set the class like the name of your component:
<wo wocomponentcontent="false" class="Yourclass">
,where Yourclass is the name of the component.
in the .java file you have do change the classes as well but 2 times:
1. public class Yourclass extends WOComponent {
2. public Yourclass(WOContext context) {
the rest you can just copy and paste keeping the rest as is.
hope that helps because you are a little unprecise...
christian
Am Samstag, 07.06.03, um 02:50 Uhr (Europe/Berlin) schrieb Martelli
Michael C:
> Yeah I dont know much about WO but I am trying to edit a site in WO.
> There lot of WO in this site and I wanted to add an item that is in a
> page to another page. This item is a search function (text bar and
> search button). I want to add this to the Nav bar of the site so on
> every page the search feature will appear. As of now I have been
> trying for the past 2 days but no luck. There must be some thing I a
> missing when i copy over the WO files and code from the other page. If
> anyone can help or guide me in the right direction to a site that
> descirbes WO in detail and how they work, so maybe can shed some light
> on this topic. If you need me to to be more clear I can.
> Thanks
>
> -----------------------------------------
> Michael Martelli Jr
> University of Scranton - Computer Science
> List: db.etree.org/marshmeli
> Site: www.cs.uofs.edu/~mcm6
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.