First off, I come from dreamweaver and I am very used to that kind of coding.
When I had set up a record set I could use those elements in the page to my liking.
Here in Wappler it’s a bit different I think…
I cannot find any code that represents the content of a recordset field.
There are generated tables. But the cel doesn’t have the field code in it. It is bound to the cell parameters.
When I place a paragraph and double click the text I see a binding button.
But when I place an image and want to set the source to a recordset field, I cannot find a data binding button.
So what is the wappler way of doing these things?
I guess I miss the freedom to use the fields data in the code editor and don’t understand where to find all the bindings to the fields of the server connect results.
If you want to set a dynamic src attribute just use the dynamic attributes. Select your image > add new dynamic attribute > images > image source and select the binding there using the data picker.
Same is valid for any kind of attributes for any element on the page - href, name, alt, title etc.
I am not sure what you are asking in the rest of the post but maybe this will make some sense.
<td dmx-text="cost_reason"></td>
Is the same as
<td>{{cost_reason}}</td>
The table generator uses the first method for some reason. Quite often I have to change it in the code to be like the second option. Especially if I need to add a FA icon or make it a link.
Any server connect components/forms that you add to their page are called via javascript in the browser. You can do some PHP on-page but you would need to pre-fetch. This might be useful:
If you are in the early days of your project, I'd suggest seriously considering using the NodeJS server model. As well as having server-side bindings, you can access other functions like utilising sockets for real-time data