Hello,
This is my first post. I am not a web developer, I usually develop other kinds
of systems, but for a quick project I have to do, I looked at JSF and I really
did not like it. Finally, I have come across wicket and it was love at first
sight.
Now, so far everything has been
Don't let the user wait. Use a lazy panel to render the long stuff in
the background, or if it even takes longer than that, calculate your
model data in a background thread and use a timer to poll and see if
the thread has finished, and use the result in a panel that you
replace on your page.
Hi,
Is there any wicket tree component which loads its children nodes
asynchronously ie after expanding a branch - children are loaded with ajax?
I need this in order to prevent the long initial delay, caused by loading
all the nodes.
In the examples I saw, all the child nodes were loaded at the
Thanks guys. This will solve my problem.
Bilgin
On Tue, Jun 29, 2010 at 6:10 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
alternatively requestcycle#onbeginrequest() is also a good place
-igor
On Mon, Jun 28, 2010 at 7:05 AM, M. Hammer nab...@hammer-tour.com wrote:
Quoting Bilgin
Hi, in my apllication,users can open items from menu in new tabs/windows.
When user opens item in new window system creates new page map for it.
When user close window, pagemap is still in session.
Is it somehow posibble to delete page map when user close browser window?
Thanks.
Thanks again, I will try to profile my code.
Another question is where I can clean my flags with errors (I keep in
session a Map with widget's id as key and Exception as value)? I understand
that onAfterRender method is not a good candidate because it's called on
abort exception also.
--
View
Hello,
I need a solution if such component exists:
1) first ListChoice have categories about 1-2k options
2) second ListChoice is empty
3) there are arrows which can move elements from first to second
ListChoice, and the way back
Main problem in such scenario would be with sending lot of
Thank you, it works
//Swanthe
On 2010-06-28 11:14, Major Péter wrote:
Hi,
Try something like this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
inheritedtrue/inherited
configuration
skipTestsfalse/skipTests
Hi.
I got such error today Long time ago i had similar problem but with
ClassCastException while deserialization. It was because i kept
references from one page inside another. Nowdays i dont have such
navigation, im using:
RequestCycle.get().setResponsePage(xxxPage.class)
Any ideas ? Hints
hi!
I am wondering how to add a wicket:panel/wicket:panel to a datatable.
works to add my panel likte this add(new TestPanel(test));
But how do i add it as an iterating panel in the datatable.
My datatable looks like this
ListIColumnTest columns = new ArrayListIColumnTest();
Hi
I've got an implementation of the IModel interface and I want to inject a
Spring bean in it.
In the method public String getObject(); this object is null.
Is it impossible to inject Spring beans with @SpringBean?
thx in advance!
David
Try using
InjectorHolder.getInjector().inject(this);
inside your model implementation's constructor.
On Tue, Jun 29, 2010 at 9:30 AM, David Meulemans
meulemans.da...@gmail.com wrote:
Hi
I've got an implementation of the IModel interface and I want to inject a
Spring bean in it.
In the
I think component instantiation listener will only scan wicket
components. Just try
InjectorHolder.getInjector().inject(this);
on constructor of the model to get your dependencies injected.
Best,
Ernesto
On Tue, Jun 29, 2010 at 3:30 PM, David Meulemans
meulemans.da...@gmail.com wrote:
Hi
I was just attempt to use the ListChoice and it seems to me that the
constructor signatures are wrong.
The model for this should be List? extends T not ListT, otherwise you can't
select more than one item (T), which is the point..
D/
columns.add(new AbstractColumnTest(new Model())
{
@Override
public void populateItem(ItemICellPopulatorTest cellItem, String
componentId, IModelTest rowModel)
{
cellItem.add(new TestPanel(componentId));
}
});
--
View this message in context:
Dear Igor,
We are experiencing serious synchronization problems here.
I have added a screenshot of our yourkit.
It the same with all blocked threads.
If you need more proof/information please let me know.
Info of our system:
Description: Solaris 10
Vendor : Sun Microsystems
Thanks, Igor, I now see the methods you are talking about, and your
explanation makes perfect sense.
On Tue, Jun 29, 2010 at 1:16 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
On Mon, Jun 28, 2010 at 9:27 PM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Hi all,
The application
Hi,
I have a small behavior that prevents doubleclick on buttons.
It is added to Modal popups on a page. The problem i have is that if the
Modal window appears twice on a page,
the javascript variable value of the first popup is used.
This is because i am using: response.renderJavascript(...);
Dear all,
I am trying to find the best way to implement a state indicator that shows
different images. The state of the model object can be changed by the user,
resulting in an AJAX update being sent the server and a re-rendering of the
model object, which should show the correct state image
the javascript contributions are filtered by the id given in the
second parameter, in your case: pdcJS. since your ids are constant
only the first contribution makes it.
using UUID.random() will fix it it as far as header contributions go.
-igor
On Tue, Jun 29, 2010 at 7:45 AM, Muro Copenhagen
the resourcereference you give your image can serve different images
based on some condition.
-igor
On Tue, Jun 29, 2010 at 7:47 AM, Erich W Schreiner eschrei...@yahoo.com wrote:
Dear all,
I am trying to find the best way to implement a state indicator that shows
different images. The state
Friends, you can do with dataTable pagination, DataView or DataGrid with
wicket?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Pagination-in-wicket-DataTable-DataView-or-DataGrid-tp2272370p2272370.html
Sent from the Wicket - User mailing list archive at Nabble.com.
ListChoice doesn't allow you to choose multiple. You want ListMultipleChoice.
On Tue, Jun 29, 2010 at 8:29 AM, Douglas Ferguson
doug...@buzzstream.com wrote:
I was just attempt to use the ListChoice and it seems to me that the
constructor signatures are wrong.
The model for this should be
Yes. See DefaultDataTable.
On Tue, Jun 29, 2010 at 10:41 AM, adp adp1...@gmail.com wrote:
Friends, you can do with dataTable pagination, DataView or DataGrid with
wicket?
--
View this message in context:
Of course, you'll still have the issue that you are using a single global
variable for multiple things on the page.
On Tue, Jun 29, 2010 at 10:24 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
the javascript contributions are filtered by the id given in the
second parameter, in your case:
Ray,
I haven't had any succeded either. I am working with fb rest (facebook)
which has some classes that work with json to store several kind of objects.
In my case, I need my page to be bookmarkable.
thanks anyway
On Tue, Jun 29, 2010 at 1:47 AM, Ray Weidner
ray.weidner.develo...@gmail.com
optimized, try with latest branch build.
-igor
On Tue, Jun 29, 2010 at 7:18 AM, dannyboy danny.bolla...@gmail.com wrote:
Dear Igor,
We are experiencing serious synchronization problems here.
I have added a screenshot of our yourkit.
It the same with all blocked threads.
If you need more
friend, I can not see the information you sent me the link does not open.
The problem is that I must carry large amounts of data, and I can not do in
memory, which is why I must find a way to do pagination with either a
DataTable, DataView or DataGrid. Thanks for responding.
--
View this message
Thank you for responding, I'm coming to see the link you sent me.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Pagination-in-wicket-DataTable-DataView-or-DataGrid-tp2272370p2272428.html
Sent from the Wicket - User mailing list archive at Nabble.com.
There's not a link that I sent you. I meant try using the DefaultDataTable.
Look at how it does pagination.
On Tue, Jun 29, 2010 at 11:41 AM, adp adp1...@gmail.com wrote:
friend, I can not see the information you sent me the link does not open.
The problem is that I must carry large amounts
You are right, sorry, thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Pagination-in-wicket-DataTable-DataView-or-DataGrid-tp2272370p2272561.html
Sent from the Wicket - User mailing list archive at Nabble.com.
On 06/29/2010 11:38 AM, Branislav Kalas wrote:
Hi, in my apllication,users can open items from menu in new
tabs/windows.
When user opens item in new window system creates new page map for it.
When user close window, pagemap is still in session.
Is it somehow posibble to delete page map when
Pseudo Code:
CompoundPropertyModelString labelModel = new
CompoundPropertyModelString(labelProps);
panel.setDefaultModel(labelModel); /* Load labels at the PANEL level */
panel.add(new Label(label[1]));
form = new Form(new CompoundPropertyModel(myObj)) /* Load data at the
form level */
On 06/29/2010 08:48 PM, Branislav Kalas wrote:
On 06/29/2010 11:38 AM, Branislav Kalas wrote:
Hi, in my apllication,users can open items from menu in new
tabs/windows.
When user opens item in new window system creates new page map for it.
When user close window, pagemap is still in session.
On 06/29/2010 09:03 PM, Branislav Kalas wrote:
On 06/29/2010 08:48 PM, Branislav Kalas wrote:
On 06/29/2010 11:38 AM, Branislav Kalas wrote:
Hi, in my apllication,users can open items from menu in new
tabs/windows.
When user opens item in new window system creates new page map for it.
When
I'm currently trying to test my implementation of
CheckBox.onSelectionChanged(Object newSelection) ... I've created my
CheckBox as follows ...
item.add(new CheckBox(checkBoxId) // note that model object comes thru
compound property model
{
@Override
protected void
Thanks, I'll give it a try!
2010/6/29 Ernesto Reinaldo Barreiro-4 [via Apache Wicket]
ml-node+2272202-1574848512-232...@n4.nabble.comml-node%2b2272202-1574848512-232...@n4.nabble.com
I think component instantiation listener will only scan wicket
components. Just try
Isn't CheckBox using JavaScript, executed on the client, to generate
the onclick callback? See CheckBox.onComponentTag... e.g.
tag.put(onclick, window.location.href=' + url +
(url.toString().indexOf('?') -1 ?
amp; : ?) + getInputName() +
Hey all,
I have a component, ResponseArea, that get's a
HibernateObjectModelResponse. This ResponseArea then passes that same
model down to it's sub components (ResponseEditor, ResponseViewer).
ResponseEditor passes this model further down to a FormResponse. I have
some jQuery script that
To clarify even further, I did try to hack it so I changed the model of the
form directly (even though, I presume, it's all the same model propagated up
and down the hierarchy). That also did not work. Nothing I've done will
force the Form to take a new object before its next submission.
Marjin,
Thanks, I suppose that solves part of my problem. The wait is only 1 sec or
so, so using a lazy panel is a great idea, but does not eliminate my
underliying problem. For instance the user can still press the refresh
button causing the same exception and the same problem (some sort of
Hi!
I need to put in the page a javascript function with name and Id of
customer. I'm using a label component because I don't know others solutions.
Any idea?
Thanks!
Hi,
I have multiple forms in a ListView. So in order not to show the same error
messages in all feedback panels I use ContainerFeedbackMessageFilter to
filter the error messages. This didn't work and the warning was
Component-targetted feedback message was left unrendered. This could be
because
On Tue, Jun 29, 2010 at 9:44 PM, Gustavo Henrique gustavo...@gmail.comwrote:
Hi!
I need to put in the page a javascript function with name and Id of
customer. I'm using a label component because I don't know others
solutions.
Any idea?
Thanks!
AbstractBehavior#renderHead
--
Jeremy
Too many variables to debug without seeing the actual code. The best thing
for you to do would be to create a quickstart so that we could try to run
it. Of course, most people find their problem while creating the
quickstart.
On Tue, Jun 29, 2010 at 3:56 PM, jbrookover jbrooko...@cast.org
The hierarchy must match. If you want to use the label in the form, add it
to the form, not the panel.
On Tue, Jun 29, 2010 at 1:59 PM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
Pseudo Code:
CompoundPropertyModelString labelModel = new
Igor (or anyone else who knows the answer),
There is one problem with my implementation of the FormValidator in the code
that I included earlier. It performs validation using the Form's model
object, which is a problem because the input hasn't been mapped onto it at
this stage of validation.
If you need to validate after the data has been pushed to the model, then
just validate in the onSubmit and call error on the individual components
for the form. Leave the form validator out of it.
On Tue, Jun 29, 2010 at 11:03 PM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Igor (or
See the palette component
-igor
On Jun 29, 2010 3:11 AM, Java Programmer jprogrami...@gmail.com wrote:
Hello,
I need a solution if such component exists:
1) first ListChoice have categories about 1-2k options
2) second ListChoice is empty
3) there are arrows which can move elements from first
RequestCycle#onBeginRequest() may be a good place
On Jun 29, 2010 3:04 AM, Decebal Suiu decebal.s...@asf.ro wrote:
Thanks again, I will try to profile my code.
Another question is where I can clean my flags with errors (I keep in
session a Map with widget's id as key and Exception as value)? I
Page parameters only support strings, so you will have to encode and decode
yourself
-igor
On Jun 29, 2010 9:49 AM, Fernando Wermus fernando.wer...@gmail.com
wrote:
Ray,
I haven't had any succeded either. I am working with fb rest (facebook)
which has some classes that work with json to
Back in march there was a thread titled wiQuery components with
server side state - live demo
On that thread Richard Poway and I corresponded about a Grid Row Expander.
I never saw the reply but in a recent google for this I can across a
link he posted in that thread
Hello,
while designing pages for my app, I was thinking, if there is some
difference, when I use static or nonstatic classes in my page classes?
For example:
public class MyPage extends Page {
some code
private /** Should it be static or not? */ class MyForm extends Form {
}
}
Best
John,
See [1] and in particular the answer from Cemal (the one on Jun 16...)
That might answer part of your question.
Some time ago I have started [2], the implementation there is not that
complete yet but at least it could give you a starting point. And, of
course, patches and contributions are
54 matches
Mail list logo