RequestCycle.java: /** * Returns a URL that references the given page. It also * [EMAIL PROTECTED] Session#touch(Page) touches} the page in the session so that it is * put in the front of the page stack. Use this method only if you plan to
* use it the next request. * *
Unlike setResponsePage, urlFor does not seem to take an instance of a Page,
but only Class. What if I want to pass an instance of Page itself?
igor.vaynberg wrote:
>
> if you update to latest code from svn wicket_1_2 branch setresponsepage()
> will work. if you cannot upgrade then you have to
the change is applicable to >1.2.1-IgorOn 8/17/06, Gwyn Evans <[EMAIL PROTECTED]> wrote:
One thing that I noticed that might be worth a quick check is theexact state of the Spring integration, as I think Igor did some work
that simplified the annotated usage.See http://www.wicket-wiki.org.uk/wiki/i
Yep.
Eelco
On 8/17/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
> Will this patch be available in WICKET_1_2 ?
>
> :D
>
>
>
>
> On 8/17/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> > Thanks. I submitted that change. Please anyone, whenever you feel like
> > you have to implement some hack to
One thing that I noticed that might be worth a quick check is the
exact state of the Spring integration, as I think Igor did some work
that simplified the annotated usage.
See
http://www.wicket-wiki.org.uk/wiki/index.php/Spring#Annotation-based_Approach
for what I think the latest is, although I'
Will this patch be available in WICKET_1_2 ?:DOn 8/17/06, Eelco Hillenius <[EMAIL PROTECTED]
> wrote:Thanks. I submitted that change. Please anyone, whenever you feel like
you have to implement some hack to get a Wicket component workingproperly, send this list a note so that we can either confirm
if you update to latest code from svn wicket_1_2 branch setresponsepage() will work. if you cannot upgrade then you have to do target.appendJavascript("window.location="+urlFor(page, IRedirectListener.INTERFACE));
-IgorOn 8/17/06, samyem <[EMAIL PROTECTED]> wrote:
What do I need to do to go to a di
ahh - but RefreshingView doesnt care about ids of its direct children - it can be anything as long as they are unique. it even has a newChildId() which generates unique ids so you dont have to.-Igor
On 8/17/06, Frank Silbermann <[EMAIL PROTECTED]> wrote:
Excellent suggestion to use Repeater in
What do I need to do to go to a different page as a result the user pressing
an ajax link? My problem is that depending on the result of state the page
is on, pressing on the link could either lead to a different or change
portion of the same page (it's a bit more complex than this, but this shoul
Excellent suggestion to use Repeater instead of
ListView.
However, it seemed to me that Charles was having trouble
getting the Wicket:id of his sub-panels to match the Wicket:id used in his
panel-aggregating HTML. That problem has to be solved whether one uses a
ListView or a Repeater. My
There's always...
mvn archetype:create -DarchetypeGroupId=net.databinder \
-DarchetypeArtifactId=data-app -DarchetypeVersion=0.6 \
-DgroupId=example -DartifactId=myExample
Nathan
Martin Funk wrote:
> Verry nice, thank you.
>
> Personally I wouldn't mind seeing a couple wicket-archetypes on
a better way for creating layout with arbitrary number of panels is to use RepeatingView from extensions - you just keep adding children to it that are panels - much better then creating empty panels ahead of time and there is no overhead.
-IgorOn 8/17/06, Frank Silbermann <[EMAIL PROTECTED]> wrote
I had a similar need. I wanted a panel that
would display several arbitrary sub-panels
side-by-side:
abstract public class HorizontalPanelGrouper extends
Panel{
public HorizontalPanelGrouper(
String id ) {
super(id);
add(
"wicketIdForPanel1", createPanel1("wicketIdForPan
i got started on building the component a while back - but dropped the idea because ajax header contributions didnt work yet - o you couldnt wrap anything that had ajax in it. now that they do work i will give it another go.
-IgorOn 8/17/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
Do you thin
Do you think it is worth a quick wicket-example?
Juergen
On 8/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> the best way, imho, to do the collapsable panels is to use borders in
> combination with setborderbodyvisible(). that way you can wrap any component
> or components into this collapsabl
the best way, imho, to do the collapsable panels is to use borders in combination with setborderbodyvisible(). that way you can wrap any component or components into this collapsable border and not be limited to only wrapping a panel. the border will contain a header panel that will toggle the visi
This might help:http://www.wicket-wiki.org.uk/wiki/index.php/Forms_with_dynamic_elementsAs far as expandable panels, that's easily accomplished with Wicket's AJAX support. Email me if you need more help with it.
-
Using Tom
I am in the process of attempting to
rebuild our non-framework, completely homegrown web application as a Wicket
application. So, I am very new to the Wicket way and find myself
struggling with different things such as proper page construction techniques
for relatively complex data-enabled pages.
I would need the quickstart or even better a junit test for it to follow up.
Juergen
On 8/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> actually we should. i remember bugging Juergen about this a long while back
> and he fixed it but something mustve broken it again.
>
> -Igor
>
>
>
> On 8/17
What do you want to use the model for?
Eelco
On 8/15/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
> Is it possible to use LDMs and Trees?
>
> I find quite difficult to understand how to put them toguether. Could anyone
> give some hint? :)
>
> Thanks
> --
> Bruno Borges
> Summa Technologies Inc.
Thanks. I submitted that change. Please anyone, whenever you feel like
you have to implement some hack to get a Wicket component working
properly, send this list a note so that we can either confirm it is a
known issue, or discuss alternatives or like in this case apply a
patch.
Cheers,
Eelco
O
This seems not to be supported with the component itself. What you
could do is extend DatePickerSettings and override method toScript:
public String toScript(Locale locale, String format)
{
String s = super.toScript(locale, format);
s += ... your initializat
its probably because your ajax urls are creating new versions of pages - and when you submit the form it unrolls the page version. why cant you use the self updating behavior? if you dont - which is fine - you have to construct the url exactly like it does - those urls do not construct/nor rollback
actually we should. i remember bugging Juergen about this a long while back and he fixed it but something mustve broken it again.-IgorOn 8/17/06,
Eelco Hillenius <[EMAIL PROTECTED]> wrote:
I can imagine something like this yes; we probably don't have a niftyfilter mechanism for onload contribs as
Thank you all for replying.
I thought Gwyn's reply was closest to the money - maybe the dtd was to blame
as there was a slight difference between the examples.
So I removed the data type definition from the wicket page. Alas, no
improvement.
In the end I went to a good layout resource
(http://w
Hi Karthik,
if its not too late for a small wish: i'd love to see the EJB3 part of
chapter 5 extended to a full chapter, as wicket+ejb3 looks like the future
for me (sb. in the list called it the "holy grail of web development")...
e.g. session (stateful / less)beans & messaging beans as well as a
I agree completly. Bringing it to ibiblio would mean to set up jet
another continuing process of deployment for someone of the wicket team.
To make the move towards wicket a little easier I just added patch.
https://sourceforge.net/tracker/index.php?func=detail&aid=1541969&group_id=134391&atid=730
Thank you Per, Korbinian, Ingram, all for for considering the book.
Needless to say any kind of feedback would be greatly appreciated.
It's a good book you're working with. I do have some comments and have found >
a few errors, but I will mail them to you when daytime work is over.
Yes ,
Hadn't thought about it - might be worth leaving it 'till it's on the
Wicket repo at least?
Maybe wait till Martijn's back to see what he says about ibiblio, but
sounds good to me, at least.
/Gwyn
On 17/08/06, Martin Funk <[EMAIL PROTECTED]> wrote:
> Verry nice, thank you.
>
> Personally I wouldn
Look at MarkupContainer.newMarkupResourceStream() or
IMarkupResourceStreamProvider in CVS trunk. There even exists an
example: custom markup loading
Juergen
On 8/17/06, Otan <[EMAIL PROTECTED]> wrote:
>
>
> On 8/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> >
> > But do try to just keep it
Karthik, sorry for misspelling your name. Will not happen again. :)
Anyhow, I promise to stand up towards any evil attacks. It's a good book you're
working with. I do have some comments and have found a few errors, but I will
mail them to you when daytime work is over.
/Per
On Thursday, August
On 8/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
But do try to just keep it besides your classes, in the end it most people are used to that and like it.
But this time, my app's requirement is different from the ordinary use case. My app has to load an html markup personalized by users and us
By the way, the current implementation of default button ruins design sometimes (I do not exactly remember the case right now, but I can try to reproduce if necessary). I was forced to rewrite the appendDefaultButtonField to add position: absolute to the default pseudo-button.
@Overridepro
that is not how resource/i18n works.Then the keys in the property file has somehow the locale it it???johanOn 8/17/06, sathya81 <
[EMAIL PROTECTED]> wrote:Thanq Johan, well iam able to solve my problem, but still i need to create
that number of property files based on the number of locales present,
so im bad now ;)
on page 4, chapter 1, the listing 1-1 reads a config to
bring jetty to port 8080, instead it shows us a 8081
but to be nice, it is the only error i found so far, and
this at a beta-book level is really good (im at chapter 3 at
moment)
and you should tell apress that th
Yes, as long as you promise me that you will only have nice things to say about the book :) thanks,karthikOn 8/17/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:Kathrik, can we - Martijn and me - buy your book too? No copy 'n
pasting, we promise! :)EelcoOn 8/15/06, Per <[EMAIL PROTECTED]> wrote:>
yeah i have had this same problem too. html works fine from DW but when it is wrapped into a wicket component, it sorts of renders improperly. most times it may be an improper use of div and span combination that litters each component generated and you can use setStripWicketTags(true) from init
Thanq Johan, well iam able to solve my problem, but still i need to create
that number of property files based on the number of locales present, but it
wud have been better if only a single property file can be used for all the
locales...but i think its a bit silly idea to have a single property f
you don't need to have 4 html filesWe should rewrite that FormInput example asap for 2.0So that it uses property files and only have 1 markup file.johanOn 8/17/06,
sathya81 <[EMAIL PROTECTED]> wrote:
hi Juergen,I have gone through the examples, but i dont need that way, there theycreate locale bas
Completly true, the base
of my problems was that I called out dbprovider in a listview which were
rerendered at postbacks.
Regards Nino
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner
Sent: 17. august 2006 11:37
To: wicket-user@lists.sourceforg
Hi all,
I have a submit button that sets response page to some other page after
form is submitted (I override Form.delegateSubmit).
In addition there is an AJAX link in that page that refreshes some
components in the page every 5 seconds.
Since we cannot disable AjaxSelfUpdatingTimerBehavior we u
Please discard the
previous mail… It was another problem..
Regards Nino
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 17. august 2006 10:55
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] Wicket 1.2
and Hibernate 3 slow
Hi
wicket will not sniff (call getModelObject()) on all the components when it just have a request to it.It does ofcourse do that when rendering the page. Because the objects are needed then.And that could be the thing that is different with ajax. Because you don't render the complete page.
johanOn 8/
you need to make your own resourceloader thenIf you do keep the package structure then it is possible to relocate it to a different folder (IResourceFinder)But do try to just keep it besides your classes, in the end it most people are used to that and like it.
johanOn 8/17/06, Otan <[EMAIL PROTECTE
How are you retrieving the data?
(hibernate beans are just data-containers, wich are
persistent in the database)
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Nino
WaelGesendet: Donnerstag, 17. August 2006 10:55An:
wicket-user@lists.sourceforge.netBetreff:
Or it could also be/home/ludius/myapp/templates/com.company.Page1.htmlOn 8/17/06, Otan <[EMAIL PROTECTED]
> wrote:/var/webapps/myapp/WEB-INF/
com.company.Page1.html
-
Using Tomcat but need to do more? Need to support web ser
Hi
I have some pages where I use Hibernate beans to hold
the contents of my wicket componts, for example if I have a listbox then each
dataItem is a Hibernate bean. There seem to be a performance problem with this
when I have postbacks to the page, when using AJAX it does not seem to be
Currently, as suggested by Wicket, my html markup is in the directory where its corresponding java file is located./var/webapps/myapp/WEB-INF/classes/
com/company/Page1.java/var/webapps/myapp/WEB-INF/classes/
com/company
/Page1.htmlwhat I want to do now is put
Page1.html into different directory a
Also check out Form#appendDefaultButtonField
/**
* If a default button was set on this form, this method will be called
to
* render an extra field with an invisible style so that pressing enter
in
* one of the textfields will do a form submit using this button.
There is a best attempt to do this via Wicket, in Form#defaultButton:
/**
* Sets the default button. If set (not null), a hidden submit button
will
* be rendered right after the form tag, so that when users press enter
in a
* textfield, this button's action wil
Could you please try with Wicket 1.2.1? From that version on we got
rid of demanding pre-registration of shared resources, and the
SNAPSHOT version - if that is the same as what is in svn - has
preregistration removed.
Eelco
On 8/15/06, Robert McClay <[EMAIL PROTECTED]> wrote:
> I'm using wicket
Kathrik, can we - Martijn and me - buy your book too? No copy 'n
pasting, we promise! :)
Eelco
On 8/15/06, Per <[EMAIL PROTECTED]> wrote:
> It covers 1.2, and has some information about what 2.0 will add/change. So
> there will definitively be a reason to also get Wicket in Action when it's
>
Im not sure if this helps, but take a look at:
http://www.wicket-library.com/wicket-examples/pub
regards
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sathya81
Sent: 17. august 2006 07:34
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] Int
hi Juergen,
I have gone through the examples, but i dont need that way, there they
create locale based html files, so if there are 4 locales, i need to create
4 html files for each locale, but in my i cannot do that, so i used the
tag. actually inthe index page ,(user login page),
wicket is loadi
Verry nice, thank you.
Personally I wouldn't mind seeing a couple wicket-archetypes on ibiblio,
that way a 'simple':
- mvn archetype:create -DarchetypeGroupId=wicket
-DarchetypeArtifactId=wicket-archetype-template
-DgroupId=de.mywicket.app -DartifactId=myfirstwicketapp
could get you started with
I can imagine something like this yes; we probably don't have a nifty
filter mechanism for onload contribs as we have for header
contributions. If you could open up an issue for this, we could take a
look. Thanks,
Eelco
On 8/16/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have attached
Did you look at wicket-examples already? The form example and the pub
example both suppport multiple locales. There should be no need for
you load the properties file explicitly not should you add a locale
variable to the session.
Juergen
--
Could provide us a quickstart application for us? Make debugging easier. thanks.
Juergen
On 8/17/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have attached a AjaxSelfUpdatingTimerBehavior to one of the page
> components and discovered that when I navigate from on link to the other
> the
58 matches
Mail list logo