Questions tagged [seaside]
Seaside is a free and open source web application framework for developing sophisticated web applications in Smalltalk.
181
questions
1
vote
1
answer
27
views
Styling seaside confirm dialog
Seaside has a convenient message WAComponent>>confirm: that creates a dialog with yes/no buttons, however there is no CSS styling on this component. Is it possible to add styling to this ...
2
votes
1
answer
48
views
How to log stack traces from seaside in deployed application
When developing in seaside the stack traces are printed into the browser. When deploying the application I don't want users to see this information but I would like a log of any stack traces on the ...
2
votes
1
answer
52
views
Can a child component use updateRoot: to add javascript
I'm using seaside 3.4.8 and a component seaside-plotlyjs to make a javascript plot. This component uses the updateRoot: selector to add in a link to the plotly javascript bundle. Everything is fine ...
0
votes
0
answers
319
views
AWS EC2 running a server on 8080 but cannot connect from outside
Here is a shot of my inbound rules
I should be able to connect using the domain that is up and running so I can get the index page at http://www.marblecake.net but I can't get my server at http://www....
4
votes
1
answer
79
views
Seaside redirect for render not working on physical iOS devices
We're having a problem with physical iOS devices (works fine on Chrome virtual device) where a final Seaside redirect is not happening after an Azure SSO redirect.
I'd like to understand what triggers ...
3
votes
3
answers
87
views
Smalltalk Seaside display in threes without using tables
I have built a web site for my local plastic model club which involves showing multiple images on a page. I like to show them 3 abreast. Up to now, I have done this using a nested series of table ...
3
votes
3
answers
137
views
Multi-web server ajax callback with refresh on Enter
Question about how to send a jQuery callback with an onSuccess: refresh from a textInput when the user presses [Enter]. We use the [Enter] press to trigger a search callback.
Our GS Seaside app uses ...
1
vote
2
answers
106
views
Seaside & jQuery UI: Sortable list not working?
Beginner here.
I'm currently trying to learn Seaside, and how to integrate jQuery with it. I've been trying to implement some of the examples provided in the Seaside jQuery UI Functional Test Suite ...
4
votes
1
answer
76
views
Seaside hooks before and after rendering
I wanted to see if there is a hook in Seaside that is called before rendering, and one after rendering. It happens to me that I want to show a notification on the screen, and I would like that once ...
2
votes
3
answers
117
views
Get parent component in Seaside
I wanted to see if there is any possibility in Seaside that a child component gets the reference to the parent component, without using the session or parameter passage. That is, the child component ...
3
votes
1
answer
85
views
Making a hyperlink in Seaside with an image as the clickable item
I am building a website using Instantiation VisualAge Smalltalk Seaside. I know about the following.
renderContentOn: html
html anchor
url: 'http://www.seaside.st';
with: 'Visit the ...
1
vote
1
answer
67
views
Problem Uploading CSS File to Seaside FileLibrary
I am a beginner to Seaside and am currently working through the Dynamic Web Development with Seaside book/tutorial.
I'm currently at chapter 17.4, where I need to upload a .png and a .css file to a ...
1
vote
2
answers
134
views
Pharo Seaside - How to update a Database entry after editing a tag in html
I am a begginner in Seaside.
I have a table (like a spreadsheet) made using html in Pharo 4.0 Seaside, that takes data from a PostgreSQL DB using the Garage driver for Seaside.
I put ...
1
vote
1
answer
95
views
Smalltalk Seaside - How do I change the size of a button?
I am writing a Smalltalk Seaside app where the resulting HTML pages will be viewed on a laptop/an iPad and/or an iPhone. The size of a standard submit or cancel button is fine on the laptop but way to ...
2
votes
1
answer
134
views
Cant seem to fully understand how textInput works on a super simple website
So basically all I need to do is add a 'User' object to a OrderedCollection.
All I need to grab from the user is the username and password.
Once the submit button is clicked, I would need to add the ...
2
votes
1
answer
116
views
How do I get a table to display images
I am building a table in Seaside (Using VisualAge Smalltalk). I would like to have each table row have an image as well as text data. This what the method looks like:
where PSIni getImageUrl returns ...
4
votes
1
answer
170
views
Boostrap for Seaside (on Pharo): incorrect JQuery version
When developing a web app on Pharo 7.0 using Seaside and Bootstrap for Seaside, the resulting web page is not responding to mouse clicks.
I'm using Pharo 7.0 32bit on Windows, Seaside and Bootstrap ...
1
vote
1
answer
76
views
Is there a limit to the number of nested #call:'s in Seaside?
I'm developing a Seaside Application and I suspect I've reached a point in which I can no longer #call: another component.
It's not an issue of my WAComponents, since I tried other messages that end ...
5
votes
1
answer
322
views
How do you add dependency to a Pharo image?
After building an application using Seaside I managed to push my Pharo image code to GitHub using iceberg. I was able to clone it into a new Pharo image on a new machine. However, loading the package ...
4
votes
1
answer
180
views
Is there a specific way to get the Ip of a computer in Pharo smalltalk?
I am trying to run an application Pharo that requires data from the Ip of the host computer in which it's running. In general I have to open the code to set it manually in my Pharo code then launch ...
2
votes
1
answer
108
views
Replace an image with Ajax on seaside
I have been working on Seaside 3.1 for a couple of days and I'm trying to design a simple TicTacToe with Ajax.
It works great without ajax with this code:
renderContentOn: html
html heading: '...
4
votes
1
answer
655
views
How do we deploy a Pharo seaside web application?
I know there is a good explanation in the book Entreprise Pharo for deployment production over a Linux server. I followed the tutorial and was able to deploy the same project. However the project ...
2
votes
1
answer
113
views
Video capture in seaside smalltalk
I'm developing a smalltalk application with the pharo seaside framework where I need to access the camera to capture images and video
How can i start a video capture in this framework?
I'll be ...
1
vote
2
answers
115
views
Squeak 5.1 and Seaside Control Panel
I am getting a DNU error when clicking the 'browse' button on the Seaside Control Panel.
To reproduce:
Top menu->Apps->Seaside Control Panel -> Browse -> throws a Dictionary DNU #collectWithIndex:
...
0
votes
0
answers
38
views
walkback - seaside decorator isNil at startup
I'm working my way to become more familiar with seaside on dolphin. I have successfully completed the todo app. Now I have started my own app using the todo app as a guide.
I am getting walkback (see ...
3
votes
2
answers
160
views
Pragmas seem to work differently than I expect in Seaside
Fairly new to Pharo/Seaside and it has been a long time since I used Smalltalk. I am trying to make a RESTful service and can not get it to work using the pragmas the way I think it should. Ie here is ...
2
votes
1
answer
328
views
Debugging in Pharo 5 headless mode
I'm running pharo 5 (seaside) in headless mode, with RFB:
./pharo -vm-display-null -vm-sound-null /app/pharo5/Pharo5.0.image --no-quit
Locally works well (Ubuntu 14 with XFCE).
In DigitalOcean (...
2
votes
1
answer
213
views
Catching the session expiry in pharo seaside 3.2
How to catching the session expiry notification in Pharo Seaside 3.2?
I need remove the user from de active user list when the session expiring.
1
vote
1
answer
145
views
Working configuration for Seaside Rest with current Pharo Build (5.0
I am desperately trying to install Seaside Rest in Pharo 5. Is it recommended, or should I go back to Pharo 4?
What I have done so far:
There is a Configuration called SeasideRest -> does not work / ...
1
vote
1
answer
60
views
Executing Script after serializeFileUpload
I don't know if it is possible, but I like to show a picture after uploading it into the Library.
As soon as I want to cascade the serializeFileUpload I get an error and the method comment also states ...
-5
votes
1
answer
82
views
Does smalltalk and it's rails-like framework have something similar to auto loading?
By autoloading I mean the way rails loads classes as described in
http://guides.rubyonrails.org/autoloading_and_reloading_constants.html
1
vote
0
answers
51
views
Rendering components in Seaside: Improve upon a metaphor for the flow from WARenderer >> render: to WAComponent >> renderContentOn:
I need help understanding the flow from WARenderer >> render: to WAComponent >> renderContentOn: when a renderer is sent the #render: message with a component as argument in Seaside (the ...
0
votes
0
answers
101
views
Seaside show: and onAnswer: and why is everything wrapped in one extra WAAnswerHandler compared to the equivalent call:?
I have trouble understanding why these two pieces of code behave differently. ClientView has [ self answer: true ] or [ self answer: false ] if the user clicks 'Save' or 'Back' buttons respectively.
...
2
votes
1
answer
100
views
Message order cascading on " html anchor callback: [ 1 + 1 ]; with: 'Click me' " matters?
In Seaside it seems these two return different results.
First one works and produces a vaild link, the second one doesn't, why does it matter which you send first?
html anchor callback: [ 1 + 1 ]; ...
1
vote
1
answer
174
views
Smalltalk seaside #call: rendering a blank page
So I have a seaside application. The first component just render a subcomponent:
MCRootComponent>>initialize
super initialize.
self main: MCMainComponent new.
MCRootComponent>>...
1
vote
2
answers
121
views
uniqueInstance on Seaside Smalltalk
I'm trying to implement the Singleton pattern on Seaside.
Here is my code:
uniqueInstance
uniqueInstance ifNil: [ uniqueInstance := self createInstance].
^ ...
4
votes
1
answer
185
views
How to configure Seaside 3.2 session timeouts (age)
when starting my image with Seaside app, I have this code in startup method:
WAMySeasideApp>>startUp: resuming
WAMySeasideApp waApplication
preferenceAt: #...
1
vote
2
answers
131
views
Why is the callback not being executed?
I'm writing a basic web application (begin with seaside) but the callback never runs...any ideas?
renderContentOn: html
| group |
html form: [
html text: 'Gender: '.
group := html ...
2
votes
2
answers
85
views
Seaside: CannotDeleteFileException: Could not delete the old version of fuel file
In pharo seaside application on home button click all the data will get saved in a fuel file with some class name as Test.fl. If I call the same home page at a time in two instances, both are calling ...
0
votes
1
answer
114
views
Drag & Drop using Dropzone and Seaside
I'm struggling a little with the dropzone implementation for dragging/dropping files. I am developing on a Smalltalk platform with Seaside on the front end. Currently, I am able to upload a file but ...
2
votes
1
answer
247
views
How do I load Magritte3 and Seaside 3.0 in Pharo 4.0?
If you click on the desktop in Pharo 4.0 -> Tools -> Configuration Browser and search for "seaside" you get Seaside 3 and MagritteSeaside both of which install the latest version of everything.
How ...
1
vote
1
answer
122
views
Loading Seaside 30 in Pharo 3 results in a MetacelloProjectSpecLoadError about ConfigurationOfOmniBrowser?
No version found for #stable of ConfigurationOfOmniBrowser?
Just downloaded Pharo 3 from here: http://files.pharo.org/platform/Pharo3.0-portable.zip
Opened an workspace and did this:
Gofer new
...
1
vote
3
answers
268
views
Where can I find a Pharo+Seaside3+Magritte image for experimenting with the "An Introduction to Seaside" book?
Where can I find a Pharo image to run the code from this book:
http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
Scoured the mailing lists for a Pharo alternative and they were supposed to be http://...
0
votes
1
answer
27
views
What image can I use to experiment with Comet and WAListenerAdaptor in Seaside?
How can I give this example a go. I can't seem to find an image to experiment with, that still includes WAListenerAdaptor .
Any links?
1
vote
2
answers
165
views
Using lightbox: in Seaside's WAComponent appears in Halos but the browser doesn't show it?
Just wanted to show the editor in a lightbox in the Ajax chapter here
StLoggedInComponent>>initializeMenuComponent
self
menuComponent:
(StMenuComponent new
...
2
votes
1
answer
50
views
Web page times out when using Image based persistence and saving with Seaside?
I'm using the code here to save the image when creating a new user (Persistence chapter)
saveImageWithoutMonitor
SmalltalkImage current saveSession.
writeMutex
^ WriteMutex ifNil: [WriteMutex := ...
5
votes
1
answer
570
views
Timer callback in Pharo smalltalk + Seaside
I've just ported my Dolphin Smalltalk + Seaside application to the latest Pharo Smalltalk 4.0 and Seaside 3.1. In it, I need a callback every second from the (browser) client to the (Pharo) server to ...
2
votes
2
answers
464
views
How to make Bootstrap for Seaside responsive on mobile devices?
I am using the latest stable release of Bootstrap for Seaside, on Pharo Smalltalk.
I thought bootstrap apps would behave well, out of the box, on mobile devices.
However, neither my simple ...
3
votes
1
answer
125
views
Seaside: Ajax callback, then append server-rendered element?
My goal is to create a menu item (a span) which, when clicked, does
three things. First, it sets some state on the server (addTurn), then
it creates a new element (renderEmptyTurnOn) on the server and ...
0
votes
3
answers
364
views
How to load Magritte Seaside?
I've loaded Magritte and Seaside from the configuration browser into Pharo 4, but I don't see that the package Magritte-Seaside was loaded.
How do I load this package?