You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Iamuser <su...@gmail.com> on 2016/07/02 11:36:52 UTC
wicket:enclosure tag : header of table does not dissappear when
list is empty.
Hello,
I'm having the following issue:
I have a form in which I need to upload files.
I give path for file, and after hitting upload, a list with the uploaded
files should appear.
Each file from the list can be deleted.
The problems I face is:
When deleting all items in the list, the header of the list does not
dissapear;
I have used the wicket:enclosure tag.
If I hit the refresh button, the header goes away.
Please check images below with html code and then backend code.
<http://apache-wicket.1842946.n4.nabble.com/file/n4675006/1.png>
<http://apache-wicket.1842946.n4.nabble.com/file/n4675006/2.png>
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: wicket:enclosure tag : header of table does not dissappear when
list is empty.
Posted by Martin Grigorov <ma...@gmail.com>.
I think using InlineEnclosure would be easier
On Jul 3, 2016 11:59 AM, "Iamuser" <su...@gmail.com> wrote:
> Could you please give me an example of that?
> Thank you so much
>
> On Sat, Jul 2, 2016 at 11:23 PM, martin-g [via Apache Wicket] <
> ml-node+s1842946n4675010h44@n4.nabble.com> wrote:
>
> > You need to repaint the enclosure or any of its parents so that it
> > disappears in an Ajax request.
> > On Jul 2, 2016 3:52 PM, "Iamuser" <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4675010&i=0>> wrote:
> >
> > > Hello,
> > >
> > > I'm having the following issue:
> > >
> > > I have a form in which I need to upload files.
> > > I give path for file, and after hitting upload, a list with the
> uploaded
> > > files should appear.
> > > Each file from the list can be deleted.
> > > The problems I face is:
> > > When deleting all items in the list, the header of the list does not
> > > dissapear;
> > > I have used the wicket:enclosure tag.
> > > If I hit the refresh button, the header goes away.
> > > Please check images below with html code and then backend code.
> > >
> > > <http://apache-wicket.1842946.n4.nabble.com/file/n4675006/1.png>
> > >
> > > <http://apache-wicket.1842946.n4.nabble.com/file/n4675006/2.png>
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006.html
> > > Sent from the Users forum mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4675010&i=1>
> > > For additional commands, e-mail: [hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4675010&i=2>
> > >
> > >
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006p4675010.html
> > To unsubscribe from wicket:enclosure tag : header of table does not
> > dissappear when list is empty., click here
> > <
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4675006&code=c3VwZXJiaXNzaW1hQGdtYWlsLmNvbXw0Njc1MDA2fC01MzM2MjU4NzI=
> >
> > .
> > NAML
> > <
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006p4675016.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: wicket:enclosure tag : header of table does not dissappear when
list is empty.
Posted by Iamuser <su...@gmail.com>.
Could you please give me an example of that?
Thank you so much
On Sat, Jul 2, 2016 at 11:23 PM, martin-g [via Apache Wicket] <
ml-node+s1842946n4675010h44@n4.nabble.com> wrote:
> You need to repaint the enclosure or any of its parents so that it
> disappears in an Ajax request.
> On Jul 2, 2016 3:52 PM, "Iamuser" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4675010&i=0>> wrote:
>
> > Hello,
> >
> > I'm having the following issue:
> >
> > I have a form in which I need to upload files.
> > I give path for file, and after hitting upload, a list with the uploaded
> > files should appear.
> > Each file from the list can be deleted.
> > The problems I face is:
> > When deleting all items in the list, the header of the list does not
> > dissapear;
> > I have used the wicket:enclosure tag.
> > If I hit the refresh button, the header goes away.
> > Please check images below with html code and then backend code.
> >
> > <http://apache-wicket.1842946.n4.nabble.com/file/n4675006/1.png>
> >
> > <http://apache-wicket.1842946.n4.nabble.com/file/n4675006/2.png>
> >
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4675010&i=1>
> > For additional commands, e-mail: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4675010&i=2>
> >
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006p4675010.html
> To unsubscribe from wicket:enclosure tag : header of table does not
> dissappear when list is empty., click here
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4675006&code=c3VwZXJiaXNzaW1hQGdtYWlsLmNvbXw0Njc1MDA2fC01MzM2MjU4NzI=>
> .
> NAML
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006p4675016.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: wicket:enclosure tag : header of table does not dissappear when
list is empty.
Posted by Martin Grigorov <ma...@gmail.com>.
You need to repaint the enclosure or any of its parents so that it
disappears in an Ajax request.
On Jul 2, 2016 3:52 PM, "Iamuser" <su...@gmail.com> wrote:
> Hello,
>
> I'm having the following issue:
>
> I have a form in which I need to upload files.
> I give path for file, and after hitting upload, a list with the uploaded
> files should appear.
> Each file from the list can be deleted.
> The problems I face is:
> When deleting all items in the list, the header of the list does not
> dissapear;
> I have used the wicket:enclosure tag.
> If I hit the refresh button, the header goes away.
> Please check images below with html code and then backend code.
>
> <http://apache-wicket.1842946.n4.nabble.com/file/n4675006/1.png>
>
> <http://apache-wicket.1842946.n4.nabble.com/file/n4675006/2.png>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicket-enclosure-tag-header-of-table-does-not-dissappear-when-list-is-empty-tp4675006.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>