For the other choice objects (The singleselectchoice, dropdownchoice)
we could have a list of optgroups and the optgroup has a list of its choices
So you are just makeing one line with choices and optgroups (with again a list of choices)
johan
On 11/4/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
I encountered somewhat unexpected behavior when I tried using
getBodyOnloadContribution().
When adding custom Ajaxhandlers to components I noticed that the
getBodyOnloadContribution() is not called when I added the handler to an
Image or a Label. It was however called upon loading the page when
Igor, why wouldn't the model be attached to the OptGroup object? Each OptGroup takes a model which is used for the for attribute.On 11/4/05,
Johan Compagner [EMAIL PROTECTED] wrote:
For the other choice objects (The singleselectchoice, dropdownchoice)
we could have a list of optgroups and the
That should work. Might be a bug. Could you pls try to step into it?
Eelco
On 11/4/05, Marco van de Haar [EMAIL PROTECTED] wrote:
I encountered somewhat unexpected behavior when I tried using
getBodyOnloadContribution().
When adding custom Ajaxhandlers to components I noticed that the
you mean for the label attribute? Optgroup in this case wouldnt be a
component so the IModel provided needs to be attached to some component
so that it is detached properly, so the user needs to worry about
attaching it somewhere, and the more optgroups you have the trickier
that gets.
-Igor
On
unless of course we just pass in a string instead of imodel and leave i18n to the user...
-Igor
On 11/4/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
you mean for the label attribute? Optgroup in this case wouldnt be a
component so the IModel provided needs to be attached to some component
so that
Is there a way to create bookmarkable page without embedding any of the Wicket implementation details in the url? For example, the template example page 2 url is:
http://www.wicket-library.com/wicket-examples/template?bookmarkablePage=wicket.examples.template.Page2
The fact that one cannot preview html only using panels without
running a web server means that java code it is mandatory. Do you
think this is a drawback to Wicket (as well as Tapestry) that claims
that designers and coders can work almost independently?
2005/11/3, Laurent PETIT [EMAIL
I use wicket:remove around relative paths to the CSS in the webapp
directory. So this looks like:
html
head
style type=text/css src=style/style.css /
wicket:remove
style type=text/css src=../../../../../../webapp/style/style.css /
/wicket:remove
The same can be done for JavaScript libraries
It wouldn't be a drawback, since nobody does it better.
But anyway, you can preview a component (in isolation) just fine in the
component template without a web server. You can also preview the fake
version in the page template without a server, though it's easy for that
to get out of synch
Yes, that's simple and that works, indeed.
Thanks for the idea.
On 11/4/05, Martijn Dashorst [EMAIL PROTECTED] wrote:
I use wicket:remove around relative paths to the CSS in the webapp
directory. So this looks like:
html
head
style type=text/css src=style/style.css /
wicket:remove
The problem at hand was : how to still have an html preview -before
having all the logic implemented- for a complex page, when the page is
technically separated into multiple parts/panels.
But now I see this question has no answers, and that is normal, due to
the fact that the real types of the
On 11/4/05, Nathan Hamblen [EMAIL PROTECTED] wrote:
But anyway, you can preview a component (in isolation) just fine in the
component template without a web server. You can also preview the fake
version in the page template without a server, though it's easy for that
to get out of synch with
Is the class in the same package?
-Igor
On 11/4/05, Manuel Corrales [EMAIL PROTECTED] wrote:
I have a link like this on a page, but it keeps telling me that Bienvenido class does not exists.
pwicket:linka href="">
The class Bienvenido exists and the page too (in fact, it was the page
i came
I have a link like this on a page, but it keeps telling me that Bienvenido class does not exists.
pwicket:linka href="">
The class Bienvenido exists and the page too (in fact, it was the page
i came from) should i implement something special on this class or in
the html??
Thanks.
To quote from the discussion (not the exact wording, but the basic idea):
First we introduce markup parameters (which then need to be parsed,
could become any OGNL expression), then we want conditional markup,
loops in your markup, and finally we end up with Wicket Server Pages:
JSP in another
I know the danger. I agree with the danger, and I agree with /not/
implementing it when other people are against. It is just that /I/
think it is powerful to be able to create high level components that
you can add with a single line in your java code, and then configure
the rest in your markup.
And a very good one at that :)
Envy isn't that one of the seven deadly sins?
Martijn
On 11/4/05, David Leangen [EMAIL PROTECTED] wrote:
Sounds to me like envy.
Admit it, you all wish you had a Mac and are jealous of those of us who
do!
(My one and only useful(??) contribution to
Anyhow, now I'm confused. Should I make the next (1.1.x) release with
my Mac or with my laptop? Doing it on my mac gives you consistent
results comparing with 1.1. Doing it on my laptop gives you PC line
endings.
Martijn
On 11/3/05, jan_bar [EMAIL PROTECTED] wrote:
Hi,
I compared results of
Hi,
for porting an existing web application to Wicket I needed to refresh
the contents of DropDownChoice without a new request (for speedy
selection). As this is a common technique for selecting categories
(things like Computer - Hardware - RAM - DDR or Branch / Company /
Person) I
Yes my bad, I meant the label attribute, I got it confused with the label tag's for attribute. I'm not sure what the best solution is either. Passing a string in definitely works, but it's not really consistent with the rest of the Wicket components (except Label which just takes the string and
Yes, the class is on the same package. As soon as i can i post some
code and the error description. Any other idea of what can be??
I've tried the examples and work perfect. Have no clue. Thanks.On 11/4/05, Igor Vaynberg [EMAIL PROTECTED]
wrote:Is the class in the same package?
-Igor
On 11/4/05,
May we have the stack trace and may be the (stripped down) sources as
well. Thanks
Juergen
On 11/5/05, Manuel Corrales [EMAIL PROTECTED] wrote:
Yes, the class is on the same package. As soon as i can i post some code and
the error description. Any other idea of what can be??
I've tried the
23 matches
Mail list logo