Hey,

2011/6/18 H.S.Rai <[email protected]>:
> On Fri, Jun 17, 2011 at 12:40 PM, Dmitriy Igrishin <[email protected]> wrote:
>>
>>> You says that it is totaly c++ based. But why you are <h1,<h2>,<i>
>>> tag are used in WText.
>>
>> Because WText is intended for rendering (XHTML) text.
>
> The website gives the impression that Wt do abstraction of the
> technologies (HTML/XHTML, JavaScript, CSS, Ajax, WebSockets, Comet,
> Forms, DHTML, SVG/VML/Canvas, and one can develop an application by
> knowing C++ and Wt.
>
> We have Wt equivalent to many HTML; like:
>
> WAnchor - a;
> WBreak - br;
>
> So is there no WSection / WSectionSubSection or  WH1 / WH2 to have
> equivalent of <h1> and <h2>, in c++ style rather than embedding XHTML
> code.

Strictly speaking, I think you're right. What would perhaps a good
solution without unnecessary API clutter is to be able to specify the
HTML element used to render widgets such as WText or WContainerWidget.

My experience so far was that you would use these markups (<h1> and so
on) usually within a WText, and usually referenced from an XHTML
snippet stored in a resource file.

Regards,
koen

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to