[Seaside] Re: Small example of components

Paul DeBruicker pdebruic at gmail.com
Wed Jul 20 15:45:34 UTC 2016


Hello Oswall,


If you have Seaside tests loaded in your image and a server running on port
8080 you can go to

http://127.0.0.1:8080/tests/functional

and see an example of what I think you're describing.  

In the browser the select at the top change the component under test, and
the region below the horizontal line is the component under test.  The test
cover most of Seaside's functionality so you can see how to implement a wide
variety of use cases.  At the bottom of the browser window you can click
'Halos' to see the which components are rendered and using the halo controls
see and edit the code doing the rendering.  


Back in the image the components that can be under test are all subclasses
of WAFunctionalTest and the control that renders and changes among the
various tests is WAAllFunctionalTests.  So you can see the Seaside code in
the image if you prefer.  


Hope this helps


Paul







oswall wrote
> Small example of components. I respectfully ask if they have a small
> example to seaside.I have a form with an embedded component. The value
> (instance) of this embedded component, the user can select it using anchor
> and callback.The callback calls a list, the user chooses the new instance
> and returns to the form.In the book "Dynamic Web Development with Seaside"
> We have a list called a form and edit it by example and return to the
> list.Regards,Oswall
> _______________________________________________
> seaside mailing list

> seaside at .squeakfoundation

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
View this message in context: http://forum.world.st/Small-example-of-components-tp4907248p4907265.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list