Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes. Set by lizmat on 24 May 2021. |
|||
04:42
xinming left,
Altai-man left,
perlmaros left,
jnthnwrthngtn left
04:43
xinming joined,
Altai-man joined,
perlmaros joined,
jnthnwrthngtn joined
04:44
Xliff left
04:45
Xliff joined
04:46
AlexDaniel left
04:50
rba left,
rba joined
04:52
jjatria left,
jjatria_ joined
04:53
jjatria_ is now known as jjatria
05:16
AlexDaniel joined
11:36
sena_kun joined
15:01
TempIRCLogger left
15:02
TempIRCLogger joined
|
|||
Xliff | I'm having trouble getting the template-location function of Cro::WebApp::Template working. | 16:29 | |
How can I debug how this works? | 16:30 | ||
sena_kun | Xliff, can you please specify what kind of trouble do you have? | 16:32 | |
Xliff | I specify the template-location and the template command never finds them. | 16:33 | |
sena_kun | Xliff, 1)(it should not affect, but) where is your call to template-location? 2)what if you try absolute path to the directory? | 16:35 | |
Xliff | I'm callnig template-location in my routes sub. | 16:41 | |
Hm. OK.... now they work! LOL. | 16:44 | ||
sena_kun | yay | 16:45 | |
Xliff | sena_kun: Another thing... adding custom HTML for a field in the form. | 16:59 | |
I have a design I'm thinking of. I'm taking inspiration from the "will select" trait. | |||
Something like "will render-field-as" which accepts a callback that will return the markup to be used in that form. | 17:00 | ||
Callback then takes the current value of the field. | 17:01 | ||
Soemthing like that. | |||
:) | |||
sena_kun | Xliff, sorry, I did not work with forms (yet), so living a useless life here. :( | 17:11 | |
18:28
sena_kun left
|
|||
Xliff | sena_kun: Can you pass callables into a Cro::WebApp::Template? | 18:58 | |
JRaspass | I too would like to know that, or perhaps how to make new builtins like `<&HTML>` from raku side rather than templates | 22:16 | |
22:36
Xliff left
|