cancel
Showing results for 
Search instead for 
Did you mean: 

linkToAction as cellEditor for a treeByNestingColumn

Former Member
0 Kudos

Hi,

I have designed a table, containing a treeByNestingColumn.

This works fine.

I have to display a link in my tree column. This link must launch another view.

The problem is when I click on the links. It doesn't launch my next view.

Another point, I tested to insert a linkToAction with the same action as the links in tree column.

When I clicked on the links it never change anything, but I click on my test link:

1) the view is launch correctly

2) the previous click are launched and take effect

(what's induct an error but it doesn't matter)

Is anyone know how I can solve my problem?

Regards,

Nicolas IZARD

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

<b>When I clicked on the links it never change anything, but I click on my test link:

1) the view is launch correctly

2) the previous click are launched and take effect

(what's induct an error but it doesn't matter)</b>

Does it mean the links are working only after the test link is clicked ?

Regards

Bharathwaj

Former Member
0 Kudos

Yes

the links are working after the test link is clicked and also when I change the collapse in the tree.

To Armin:

After creating succesfully (collapse, etc work fine) the master column, I insert in it a cellEditor.

I choose a linkToAction element.

I bound the text property to an attribute in my context (the data to be displayed and clickable) and I define the toAction property. this action just fire the plug to my next view. For my test link I use the same action.

FYI I made another test.

I define an attribute ( Compteur ) in my context as an integer. I insert an inputfield to display it.

in the wdInit I set it to 0.

I change the onaction method:

int cpt = wdContext.currentContextElement().getCompteur();
    cpt++;
    wdContext.currentContextElement().setCompteur(cpt);
    //wdThis.wdFirePlugToOperationDefinition();

as you can see, the fire plug is no more launched but in place I increment my attribute compteur.

When I click on the different tree links (I suppose 3 links), the inputfield keeps displayed to 0.

And when I click on the test link the inputfield display successivly 1, 2, 3, 4.

Regards,

Nicolas Izard

Former Member
0 Kudos

Which service pack are you using?

Armin

Former Member
0 Kudos

I'm using SP9.

Do you think this problem is solved in SP12?

Nicolas

Former Member
0 Kudos

Please it's a really important problem for me...

Thanks

Nicolas

Former Member
0 Kudos

In this case, open an OSS message.

Armin

Answers (2)

Answers (2)

Former Member
0 Kudos

<b>Valery Silaev :

Then it seems to be a bug, and Armin right -- you have to open CSN message.

Or update your server. For me it works since SP11</b>

Thank you very much!

I will soon upgrade to SP12 or SP13.

Nicolas

Former Member
0 Kudos

Can you give more information?

Did you insert a LinkToAction as cell editor, did you set an action, what does the action handler do, etc.?

Armin