On Monday 29 October 2007 22:30:57 skatz wrote:
Is there a way to get an enclosure to work with a repeater. Perhaps I am
missing something, but I can't get:
...
ul class=someclass
wicket:enclosure child=item
li wicket:id=repeater /li
/wicket:enclosure
/ul
to work. What I get is an
On Saturday 03 November 2007 01:27:53 Devin Venable wrote:
I've been trying to figure out why when I hit my wicket page, it loads
three times. I discovered this while debugging...my constructor was
called three times for my derived WebPage.
I've captured the call stack produced by the three
On Saturday 03 November 2007 21:18:17 Brill Pappin wrote:
This is a common Java pattern. There should be only one place in the code
where properties are set from a constructor, all other constructors should
pass on their parameters, defaults if required, to the one constructor that
actually
On Sunday 04 November 2007 02:37:39 Johan Compagner wrote:
You just should call super of the same constructor you are in.
just give the super call everything you got. If you got a model, give it
but you don;t have to you can set it in the constructor with setModel
afterwards.
That's what I
On Monday 05 November 2007 16:39:02 James Perry wrote:
I have a problem with the DropDownChoice. More specifically, I have a
Product class which is like:
public class Product implements Serializable {
private static final long serialVersionUID = 1L;
private Manufacturer
On Monday 05 November 2007 18:55:07 James Perry wrote:
Also what about wrapping the List in a PropertyModel; would that help?
On 11/5/07, James Perry [EMAIL PROTECTED] wrote:
Hello Dima,
That was my initial assumption but I already have overrided my
equals()/hashCode() methods for
On Tuesday 06 November 2007 00:55:23 James Perry wrote:
I empirically found out what the solution was to the problem of not
selecting the correct default choice of the Manufacturer within Product!
I added a ChoiceRendered to the constructor of DDC and it did the trick!
It seems like equals()
On Thursday 08 November 2007 14:13:22 raybristol wrote:
/table
then in code behind I use protected void populateItem(Item item) to
specified each table cell's data, because I can put any String in td tag so
I can easily put any javascript function call, however, I want to do that
On Wednesday 07 November 2007 01:18:32 ChuckDeal wrote:
SortingModel (IChainingModel) - AppendingListModel
(IComponentAssignmentModel) - HibernateListModel (database oriented model
that returns a list of items from the db, unsorted).
Perhaps I didn't get the explanation but why can't you wrap
On Friday 09 November 2007 11:22:20 Toscano wrote:
Hello,
I found some questions related to this topic, but I couldn't make it to
work.
I have two dropdowns, countries and regions. The easy thing is that I load
the regions when the country has been selected, and I use
On Thursday 08 November 2007 23:28:40 ChuckDeal wrote:
Perhaps I didn't get the explanation but why can't you wrap models in
this order?
AppendingListModel(
SortingModel(
HibernateListModel()
)
)
In that order the list would be sorting PRIOR to appending the item,
On Friday 09 November 2007 12:24:12 Dmitry Kandalov wrote:
Probably that is because this component is already rendered.
I mean the component has been already checked for being enabled :)
Dima
-
To unsubscribe, e-mail: [EMAIL
Hi,
I was recently wondering is there request coding strategy which would allow me
to have one page instance of certain class per session, so after requesting
mounted url user would always use the same page instance or a new one would
be created if there was no instance of that class.
One of
On Saturday 10 November 2007 03:49:51 Johan Compagner wrote:
wicket doesn't have support for these kind of pages (yet)
Does yet mean it's planned/ in progress?
You have to implement that yourself. You could have a map of pages per
class in your session and resolve to them. You can do that
On Sunday 11 November 2007 14:29:02 Dmitry Kandalov wrote:
return new BookmarkablePageRequestTarget(pagemapName, pageClass) {
protected Page newPage(Class pageClass, RequestCycle requestCycle) {
final Page page = super.newPage(pageClass, requestCycle);
page.setPageMap
On Sunday 11 November 2007 14:36:10 Johan Compagner wrote:
why do you want to move it to another pagemap? the probelm is that you
cant do that because then the other browser instance cant find it
anymore or that on is also changing and accessing the same page, in
1.3 you are then better of by
On Monday 12 November 2007 23:40:51 Francisco Diaz Trepat - gmail wrote:
Hi, I have a Label who's model maight come with markup for bold italic,
bullets, etc. (e.g. bThis/b is a iMessage/i)
Obviously I get bThis/b is a iMessage/i rendered.
Is there a way to get the label to render:
*This*
On Monday 12 November 2007 22:13:33 ChuckDeal wrote:
You're right. But if you were not using List you could return SortedSet
from
SortingModel and it would work :)
But then I'd be using a Set instead of a List. DropDownChoice (via
AbstractChoice) expects the choices model to represent a
On Saturday 17 November 2007 19:15:23 Georg Sendt wrote:
Hi,
I have a problem with page logic works different in Firefox and IE.
The code shows 4 buttons but only 2 are visible at the same time. There is
a Candidate/NotCandidate-Button pair and a Observer/Not-Observer pair.
With Firefox it
On Wednesday 28 November 2007 14:00:30 Roy van Rijn wrote:
And second, if you want to experiment with mounting you can also make
your own coding strategy by implementing
IRequestTargetUrlCodingStrategy. This is pretty straight-forward and,
I imagine, fun to do :-)
I attempted to do something
On Saturday 12 January 2008 19:56:41 Igor Vaynberg wrote:
should we document how our xml parser works? how about how wicket
assembles parts of markup into different markup fragments? all these
things have no effect on you as a wicket user.
a question for you, in what way will knowing the
On Saturday 12 January 2008 23:25:43 Igor Vaynberg wrote:
sure, and all you need to know is that you subclass
requestcycle.onbeginrequest() and add your own code there and it is
called at the beginning of the request. why do you need to know the
sequence of calls that leads to onbeginrequest()
On Sunday 13 January 2008 04:19:30 Igor Vaynberg wrote:
Ok, so rarely you need to roll your own
IRequestTargetUrlCodingStrategy, we do provide implementations to
cover most common cases. And even if you do, you only need to know
about IRequestTarget - which has good javadoc, and so does the
On Sunday 13 January 2008 12:47:44 Dmitry Kandalov wrote:
On Sunday 13 January 2008 04:19:30 Igor Vaynberg wrote:
Ok, so rarely you need to roll your own
IRequestTargetUrlCodingStrategy, we do provide implementations to
cover most common cases. And even if you do, you only need to know
On Wednesday 16 January 2008 22:40:52 Hoover, William wrote:
In your WebApplication...
getApplicationSettings().setPageExpiredErrorPage(PageExpiredErrorPage.class
); getApplicationSettings().setAccessDeniedPage(AccessDeniedPage.class);
On Wednesday 23 January 2008 11:47:26 Martijn Lindhout wrote:
users need to open the jar, pick the right markup file, copy it, changes
css attributes, etc. That's not what I expect from component reuse, right?
Or do I miss something?
The other option is to create overridable methods which
On Wednesday 23 January 2008 12:55:17 Martijn Lindhout wrote:
I like that one with the ResourceReference. What about providing a setter
on the component, so that no subclassing is needed?
IMO setter or constructor parameter should be ok, though Wicket classes use
getters (probably to reduce
On Tuesday 05 February 2008 23:16:03 Igor Vaynberg wrote:
wicket has a throttle which works on time not on number of
characthers, for that you need to roll your own javascript
How can I roll my javascript which doesn't use ajax before n characters for
AutoCompleteTextField? I could only do it
Cristi Manole wrote:
thank you both for your answers, but there are still problems...
I already tried what Don suggested, but that only allows for the
autocomplete text to be displayed correctly in IE, but not in FF (at
least not in 2.0.0.9).
I really cannot figure out why.
I had
On Thursday 06 March 2008 18:59:59 graemer wrote:
So as some of you may know I've been updating the Grails Wicket plug-in.
I didn't know but I tried the plug-in a couple of weeks ago (with help of your
blog) and it worked fine expect that I couldn't make wicket classes reload. I
should look at
On Saturday 07 June 2008 22:09:02 Ashley Aitken wrote:
So my question is: what is the status (now and going forward) with
regards to using Groovy to develop with Wicket? I know there has been
much discussion of generifying Wicket but perhaps moving to a dynamic
language could be an
On Monday 09 June 2008 10:47:45 Eelco Hillenius wrote:
IMHO they cannot be easily used together at the moment.
Hmmm, interesting. My only experience with Groovy is years ago, and
back then we abandoned and switched to PNuts (which I guess should
work with Wicket as well) due to Groovy's
32 matches
Mail list logo