Interesting WALabel construct

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
tty
Reply | Threaded
Open this post in threaded view
|

Interesting WALabel construct

tty
Hi all.

I ran across this:


<label>Input Label <input type="text" placeholder=".medium-6.cell"> </label>
 

here: https://foundation.zurb.com/sites/docs/forms.html#text-inputs


I am trying to figure out how to code that using the WALabelTag  but I don't see how.

I can create my own subclass, but I thought I would ask here


thx


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Interesting WALabel construct

Sven Van Caekenberghe-2
WAHtmlCanvas builder render: [ :html |
        html label: [
                html text: 'Input Label'.
                html textInput placeholder: '.medium-6.cell' ] ]

?

> On 24 Mar 2018, at 12:42, gettimothy <[hidden email]> wrote:
>
> Hi all.
>
> I ran across this:
>
>
>          <label>Input Label           <input type="text" placeholder=".medium-6.cell">         </label>  
>  
>
> here: https://foundation.zurb.com/sites/docs/forms.html#text-inputs
>
>
> I am trying to figure out how to code that using the WALabelTag  but I don't see how.
>
> I can create my own subclass, but I thought I would ask here
>
>
> thx
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
tty
Reply | Threaded
Open this post in threaded view
|

Re: Interesting WALabel construct

tty
In reply to this post by tty
Figured it out: Just put some text in the with block:


html label
      with:[html html:'Input Label'.
      html textInput
      placeholder:'.medium-6.cell'].


---- On Sat, 24 Mar 2018 07:42:32 -0400 gettimothy<[hidden email]> wrote ----
Hi all.

I ran across this:


<label>Input Label <input type="text" placeholder=".medium-6.cell"> </label>
 

here: https://foundation.zurb.com/sites/docs/forms.html#text-inputs


I am trying to figure out how to code that using the WALabelTag  but I don't see how.

I can create my own subclass, but I thought I would ask here


thx

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
tty
Reply | Threaded
Open this post in threaded view
|

Re: Interesting WALabel construct

tty
In reply to this post by Sven Van Caekenberghe-2
Thanks.

---- On Sat, 24 Mar 2018 08:20:17 -0400 Sven Van Caekenberghe<[hidden email]> wrote ----
WAHtmlCanvas builder render: [ :html |
    html label: [
        html text: 'Input Label'.
        html textInput placeholder: '.medium-6.cell' ] ]

?

> On 24 Mar 2018, at 12:42, gettimothy <[hidden email]> wrote:
>
> Hi all.
>
> I ran across this:
>
>
> <label>Input Label <input type="text" placeholder=".medium-6.cell"> </label>
>
>
> here: https://foundation.zurb.com/sites/docs/forms.html#text-inputs
>
>
> I am trying to figure out how to code that using the WALabelTag but I don't see how.
>
> I can create my own subclass, but I thought I would ask here
>
>
> thx
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Interesting WALabel construct

Esteban A. Maringolo
In reply to this post by tty
Using the #text: is the proper way to render plain text there.

html label
      with:[
         html text:'Input Label'.
         html textInput placeholder:'.medium-6.cell'].
Esteban A. Maringolo


2018-03-24 9:50 GMT-03:00 gettimothy <[hidden email]>:

> Figured it out: Just put some text in the with block:
>
>
> html label
>       with:[html html:'Input Label'.
>       html textInput
>       placeholder:'.medium-6.cell'].
>
>
>
> ---- On Sat, 24 Mar 2018 07:42:32 -0400 gettimothy<[hidden email]>
> wrote ----
>
> Hi all.
>
> I ran across this:
>
>
> <label>Input Label <input type="text" placeholder=".medium-6.cell"> </label>
>
>
>
> here: https://foundation.zurb.com/sites/docs/forms.html#text-inputs
>
>
> I am trying to figure out how to code that using the WALabelTag  but I don't
> see how.
>
> I can create my own subclass, but I thought I would ask here
>
>
> thx
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
tty
Reply | Threaded
Open this post in threaded view
|

Re: Interesting WALabel construct

tty
thx

---- On Sat, 24 Mar 2018 09:34:25 -0400 Esteban A. Maringolo <[hidden email]> wrote ----
Using the #text: is the proper way to render plain text there.

html label
with:[
html text:'Input Label'.
html textInput placeholder:'.medium-6.cell'].
Esteban A. Maringolo


2018-03-24 9:50 GMT-03:00 gettimothy <[hidden email]>:

> Figured it out: Just put some text in the with block:
>
>
> html label
> with:[html html:'Input Label'.
> html textInput
> placeholder:'.medium-6.cell'].
>
>
>
> ---- On Sat, 24 Mar 2018 07:42:32 -0400 gettimothy<[hidden email]>
> wrote ----
>
> Hi all.
>
> I ran across this:
>
>
> <label>Input Label <input type="text" placeholder=".medium-6.cell"> </label>
>
>
>
> here: https://foundation.zurb.com/sites/docs/forms.html#text-inputs
>
>
> I am trying to figure out how to code that using the WALabelTag but I don't
> see how.
>
> I can create my own subclass, but I thought I would ask here
>
>
> thx
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside