Hi,
After you suggested showing what was in the Home class, I decided to strip
all the code out of there and see if it worked. It did, so I then added code
back in bit by bit until I got it working.
Thanks
Andrew
igor.vaynberg wrote:
>
> can we see fragment of this code:
>
> at uk.co.rageconsu
> you did not convince me at all.
Not for the usage, but the implementation.
> i also just tweaked it a
> bit so you might want to see comments on the jira.
I more liked your first implementation (rev. 527614). Maybe a general hook
(into components/pages with own markup) into the same location
On 4/11/07, Philip Weaver <[EMAIL PROTECTED]> wrote:
I understand. Thanks. One of Rail's mantra is convention over
configuration. Being able to render default HTML for common types of
controls seems conventional - it seems less cumbersome. I am not
disrespecting Wicket - I appreciate Wicket but
Inlined...
On 4/11/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I wish that each form or form element element had a default renderer and
> would render itself without needing to be embedded in some other html
file.
Yep, gotcha.
> If layout is a problem - find a solution.
It isn't a probl
> I wish that each form or form element element had a default renderer and
> would render itself without needing to be embedded in some other html file.
Yep, gotcha.
> If layout is a problem - find a solution.
It isn't a problem. It's a core assumption that Wicket works on
markup: 'enabling comp
Thanks, Igor, for taking the effort to answer my question. I so understand
that one of the core vision statements is separation of concerns. I am
evaluating Click but haven't ruled out Wicket - just that some aspects of
Click seem less cumbersome because separation of concerns is not a priority
th
i thought you were using Click?
anyways, what you want is possible, like ive mentioned, but is not the
primary focus of wicket. wicket is about separation of concerns. that means
letting the designers design the markup with all its pretty css and images,
rather then making developers try to repro
I started this thread because I wish Wicket would support the following
feature.
I wish that each form or form element element had a default renderer and
would render itself without needing to be embedded in some other html file.
If layout is a problem - find a solution. I wish that Wicket had a
Up till now my experience with ReloadingWicketServlet has been
idyllic. It worked fine for every single change I've done to java
sources, property resources and templates, playing at home and working
at the office. It's a life-saver (it's giving me at least an extra
free hour per day :) ). Thanks J
I worked out this easier and cleanse way to wrap the model of the
outer component:
public DateComponent(String id) {
this(id, null);
}
public DateComponent(String id, IModel model) {
super(id, model);
}
public IModel getModel() {
return new CompoundProp
How about:
http://wicket.apache.org/";>
Wicket Examples - pub
That way, you can put 您的最佳选择 directly in your template.
Java 5 supports xml properties file with different encodings.
Unfortunately, we can't support this with this version of Wicket, as
that would break backwards compat. Ho
Well, the thing with tree items can seem hacky, but there are multiple
things to consider. While the tree is hierarchical structure, the
rendered html must be linear, to be able to construct table-like
markup.
-Matej
On 4/11/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
> Andrew Klochkov wrote:
Alternatively, you can open up an issue in JIRA and attach it there.
Eelco
On 4/11/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> Hi again
>
>
> I've done a demo application for the issue (bug ?). I've spotted its
> appear when I add my template page (otherwise it's working).
>
> The demo app do
On 4/11/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Well, from what I've seen Rails sucks. Really. I find it ugly to look
at (JSP 1-ish), hardly has any abstraction and is all focussed on
short-term productivity gain. I'm way more interested in long term
gain (reuse, refactorability etc)
> In one aspect it is a part of learning a library, on the other hand it fits
> in with what I'm wondering: why the basic assumptions of building a web site
> keep getting thrown out of the window with every new Java web framework. I
> realize that people like the Swing framework for application bu
@Igor:
It's not trivial because it requires complete understanding of the whole
Model system of Wicket. As per my actual question email, Martijn posted
exactly what I'm doing and how to solve it.
model is a core concept of the framework, so you better understand at least
that before posting
On 4/11/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
On 4/11/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:
> I wonder if someone here can answer me this question: Why do more and
more
> Java frameworks try to push users farther away from the tried-and-true
web
> experience of having web pages
that did go away in 2.0 i think when juergen switched to MarkupFragment
stuff, it might go away in 1.3 when he backports that
-igor
On 4/11/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Arrg :((( I'll try to use decimal id's... Wicket is not so perfect
> as it looks at the first glance
> Arrg :((( I'll try to use decimal id's... Wicket is not so perfect
> as it looks at the first glance :(
Not a perfect world I'm afraid. While we try to expose a simple to use
API, some of the internals are hard (and sometimes even hackish). The
main reason for this is because we support an u
On 4/11/07, Thomas Singer <[EMAIL PROTECTED]> wrote:
> Igor, you've made my day! I did not expected to convince you. :D
Thomas,
Can you write a wiki article for this?
Martijn
--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicke
you did not convince me at all. i still think it is very fugly. but
unfortunately wicket is about more then just me :) i also just tweaked it a
bit so you might want to see comments on the jira.
and you are welcome
-igor
On 4/11/07, Thomas Singer <[EMAIL PROTECTED]> wrote:
Sorry, I forgot t
Sorry, I forgot the "Thanks".
Tom
On Wed, 11 Apr 2007 21:39:56 +0200, Thomas Singer <[EMAIL PROTECTED]> wrote:
> Igor, you've made my day! I did not expected to convince you. :D
>
> Tom
>
>
> On Wed, 11 Apr 2007 21:18:50 +0200, Igor Vaynberg
> <[EMAIL PROTECTED]> wrote:
>
>> https://issues.apac
Igor, you've made my day! I did not expected to convince you. :D
Tom
On Wed, 11 Apr 2007 21:18:50 +0200, Igor Vaynberg
<[EMAIL PROTECTED]> wrote:
> https://issues.apache.org/jira/browse/WICKET-460
>
> i personally find it much uglier then namespaced tags just because it is
> much easier to re
On 4/11/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:
> I wonder if someone here can answer me this question: Why do more and more
> Java frameworks try to push users farther away from the tried-and-true web
> experience of having web pages that submit to servers and create other web
> pages?
I'm n
https://issues.apache.org/jira/browse/WICKET-460
i personally find it much uglier then namespaced tags just because it is
much easier to read the markup. but of course if you are using some fancy
gui editor the point is moot.
-igor
On 4/11/07, Thomas Singer <[EMAIL PROTECTED]> wrote:
> so ho
> Why is this, and where are the "modern" Java web frameworks that don't try
> to reinvent the concept of a website?
What a framework like Wicket tries to do is provide a programming
model that mimics programming like you would do for a desktop UI app.
Why? Because the model is much better suited
u, this is not trivial? are you kidding?
let me write something up from memory
public class GuestBookPage extends WebPage {
private List comments=new ArrayList();
private String latestComment;
public GuestBookPage() {
add(new ListView("comments", new PropertyModel(this, "comments")
On 4/11/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:
> How do you do this? I have a form with a few fields that onSubmit I want to
> complete redo the page. I know it's not happening by default because there's
> a generated string that doesn't change when it's supposed to.
You probably show the st
On 4/11/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > After 40+ hours of more research, I did indeed find my style of coding
- and
> > it clicks. Page-based, ...
Another thing I don't agree with is that page-orientation is something
to aim for[1]. I believe a mixed model is more powerful[2
You can reload the page by e.g. calling setReponsePage(MyPage.class)
or setReponsePage(new MyPage(foo, bar));
Eelco
On 4/11/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:
> How do you do this? I have a form with a few fields that onSubmit I want to
> complete redo the page. I know it's not happenin
Hi Thomas,
Wednesday, April 11, 2007, 5:15:05 PM, you wrote:
> Unfortunately, searching the user mailing list is broken. When clicking at
> http://wicket.sourceforge.net/mail-lists.html at the sourceforge.net-link
> of the Wicket User List, I'm getting the message "No Forum Chosen".
Use Nabble -
How do you do this? I have a form with a few fields that onSubmit I want to
complete redo the page. I know it's not happening by default because there's
a generated string that doesn't change when it's supposed to.
Jason
-
Ta
Cheers Chuck.
> Understood, I will create a JIRA with the patch. That is, unless you reply
> and suggest a specific JIRA to attach it to. If you have questions before
> applying the patch, I won't take offense if you need me to "defend" my code.
My ideal situation still is that the converter a
Eelco Hillenius wrote:
>
>> After this email exchange, I hadn't noticed any work in the datetime
>> project, so I started tweaking it myself. I know that you were concerned
>> with supporting both Date and DateTime, but the tweaks I have been making
>> a
>> geared towards a pure DateTime impl i
> so how does markup inheritance look like in RSF?
Please take a look at
http://www2.caret.cam.ac.uk/rsfwiki/Wiki.jsp?page=OuterPageTemplates
> wicket:id is used to denote components, wicket:extend and friends are NOT
> components.
From my POV, wicket:id is - well, as the name suggests - an
Sourceforge changed their URLs for the mailing list archives. It has to be:
http://sourceforge.net/mailarchive/forum.php?forum_name=wicket-user
Note the parameter 'forum_name' instead of 'forum'. Could someone
correct the links please?
Sven
Thomas Singer wrote:
> Unfortunately, searching the u
The header of Home_zh_CN.html should be:
http://wicket.sourceforge.net/";>
Wicket Examples - pub
instead of
http://wicket.sourceforge.net/";>
Wicket Examples - pub
-
Take Surveys. Earn Cash. Influen
On 4/10/07, Thomas Singer <[EMAIL PROTECTED]> wrote:
Hi Igor,
> yes it states that, and to a very large degree (more then any other
framework)
IIRC, Reasonable Server Faces can do that. They only have the one
attribute
to mark tags. So your statement in braces is false from my point of view.
B
> > I did, and I agree :). I'll have something new later today or this week.
> >
> > Eelco
> >
>
> After this email exchange, I hadn't noticed any work in the datetime
> project, so I started tweaking it myself. I know that you were concerned
> with supporting both Date and DateTime, but the tweak
Sorry, I really don't know. I have erased the entire branch so I can't re-run
the sequence. I checked out wicket-1.x about 10 days ago, and I think it was
after the second update which I did this Saturday or Sunday, that the
problems started. It was definitely before the big renaming change to
org
> The wicket website states at the end of the first paragraph "... written
> with plain Java and HTML". IIRC, the tags do not belong to
> "plain HTML".
Maybe we should change that section. But it is all valid namespaced
XHMTL (which I guess JSF is as well). The main reason for having
tags is tha
Unfortunately, searching the user mailing list is broken. When clicking at
http://wicket.sourceforge.net/mail-lists.html at the sourceforge.net-link
of the Wicket User List, I'm getting the message "No Forum Chosen".
Tom
On Wed, 11 Apr 2007 16:15:40 +0200, Thomas R. Corbin
<[EMAIL PROTECTE
Any idea how to reproduce this?
Eelco
On 4/11/07, Per Ejeklint <[EMAIL PROTECTED]> wrote:
>
> Just a note for your information.
>
> I just had an unusual experience with maven when building wicket-1.x. Had
> done a few updates, and then the install target got in a strange loop. It
> took forever
I had the same problem - I was trying to build 1.3
On 4/11/07, Per Ejeklint <[EMAIL PROTECTED]> wrote:
Just a note for your information.
I just had an unusual experience with maven when building wicket-1.x. Had
done a few updates, and then the install target got in a strange loop. It
took for
hi,
there is an already known issue related to this; tinymce's JS/CSS imports
are lost if there is any AJAX request involved. it is on my TODO list but
unfortunately i couldnt put my hands on it. i'll try to do it this weekend.
/iulian
On 4/11/07, Brian Topping <[EMAIL PROTECTED]> wrote:
Hi
Eelco Hillenius wrote:
>
> I did, and I agree :). I'll have something new later today or this week.
>
> Eelco
>
After this email exchange, I hadn't noticed any work in the datetime
project, so I started tweaking it myself. I know that you were concerned
with supporting both Date and DateTime
On Wednesday, 11 April 2007 02:31 am, Thomas Singer escreveu:
> Is there a DTD available for the namespace definitions in the html
> tag of the XHTML files, so IDEA does not highlight it in red?
I think someone posted one last week, if you search the mailing lists
you can
find it.
>
> T
I was working with wicket.datetime.util.DateConverter in an attempt to try
and get it to report a parse error instead of silently accepting the bad
input, when I nrealized that if it threw a ConversionException, the
framework would be able to pick up on that (in my case
FormComponent.convert() wou
Andrew Klochkov wrote:
> Matej Knopp wrote:
>
>> Second question, I assume you want to show inserted rows without
>> refreshing the entire listview? Well, this is possible to certain
>> degree, but requres some javacsript foo. You need to create the DOM
>> element with appropriate id (in javascr
you can only pass parameters those parameters can be externalized (strings
or ints)
setResponsePage(SignUp.class, PageParameters)
johan
On 4/11/07, tbt <[EMAIL PROTECTED]> wrote:
Thanks. That worked fine. But I want to pass parameters such as
setResponsePage(new SignUp(clientModel,clientLis
a page doesn't have a name just an id
But i guess if you want one page that shouldn't expire (at least as long as
the http session doesn't expire)
you could try to do that in 1.2 with the Page Eviction Strategy. So you just
don't remove that page.
johan
On 4/11/07, Dmitry Kandalov <[EMAIL PROT
Matej Knopp wrote:
> Second question, I assume you want to show inserted rows without
> refreshing the entire listview? Well, this is possible to certain
> degree, but requres some javacsript foo. You need to create the DOM
> element with appropriate id (in javascript) before adding the newly
> cre
Thanks. That worked fine. But I want to pass parameters such as
setResponsePage(new SignUp(clientModel,clientList) etc.
How can I use SignUp.class and pass the parameters at the same time. The
SignUp page is not using a default constructor.
Matej Knopp-2 wrote:
>
> getRequestCycle().setResponse
Just a note for your information.
I just had an unusual experience with maven when building wicket-1.x. Had
done a few updates, and then the install target got in a strange loop. It
took forever and then my disk was full! Turned out that the wicket sources
has swollen a bit:
-rw-r--r--1 ejek
Just a note.
--
View this message in context:
http://www.nabble.com/Interesting-maven-experience...-tf3558619.html#a9937155
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Take Surveys. Earn Cash. Influen
Just a note.
--
View this message in context:
http://www.nabble.com/Interesting-maven-experience...-tf3558620.html#a9937156
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Take Surveys. Earn Cash. Influen
Hi, I'm not sure it is possible to change the markup of current
treetable without actually copying the classes and the markup.
However, it is on my todo list to change the markup from spans and
divs to table. But it's not a high priority one I'm affraid.
So If you want to do it on your own, I sugg
getRequestCycle().setResponsePage(SignUp.class);
-Matej
On 4/11/07, tbt <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I need to mount a page url because we need to use a static url to hook it up
> with google analytics. I tried adding the following code in the applications
> init() method.
>
> mountBook
Hi,
I need to mount a page url because we need to use a static url to hook it up
with google analytics. I tried adding the following code in the applications
init() method.
mountBookmarkablePage("/home", SignUp.class);
Now I can access the page directly using the static url but once users
navig
Johan Compagner wrote:
>
> what do you mean never expire?
> the page itself? (with 1.3 pages do never expire in the default setting)
>
> but if the http session expires then the page will go with it. For this
> you
> can use stateless components (like a stateless link or form)
>
> johan
>
Ye
Hi!
> If you have e.g. blog application that allows users to enter comment
> that other users can see, always escape the
Hi again
I've done a demo application for the issue (bug ?). I've spotted its
appear when I add my template page (otherwise it's working).
The demo app does 5Mo, so it won't go through the mailing list. So I
send it directly to you Igor, I hope you won't mind.
If anyone else would like it, just
Hi Igor
I've played with it again regarding the "multiple ajax submit buttons"
and I've noticed the following behavior :
- this issue is only happening on Firefox (more precisely :
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3). On Internet Explorer 6 SP2
Is there a DTD available for the namespace definitions in the html
tag of the XHTML files, so IDEA does not highlight it in red?
Tom
On Tue, 10 Apr 2007 23:00:48 +0200, Igor Vaynberg
<[EMAIL PROTECTED]> wrote:
> yes it states that, and to a very large degree (more then any other
> framework)
what do you mean never expire?
the page itself? (with 1.3 pages do never expire in the default setting)
but if the http session expires then the page will go with it. For this you
can use stateless components (like a stateless link or form)
johan
On 4/11/07, Dmitry Kandalov <[EMAIL PROTECTED]>
65 matches
Mail list logo