Mercurial > hg > LGServices
comparison src/main/java/de/mpiwg/web/jsp/JSPProxy.java @ 65:db737aead627
minor fixed
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 26 Jul 2016 11:52:54 +0200 |
parents | fc5116de601f |
children | f106f2487ac1 |
comparison
equal
deleted
inserted
replaced
64:4c8fed0d71cc | 65:db737aead627 |
---|---|
378 * topic information, which are relevant to topicListPage | 378 * topic information, which are relevant to topicListPage |
379 * can improved by not always calling getTopicListPage().forceLoadTopics() but rather updating the changed/modified topic in topicList. | 379 * can improved by not always calling getTopicListPage().forceLoadTopics() but rather updating the changed/modified topic in topicList. |
380 * */ | 380 * */ |
381 if(StringUtils.equals(action, "addContributor")){ | 381 if(StringUtils.equals(action, "addContributor")){ |
382 getSessionBean().getTopicPage().addContributor(); | 382 getSessionBean().getTopicPage().addContributor(); |
383 getSessionBean().getTopicListPage().forceLoadTopics(); | 383 //getSessionBean().getTopicListPage().forceLoadTopics(); |
384 | 384 |
385 } else if(StringUtils.equals(action, "removeContributor")){ | 385 } else if(StringUtils.equals(action, "removeContributor")){ |
386 getSessionBean().getTopicPage().removeContributor(); | 386 getSessionBean().getTopicPage().removeContributor(); |
387 getSessionBean().getTopicListPage().forceLoadTopics(); | 387 //getSessionBean().getTopicListPage().forceLoadTopics(); |
388 | 388 |
389 } else if( StringUtils.equals(action ,"updateDescription")) { | 389 } else if( StringUtils.equals(action ,"updateDescription")) { |
390 getSessionBean().getTopicPage().updateDescription(); | 390 getSessionBean().getTopicPage().updateDescription(); |
391 getSessionBean().getTopicListPage().forceLoadTopics(); | 391 //getSessionBean().getTopicListPage().forceLoadTopics(); |
392 | 392 |
393 } else if( StringUtils.equals(action ,"updateKeywords")) { | 393 } else if( StringUtils.equals(action ,"updateKeywords")) { |
394 getSessionBean().getTopicPage().updateKeywords(); | 394 getSessionBean().getTopicPage().updateKeywords(); |
395 getSessionBean().getTopicListPage().forceLoadTopics(); | 395 //getSessionBean().getTopicListPage().forceLoadTopics(); |
396 | 396 |
397 | 397 |
398 /* ====== */ | 398 /* ====== */ |
399 | 399 |
400 | 400 |