Hi,
I am giving Pier a try, so here is my first question.
How do I change the text: Event location in the main Banner of the web page ?
Regards,
@+Maarten,
If I'm too annoying, just let me know. But I still don't know how solve my
problem, so I'll try once again.
I would like to use existing Poll package (recently updated by Lukas to work
properly in current versions of Pier).
There's POPoll class containing options (as instances of POPollOptions and
described by MAToManyRelationDescription) along with other attributes (like
deadline, uuid --- unique ID used to identify already voted users, ---
etc.). POPolls were supposed to be rendered with special kinds of
PRViewComponents using charts but it's a bit off-topic right now.
Voting itself is supported by POVoteCommand class, which is rendered as a
form described by MASingleOptionDescription with POPollOptons as options. (I
don't fully understand how it works but it obviously does:) *By the way,
despite unvoted POPoll has POVoteCommand as default, it is still rendered as
with View (it's a question for Lukas, maybe?).*
So, *the main question* (still) is: how to join several POPolls in one form
providing choices several choices (of different polls) being posted back to
server by click on one button.
I tried to do it directly (by surrounding by form with submit button), but I
have no information about what was selected by user in callback... And
(better) how to do it by means of Magritte?
--
Dennis Schetinin
I did ask this question before, but still don't know how to solve the
problem.
So, I have Questionnaire (subclass of PRCase) and it's view
QuestionnaireView (PRDefaultView). The latter should render children Polls
of Questionnaire using vote command. I need to embed a Questionnaire into
another page.
I tried to do it implementing #visitQuestionnaire: in #PREmbeddedRender
visitQuestionnaire: aStructure
(aStructure viewComponentClass on: self context) structure: aStructure;
renderContentOn: html
As far as QuestionnaireView renders polls as components, selecting an option
in one of the Polls (posting the form) gives a "WAComponentsNotFoundError"
exception (because #children method of QuestionnaireView is not invoked at
all).
What is the correct way to implement what I want?
--
Dennis Schetinin
Hi,
We are happy to announce the release of Pier 1.2:
http://www.piercms.com/download
What’s new:
- Mature value links (see http://www.piercms.com/doc/syntax for more
details)
- No _s or _k cruft in the url
- Remembered last login
- Smaller javascript code for faster page loading
- Better default CSS (including a style for events)
- Halos for enhanced editing
- Pharo 0.1-10374 inside
Enjoy and let us know what you think.
Cheers,
Lukas and Doru
Hi! I am using Pier 1.2 and lightbox doesn't seems to work. I created a
simple search widget and embed it into a page like this:
++/seach++
The ligthbox is displayed. Then I type a word and give an enter. At that
moment, I get the following walkback:
Seaside WalkbackWAComponentsNotFoundError: Components not found while
processing callbacks: an Array(a PRSearchWidget)
Debug <http://localhost:5555/seaside/pier?_s=BOXmeDNxcV8T5o3T&_k=N3RtmbmB&1>
Full Stack<http://localhost:5555/seaside/pier?_s=BOXmeDNxcV8T5o3T&_k=N3RtmbmB&2>
Possible Causes
- you do not implement #children correctly
- you do not backtrack #children correctly
- you do not implement #states correctly
I am sorry my seaside skill is not yet to good so I don't know what the
problem can be. I checked PRSearchWidget but I think they don't need a
children or states method.
I attach complete SqueakDebug.log
Any help?
Thanks in advance,
Mariano
Hi! I am having a problem with encoding and I am not sure if it is a bug or
if it is correct. I copy Pier and Pharo mailing list.
I am in Linux and when I write a double quote I write something like this:
"Muelle Almirante Storni"
If I write in OpenOffice, when I type the double quote key, OpenOffice
writes something like this: “Muelle Almirante Storni”
Notice that the quotes are these last ones are twisted and the first were
straight.
If I copy paste "Muelle Almirante Storni" in a workspace of Pharo, it is
perfectly understood. But if I paste I get:
?Muelle Almirante Storni?
Now...I am developing a pier application my main problem is that my
"functional information" is in .doc so they that the twisted ones. As they
are put in the image trought Pier and a KomEncoded, there is not
problem....until I try to search on the string. If I evaluate:
' “Muelle Almirante Storni”' findString: 'esquel' startingAt: 1
caseSensitive: false
This has a problem (index out of range) because internaly it tries to ask
the asciiValue and this answers 2881 -> absurd
Now, my solution is everytime I copy paste the text from a .doc to a Pier
page I have to replace those twisted quotes for the straight ones.
Is this a bug? or it is just like this ?
thanks
mariano
Hi,
One of the thing I'm missing with Pier is "clean urls" -- without the
session stuff.
I played with the code a bit, followed advices from
http://onsmalltalk.com/clean-urls-in-seaside to get rid of _s, and
then modifyed the visitInternalLink in PRReferenceRenderer so that
links do not include _k. I simply do something like that:
anchor url: 'http://localhost:8080/seaside/pier', aLink reference
which sets the url fully, and apparently everything seems to work as
hoped -- links indicated in pier are now fully formed and without _s
and _k, while dynamically generated links still work so for example I
can still log in and edit pages as usual... but in "normal viewing
mode" I get clean urls.
My question is, am I breaking something I'm not seeing (as apparently
things works as I want) by doing that ? is that the correct way to do
it ?
thanks,
--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams
Hi everyone!
Once I install the Gallery add-on, I cannot add pictures into a
gallery (I import a zip-file with pictures inside), the error message
I get is as cryptic as this:
• MessageNotUnderstood: UndefinedObject>>nextPutAll:
• MessageNotUnderstood: UndefinedObject>>close
I do not know how to make a debugger appear to give me a chance to fix
it.
Furthermore, it seems that Pier 1.2 removed the Installer class. Thus,
I recommend changing the documentation of how to install the Gallery
add-on here: http://www.piercms.com/doc/add-ons#248154888, as it
refers to the Installer class.
Cheers,
Niko
Hi Lukas,
Is there any plan to make magritte work with seaside 2.9? most of my
work is magritte-based, so I can't even think in a migration path
without it :)
Cheers,
Esteban
Excellent news!!!
What I a afraid when updating to this type of projects is that perhaps there
are a lot of external non-maintenance anymore packages like pier-addons that
don't work any more.
In this version of Pier, did you change important core things? I mean,
pieraddons would probably work?
Thanks!
On Sat, Jul 11, 2009 at 2:18 PM, Milan Zimmermann <
milan.zimmermann(a)sympatico.ca> wrote:
> Hi,
>
> I just tried - pier.sh should probably refer to pier.image instead of
> Seaside.image.
>
> Milan
>
> On July 11, 2009, Tudor Girba wrote:
> > Hi,
> >
> > We are happy to announce the release of Pier 1.2:
> > http://www.piercms.com/download
> >
> > What’s new:
> > - Mature value links (see http://www.piercms.com/doc/syntax for more
> > details)
> > - No _s or _k cruft in the url
> > - Remembered last login
> > - Smaller javascript code for faster page loading
> > - Better default CSS (including a style for events)
> > - Halos for enhanced editing
> > - Pharo 0.1-10374 inside
> >
> > Enjoy and let us know what you think.
> >
> > Cheers,
> > Lukas and Doru
>
>
>
>