logo
Tags down

shadow

Smalltalk Seaside - How do I change the size of a button?


By : Savvas Tjortjoglou
Date : October 18 2020, 06:10 PM
I wish did fix the issue. I don't know which style sheet you are using, but assuming is one of the kind of Bootstrap or Material Design Lite try adding this to your root component on the instance side:
code :
updateRoot: anHtmlRoot

    super updateRoot: anHtmlRoot.
    anHtmlRoot meta
        name: 'viewport';
        content: 'width=device-width, initial-scale=1.0'
<meta name="viewport" content="width=device-width, initial-scale=1.0">


Share : facebook icon twitter icon

Version control for Smalltalk / Seaside?


By : Radha
Date : March 29 2020, 07:55 AM
it helps some times Setup for Pharo (and Gemstone)
Each developer works in his own image. Every change to a method he makes is saved locally in the changes file. This allows recovering when crashing the image. Commits are made by creating a monticello file, having a package name, sequence number and the name of the developer. It knows its ancestry. This file is saved to a WebDAV server. Here it is picked up by a Jenkins task. This runs the unit and integration tests and creates new images, so developers can start with a fresh image (at least) every day. Here are some details on merging using monticello. The product composition (package structure) is another monticello file containing a metacello description. This also allows one to develop on Pharo and deploy on Gemstone. Once in a while you need to add class migrations.

Data persistence in Smalltalk / Seaside


By : user3837825
Date : March 29 2020, 07:55 AM
Any of those help Justin,
don't worry, Smalltalk is not so different form other languages in this area, it just adds the Image based persistence option.

Smalltalk - Seaside Reporting


By : heinzy Windzio
Date : March 29 2020, 07:55 AM
this will help
WAReportColumn understands #sortBlock:. This block is initialized to [ :a :b | a <= b ] where a and b would be some glPosting objects I assume. If this sort behavior doesn't suit you, simply pass a different sort block to the column.
code :
...
add: (columnToSortBy := (WAReportColumn
    renderBlock: [ :each :html | html emphasis: (GeneralLedger getTransactionByID: each) mAmount ]
    title: 'Amount';
    yourself));
...
rowColors: #(lightblue lightyellow);
rowPeriod: 1;
sortColumn: columnToSortBy;
yourself. 

uniqueInstance on Seaside Smalltalk


By : Arpit Bajpai
Date : March 29 2020, 07:55 AM
Does that help Based on a (Pharo) mailing list discussion regarding singletons I wrote about some variations some time ago https://www.peteruhnak.com/blog/2015/12/06/singleton-variations/ .
But the gist of the singleton is:
code :
Users class>>uniqueInstance
    ^ uniqueInstance ifNil: [ uniqueInstance := super new ]

Users class>>new
    self error: 'Users is a singleton -- send uniqueInstance instead'

Users>>initialize
    users:= OrderedCollection new
MessageBrowser browse: (#uniqueInstance implementors select: #isMetaSide).
MessageBrowser browse: (#default implementors select: #isMetaSide).
MessageBrowser browse: (#current implementors select: #isMetaSide).

REST service in seaside Smalltalk


By : Sai Ram Gupta
Date : March 29 2020, 07:55 AM
I wish this helpful for you I have the following class in Pharo , Replace your last line with:
Related Posts Related Posts :
  • How can i change the width and the height size of the div class "col-sm-9"?
  • css typewriter effect, shows all text then starts the effect
  • How to put a div and nested divs with min height of all body
  • How to ease out a loading screen in Angular?
  • How do I scale specific points while leaving other points alone?
  • Is there a need to install CSS3 plug-ins?
  • I want to style inputs inside a div with html
  • Vue-select drop-down not working properly
  • How to use the euro symbol in PL/SQL code?
  • HTML table with millions of cells ignores cell's fixed dimensions
  • Alternately coloring the virtual rows created by CSS flex
  • Checkbox change event receiving undefined value
  • Layout breaking when title of post breaks to next line or stacks
  • How to rotate an image in all the direction using css
  • Cannot open link in a new tab inside iframe
  • Hyperlinks do not work on left mouse click
  • Bootstrap - NavBar is not collapsing well first element
  • Which input type is this?
  • Steam a live Video using HTML
  • How to style the last Angular component on the page?
  • How to scale an image to its original size by CSS?
  • Can i write typescript with in <Script> tag?
  • Validation of input type number in Angular 6
  • How to prevent VS Code from breaking up long HTML lines into multiple lines?
  • How to adjust the width of react flexbox grid items to allow space between them?
  • How can I add 2 separate backgrounds in html?
  • WCAG 2.0 redundant links
  • determining width of container based on how many flex items
  • I want to put footer at the bottom of the page
  • Have footer be pushed to the bottom without hovering over info
  • Why does viewbox attribute affect the size of the SVG element?
  • Is there a way to implement proper links using `<a href="/">` with github pages?
  • Changing CSS with the checkbox check
  • Insert React variable as attribute in html tag
  • How to give opacity to parent div in such a way that it does not effect child div?
  • Making 2 lists Side-by-Side
  • Convert XML to HTML Table in XSLT
  • Why am I getting error in *ngIf of angular reactive form
  • How can I make my site open Instagram in-app?
  • How to select h4 heading
  • Aligning flex items vertically
  • How to create images with border radius?
  • html: max function in font-size doesn't work
  • How to make an element sticky?
  • Vertically align html-entity characters in monospace font?
  • Fitting a 'widescreen' image into a square div
  • How to create background with triangle shapes?
  • How can I spread out my flex items to more than the width of a container?
  • Unable to put anchor tag inside HTML code tag
  • Center fit images of any size to parent div
  • Why doesn't my CSS border appear on a span around a button?
  • How to implement light color change of a traffic light with pure css?
  • Make CSS max-width larger than parent
  • How to apply `display:none;` to everything except an `<td class="cc">text</td>`?
  • dateClick not emitted in fullcalendar angular
  • What is the difference between HTML and XHTML?
  • How can check if a button was clicked a second time?
  • Making a scrollable div that encompasses the entire height of the PDF
  • align-self: flex-end breaks on mobile zoom
  • HTML5 video stops when CSS animation plays
  • shadow
    Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk