Re: Your HELP PLEASE
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Could you post some of the code where you are trying to do this? There are
a lot of things that you might be confused about and I'd rather not attempt
to explain every possibility when it may be just one simple thing that you
are missing. Have you read the component tutorial and/or looked at some of
the examples and tests. Try looking at
http://barracudamvc.org/Barracuda/CompTest5 for example. You can find what
class this is using by looking at the web.xml.
I will be gone much of tomorrow, but hopefully someone else can help you
for follow-up questions.
Jake
At 12:54 PM 3/27/2003 +0800, you wrote:
>Hi Jake,
>
>Thanks for your time.
>
>You may have answered my question fully, but, as a novice, I could not
>figure out how.
>
>Can you please explain a bit, if you have time, of course, on how I can
>use Blink? And on MyLinkEvent(), how I implement this?
>
>Thanks,
>
>Damar
>
>On Wed, 26 Mar 2003, Jacob Kjome wrote:
>
> >
> > Hi Damar
> >
> > You can do this at either compile time or runtime using...
> >
> > Compile-time:
> >
> > You can use XMLC built-in token replacement of mockup URL's with dynamic
> > runtime names in options.xmlc or you can use the CopyAndReplace
> > taskdef. You can see an example by looking at the BConfig mockups under
> > src_mockups. The contents of options.mappings is...
> >
> > token="images/" value="xlib/org/enhydra/barracuda/config/images/"
> > token="styles/" value="xlib/org/enhydra/barracuda/config/styles/"
> > token="Mockup_Config_Comp_Comp.shtml"
> > value="GetNextBConfig.event?CurrentTab=CompTab_Comp"
> > token="Mockup_Config_Comp_Model.shtml"
> > value="GetNextBConfig.event?CurrentTab=CompTab_Model"
> > token="Mockup_Config_Comp_View.shtml"
> > value="GetNextBConfig.event?CurrentTab=CompTab_View"
> > token="Mockup_Config_Comp_Rend.shtml"
> > value="GetNextBConfig.event?CurrentTab=CompTab_Renderer"
> > token="Mockup_Config_Data.shtml"
> > value="GetNextBConfig.event?CurrentTab=DataTab"
> > token="Mockup_Config_Dom.shtml"
> value="GetNextBConfig.event?CurrentTab=DomTab"
> > token="Mockup_Config_Event.shtml"
> > value="GetNextBConfig.event?CurrentTab=EventTab"
> > token="Mockup_Config_Forms.shtml"
> > value="GetNextBConfig.event?CurrentTab=FormsTab"
> > token="Mockup_Config_Util.shtml"
> > value="GetNextBConfig.event?CurrentTab=UtilTab"
> > token="Mockup_Config_View.shtml"
> > value="GetNextBConfig.event?CurrentTab=ViewTab"
> > token="Mockup_Config_About.shtml"
> > value="GetNextBConfig.event?CurrentTab=AboutTab"
> > token="javascript:submitLanguageForm();" value="SetLanguage.event"
> >
> >
> > Run-time:
> >
> > You can use Barracuda components at runtime to change the link. Make a
> > btemplate key for the link or just an ID to get a handle on the link
> and do...
> >
> > return new BLink("Link Text", new MyLinkEvent());
> >
> > This results in...
> >
> > <a href="MyLinkEvent.event">Link Text</a>
> >
> >
> > Does that answer your question?
> >
> > Jake
> >
> > At 03:34 PM 3/26/2003 +0800, you wrote:
> > >Hi,
> > >
> > >After going through the component model tutorial, I created a Header (some
> > >images on a table), a footer (some externel links in a table), a side menu
> > >(one button on a table), a main text page, and generated a page, MyPage,
> > >combining all. In the MyPage, Menu is on the left is supposed to point the
> > >the main text on its left.
> > >
> > >When I want to add a new page, I create a new main text page (that
> > >goes in the middle), and add a menu button for it on the left. How can I
> > >do this in Barracuda? In precise, how can I make the menu buttons to point
> > >to the respective text (page)?
> > >
> > >Any pointers would be highly appreciated.
> > >
> > >Damar
> > >
> > >_______________________________________________
> > >Barracuda mailing list
> > >[email protected]
> > >http://barracudamvc.org/lists/listinfo/barracuda
> >
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda