B4J Code Snippet Basic To Html


I just recently began building a web with B4J and everything was OK until i found that if i wanted to create 4 pages that were almost identical (for example: same header, menu, etc.) i would need to mantain 4 different html files, without the possibility to merge them gracefully enough to still have some differences in them.

So i created this small class called tag that let me create webpages programmatically or better said, .html files with some nice features.

To use it just declare it and add attributes, another tags, some inner text, and thats all!
Attached is a small project containing an example on how to use it.

Hope you like it.


  • Tag.zip
    2.5 KB · Views: 331