On 08.10.2010, at 14:37, Lawson English wrote:

On 10/8/10 5:22 AM, Norbert Hartl wrote:
On 08.10.2010, at 13:42, Lukas Renggli wrote:

label to be displayed. In the second approach can do it manually with
*Label>/some...* (does not work with the first approach *Label>value:...*.
Is there a way to display the link label?
ValueLinks only display the label when they are undefined. Otherwise
they display the default string of the target (e.g. the title) or
whatever display parameter (this is the name of a description on the
object) is set.
The first sentence I don't get. I understand the default behaviour (title) and the display attribute the choses a selector. But all of this is happening on the structure. I want to have the label from the command that is being used. Compare it to PRCommandWidget it displays the labels of all available commands. I want to have to same as value link.


+value:commands+ displays all the available value links because it displays all selectors of methods that have the proper <pragma> in them. You're talking about displaying the options available for a specific value link and there's no built-in mechanism for that. You'd have to provide it yourself. You could request all parameters for +value:xxx+ that was passed to the >>xxxIn:contents      method, but that would only give you the parameters/commands that are specified in the text of the link. If you want to provide a list of all possible options, you'll have to define one yourself:

+value:myValueLink|command=displayAll+    and from inside method >>myValueLink:contents, you'd return a list of all the options you defined within >>myValueLink:contents.

Wow, I think I didn't understand a single bit of what you trying to say :) Probably it just does not make any sense what I'm saying.
Again. I have a custom command that creates a special kind of page for me. The command is displayed in the footer along the other pier commands. What I really want to do: I just want to have an easy way to display this single command anywhere on a page. With displaying I mean creating a link that when pressed executes the command.

Norbert