• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

issue with commandlink inside a popuppanel

 
jyothi nalam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a popuppanel which displays a list of files uploaded. it contains a delete button(which is a command link). when I click on the delete, the file is deleted but the popuppanel still displays the file and now the close also does not work.

following is my popuppanel code.

Stuck on this since 2days. Any help and advice is greatly appreciated.

Thanks in advance.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your "a:commandLink" is actually the same tag usually coded as "a4j:commanLink", you miscoded the "reRender" attribute as "render".
 
jyothi nalam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. I changed to reRender. but the view still has the files uploaded. After I close and reopen it then, I see that the file is deleted.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was afraid you were going to say that. Although I thought that the preferred approach in RF4 was to attach an f:ajax to a regular h:commandButton. I haven't done much with RF4 because it's going to massively break all the RF3 stuff I've got and not even give me a more civilized implementation of the shuttle control.

There's always the old standy advice, though. Make sure that the dialog is contained within a form of its own and remember that forms cannot be embedded, so it has to be done outside of any other forms.

 
jyothi nalam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Appreciate your reply Tim. I am still having that issue. Hope I can find some solution to this.
 
jyothi nalam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator






With that, I am able to delete the files and the list is updated in the popup panel. The issue is, I am able to delete all except the last one. the last one is deleted from the list but I still can see it in the popup panel.

Please advise.

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic