Sapphire Events [message #726485] |
Sun, 18 September 2011 09:11 |
Kamesh Sampath Messages: 213 Registered: July 2009 |
Senior Member |
|
|
Using Sapphire 0.3.x
I am have defined a action and handler as follows,
<action>
<id>Define.Event</id>
<label>Define Event1</label>
<hint>
<name>style</name>
<value>image+text</value>
</hint>
<context>Sapphire.ActionLink</context>
</action>
<action-handler>
<action>Define.Event</action>
<id>Define.Event</id>
<impl>DefinePortletEventHandler</impl>
</action-handler>
The class DefinePortletEventHandler extends from SapphireActionHandler
Now in part and under a section I am trying to add an Action Link with action-id as the above mentioned action as follows,
....
<section>
<content>
<label>Define Event1</label>
<action-handler-id>Define.Event</action-handler-id>
<action-link>
</content>
</section>
....
But i don't see the Action link being enabled , not sure what is the reason. Can anyone help me why is that not enabled. Ideally my requirement was to have this action associated only with ActionLink i define and not for all by default.
I am having similar problem adding an action to beside the List, after Moveup button in-spite of me adding Sapphire.ListPropertyEditor to the action context and providing the after location hint as after:Sapphire.Move.Down
I searched through the samples and didn't happen to find one example demonstrating this.
~Kamesh
[Updated on: Sun, 18 September 2011 14:47] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05577 seconds