hmm seems to me not that hard (but maybe i am not seeing everything.)
change this:
public FeedbackPanel(final String id)
{
super(id);
this.messageListView = new MessageListView("messages");
messageListView.setVersioned(false);
add(messageListView);
}
into this:
public FeedbackPanel(final String id)
{
super(id);
this.messageListView = new MessageListView("messages");
messageListView.setVersioned(false);
add(messageListView);
add(new WebMarkupContainer("ulcontainer")
{
public boolean isVisible()
{
return
((List)this.messageListView.getModelObject()).size() > 0;
}
};
}
Martijn Dashorst wrote:
This isn't as trivial as might seem. Eelco said something about pull
models being the biggest problem.
There is already a bug report in place for this:
http://sourceforge.net/tracker/index.php?func=detail&aid=1219458&group_id=119783&atid=684975
Martijn
Johan Compagner wrote:
this needs to be fixed by introducing a component for the tag:
<ul id="feedbackul">
And that component should set itself visible on messages or not.
If you want to fix this please send in a patch :)
johan
David Liebeherr wrote:
Hi all!
When i have a feedbackPanel with no messages then there is still an
list (<ul></ul>) generated.
I tried to format my feedback list with css but the problem is that
there is a emtpy ul markup when no feedback messages are there. So
is there a special reason why the ul markup is generated even when
the messages list is empty?
Thanx,
Dave
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing
& QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing
& QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user