Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

[TODO] Make elements use the html term printer

#16

When we render the elements, we currently do something like

wf:f("<a id='~s' href='~s' class='~s'>~s</a>", ...)

The attached patch adds a wf_tags lib that lets you express this much more cleanly, like so:

wf_tags:emit_tag(a, Contents, [ {id, ControlID}, {href, HREF}, {class, Class} ]).

Reported by Rusty Klophaus · December 29th, 2008 @ 04:34 PM

State: resolved
Milestone: none
Assigned to: Rusty Klophaus Rusty Klophaus

Activity

  1. Rusty Klophaus
    Rusty Klophaus
    • Assigned user set to Rusty Klophaus

    January 3rd, 2009 @ 04:27 PM

  2. Rusty Klophaus
    Rusty Klophaus
    • State changed from new to open

    January 3rd, 2009 @ 11:19 PM

  3. Rusty Klophaus
    Rusty Klophaus
    • State changed from open to resolved

    (from [0984daed4d82d1b37ea7957022808172196fc97a]) Patches: Use new html term printer from Tom McNulty [#16 [TODO] Make elements use the html term printer state:resolved], Make templates able to fallthrough to the first defined callback from Tom McNulty [#18 [TODO] Add default option to template state:resolved], Optimize wf_utils:get_*base/1 functions from Martin Scholl [#19 Micro optimization of wf_utils:get_*base/1 state:resolved] http://github.com/rklophaus/nitr...

    January 3rd, 2009 @ 11:28 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.