Hi,
is there any photo gallery available for Pier? I mean a widget where I
could upload pictures and they are rendered in a nice way. I started
one 4 years ago but I abandoned it.
Bye
--
Damien Cassou
http://damiencassou.seasidehosting.st
I have a requirement for a Magritte-generated Seaside component where
the visibility of some of the model's property is dependent on the
values of other properties. Something like this.
descriptionMaidenName
^(MAStringDescription new)
selectorAccessor: 'maidenName';
label: 'Maiden name';
visible: [:aModel | aModel
isVisibleInComponent];
yourself
I am still using lr.251 and asking the following questions to the list.
1) Is there a response to my requirement in more recent Magritte
versions?
2) Has this topic already been covered in this list?
Thanks,
Michel.
... are there any?
As there are plans of porting (recent) Pier to VW, maybe it's better to port
a newer version (if it exist in any form ofcourse)?
--
Dennis Schetinin
To Pier List
---------- Forwarded message ----------
From: Dennis Schetinin <chaetal(a)gmail.com>
Date: 2009/9/25
Subject: [Pharo-project] pharo1.0-10451-BETAweb09.09.3 in FireFox
To: pharo-project(a)lists.gforge.inria.fr
I can't log in at the 'main' page (http://127.0.0.1:8080/seaside/pier)
in Pier. It just ignores all the inputs (both correct and incorrect)
simply redirecting from input form back to the main page. But from the
Blog or About page it works correctly. It's all using FireFox 3.5.3.
With Chrome it's ok everywhere, including 'main' page...
What can be the cause of the problem?
--
Dennis Schetinin
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi,
On Wed, 2009-06-17 at 12:22 -0300, Sebastian Van Lacke wrote:
>> Hi, I need to generate some graphics dinamically for my application
>> and Gemstone doesn't provide draw classes.
>> Specifically I want to implement a Captcha validation in a form, with
>> a distorted text.
>>
>> How can I do it?
>>
> If you don't need to do it on your own you can use the recaptcha
> service (http://www.recaptcha.net). Fortunately I wrote a component
> for this last week. This is available at
>
> http://selfish.org/software/recaptcha
>
> It runs in Glass-dkh.231. If you have problems using it I'm happy
> to help out.
>
> Norbert
Now i use Recaptcha and it work well.
But i,m interesting to use it as Magritte component ( only for simply use with other MADescription ) and i have do:
1) I copy the RSRecaptchaComponent to MARSRecaptchaComponent ( as subclass
of MAElementComponent ).
2) I create MARSRecaptchaComponentDescription with:
defaultComponentClass -> MARSRecaptchaComponent
kind -> RSRecaptcha
3) Now when rendering a component with a description based on
MARSRecaptchaComponentDescription :
task call: ( collectionOfDescription asComponentOn: model )
adValidateForm;
addMessage: 'testo';
yourself.
The rendering work well ( i see MARSRecaptchaComponent right )
But when test the hasValidateResponse with :
validateSpecific: anObject
super validateSpecific: anObject.
anObject hasValidateResponse ifTrue:[ ] .
the requestBody ( RSRecaptcha method ) go in error:
The anRSRecaptcha parameters dictionary have :
'challenge' ->nil
'response' -> nil.
I think registerCallbacksOn: html d'ont work well.
Thank for any consideration.
Dario
You should ask also in Pier mailing list. I cc to it.
2009/9/25 Dennis Schetinin <chaetal(a)gmail.com>
> I can't log in at the 'main' page (http://127.0.0.1:8080/seaside/pier) in
> Pier. It just ignores all the inputs (both correct and incorrect) simply
> redirecting from input form back to the main page. But from the Blog or
> About page it works correctly. It's all using FireFox 3.5.3. With Chrome
> it's ok everywhere, including 'main' page...
>
> What can be the cause of the problem?
>
> --
> Dennis Schetinin
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
If I have a seaside component and want to make it a page in pier, how do
I do that? What if I want to make it a part of a page?
I have a feeling the pier way is much different. Judging by how
PRDistribution sets things up, it looks as if components are wrapped in
PRComponent and have a component class. But I've been unable to see
where actual rendering happens, or where state goes.
The concrete problem motivating these questions is that I want to
display a list of files whose name match a certain pattern in a certain
directory. The pattern and the directory could be hardcoded, but it
would be more interesting if they were editable in the web.
This will display a list of the files; if you click on one of them you
will see it. That sounds like a job for PRFile, though again I'm not
exactly sure how that gets hooked in.
This is all likely to get more complex as I extract relations between
files, parse the contents of the files and show information based on the
parse. But for now I'm just working on the "simple" stuff.
Any hints?
Thanks.
Ross
Hi folks: I need something like the office bullet or ordered list, where you
can have those lists and sublist. Those you use in Word using TAB key.
I tried putting double -- or double ## but it doesn't work.
Do you know how can I achieve that in Pier ?
Best,
Mariano