News for hackers. Stuff that matters.
Re:XMLUI by Neywiny on Sunday July 20, 2025 @01:21PM (#44627254)
Almost immediately is the reason I don't like using this stuff. A hardcoded default value. There are so many things these UI generators can almost do but don't, and a default value for a dynamic selection is often one of the trickier ones to get right.
Re:XMLUI by judell on Monday July 21, 2025 @11:34AM (#44636420)
Here's the How To for that: https://docs.xmlui.org/howto#set-the-initial-value-of-a-sele...

Our hope is that by building up a set of these patterns, and making them available to agents via MCP, it will be as easy as possible to get things right.

Re:XMLUI by Neywiny on Friday July 25, 2025 @09:51PM (#44690606)
No offense, but you failed here. What if nothing gets returned? Now you're basically just writing code. Debatably even that example you're just writing code. An onLoad callback with array indexing and child access? This is just JavaScript wrapped in XML.