Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Extending the scaffolding functionality

Padmashri Ragavendaran July 5, 2011

I have to develop a plugin. Requirements are given below:

1) It is basically a people search feature which needs to be used inside a scaffold page. ( edit mode)

2) After searching people and selecting the people, (in view mode), link to the selected user profile should be displayed.

For eg., If i am searching for 'Katharina' in the text box, auto suggestions should come. If i click on the results, selected name should remain in the text. Once i come out of edit page, in view page link to 'Katharina's profile should be visible.

I can extend the scaffolding classes and develop a seperate plugin.

But, the thing is that only one functionality works either this peoplesearch macro or normal scaffolding macros.

If we use both inside a scaffolding page, we get errors as below.

java.lang.ClassCastException: org.randombits.storage.ChainedStorage cannot be cast to org.randombits.storage.Storage

I saw the post in http://forums.atlassian.com/thread.jspa?messageID=257313476&#257313476.

But, I am not clear either on the solutions provided or to implement the suggested solutions.

Any help on this regard is greatly appreciated. Thanks in advance.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Norbert Krupa September 8, 2011

I'm trying to achieve the same thing with auto suggestions. I'm able to use a drop down but I would prefer a text field.

{code}

{list-data:FieldName}

{user-options:group=ConfluenceGroup|match=all}

{text-sort:user:full name}

{user-options}

{list-data}

{code}

0 votes
Padmashri Ragavendaran July 11, 2011

Kindly someone help me on this topic.

TAGS
AUG Leaders

Atlassian Community Events