Re: How to use Barracuda?

"Diez B. Roggisch" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Nandakumar, KS wrote:
> Hi,
> 
> I am trying to make use of Barracuda Component model in a prototyping 
> exercise to get a Feel of
> Barracuda Presentation framework and hence recommend this framework for 
> further projects.
> 
> I would be using custom developed Event Model to trap the events and 
> process them in my business logic.
> 
> *My question:*
> I have a HTML page with TextFields, TextAreas, DropDrowns (Comboboxes), 
> Buttons.
> 
> Now in case of JSP, I would have embedded the Java Code (to populate 
> these components) within
> the HTML page and renamed the pageas .JSP.
> 
> Incase of Barracuda, how do I achieve this.  Also, where to create the 
> JavaScript?

See my contrib-package. It contains example apps, which do what you ask 
for. Basically, the repopulation is done using the BTemplate component, 
and you have to put template directives into the html file.

On creating java-script: I don't know where you need that, and what 
about it is dynamic. But you can at least create it and return it as 
BText. But there are others who have more expirience on this.

Diez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.