Phil (list | 25 May 22:29 2016
Picon

WebSockets behind a proxy

Hi,

I was taking a look at using WebSockets for an application but it
appears that Aida/Swazoo doesn't know how to deal with WebSockets from
behind a proxy without a bit of work (i.e. where the connection has
been pre-upgraded by Apache.)  I was wondering if there are any
pointers as to how to best handle this scenario?

Thanks,
Phil
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Huw Lloyd | 3 Dec 03:15 2015
Picon

aida for pharo

It looks like there is class deprecation issue for installing aida on Pharo (4.0 or 5.0) for the TimeStamp class.

Has this been fixed somewhere?

Best,
Huw
<div><div dir="ltr">It looks like there is class deprecation issue for installing aida on Pharo (4.0 or 5.0) for the TimeStamp class.<div><br></div>
<div>Has this been fixed somewhere?</div>
<div><br></div>
<div>Best,</div>
<div>Huw</div>
</div></div>
Janko Mivšek | 2 Nov 12:51 2015
Picon
Gravatar

Aida 6.6 now runs also in newest Squeak 5

Dear all,

Squeak 5 together with a shiny new website http://squeak.org was 
released this summer so it was a time to prepare Aida for this release 
as well. On http://www.aidaweb.si/download you can find a link to 
All-in-One package to run Aida 6.6 on latest Squeak 5 for Linux, Mac and 
Win.

Thanks to Tobias Pape for help and Robert Hirschfeld for inspiration!

Best regards
Janko

Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Hilaire | 2 Mar 11:20 2015
Picon

WebMenu limitation?

Hi there,

I found my self stick in the following situation:

I have a collection of association as
countries := {#en->'English' . #es ->'Spain'. #uk->'United Kingdom'}
I want to display in a WebMenu the values of these association, and
store the key in my model.

It appears I can't just do that.

I can store the key, but only the keys are displayed in the menu..
Or I can display the wished text, but at best the association is stored
in my model...

self
        addMenuAspect: #value
        collection: countries
        selectedToAspect: #code
        of: model.

Am I missing something ?

Thanks

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 1 Mar 19:02 2015
Picon

Autoconversion issues

Hi there,

I have been hit by the same issue exposed there:
http://forum.world.st/AIDA-Web-f122435.html

Other examples:

1/
In a field where you want number, say float:
if you enter a float ok
if you enter an integer, next input are coerced to integer and you can
not input float anymore (you can make a forced conversion in your model,
but it is wrong, because you may want your model to work with Float)
as it
2/
In a field you input ScaledDecimal, say 25.99s2
at next input, your field is set as 25.99s2, what is supped to
understand the user there?

IMHU, autoconversions will always bring issues.

Suggestion:
Refactor the autoconversion methods
Add a bloc attribute to WebFormElement to let the user processes the
conversion as wished

Thanks

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 1 Mar 15:00 2015
Picon

WebMenu proposal for changes

Hi there,

I have factored a bit WebMenu to let the user set a text to display for
a nil value.

From the menu list you may want the user to select an entry explicitly
named "I am nil" to set the model to nil.
This also remove, for the situation, the unused empty entry in the menu.

Usage:
    form := self addMenuAspect: #symbol collection: aCollection
selectedToAspect: #item of: model.
    form textForEmpty: I am nil".

aCollection should contain a nil element.

Janko it will be nice you take a look to it because I am still unused
about AidaWeb internal.
Then I will commit it to the SmaltalkHub repo.

Thanks

Hilaire

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hi there,

I have factored a bit WebMenu to let the user set a text to display for
a nil value.

From the menu list you may want the user to select an entry explicitly
named "I am nil" to set the model to nil.
This also remove, for the situation, the unused empty entry in the menu.

Usage:
    form := self addMenuAspect: #symbol collection: aCollection
selectedToAspect: #item of: model.
    form textForEmpty: I am nil".

aCollection should contain a nil element.

Janko it will be nice you take a look to it because I am still unused
about AidaWeb internal.
Then I will commit it to the SmaltalkHub repo.

Thanks

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 23 Feb 21:36 2015
Picon

Broken TODO tutorial with Aida6.6

Hello there,

The TODO tutorial with Aida6.6 (pharo version from website) does not
work. It brings errors.

I can try to fix it but is there any interest? I fell like Aida
community is more or less in abandon state, am I missing something?

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 22 Feb 21:54 2015
Picon

ViewTabs missing active class

Hello there,

The ViewTabs miss the #active class.

It looks like the css styles for viewtabs where not updated after some
code changes:

For example one can change #selected to #active (padding is a bit too
big, btw), in the last two css declarations:

DefaultWebStyle>>cssTabs1
[...]
ul.tabs1 li.active {
  background-image:url("/img/tab1leftongif.gif");
  }
ul.tabs1 li.active a {
  background-image:url("/img/tab1rightongif.gif");
  color:#333;
  padding-bottom:4px;
  }

How can I submit the fix for the whole cssTabs styles?

Thanks

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 21 Feb 22:25 2015
Picon

WebWidget and validation

Hello there,

It turns to be done naturally
http://blog.drgeo.eu/post/2015/Form-validation-and-WebWidget

I have however a question, at the end of the article, any idea how to
solve it?

Thanks

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 20 Feb 21:57 2015
Picon

Aida and WebWidget

Hello there,

I continue my learning of Aida, with reusable component.
http://blog.drgeo.eu/post/2015/WebWidget-in-question

So far so good.

I more than welcome feedbacks to improve my understanding.

Thanks

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

Hilaire | 19 Feb 21:34 2015
Picon

Ajax for the dummy

Hello,

A second simple reflexion on Aida
http://blog.drgeo.eu/post/2015/Ajax-for-the-dummies

Do not hesitate to correct or to update me on the mater.

Hilaire

--

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu


Gmane