Hello,

thanks for the answer. This will definitively help. I also do not have a
concrete idea of what it should be, but I am thinking about some xml
configuration that would allow among others positioning of widgets (defining
widget properties in this xml file) as well some bindings to datasources or
other bindings like in java containers. Such a configuration data would
allow to build the widget tree at initialization time of the application,
bind to datasources ( you know those coffee java or whanever beans :) lets
call them here carrots:) ) etc...

Anyway, I will let you know about more concrete ideas... At the moment I am
busy to build a LFS (linux from scrach) to be able to deploy a wt
application to my web-host ...

Misi




2008/7/4 Koen Deforche <[EMAIL PROTECTED]>:

> Hey Misi,
>
> > I wonder if somebody thought or already implemented some html template
> > mechanism (the blahblah with web designer defines general visual outlook
> of
> > a homepage/web application, and then the contents business logic is
> > manipulated by the application etc.)
>
> > and now the essence..
> >
> > <wt:edit slot2="wattaslott" slotxyz="wattaslot"/>
> >
> > <wt:hangman slot2="wattaslott" slotxyz="wattaslot"/>
> >
> > <wt:moneymakingcontroll slot="aoeu"/>
>
> > this could be transformed into some c++ class/code before compilation, or
> > (less performant) loaded at runtime.
> >
> > Any ideas?
>
> I haven't heard of anyone trying to build something like this with Wt,
> but, it is obviously feasible.
>
> Perhaps an alternative and more attractive approach, which relies on
> JavaScript presence however, is the currently experimental feature in
> Wt (that is not officially documented) to use a Wt application in
> "WidgetSet" mode. In that case, the application only manages a set of
> widgets in a web page, instead of assuming the entire web page. The
> link from web page to application is by loading the Wt application as
> a JavaScript library:
>
> <html>
> <head>
> ...
> </head>
> <body>
> ...
> <div id="w1">
> ...
> <div id="w2">
> ...
>
> <!-- load widgets from a Wt application: -->
> <script src="http://wt-server/hello.wtjs?widget1=w1&widget2=w2";></script>
>
> </body>
> </html>
>
> (This is taken from an actual test case for this feature in Wt)
>
> Would that be an approach you could consider?
>
> Regards,
> koen
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to