HtmlFlow icon indicating copy to clipboard operation
HtmlFlow copied to clipboard

HtmlFlow Java DSL to write typesafe HTML

Results 33 HtmlFlow issues
Sort by recently updated
recently updated
newest added

- Creates a new type of Visitor to handle async types

The core `org.xmlet.htmlapifaster.ElementVisitor` implementation in `HtmlFlow` is the class `HtmlVisitorCache` (which in turn should drop the sufix `Cache`, because caching it is not its real purpose but only storing static...

Looking at https://htmlflow.org/features/ for partial template `static void template(DynamicHtml view, Pet pet) { view .form().attrMethod(EnumMethodType.POST) .div().attrClass("form-group has-feedback") .dynamic(div -> view.addPartial(InputField.view, InputField.LV.of("Date", "date", LocalDate.now()))) .__() //div .__() //form``` )` `DynamicHtml view`...

bug

I'm trying to migrate a use made using thymleaf to a view using html flow. In a table of user I discovered that we can't nest dynamic bloc. ```java .tbody()...

I am using HTML Flow in our project at Zinfinity, can you please tell me if we can use If Else block in HTML ?

To use this library one have to go check example and extrapolate the possible api. If this person uses an IDE with autocompletion, no problem, the api can be discovered,...

https://github.com/xmlet/HtmlFlow/blob/master/src/main/java/htmlflow/flowifier/Flowifier.java#L139

invalid

Use JavaPoet to enhance safety on flowifier code.

enhancement

It seems that even when I use the Dynamic View: ```java .dynamic(el -> el.text(model.title)) ``` The output is not safe for viewing? My example is that a user has entered...

It would be nice being able to tell whether serializing the quotes as single like in: ` ` since those are legal in html (To avoid hundreds of` "`)