BTW, for what purpose the Fragment constructor with the MarkupStream
parameter exists?
Tom
On Mon, 09 Apr 2007 20:14:36 +0200, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> This is very nasty code: creating a page upfront and not having it be
> part of the request cycle. Constructing a page
Hi ,
What is the right way to identify that a submit was failed ( e.g. there is
no connection to the server ) ?
Best regards
Mandeleil Roman
--
View this message in context:
http://www.nabble.com/Submit-failure-tf3551190.html#a9914206
Sent from the Wicket - User mailing list archive at Na
OK, do so.
Tom
On Mon, 09 Apr 2007 20:14:36 +0200, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> This is very nasty code: creating a page upfront and not having it be
> part of the request cycle. Constructing a page can be very costly in
> terms of memory usage and performance (models pulling
created JIRA https://issues.apache.org/jira/browse/WICKET-456
And when I use HeaderContributor (instead of wicket:head in the markup) it
works fine as expected.
Thanks,
Peter.
On 4/9/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
We already do parse content of , but only to filter hader
contribu
looks good without actually running the code :)
-igor
On 4/9/07, Carlos Pita <[EMAIL PROTECTED]> wrote:
Well, here is what I've done based on your suggestions. Please review
this and tell me if it can be improved, if you are so kind:
1) An inherited model that looks into the passed model. I
Well, here is what I've done based on your suggestions. Please review
this and tell me if it can be improved, if you are so kind:
1) An inherited model that looks into the passed model. If it's not
null it returns a propertymodel for the component id a la
CompoundPropertyModel. If it's null it re
maybe have FormComponentFeedbackBorders for the individual
components and then a global feedback panel to catch the general
ones (install a filter to ignore reporters that have feedback borders)
Carlos Pita-4 wrote:
>
> Hi all,
>
> suppose you have to implement some form input component that
On 4/9/07, Carlos Pita <[EMAIL PROTECTED]> wrote:
1) How can I use a compound property model without naming the nested
form components with their full path (ie. 'birthDate.year' instead of
simply 'year').
use the model luke
what is below is some pseudocode, it is not the best way to do this
> 1) How can I use a compound property model without naming the nested
> form components with their full path (ie. 'birthDate.year' instead of
> simply 'year').
>
> 2) If I add a validator to the form component panel (for panel level
> validation), can I assume that the nested component models will
Hi Eelco,
I've looked at the examples. There are a couple of things that still
troubles me:
1) How can I use a compound property model without naming the nested
form components with their full path (ie. 'birthDate.year' instead of
simply 'year').
2) If I add a validator to the form component pan
When nested form is submitted, the form components in surrounding
models are given the user input, but they are not processed. So the
input is "persisted" during request, but not validated and processed.
The inner (nested) form, that is submitted is both validated and if
validation succeeds, the mo
> > as a formcomponent itself. and actually wicket does support embedded forms.
>
> Can you expand on this? Will nested forms be validated and bound
> before their containers?
Look at wicket.examples.forminput.Multiply and
wicket.extensions.yui.calendar.(Date)TimeField for examples.
Eelco
--
> there is a FormComponentPanel that can embed other form components, and act
Great! Btw, is there something more like a border or fragment, to
"inline" the markup?
> as a formcomponent itself. and actually wicket does support embedded forms.
Can you expand on this? Will nested forms be validate
there is a FormComponentPanel that can embed other form components, and act
as a formcomponent itself. and actually wicket does support embedded forms.
-igor
On 4/9/07, Carlos Pita <[EMAIL PROTECTED]> wrote:
Hi all,
suppose you have to implement some form input component that is
composed fro
Hi all,
suppose you have to implement some form input component that is
composed from other simple FormComponents. These simple input fields
will be ajax-validated individually, and they will be subject to some
global (inter-field) validation too. An example could be three
drop-downs for a date, w
> Well, isn't that just what "mvn jetty:run" gives you? :-)
>
talking about quickstart and mvn jetty:run:
https://issues.apache.org/jira/browse/WICKET-455
Martin
-
Take Surveys. Earn Cash. Influence the Future of IT
Join So
yes +1, just revert to version 3
-igor
On 4/9/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
This is very nasty code: creating a page upfront and not having it be
part of the request cycle. Constructing a page can be very costly in
terms of memory usage and performance (models pulling data).
This is very nasty code: creating a page upfront and not having it be
part of the request cycle. Constructing a page can be very costly in
terms of memory usage and performance (models pulling data).
I highly recommend pulling this example from confluence, as it is
unnecessary (use panels instead)
We already do parse content of , but only to filter hader
contribution contributed by ajax (in javascript).
-Matej
On 4/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> we are talking about two different panel classes contributing the same
> , that means we need to break the head down into indivi
we are talking about two different panel classes contributing the same
, that means we need to break the head down into individual tags and
process them that way.
this isnt the case where we filter contributions from two instances of the
same panel class.
-igor
On 4/9/07, Eelco Hillenius <[EMA
> it shouldn't be to hard i guess to send that blob through the header
> contributor?
> Because then it will be filtered because the head part is always the same
> for a static script
I would have sworn we already did that. Calls for a JIRA issue.
Eelco
--
it shouldn't be to hard i guess to send that blob through the header
contributor?
Because then it will be filtered because the head part is always the same
for a static script
johan
On 4/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
use IHeaderContributor, contributions through that are filt
Thanks Igor I'll use IHeaderContributor for now.
On 4/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
use IHeaderContributor, contributions through that are filtered.
i dont think we currently parse what exactly is in wicket:head, we just
blob it in. it might be nice to parse it, i dont know, b
Hi. This is the qmail-send program at cenia.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
:
66.35.250.206 does not like recipient.
Remote host said: 451-Could not complete sender verify callout
use IHeaderContributor, contributions through that are filtered.
i dont think we currently parse what exactly is in wicket:head, we just blob
it in. it might be nice to parse it, i dont know, but it is a lot of work.
you can add an rfe if you want, but it will not get a high priority imho
-igor
Hi,
I'm trying to use some Yahoo UI widgets and currently things work fine when
the required javascript files are contributed using
But when I have two different panels appearing within the same page - and
both contributing the same common *.js files, - the page HTML has duplicate
I'm just going to echo what Eelco originally said: HTML is quite good
for defining forms. I'm glad people have found ways to generate them
from XML or whatever (and for some purposes I'm sure that's best), but I
would encourage new users to keep an open mind about plain HTML
templates for forms
On Thu, 05 Apr 2007, Toscano wrote:
> The getCountries() method outputs the list of countries depending on the
> language stored in session.
> But if I create the DropDownChoice as you said:
>
> countries = new DropDownChoice("country",
> new Model() {
> publi
Check out how panels, fragments and borders work. That will let you
break things up in smaller pieces and defer the decission of which
actual markup will be used.
if (x) {
add(new TextFieldPanel("editor");
} else {
add(new ListEditor("editor);
}
...
...
...
etc.
Just play with it a
search the list and wiki for bean panels. there is also a bean panel project
in wicket-stuff although i dont know how usable it is.
-igor
On 4/8/07, Philip Weaver <[EMAIL PROTECTED]> wrote:
I am interested in creating a complex form in Java code without needing to
manually configure any html
Yes, this is a known issue with refreshing dataview with toolbars
using ajax. The problem is that toolbars use non-invalid markup which
works fine with regular requests, but doesn't work using ajax.
-Matej
On 4/9/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> hi
> i used a defaultdatatable to sh
hi
i used a defaultdatatable to show the data list , and add some ajax link in it
to open some modal window to show detail.
the toptoolbar will dispeared when these modal window closed, it's only happen
in firefox, work well in IE 6.
so ,is there any one can help me ? the below is my code.
ps.
ali-13 wrote:
>
> I link your xsd to external resources of IDEA and add wicket:id to custom
> html tags/attributes, and now it know wicket'tags
> , but after validate following xhtml file :
>
Sorry, but it's just a workaround for IDEA inspection, it's not a real
schema for wicket.
--
View
Hi,
I'm just getting started with wicket and I like. (I have a strong
Swing background :-)) .
Bat it looks to me that I sort of have to "design" each gui, i.e. I
have to write markup files.
In some cases I would like to be able to generate a form based on a
database table. And I wouldn't
great link thank you.
can't believe I missed that...
On 4/9/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
And Igor was correct, just not the general faq :-P
http://cwiki.apache.org/WICKET/listview.html#ListView-FAQ
On
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Actually I just did this at work but I used fragments rather than
panels. We just need a simpler datatype->html widget look up so I just
went with fragments so that I don't need to build a bunch of java class
and html files. The fragments are na
Thanks for the quick replay. After some digging, I found that I forgot
to check that TreeItem is also a WebMarkupContainer which is rebuilt. A
wrong way to re-implement my requirement in the Tree component let me
think it worked on the Tree component in wicket-extension, which is
obvious not af
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
And Igor was correct, just not the general faq :-P
http://cwiki.apache.org/WICKET/listview.html#ListView-FAQ
On 4/9/07, Robbert Vergeten <[EMAIL PROTECTED]> wrote:
> Thanks for the quick response i'll try that. I can't seem t
Thanks for the quick response i'll try that. I can't seem to find it in the
FAQ though.
On 4/8/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
you cannot update a listview with ajax, i think its in the faq. wrap it in
a webmarkupcontainer and update that instead.
-igor
On 4/8/07, Robbert Verge
Thanks Jurgen & Eelco,
I understand you would not want this as default behaviour & I suppose I can
figure it out.
Cheers,
Wilko
Eelco Hillenius wrote:
>
> I see what you mean, and understand this use case may be good for some
> occasions. There is a big danger however, of Wicket 'silently' f
Why not just use a panel instead?
Martijn
On 4/9/07, Thomas Singer <[EMAIL PROTECTED]> wrote:
> I meant, when I don't use the -tags (like in the example at
> http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
> ).
>
> Tom
>
> Igor Vaynberg schrieb:
> > fra
I meant, when I don't use the -tags (like in the example at
http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
).
Tom
Igor Vaynberg schrieb:
> fragment doesnt own wicket:fragment, only whatever is inside the
> tags
>
> -igor
>
>
> On 4/8/07, *Thoma
42 matches
Mail list logo