Location: Resolved Issues

Discussion: Page not getting refreshed after Tag manipulationReported This is a featured thread

Showing 7 posts

saravannan
Page not getting refreshed after Tag manipulation
Jun 23 2008, 2:45 AM EDT | Post edited: Jun 23 2008, 2:45 AM EDT
When a Tag (keyword) is added/edited/deleted the changes are not getting reflected automatically. The page has to be manually refreshed to see the changes done to tags. Do you find this valuable?    
Keyword tags: Cell Tags(keywords)
devin_wetpaint
devin_wetpaint
1. RE: Page not getting refreshed after Tag manipulation
Jun 23 2008, 1:36 PM EDT | Post edited: Jun 23 2008, 1:36 PM EDT
The visible tags list might not be updated if there are multiple instances of the same cell on a page, or if the id attribute of that cell's tag list has been altered at some point. Can you provide a link to a page where this is happening?

Thanks,

- DC
Do you find this valuable?    
kristenkuhns
kristenkuhns
2. RE: Page not getting refreshed after Tag manipulation
Jun 24 2008, 2:13 AM EDT | Post edited: Jun 24 2008, 2:13 AM EDT
Hi Devin - Any of the pages on our staging. The page will refresh if you change the title. But if you update the tags, they don't show until you leave and return (or refresh) the page ....

(I'll send you a link via a message)
Do you find this valuable?    
devin_wetpaint
devin_wetpaint
3. RE: Page not getting refreshed after Tag manipulation
Jun 24 2008, 12:51 PM EDT | Post edited: Jun 24 2008, 12:51 PM EDT
Hi Kristen,

Looks like you're building out your own tag list there. If you let us build the list (see http://www.wetpaintinjected.com/page/CellService.getCell), rest assured it will be integrated with the edit tags dialog. Then again... you wouldn't get the custom tag links I see you have in place. I'm digging the idea of being able to customize where those links go! In the meantime, I'd recommend using the standard CellService.getCell call.

If it's okay for tags -- when modified -- to revert back to standard Injected behavior (i.e: the tag search lightbox), then you can simply model your custom list exactly like the list returned by the CellService.getCell API call. Currently, the Edit Tags dialog updates the label by looking for an element of ID 'WPC-cellTagLabel?cellId=<cellid>'. It updates the list by looking for an element of ID 'WPC-cellTagList?cellId=<cellid>'. It will rewrite this list if anything changes, so any custom links would be lost.. but at least you'll get the new tags instantly appearing on the page.

Hope this helps, Kristen!

Good luck.

- DC
Do you find this valuable?    

saravannan
4. RE: Page not getting refreshed after Tag manipulation
Jun 25 2008, 2:06 AM EDT | Post edited: Jun 25 2008, 2:06 AM EDT
Hi Devin, the "Tag" list what you seen at the bottom of the cell content is added using "tagService.getTags" API for that particular cell. B'coz the "cellService.getCell" API doesn't have the label ('WPC-cellTagLabel?cellId=<cellid> as you mentioned in your comment) in the "HTML" output. The content which is got fot getCell API is displayed as it is in the page. So as per your comment getCell API should produce the output with "Tag" list. If this issue is fixed then any modification done on tags will be reflected automatically. Do you find this valuable?    
devin_wetpaint
devin_wetpaint
5. RE: Page not getting refreshed after Tag manipulation
Jun 25 2008, 8:34 PM EDT | Post edited: Jun 25 2008, 8:34 PM EDT
Ahh, yes. A fix for that issue is going out in the next weekly release (a week from today actually), so the getCell API call's HTML output will then have the tags list.

- DC
Do you find this valuable?    
devin_wetpaint
devin_wetpaint
6. RE: Page not getting refreshed after Tag manipulation
Jul 3 2008, 12:40 AM EDT | Post edited: Jul 3 2008, 12:40 AM EDT
Hey,

Just wanted to let you know that this fix went out with tonight's push.

- DC
Do you find this valuable?