templating engines

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

Re: templating engines

Julian Fitzell-2
On Fri, Oct 16, 2009 at 4:27 PM, Sean Allen <[hidden email]> wrote:

>
>
> On Thu, Oct 15, 2009 at 12:54 PM, Julian Fitzell <[hidden email]> wrote:
>>
>> On Wed, Oct 14, 2009 at 2:24 PM, Sean Allen <[hidden email]>
>> wrote:
>> > actually i think that might be a nice fit for what i need.
>> > was it a sep package from seaside? is there someplace i can get get the
>> > code?
>>
>> Erm... I thought we had old versions of the code somewhere but I can't
>> seem to find them. I think I have an archive somewhere in a box...
>> I'll see if I can dig it out and post on seaside.st or something.
>>
> Any luck?

Erm, not yet, sorry... I'll try to remember to dig out the box tonight
when I get home.

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

Select and it's values

SebastianHC
In reply to this post by SeanTAllen
Hi all!

I just have some problems with the integration of a small javascript
library.

One part of the widget is an input select which produces an output like
this:

<option selected="selected" value="2">10</option>
<option value="3">20</option>
<option value="4">30</option>
<option value="5">40</option>

The java snipped uses value for additional calculations and therefor my
component doesn't behave properly.

What do I need to do to get an output like this?

<option selected="selected" value="10">10</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="40">40</option>

I'm using VAST80 that means Seaside 2.9 alpha xyz

I'm sure I just missed something little... :-(

Thanks in advance!
Cheers!
Sebastian


       
               
___________________________________________________________
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Select and it's values

Lukas Renggli
> One part of the widget is an input select which produces an output like
> this:
>
> <option selected="selected" value="2">10</option>
> <option value="3">20</option>
> <option value="4">30</option>
> <option value="5">40</option>
>
> The java snipped uses value for additional calculations and therefor my
> component doesn't behave properly.
>
> What do I need to do to get an output like this?

You can't, if you want to use the Seaside callbacks at the same time.
The value attribute of option tags, and the name attribute of input
fields are used by Seaside to establish the connection between the
request parameter and the  callback block. It is probably easier if
you tell the Javascript library to use something else than the value
attribute, such as an attribute in a custom namespace.

Cheers,
Lukas

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

Re: Select and it's values

SebastianHC
Hi Lukas,

Thank you for the prompt reply.

I'll have a look for this.

Thanks!
Sebastian

       
               
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: templating engines

Julian Fitzell-2
In reply to this post by Julian Fitzell-2
On Thu, Oct 15, 2009 at 9:54 AM, Julian Fitzell <[hidden email]> wrote:
> Erm... I thought we had old versions of the code somewhere but I can't
> seem to find them. I think I have an archive somewhere in a box...
> I'll see if I can dig it out and post on seaside.st or something.

Ok, I uploaded the 0.9.x release to the website along with the
tutorials and design document that were on the site at the time.

http://seaside.st/distributions/Seaside-0.9.x/

People might find it interesting as an archeological curiosity. :)

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