Thanks for your example andrei
Stef
On Jul 14, 2011, at 5:09 PM, Andrei Vasile Chis wrote:
Hi Cyrille,
In Glamour-Seaside the layout is done using jQuery and each presentation/browser should
usually define a jQuery widget.
The tabulator(and all the widgets that can contain other widgets) resizes the content of
its children and also notifies them by sending an event.
When a child receives a resize event it can adjust its size and propagate the event to
its children(if any).
In you examples the tabulator will directly resize the content of the first div. In the
second case however, depending on the css, the inner div may not be resized properly. A
possible solution may be to create a jQuery widget, bind to the resize event and set the
dimensions of the inner div accordingly. As an example you can look at
SGLJsLibrary>>sglStackJs or SGLJsLibrary >>sglFinderJs which do this. If you
don't want to use jQuery you may be able to use just css (as a very simple example you
can look at SGLMondrianPresenter).
I hope this helps you. If not let me know.
Andrei
On Thu, Jul 14, 2011 at 3:33 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
I cannot answer from on top of my head. But, try displaying a complex browser and take a
look at the Examples could be the MetaBrowser or the one for basic examples.
Cheers,
Doru
On 14 Jul 2011, at 14:21, Cyrille Delaunay wrote:
Indeed I know that and I 'm working in an old
image where things work correctly:) My question is not related to that but about how I
should render the browser using seaside , if there use some tric to use. Should I render
it in a div with a specific class ('glm-something') or using a specific js script
?
2011/7/13 Tudor Girba <tudor(a)tudorgirba.com>
Hi,
We know that the Seaside rendering is broken in Pharo 1.3 / Seaside. The main problem
seems to be that when we get an announcement from the Glamour model in the Seaside
renderer, the renderer somehow cannot find the Seaside application context.
I do not know why. Andrei said that he will try to look into this when he has time.
Cheers,
Doru
On 13 Jul 2011, at 15:42, Cyrille Delaunay wrote:
oups,
Hello.
I currently looking at how to render the GLMDashboard in Glamour-seaside. I already tried
several things but my main problem is:
In the 'renderOn:' method of my SGLDashboardPresenter , if I write :
html div
with: [
self render: aTabulatorPresentation last on: html
]
].
the tabulator is not well rendered (the different panes are put one over the other).
Whereas if I write
self render: aTabulatorPresentation last on: html
I think it's ok.
2011/7/13 Cyrille Delaunay <cy.delaunay(a)gmail.com>
Hello.
I currently looking at how to render the GLMDashboard in Glamour-seaside. I already tried
several things but my main problem is:
In the 'renderOn:' method of my SGLDashboardPresenter , if I write :
html div
with: [
self render: (self
firstColumnPanesFrom: self browser) last on: html
]
].
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Value is always contextual."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be
done."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev