now we're going to build s.th. like a shop and i'm looking for
A Thai site?
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No
On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote:
now we're going to build s.th. like a shop and i'm looking for
A Thai site?
hm? a thai site? what do you mean?
cheers,
martin
Eelco
-
This SF.net email is
On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote:
now we're going to build s.th. like a shop and i'm looking for
A Thai site?
hm? a thai site? what do you mean?
Was a joke. You said 's.th' and .th is Thailand's extension.
Eelco
and eelco only dreams thai now so..
On 5/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote:
now we're going to build s.th. like a shop and i'm looking for
A Thai site?
hm? a thai site? what do you mean?
Was a joke. You said
On Tue, 2007-05-01 at 15:36 +0200, Johan Compagner wrote:
and eelco only dreams thai now so..
ok, then sweet dreams, eelco :)
On 5/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote:
now we're going to build s.th.
hi igor,
thanx a lot for this clarification!
cheers,
martin
On Sun, 2007-04-29 at 18:05 -0700, Igor Vaynberg wrote:
in reality this isnt how its supposed to work.
usually you would have something like this:
searchpage {
private criteria crit;
searchpage() {
add(new
hi igor,
i'm trying to implement your advice, but don't really know
how to do this.
what would the SearchForm then look like? does the form itself
use the model and how is the input field added to the form?
and how can the ResultsView access the value of the PropertyModel?
the model has a
i suggest you read here:
http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
the idea is pretty simple:
the form submits its data into a bean, and the view renders according to
that bean. this is accomplished by having the form and the view's models
connected to the same
hi igor,
i hope i got the idea now. i post my beans here, it would be nice
if could tell me if anything's not following the right path :)
// the start page, simply with the search form
public Index(final PageParameters parameters) {
LOG.debug( Creating new Index page with params +
On Mon, 2007-04-30 at 23:55 +0200, Martin Grotzke wrote:
hi igor,
i hope i got the idea now. i post my beans here,
aehem, sorry - forgot to include SearchResultsView:
public SearchResultsView(String id, PropertyModel model ) {
super( id, model );
final String query =
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 23:55 +0200, Martin Grotzke wrote:
hi igor,
i hope i got the idea now. i post my beans here,
aehem, sorry - forgot to include SearchResultsView:
public SearchResultsView(String id, PropertyModel model ) {
On Mon, 2007-04-30 at 15:07 -0700, Igor Vaynberg wrote:
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 23:55 +0200, Martin Grotzke wrote:
hi igor,
i hope i got the idea now. i post my beans here,
aehem, sorry - forgot to
if you want to maintain the bookmarkable url then no. but this is atypical
of how wicket lifecycle usually works. the model i showed is better because
if you reuse the searchresultsview outside of this lifecycle you are
creating it will still work properly, but if you have no plans on reusing it
On Mon, 2007-04-30 at 15:23 -0700, Igor Vaynberg wrote:
if you want to maintain the bookmarkable url then no. but this is
atypical of how wicket lifecycle usually works.
ok. do I have to take anything in acount if i use wicket in this
atypical way?
however, until now it feels very good to work
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 15:23 -0700, Igor Vaynberg wrote:
if you want to maintain the bookmarkable url then no. but this is
atypical of how wicket lifecycle usually works.
ok. do I have to take anything in acount if i use wicket in this
On Mon, 2007-04-30 at 15:42 -0700, Igor Vaynberg wrote:
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 15:23 -0700, Igor Vaynberg wrote:
if you want to maintain the bookmarkable url then no. but
this is
atypical of how wicket
hi all,
i'm just starting with wicket and have a simple search
form, that leads to a SearchResultsPage.
the SearchResultsPage is mounted as a bookmarkable page (via
mountBookmarkablePage(/search, SearchResultsPage.class);),
although the url that is shown then contains s.th. like
no, once the form is submitted the page is no longer bookmarkable and so it
will lose any bookmarkable/mounted url.
if you want to keep it you can call setresponsepage(page.class, params) in
onsubmit(), but in your case that is silly since searchresultspage probably
contains the submitted form
On Sun, 2007-04-29 at 17:41 -0700, Igor Vaynberg wrote:
no, once the form is submitted the page is no longer bookmarkable and
so it will lose any bookmarkable/mounted url.
if you want to keep it you can call setresponsepage(page.class,
params) in onsubmit(), but in your case that is silly
in reality this isnt how its supposed to work.
usually you would have something like this:
searchpage {
private criteria crit;
searchpage() {
add(new searchform(form, new PropertyModel(this, crit));
add(new resultsview(view, new PropertyModel(this, crit));
}
}
that way the form
20 matches
Mail list logo