Hmm,..
can you post your markup? this code does work with my own markup..
did you use div wicket:id=resultcontainer or did you use
wicket:container wicket:id=resultcontainer .. do you see something
in wicket-ajax-debug panel? any error-message? any ajax-response?
...and im pretty sure that i
There is a problem with IE/ExternalInterface if movie is added to DOM f.ex
appendChild
JavaScript functions are called but they do not return any value.
This is clearly MS problem but could IE specific function in wicket-ajax.js be
adjusted somehow ?
Simple test case has
var
Hello,
my markup:
fieldset
legendList of Files/legend
table border=1
tr
tdDate Uploaded/td
Yes the issue is that, the form being submitted is the outer (which has no
maxsize set, so default is used).
When I submit upload0, Form.handleMultiPart() is called on the outer form
(form0).
When I submit upload1, Form.handleMultiPart() is called on simpleUpload.
I'm missing something or doing
Hello,
thank you for your. i already make it work. (need to adjust some markup
thing :) )
thanks a lot.
cheers.
michael mosmann wrote:
Hmm,..
can you post your markup? this code does work with my own markup..
did you use div wicket:id=resultcontainer or did you use
wicket:container
Hi Jonathan,
I was one of the guys writing the title story. I contacted the Java
Magazin Team regarding a copy for you!
Unfortunately we can't put the articles online for free since they
were written for a commercial print magazine.
Regards,
Michael
On Thu, Sep 3, 2009 at 8:13 PM, Jonathan
Hi,
I have created a RequestPage html page containing a form (= search
criteria) and a list (= Data View where the result set of data retrieved in
a DB according to search criteria is displayed). When the user clicks on the
search criteria button of this page, the request is redirected to the
Is it a must that you use PageParameters for RequestPage?
Do you need an access to it also from a URL (after mounting it in your
Application).
I think that a nicer way is to add a constructor that accepts the values.
Even better, I would have created a POJO model.
Use a CompoundPropertyModel with
Thx for the reply.
You are right, it is not a must to use PageParameters but as this is my
first Wicket project, I have started to work with simple things.
In the meantime, I have had a look to the formInput example where a
CompoundPropertyModel is used. I have adapted the Form to work with
you can call YourForm.this.getModelObject() in your forms onSubmit or
the buttons onSubmit method.
that would return the model object bound to your CompoundPropertyModel
and you model object would have all the updated values
-dipu
On Mon, Sep 7, 2009 at 11:58 AM,
back to my original question, do you actually need this page to have a
constructor with PageParameters?
hint - if you want a user to get it with nice URL, then yes.
You can call one constructor to the other (sometimes tricky in situation
like yours), or you can have an init() method that does
Hi,
has anybody experience in inserting the wicket framework into apache
turbine. And if so how did you insert wicket into the turbine web.xml
or is there another way?
If not is there a general way to insert the wicket framework into
other frameworks.
Any help is appreciated!
thx,
Hi List,
I want to add a custom anim gif while the page is rendering...
To do this, I created an AjaxButton and a Form
- In the AjaxButton submit method I setVisible my anim gif
- In the form submit metho I call the setResponsePage
If I remove the setResponsePage and I log something on the form
Hi
We have a DataTable with some sortable columns. Unfortunately, they
often don't match a simple property but are assembled using multiple
properties.
Unfortunately, a column seems only sortable by a single property :-(
Is there a possibility to sort a DataTable using the effectively
have a look at AjaxLazyLoadPanel, looks like thats what you are looking for
-dipu
On Mon, Sep 7, 2009 at 4:10 PM, Arnaud Garciaarn...@imagemed-87.com wrote:
Hi List,
I want to add a custom anim gif while the page is rendering...
To do this, I created an AjaxButton and a Form
- In the
Hello Martin, thanks for the reply. The AjaxFallbackLinkExtension is a private
method created by Eclipse wizardry to unwind an anonymous class. I have since
fixed this issue in that the WebPage link is displayed within the
wicket:extend tags but now it removes the horizontal list of WebPage
If you have any suggestions for how to replace just part of a WebPage
(wicket:extend) with a whole new WebPage please advise. Regards, David.
Why not use panels? Looks like what you need is panels.
**
Martin
-
To unsubscribe,
sounds like a bug, open a jira issue.
-igor
On Mon, Sep 7, 2009 at 1:10 AM, nytrusnytrus...@gmail.com wrote:
Yes the issue is that, the form being submitted is the outer (which has no
maxsize set, so default is used).
When I submit upload0, Form.handleMultiPart() is called on the outer form
you can enter whatever expression/key you want into the sortable
property of the column and then use that to sort however you want. the
idea is that sort should be performed in the database, not in the ui.
-igor
On Mon, Sep 7, 2009 at 8:14 AM, Matthias Kellermatthias.kel...@ergon.ch wrote:
Hi
Hallo,
which encoding strategy should one use if one would like to achieve this:
http://somesite/somepath/user1/products -- mounted on ProductsPage.class
http://somesite/somepath/user1/profile -- mounted on ProfilePage.class
http://somesite/somepath/user2/products -- mounted on
you will have to roll your own, this is not supported in 1.4 but
should be in 1.5
-igor
On Mon, Sep 7, 2009 at 11:27 AM, Vit Rozkovecrozkovec...@email.cz wrote:
Hallo,
which encoding strategy should one use if one would like to achieve this:
http://somesite/somepath/user1/products -- mounted
I apologize in advance if there is a completely obvious solution to this
that I have missed...
Is it possible to pass in parameters to a panel via the markup?
Eg., Let's say that there are number of different ways that a particular
panel could be rendered and that these ways are largely
Put simply, no. In Wicket, this is considered code. And code goes in Java
files. Configure it in the YourPage.java file - where you have access to
data sources, session attributes, the user, etc
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Sep 7, 2009 at 5:09 PM, Chris
Hello Martin, converting the WebPage to Panel foments no complaints until
RunTime where all of the upstream markup is re-included in the downstream
onClick() request. the usual complains are made: cannot find the component to
the paired wicket markup. The component has already been fired by
When my web designer guy wants control over whether he wants to place
either 10 songs or 50 songs into the 'top of the charts' panel I
consider that to be something that should definitely not be something we
have to make separate .java panel classes and markup to achieve.
To have to get a
It could be done. I'm pretty sure that if you used onComponentTag (can't
remember exact name this second - and just walking out the door) - you could
read any attribute from the tag. Then hold that number in your component
and let your model that reads the songs read that number to determine how
You don't need multiple versions of the panel, you simply need a constructor
that takes an argument, the number of items you want to include. This
doesn't fully fulfill your use case as your site-devs or portal-devs cannot
pass that argument in.
You could arrange that using iframes and passed
Slight problem here is that onComponentTag is called during render.
You can't modify component hierarchy at that point.
Only way around this is to find component's markup index in
onBeforeRender and then get the tag from markup stream. But this will
fail in many cases (borders, transparent
this is a matter of what is configurable externally and what is
configurable internally in code. you want to reuse the markup as the
external configuration medium by adding this information there, but it
can just as easily live in an external property file or in a database
table. the philosophy of
you say it is laughable to require knowledge of code to configure
this. i agree, but i also think its laughable to require the knowledge
of markup, why shouldnt a sysadmin be able to change this? so isnt a
property file, or a jndi property, or a database table a better place
to configure
Then why not just create a configuration panel so your designer can
configure the number of items to display?
On Sep 8, 2009, at 9:23 AM, Chris Colman wrote:
you say it is laughable to require knowledge of code to configure
this. i agree, but i also think its laughable to require the
Then why not just create a configuration panel so your designer can
configure the number of items to display?
Scenario:
Let's say 8 different pages use the same SongChartPanel and each wants
to list a different number of songs.
Providing a configuration panel for the web designer to configure
Hi All,
I have created a very simple class that includes a property based on the
java.util.Date class.
This model is used with a simple WebPage and a Label component is used to
present the
date. For some reason, only the time part of the underlying Date object is
being displayed.
I'm using
right, and the next logical extension is controlling visibility, or
maybe which panel variant to display. why should the developer be
involved if the designer wants panel A vs panel B, thats silly. so
next step is wicket:if and wicket:else based on some condition
expressed through some type of EL.
i believe the default converter will format the date to time only, you
can override getconverter() on the label and return your own, or
install your own converter globally.
-igor
On Mon, Sep 7, 2009 at 6:48 PM, Steve Hillersh...@bellsouth.net wrote:
Hi All,
I have created a very simple class
officially we will not support this type of control because there are
plenty of other alternatives which we find more appealing. that said,
there are plenty of ways for you to accomplish what you want, we do
not slam doors on ideas just because we dont agree with them.
eg you can use
Hello, something I have been ignoring for a long time is in the subject line.
Though my IDE tells me it is deprecated I have not see a good alternative
anywhere (wicketstuff, google, etc.). All of my CSS is in several files and
directories under one directory named: style. What is a good
The replacement for the deprecated method is written in the JavaDocs.
http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/HeaderContributor.html
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Sep 7, 2009 at 10:18 PM, David Brown
dbr...@sexingtechnologies.comwrote:
Hello,
I seemed to remember writing a post about something similar to this here
it is:
http://www.nabble.com/Wicket-and-CoC-tt20706881.html#a20715349
It's pretty old, but probably still works. I was impressed at the time with
how easy it was.
--
Jeremy Thomerson
http://www.wickettraining.com
I seemed to remember writing a post about something similar to
this
here
it is:
http://www.nabble.com/Wicket-and-CoC-tt20706881.html#a20715349
Good post. The IComponentResolver is already used heavily in our app to
convert wicket:id values into panel class names but I was seeking a way
Hi!
I did not understand a single word of what you just said :( I have
never had problems with panels.. would you mind posting some code so
we can see what you are trying to accomplish and how?
**
Martin
2009/9/8 David Brown dbr...@sexingtechnologies.com:
Hello Martin, converting the WebPage
I'm doing some experimenting with ComponentTag.getAttributes() - it
looks
like the one!!
Doh! It doesn't seem to work. No matter how many attributes I add to the
tag and no matter whether I add the wicket: namespace to them or not I
only ever see the single wicket:id attribute when I run this
Hi,
Is there any example in Wicket that uses Servlets (doGet() doPost()). I mean
how can we configure Servlets in our wicket application and use doGet(request,
response) doPost(request, response) methods. I know web.xml configuration for
Servlets but how can we use doGet() doPost() methods.
-Original Message-
Doh! It doesn't seem to work.
...
Whoops! Please ignore the above!
It works like a charm when you place the parameters in the right place
;)
-
To unsubscribe, e-mail:
servlets are totally separate from Wicket - write a servlet and add it to
your web.xml. See any servlet example on the web (non-Wicket related) for
assistance.
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Sep 7, 2009 at 11:54 PM, FaRHaN farhan.ba...@ymail.com wrote:
Hi,
Is
If I have a have this:
CompoundPropertyModel(Person)
PropertyModel(Person, name);
Would this be accurate?
CompoundPropertyModelPerson
PropertyModelString -assuming name is a string
-
To unsubscribe, e-mail:
thats pretty strange, create a unit test and we will fix it.
-igor
On Mon, Sep 7, 2009 at 9:00 PM, Chris
Colmanchr...@stepaheadsoftware.com wrote:
I seemed to remember writing a post about something similar to
this
here
it is:
but how can we call it from our wicket web page ?
From: Jeremy Thomerson jer...@wickettraining.com
To: users@wicket.apache.org
Sent: Tuesday, September 8, 2009 11:10:49 AM
Subject: Re: Usage of Servlets in Wicket, How ?
servlets are totally separate from
Refer this:
http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html
If that doesn't help you should briefly explain what your requirement is.
There may be a better way to achieve it within Wicket instead of hacking
around with servlets.
On Tue, Sep 8, 2009 at 10:57
49 matches
Mail list logo