Sabine Knöfel | 15 May 2013 11:22
Picon

JQGrid browser window resize -> grid resize

Hi,

I use JQGrid. 
I want the grid's width to be resized when the user changes the browser
window's size.

I have to call this
jQuery("#targetGrid").setGridWidth(width);
(http://www.trirand.com/jqgridwiki/doku.php?id=wiki:options&s[]=setgridwidth)

I dont know how to implement this.

Can anyone help?

Greetings 
Sabine

--
View this message in context: http://forum.world.st/JQGrid-browser-window-resize-grid-resize-tp4687703.html
Sent from the Seaside General mailing list archive at Nabble.com.
Michael Perscheid | 15 May 2013 10:23

[ANN] SWA Seaside Tutorial - two new chapters about testing and web feeds

Hi all,

once again, we updated the Seaside tutorial by the Software Architecture Group. 
In this version, we added two new chapters covering the topics of testing and Web feeds. 

Please have a look at: http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial

I'd like to thank our students (Patrick Rein, Robin Schreiber, and Eric Seckler) 
for preparing the new content.

Best regards,
Michael

P.S. The old link (http://www.swa.hpi.uni-potsdam.de/seaside/tutorial) is temporarily 
broken due to an internal error. We are working on a solution.

---
Michael Perscheid
michaelperscheid <at> googlemail.com

http://www.michaelperscheid.de/
Norbert Hartl | 10 May 2013 12:46
Gravatar

Seaside wit pharo 2.0

What is the current status of it? I switched a project to pharo 2.0 and now I'm facing some troubles when
loading 'Zinc Seaside' or Seaside Base from my own configuration. The error is thrown from metacello telling

Error: Name not found: Seaside-Tests-Pharo-Core

I'm not a metacello pro but diving into the stack I could see that a package map contained only
Seaside-Tests-Pharo20-Core but not Seaside-Tests-Pharo-Core. 

Any ideas?

Norbert
muraiki | 26 Apr 2013 17:25
Gravatar

Trouble setting up Seaside daemon

Hi all, I'm having some trouble setting up a Seaside daemon on a Linode
Ubuntu 12.04 host. I've run into two separate problems:

First, and I might just be doing something completely wrong here, but if I
try to run squeak with multiple command line arguments it fails. For
instance:

squeak -vm-display-null -vm-sound-null Seaside.image
found gettext in path
/home/(username)/st/Seaside.app/Contents/Resources
Could not open the Squeak image file `-vm-display-null'.

If I run "squeak -vm-display-null Seaside.image", though, it launches ok.

The other problem that I have is that when I try to use the supplied script
from the Seaside book, I get an error message. The script is on this page:
http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm

sudo ./run.sh
found gettext in path
/srv/goldengate
chmod: changing permissions of `/home/(username)/.npsqueak/secure':
Operation not permitted

It seems like the problem lies with setuidgid, so this might not be the
right place to ask this question. I even tried running the command as root,
but I get the following error: "mkdir: cannot create directory `/root':
Permission denied" and I have no idea why a /root directory is trying to be
created.

(Continue reading)

recursive68 | 24 Apr 2013 21:55
Picon

Pharo 2.0 and Seaside 3.1

Hi,

I'm trying to install Seaside 3.1 on Pharo 2.0 and I'm getting this error:

SmallInteger(Object)>>doesNotUnderstand: #ifFail:
MCSqueaksourceRepository(MCHttpRepository)>>readStreamForFileNamed:do: in Block: [(client := self httpClient)...
MCSqueaksourceRepository(MCHttpRepository)>>displayProgress:during: in Block: [workBlock value]
BlockClosure>>on:do:
MCSqueaksourceRepository(MCHttpRepository)>>displayProgress:during: in Block: [:bar | [workBlock value]...
BlockClosure>>cull:
Job>>run in Block: [result := block cull: self]
BlockClosure>>on:do:
Job>>run in Block: [self prepareForRunning....
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
MCSqueaksourceRepository(MCHttpRepository)>>displayProgress:during:
MCSqueaksourceRepository(MCHttpRepository)>>readStreamForFileNamed:do:
MCSqueaksourceRepository(MCFileBasedRepository)>>versionReaderForFileNamed:do:
MCSqueaksourceRepository(MCHttpRepository)>>versionReaderForFileNamed: in Block: [self resizeCache: readerCache....
Dictionary>>at:ifAbsent:
MCSqueaksourceRepository(MCHttpRepository)>>versionReaderForFileNamed:
MCSqueaksourceRepository(MCHttpRepository)>>versionReaderForFileNamed:do:
MCSqueaksourceRepository(MCFileBasedRepository)>>loadVersionFromFileNamed:
MCSqueaksourceRepository(MCFileBasedRepository)>>goferVersionFrom:
GoferResolvedReference>>version
GoferLoad>>addResolved:
GoferLoad>>initializeOn: in Block: [:each | self addResolved: each]
Array(Collection)>>do:displayingProgress:every: in Block: [:each | ...
Array(SequenceableCollection)>>do:
Array(Collection)>>do:displayingProgress:every: in Block: [:bar | ...
BlockClosure>>cull:
Job>>run in Block: [result := block cull: self]
BlockClosure>>on:do:


I'm using the script from here to install it:


Any ideas ?

Thanks
 
_______________________________________________
seaside mailing list
seaside <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
stephane ducasse | 24 Apr 2013 15:00
Picon
Favicon

ESUG 2013 Call for presentation

21st International Smalltalk Joint Conference - Call for Contributions

  Annecy, France
  	from 9 to 13 September 2013
  	http://www.esug.org/conferences/2013/

  This call includes:
  Developer Forum
  Smalltalk Technology Award
  International Workshop
	   http://www.esug.org/Conferences/2013/InternationalWorkshop
  Student Volunteer
	   http://www.esug.org/Conferences/2013/Student+Volunteers
  Camp Smalltalk 8 September 2013

  ----------------------------------------------------------------------
  For the past 21 years, the European Smalltalk User Group (ESUG) has
  organised the International Smalltalk Conference, a lively forum on
  cutting edge software technologies that attract people from both
  academia and industry for a whole week. The attendees are both
  engineers using Smalltalk in business and students and teachers
  using Smalltalk both for research and didactic purposes.

  As every year, this year's edition of the largest European Smalltalk
  event will include the regular Smalltalk developers conference with
  renowned invited speakers, a Smalltalk camp that proves fruitful for
  interactions and discussions. This year will be held the
  9th edition of the Innovation Technology Awards where prizes will be
  awarded to authors of best pieces of Smalltalk-related projects
  and an international workshop on Smalltalk and dynamic languages
  (http://www.esug.org/Conferences/2013/InternationalWorkshop)

  You can support the ESUG conference in many different ways:

  * Sponsor the conference. New sponsoring packages are described at
 	 http://www.esug.org/supportesug/becomeasponsor/
  * Submit a talk, a software or a paper to one of the events. See below.
  * Attend the conference. We'd like to beat the previous record of
 	 attendance (170 people at Amsterdam 2008)!
  * Students can get free registration and hosting if they enrol
  	into the the Student Volunteers program. See below.

  Developers Forum: International Smalltalk Developers Conference
  ------------------------------------------------------------------------

  We are looking for YOUR experience on using Smalltalk. You will have
  30 min for presentations and 45 min for hand-ons tutorial.

  The list of topics for the normal talks and tutorials includes, but
  is not limited to the following:

  * XP practices,  Development tools,  Experience reports
  * Model driven development,  Web development, Team management
  * Meta-Modeling,  Security,  New libraries & frameworks
  * Educational material,  Embedded systems and robotics
  * SOA and Web services,  Interaction with other programming languages

	   Teaching Pearls
	   ---------------
	   New this year!!!
		We want two news types of sessions in addition to default talk and 
		show us your projects sessions.

		- Show your business 10 min session (Get prepared!!)
		- Teaching pearls : we want some session on how to teach some design
	  	 aspects. We want your tip and tricks to teach Smalltalk or OOP.

		We expect to have several 10 to 15 min sessions aggregated.

	   Open Forum: starting with Smalltalk
	   ------------------------------------------------------------------------
	   New this year!!
	   The event will be held at IAE Savoie Mont-Blanc - University of Savoie. 
	   This is an opportunity for students and local professionals to discover Smalltalk. 
	   A room will be freely accessible and we would like to propose some talks and workshop 
	   for Smalltalk beginners.

		The list of topics includes, but is not limited to the following:
			- Why Smalltalk ?
			- Panorama of Smalltalk solutions
			- Getting started with Smalltalk
			- Success stories

  How to submit?
  --------------

  Submissions due on 15st June 2013
  Notification of acceptance will be on done on the fly.
  More information at http://www.esug.org/conferences/2013

  Pay attention: the places are limited so do not wait till the last
  minute to apply. Prospective presenters should submit a request to
  Stephane.Ducasse <at> inria.fr> AND USE THE following header [ESUG 2013 Developers].

  Please follow the template below the email will be automatically processed!

  Subject: [ESUG 2013 Developers] + your name
  First Name:
  Last Name:
  Email where you can always be reached:
  Title:
  Type: Tutorial/Talk/Teaching Pearl/OpenForum
  Abstract:
  Bio:
  	Any presentation not respecting this form will be discarded automatically

  International Workshop on Smalltalk Technologies
  ------------------------------------------------------------------------
  http://www.esug.org/Conferences/2013/InternationalWorkshop

  Smalltalk is  considered as a design pearl and as a beacon in the
  realm of programming languages and programming environments. We are
  proud to invite submissions to the  International Workshop on
  Smalltalk Technologies which is held as part of the ESUG 2013 joint
  event.  The goals of the workshop is to create a forum around
  advances or experience in Smalltalk. We welcome contributions on all
  aspects, theoretical as well as practical, of Smalltalk related
  topics such as

  	   - aspect-oriented programming, meta-programming,
	   - frameworks, interaction with other languages,
	   - implementation,
	   - new dialects or languages implemented in Smalltalk, tools,
	   - meta-modeling, design patterns, experience reports

  Technology Award Competition
  ------------------------------------------------------------------------
  The top 3 teams with the most innovative software will receive,
  respectively, 500 Euros, 300 Euros and 200 Euros during an awards
  ceremony at the conference. Developers of any Smalltalk-based
  software are welcome to compete.
  More information at http://www.esug.org/conferences/2013/

  Student Volunteer Program
  ------------------------------------------------------------------------
  If you are a student wanting to attend ESUG, have you considered
  being a student volunteer? Student volunteers help keep the
  conference running smoothly; in return, they have free
  accommodations, while still having most of the time to enjoy the
  conference.
  More information at
	   http://www.esug.org/conferences/2013
	   http://www.esug.org/Conferences/2013/Student+Volunteers

  We hope to see you there and have fun together.
Sabine Knöfel | 21 Apr 2013 12:24
Picon

optionGroup -> callback does not fire

I want to use an optionGroup and copied the code from
WAInputElementContainer>>renderNestedSelectionOn:.
The callback does not fire. See below.
Is this a bug?
How can I force the callback to fire?

Sabine

|selectTag |
selectTag := html select.
selectTag
	callback: [ :value | value inspect ];
	selected: 'Lisp';
	with: [#(#('Functional' #('Haskell ' 'Lisp' 'ML')) #('Dataflow' #('G' 'Max'
'Prograph')))
	do: [ :list | 
		html optionGroup
			label: list first;
			with: [
				list second	
					do: [ :each | 
						html option
							value: each with: selectTag;
							with: each ] ] ] ].

--
View this message in context: http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815.html
Sent from the Seaside General mailing list archive at Nabble.com.
Mariano Martinez Peck | 18 Apr 2013 22:03
Picon
Gravatar

Has anyone used Zodiac and Seaside to for https?

Hi. Let's say I have a seaside running over HTTP with a ZnZincServerAdaptor. Is there a Zodiac adaptor I can use to have my seaside app running over HTTPS?

Thanks, 

--
Mariano
http://marianopeck.wordpress.com
_______________________________________________
seaside mailing list
seaside <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Paul DeBruicker | 18 Apr 2013 01:02
Picon

changing how many continuations are cached

Hi -

I was reading this thread

http://forum.world.st/Multiple-Browser-Tabs-on-Same-Application-tp947917p948008.html

because I'm having the same problem as described by Ken Treis.

In Seaside 3 how do you increase the number of continuations cached in
each session?

Thanks,

Paul
Sabine Knöfel | 17 Apr 2013 18:55
Picon

Grouping in

Hi,

I use the JQGrid from JQWidgetBox and I like it.
But now I try to use grouping and it does not work.

I reduced my problem to one single method to post it here.
I would be happy if someone could give me a hint what is wrong in my code.

Description what I want: http://www.trirand.com/blog/jqgrid/jqgrid.html
Click on "Grouping" (left side) and then on Remote Data (sorted).
I want my data to be grouped, but it does not work.

Load JQWidgetBox:
Gofer new
		url: 'http://ss3.gemstone.com/ss/JQueryWidgetBox';
		package: 'ConfigurationOfJQueryWidgetBox';
 		package: 'JQWidgetBox-JQGrid-Core';
		package: 'JQWidgetBox-JQGrid-Dev';
 		load.

This is the demo code for my problem:

renderContentOn: html  
	
| theScript theStream |
theScript := html jQuery this grid
	sortname: 'left';
	sortorder: 'desc';
	columns:
		(JQGridColumns new
			add: ((JQGridColumn id: 'left' label: 'left'  selector: [ :sel | sel
rowObject left]) width: 111; yourself);
			add: ((JQGridColumn id: 'right' label: 'right' selector: [ :sel | sel
rowObject right]) width: 111; yourself);
			add: ((JQGridColumn id: 'top' label: 'top' selector: [ :sel | sel
rowObject top]) width: 111; yourself);
			add: ((JQGridColumn id: 'bottom' label: 'bottom' selector: [ :sel | sel
rowObject bottom]) width: 111; yourself);
			yourself);
		searchCallback: [ :aSearchRequest :jqGridColumns | |theData theSortColumn
|
			theSortColumn := jqGridColumns columnForSearchRequest: aSearchRequest.
			theData := (OrderedCollection 
				with: (JQGridRowContent new id: 1; rowObject: (Rectangle left: 1 right:
2 top: 3 bottom: 4))
				with: (JQGridRowContent new id: 21; rowObject: (Rectangle left: 1 right:
2 top: 3 bottom: 4))
				with: (JQGridRowContent new id: 1; rowObject: (Rectangle left: 21 right:
2 top: 3 bottom: 4))
				with: (JQGridRowContent new id: 1; rowObject: (Rectangle left: 1 right:
2 top: 23 bottom: 4)) ) asSortedCollection: [ :a :b | (theSortColumn
dataValueFor: a) <= (theSortColumn dataValueFor: b) xor: aSearchRequest
isSortDescending ].
	 			 JQGridSearchResponse new
	 				rowContents: (theData
						collect: [ :eachDomainObject | 
							JQGridRowContent new
								id: eachDomainObject id;
								rowObject: eachDomainObject ]) ];
		grouping: true.

	theScript
		optionAt: 'grouping' put: true;
		optionAt: 'groupingView' put: (Dictionary new
				add: 'groupField' -> (OrderedCollection with: 'left');
				add: 'groupColumnShow' -> (OrderedCollection with: true  );
				add: 'groupText' -> (OrderedCollection with: '*{0}*' );
				add: 'groupCollapse' -> false;
				add: 'groupOrder' -> (OrderedCollection with: 'desc' );
				add: 'groupSummary' -> (OrderedCollection with: true );
				add: 'groupDataSorted' -> true;
				yourself).
	html table
		 script: theScript;
		with: ''.

"This is only for debugging"
	theStream := WriteStream on: ''.
	theScript javascriptContentOn: theStream.
	theStream inspect

--
View this message in context: http://forum.world.st/Grouping-in-tp4682157.html
Sent from the Seaside General mailing list archive at Nabble.com.
Sabine Knöfel | 11 Apr 2013 18:57
Picon

lightbox open within renderContentOn

Hi,

this example (JQDialogFunctionalTest) opens a lightbox if the user clicks on
a button.

	| id |
	html div
		id: (id := html nextId);
		script: (html jQuery new dialog
			html: JQCounterFunctionalTest new;
			title: 'Lightbox Dialog';
			resizable: false;
			modal: true).
	html submitButton
		onClick: (html jQuery id: id) dialog open;
		with: 'Open Lightbox'

I want the lightbox to open immediately, when the page is generated (within
renderContentOn:)

Can anyone help?

Sabine

--
View this message in context: http://forum.world.st/lightbox-open-within-renderContentOn-tp4680903.html
Sent from the Seaside General mailing list archive at Nabble.com.

Gmane