• Browse Blogs
  • My Blog
  • My Updates

+Tags Get help with tags?

  • View as cloud  | list

+ Similar Entries

photo

8.5.1 UNFAIL - Part ...

Blog:  Erik Brooks
Erik Brooks
Updated 
RatingsRatings 2     No CommentsComments 0
photo

XPages - initial cur...

Blog:  Notes from th...
Jerry Shelley
Updated 
No RatingsRatings 0     CommentsComments 4
photo

8.5.1 UN-FAIL! The F...

Blog:  Erik Brooks
Erik Brooks
Updated 
No RatingsRatings 0     CommentsComments 6
photo

Designer Crashes 8.5...

Blog:  Urs Meli
Urs Meli
Updated 
No RatingsRatings 0     CommentsComments 10
photo

Editing mulitple dat...

Blog:  Pascal David
Pascal David
Updated 
No RatingsRatings 0     No CommentsComments 0

+ Bookmarks

+ Blog Authors  

Buggy Renaming of Controls in Designer 8.5

Dave Gilmore |   | Tags:  designer xpages | Comments (0)  |  Visits (169)
Special thanks to Declan Lynch for helping me on this one.

I had a case where I had renamed one of my custom controls in Designer and also changed its content. When I would go to drag it from the controls panel to the XPage it still had the old name. And, even weirder, it still had the old code! A rebuild didn't fix it. Neither did a clean or removing it from designer and then opening it again. Here's what I did to finally fix it (well.. Declan figured it out and I just followed his directions).

1) Rename the control to something completely different than anything else (I renamed mine from "content_Segments" to "somebs" ) .
2) The name displayed in the application\custom controls list can be different from the actual name of the control. Open it up and check its NAME in the properties. If they match you're almost golden.
3) Clean and Rebuild the workspace.
4) Name it to what you want it to be.
5) Check the NAME again in the properties.

So, what I learned was that the names in the Control panel (the one you drag and drop from) are built from the NAME property. And the ones in the App panel... aren't. Not sure where the names come from but they aren't teh same place it appears.

Hope this helps someone else.
No RatingsRatings 0

Comments (0)

There are no comments to display Add a Comment Add a Comment

Previous |  Main  | Next
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About