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 am excited about trying Pier, but I have a bit of an investment in
code I have written in Visualworks 7.6 versus Squeak.
I tried loading the Pier bundle from the Cincom public repository, but
got lots of errors.
I found that if I pre-loaded Magritte, things went a little better, but
I am still getting errors.
Is the Visualworks version of Pier a dead end? Am I missing some
dependencies? Should I use an older version of Visualworks? Should I
just port my code over to Squeak?
If the Pier bundle on the Cincom public repository is good, then let me
know and I'll post my specific errors to try to work through it.
Thank-you.
I would like to have more control over how Magritte forms are rendered
in Seaside. For example, here is part of the HTML for the
PersonEditor from the Magritte tutorial:
<table><tr><th>
<label for="ajaxMASelectListComponent2159label">Title:</label>
</th><td>
<select id="ajaxMASelectListComponent2159label" name="2">
<option value="3" selected="selected"></option>
<option value="4">Mr.</option>
<option value="5">Mrs.</option>
<option value="6">Ms.</option>
<option value="7">Miss.</option></select>
</td></tr><tr><th class="required">
<label for="ajaxMATextInputComponent3075label">First Name:</label>
</th><td class="required">
<input id="ajaxMATextInputComponent3075label" value="" name="8"
type="text" class="text"/>
</td></tr><tr><th class="required">
<label for="ajaxMATextInputComponent3927label">Last Name:</label>
</th><td class="required">
<input id="ajaxMATextInputComponent3927label" value="" name="9"
type="text" class="text"/>
</td></tr><tr><th class="required">
<label for="ajaxMATextInputComponent1643label">Email:</label>
</th><td class="required">
<input id="ajaxMATextInputComponent1643label" value="" name="10"
type="text" class="text"/>
</td></tr>
Question #1: How can I get HTML more like this?
<fieldset>
<legend>Personal Information</legend>
<div class="fieldbody">
<label for="ajaxMASelectListComponent2159label" class="required
quarter">Title:
<select id="ajaxMASelectListComponent2159label" name="2">
<option value="3" selected="selected"></option>
<option value="4">Mr.</option>
<option value="5">Mrs.</option>
<option value="6">Ms.</option>
<option value="7">Miss.</option></select></label>
<label for="ajaxMATextInputComponent3075label" class="required
newline half">First Name:
<input id="ajaxMATextInputComponent3075label" name="8"
type="text" class="text"/></label>
<label for="ajaxMATextInputComponent3927label" class="required
half">Last Name:
<input id="ajaxMATextInputComponent3927label" name="9"
type="text" class="text"/></label>
<label for="ajaxMATextInputComponent1643label" class="required
full">Email:
<input id="ajaxMATextInputComponent1643label" name="10"
type="text" class="text"/></label>
Question #2: I also want to be able to render forms that are a
composite of multiple objects. For example, I'd like to render the
Address fields inline with the rest of the form (instead of clicking a
button to expand a set of fields or go to another page).
What are my options?
Thanks,
David
Hi,
in the magritte tutorial excercise the report is created with:
MAReport rows: self persons description: MAPersonModel description
The result is a table with
- an home address column displaying the street but not the complete
address
- a phone numbers column displaying the "kind" fields separated by
commas but not the numbers
Why is that?
How do I get the complete address?
Exercise 13 filters the columns to only display firstName, lastName,
email, and nationality.
How would I go about displaying the number field of the first phone number?
Thanks,
Florian
--
If c++ had garbage collection most programs would delete themself upon
execution.
Thanks. However, I was talking about actual (demo) galleries on the web to
see how they (can) look like.
Adriaan.
> The Gallery of Damien is in <http://source.lukas-renggli.ch/pieraddons>.
>
> Lukas
>
> On Wed, Dec 17, 2008 at 1:33 PM, Adriaan van Os <avanos(a)xs4all.nl> wrote:
>> Some urls to such galleries would be nice too.
>>
>> Adriaan.
>>
>>
>>> Dear List,
>>>
>>> I wish to use Pier to manage my pictures. What is the best library to
>>> use ?
>>> There is seachart, but photos does not seem to be its main focus.
>>> On squeaksource I can see projects like A PhotoGallery on the Seaside,
>>> PhotoBlog, PhotoCatalog, Photos Publisher
>>> Any comments on the project that are worth to see ?
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> SmallWiki, Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>>
>>
>>
>> --
>> http://www.a3aan.st
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
--
http://www.a3aan.st
Some urls to such galleries would be nice too.
Adriaan.
> Dear List,
>
> I wish to use Pier to manage my pictures. What is the best library to
> use ?
> There is seachart, but photos does not seem to be its main focus.
> On squeaksource I can see projects like A PhotoGallery on the Seaside,
> PhotoBlog, PhotoCatalog, Photos Publisher
> Any comments on the project that are worth to see ?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
--
http://www.a3aan.st
Dear List,
I wish to use Pier to manage my pictures. What is the best library to
use ?
There is seachart, but photos does not seem to be its main focus.
On squeaksource I can see projects like A PhotoGallery on the Seaside,
PhotoBlog, PhotoCatalog, Photos Publisher
Any comments on the project that are worth to see ?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
All,
I'm having problem understanding how to customize Magritte/Seaside.
I have an object PXADataType with the following description:
descriptionValues
^ MAToManyRelationDescription new
classes: (Array
with: PXAQuantityValue
with: PXAQualityValue);
accessor: #values;
label: 'Werte';
priority: 100;
beDefinitive;
beOrdered;
yourself
This object has a collection of values accessible by #values where the
collection items can be of type PXAQuantityValue or PXAQualityValue.
When I call: an edit form on PXADataType using "(aPXADataType
descriptionEdit asComponentOn: aPXADataType) addValidatedForm" I do get
the values rendered as a report. However the only possibility to edit
the collection is by changing the order using "up"/"down".
What I would like to do is a extended report with a possibility to
add/change/delete the entries?
How can I change the default behaviour in this case?
Thanks for your help.
CU,
udo
Hi all,
I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and
today I find that the squeak instance crashed and when restarted I get
the default Pier site. Is there a way to recover my data?
Cheers,
-Krishna
--
Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?
- Aksel Peter Jorgensen