Link parameters in tables

4 messages Options
Embed this post
Permalink
Keithy

Link parameters in tables

Reply Threaded More More options
Print post
Permalink
Hi,

Is it just me, or are link parameters in links that appear within a  
table broken?

e.g.

| +embeddedcomponent|param=value+ | second column

==

I am not up to date with pier, so I dont know if this is still an issue

Keith
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Damien Cassou-3

Re: Link parameters in tables

Reply Threaded More More options
Print post
Permalink
On Mon, Sep 21, 2009 at 5:09 AM, keith <[hidden email]> wrote:

> Is it just me, or are link parameters in links that appear within a table
> broken?
>
> e.g.
>
> | +embeddedcomponent|param=value+ | second column
>
> ==
>
> I am not up to date with pier, so I dont know if this is still an issue

Hi Keith,

I think I fixed that at some point. You may want to check.

Bye

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reza Razavi

Re: Link parameters in tables

Reply Threaded More More options
Print post
Permalink
In reply to this post by Keithy
At 05:09 21/09/2009, you wrote:
>Is it just me, or are link parameters in links that appear within a
>table broken?
>
>e.g.
>
>| +embeddedcomponent|param=value+ | second column

Hi Keith,

I had a somehow similar issue with the following markup:

*Launch the Add Command with 'PRPage' as 'type', and 'auto' as 'name'
(to add a Child to the ROOT)>/|command=PRAddCommand|type=PRPage|name=auto*

Another example for the same markup:
+/tests|command=PBPostTicker|blog=/blog+

I fixed it by simply patching two methods as follows:

MAStringReader >> visitClassDescription: aDescription
         "self shouldNotImplement"
         self visitElementDescription: aDescription

and:

PRChildrenWidget >> unfilteredItems
         | structure children x |
         structure :=  self context structure.
         self level isNil ifFalse: [
                 c := (self childrenOf: (structure parents
                         at: self level
                         ifAbsent: [ ^ #() ])) asOrderedCollection.
                 c remove: structure ifAbsent: [].
                 ^c asArray].
         children := self childrenOf: structure.
         ^ (children isEmpty and: [ structure isRoot not ])
                 ifTrue: [ self childrenOf: structure parent ]
                 ifFalse: [ children ]

Hoping this helps,
Regards,
Reza



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Lukas Renggli

Re: Link parameters in tables

Reply Threaded More More options
Print post
Permalink
In reply to this post by Damien Cassou-3
>> Is it just me, or are link parameters in links that appear within a table
>> broken?
>>
>> e.g.
>>
>> | +embeddedcomponent|param=value+ | second column
>>
>> ==
>>
>> I am not up to date with pier, so I dont know if this is still an issue
>
> I think I fixed that at some point. You may want to check.

I don't think this is fixed, because the test you wrote is still broken.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki