> Somewhere I have to start naming these intermediate objects; the end of
> my statements are starting to look like Lisp code! :-)
Of course, you don't *have* to use annonymous classes. Make a reusable
class, and see how much more readable your code will be :)
> It works, and I guess that's what
hehehe, yeah always the simple things ... thank you :-)On 6/9/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:its always the simple things :)-Igor
On 6/9/06, Eelco Hillenius <
[EMAIL PROTECTED]
> wrote:Erm. Yeah. That's a good point too. :)EelcoOn 6/9/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:> mak
Eelco Hillenius wrote:
> I think it is quite easy? If we implement that feature request it
> would be easier as it would be build in. But so many hours in a day...
> I actually forgot part of the code: [ ... ]
Okay, now it was easy! [1] Thanks. Here's what I did:
contents.add(new PageLink
its always the simple things :)-IgorOn 6/9/06, Eelco Hillenius <[EMAIL PROTECTED]
> wrote:Erm. Yeah. That's a good point too. :)EelcoOn 6/9/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:> make sure the servlet mapping for the wicket servlet ends with a * otherwise> resources wont work since they won
Erm. Yeah. That's a good point too. :)
Eelco
On 6/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> make sure the servlet mapping for the wicket servlet ends with a * otherwise
> resources wont work since they wont even get to the servlet
>
> so the mapping should be something like /app/*
>
> -Ig
make sure the servlet mapping for the wicket servlet ends with a * otherwise resources wont work since they wont even get to the servletso the mapping should be something like /app/*-Igor
On 6/9/06, Paulo Sérgio Medeiros <[EMAIL PROTECTED]> wrote:
ok, i'll update and give you a feedback.On 6/9/06,
nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vlooks like asm depenendcy needed by hibernate is missing?
-IgorOn 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:Hi, I am new to w
ok, i'll update and give you a feedback.On 6/9/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Well, it should work alright for you. But of course we had a goodreason to change the resource loading; besides being extra work which
makes it harder to write components, it kept on giving variousproblems
Well, it should work alright for you. But of course we had a good
reason to change the resource loading; besides being extra work which
makes it harder to write components, it kept on giving various
problems. That's why I was curious whether just updating would fix
your problem, so that we don't ha
1.2 release, but not current, from cvs ... is this really a bug? i
thought that it was something that i've been missing in my
configuration.
Actually i develop my wicket application using Eclipse 3.1.2 and tomcat
5.5.17 ... i don't know if this is important but i use wicket as a jar,
i was wonderi
Hi,
I am new to wicket. I just downloaded wicket-phonebook 1.2. When I
started jetty, I get the following exceptions:
2006-06-09 17:04:50,968 ERROR
org.springframework.web.context.ContextLoader - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creati
What version of Wicket are you using? We just changed resource loading
this weekend, so it might be worth trying the current code in the 1.2
branch
Eelco
On 6/9/06, Paulo Sérgio Medeiros <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Im trying to use the tree component ... everthing seems to be ok (on the
Hi,Im trying to use the tree component ... everthing seems to be ok (on the content side), except that minus and plus images aren't loading on the browser ...the location created by Wicket is:
http://localhost:8080/Mapeador/mapeador/resources/wicket.markup.html.tree.Tree/minus.gifand this location
I think it is quite easy? If we implement that feature request it
would be easier as it would be build in. But so many hours in a day...
I actually forgot part of the code:
new Link("mylink") {
protected CharSequence getURL() {
String anchor = getMarkupAttributes().getString("href");
Cha
yep, we dont have support for that yet. datatable and friends were built way before we had ajax support. what we need to do is create an ajaxified order by link and create factory on the headerstoolbar to generate links just like the tabbedpanel does.
this is a bit of work and i dont know if someon
Eelco Hillenius wrote:
> Basically, you can make a custom link that reads the href attribute
> (href="#anAnchor"), and that appends that attribute to the URL.
> Something like this:
Thank you. I will take a look at it as soon as I can. Your code
doesn't work out of the box for me, as I'm right
It's something we might solve a bit neater sometime, but currently, I
would recommend just extending AnnotSpringWebApplication, and then
copying from AuthenticatedWebApplication the things you are interested
in. The easiest way to go is just copy AuthenticatedWebApplication to
your own project, but
there was a thread very recently ( 2 days ago? ) about the same thing, please search the list.-IgorOn 6/9/06, itsliang <
[EMAIL PROTECTED]> wrote:I'd like to use annotation for spring in my wicket application, and I know I
can get that working by extending AnnotSpringWebApplication. I would alsolik
> Is there simpler way to get the URL?
Yep. Pre-regestering resources is not necesarry in trunk (2.0) and
current 1.2 (to be released as 1.2.1... it's not in 1.2 yet), so this
should do the trick:
final CharSequence url = urlFor(new
PackageResourceReference(Link.class, "testForm.swf"));
> BTW,
Hi Scott,
It's doable, but not implemented as something standard in Wicket.
There is a feature request for it here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1491239&group_id=119783&atid=684978
Basically, you can make a custom link that reads the href attribute
(href="#anAnchor"),
AFAIK, the principal does stay in the current request, but won't be in
the next. So what you need to do is invalidate the session, and then
render another page (like Login or something) with setResponse page.
Another option is to throw a RestartResponseException to immediately
break off any process
I guess the real question dwelve. Reason why I tried to use the onclick is that
I have some infos in the onRender function of the link, this code does get run.
But it seems that the infos just dosent get rendered, if I refresh the page
they do get shown. So why would that be, because they cant b
thanks Gwyn for your help.
I'm quite happy to get the latest branch as it will allow me to see what's
coming up on the wicket menu
Les
--
View this message in context:
http://www.nabble.com/wicket-phonebook-t1756767.html#a4794747
Sent from the Wicket - User forum at Nabble.com.
__
I've no access to it right now. Wicket-examples contains AJAX examples
and I thought it contains a simple pageable and sortable list as well.
Might be though that I'm mistaken and it is only pageable.
Juergen
On 6/9/06, Stefan Kanev <[EMAIL PROTECTED]> wrote:
> I don't see an AJAX sortable exampl
Hi,
I need Url for flash resource located at the same folder as the WebPage
which references it. After strugling this code works for me.
public class FlashPage extends WebPage {
public FlashPage() {
ResourceReference resourceReference = new ResourceReference(getClass(),
"testForm.swf") {
pr
I don't see an AJAX sortable example with the DataTable component (Wicket extensions). Can you point me to it, if I have missed it, please?
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-
the markup is a submit button. not a link.Or make the markup a link or make the PageLink a Button.jhanOn 6/9/06, Nino Wael <
[EMAIL PROTECTED]> wrote:HiIm a little curious since I recall doing this earlier.. Now it seems that PageLink onClick never gets called why is that?
See snip belowHtml: Java
Hi
Im a little curious since I recall doing this earlier.. Now it seems that
PageLink onClick never gets called why is that?
See snip below
Html:
Java snip:
myReport = new PageLink("openword", new IPageLink() {
public Page getPage() {
Isn't one of the ajax examples a sortable, pageable list?
On 6/9/06, Stefan Kanev <[EMAIL PROTECTED]> wrote:
> Hi. Is there a quick way to implement the sorting of the DataTable with
> AJAX, or should I go rewriting everything from the OrderByLink to the
> HeadersToolbar?
>
>
>
>
Hi. Is there a quick way to implement the sorting of the DataTable with AJAX, or should I go rewriting everything from the OrderByLink to the HeadersToolbar?
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/list
I think we should keep it (the parser) simple. To me it has always be
an advantage of Wicket that it is not only easy to use but its
internals are in general (not always ofcourse) not complicated as
well. We have 2+ solutions for the problem mentioned ealier and such a
request hasn't been raised be
how ugly is thatAnd what does the alert alerts you? As far as i can see it really doesn't know that it also should print ']]> _javascript_ just sees that as a string.johan
On 6/8/06, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
I haven't tested, but I would imagine that if you include the t
I'd like to use annotation for spring in my wicket application, and I know I
can get that working by extending AnnotSpringWebApplication. I would also
like to use wicket auth roles as well, and it can be done by extending
AuthenticatedWebApplication. But what if I want to use both of them
together
33 matches
Mail list logo