Anybody?
On Jan 11, 2010, at 10:24 AM, Douglas Ferguson wrote:
I am assuming that since it is actually a text field that I could just get
the component and cast it to a TextField then set the model object.
However, I'm not sure that we fire the appropriate events to make the
autocomplete
On Thursday 14 January 2010 00:12:41 Alexander Elsholz wrote:
in my last wicket projects i used wicket-auth roles and swarm/wasp. i think
swarm/wasp is a really good base for larger web-applications. but we all
know about the problem with swarm/wasp. i developed a few extensions for
swarm,
Hi! I'm currently working on a wizard to modify a pojo extracted from
a database with Hibernate. I don't want to commit any changes to the
db before the user finishes the wizard, but the pojo loses reference
to the original session. Shall I eagerly fetch the object to avoid any
hibernate
Hi,
Once you have the object built up, you could reattach it to the session with
saveOrUpdate() which will figure out if it needs to insert or update. This
assumes you are using the Spring Hibernate wrapper templates.
cheers,
Steve
On 14/01/2010, at 9:47 PM, Rodolfo Cartas wrote:
Hi! I'm
Thanks, I'll be checking that out.
On Thu, Jan 14, 2010 at 2:52 AM, Cemal Bayramoglu
jweekend_for...@cabouge.com wrote:
Kirill,
You may get some useful ideas at http://wicketinaction.com/tag/listeditor/ .
Regards - Cemal
jWeekend
OO Java Technologies, Wicket
Consulting, Development,
hi,
i'm trying to customize Tomcat 6 configuration and i came accross Manager
element in server.xml. it allows one to configure where to store sessions
(memory, disk, ...), for how long to keep the session before discarding it, ...
so i was wondering how (if at all) wicket (1.4.5) session
img src=http://example.com/images/someimage.jpg;
style=background-image:url('style/spinner.gif'); /
Assuming the local machine is faster than the external server, the
spinner should be visible while the external image loads.
Martijn
On Wed, Jan 13, 2010 at 8:10 PM, Christoph Grün
Nice! I'm planing to show an busy indicator too, and the idea I had so far
was:
image = new Image();
code for show some busy indicator;
image.onload = function(){ code for stop the busy indicator}
image.src = 'path';
now I change my mind.
On Thu, Jan 14, 2010 at 10:48 AM, Martijn Dashorst
Hello,
..
AbstractDefaultAjaxBehavior behave = new AbstractDefaultAjaxBehavior() {
protected void respond(AjaxRequestTarget target) {
target.addComponent(orasListPanel);
}
public void renderHead(IHeaderResponse response) {
Hello!
We're struggling with working around the final modifier for the
MarkupContainer#add(Component ...) method.
We have the following scenario:
1. We'd like to use a repeater to add some components to the form.
2. We'd like these components to work with CompoundPropertyModel, thus we need
You can take a look at AjaxFormComponentUpdatingBehavior, this behavior will
keep the 'judet' field model data updated.
About the generated id, this is the default behavior, you can override the
onBind method to avoid id. But later you will can not add the component to
an AjaxRequestTarget, so see
Hello,
..
AbstractDefaultAjaxBehavior behave = new AbstractDefaultAjaxBehavior() {
protected void respond(AjaxRequestTarget target) {
target.addComponent(orasListPanel);
}
public void renderHead(IHeaderResponse response) {
I think you can explicitly tell in your tests to fire given java script
event, but after that your page flow will be broken (bug in the wicket
tester).
On Thu, Jan 14, 2010 at 9:51 AM, Douglas Ferguson
doug...@douglasferguson.us wrote:
Anybody?
On Jan 11, 2010, at 10:24 AM, Douglas Ferguson
This brings us to a suggested wrapping of the children in
WebMarkupContainers
This is not the only option you have, you can use lenient form components
like:
public class LenientTextField extends TextField
{
@Override
protected void onComponentTag(final ComponentTag tag)
{
tag.setName(input);
Hi all,
I am trying out the AjaxFallbackDefaultDataTable, but have trouble when I
want to make a cell work as a link.
With the code below the table displays the word [cell] in all the cells of
the first column (Name). When I click on the cell, the correct response page
is opened. I tried to add a
I changed the code to AjaxFormComponentUpdatingBehavior but it seems the js
generated by this behavior
getCallbackScript() is the same with AbstractDefaultAjaxBehavior and I have
same results if I call that script from
my flash component.
..
function load_orase(){
var
You could create a panel containing the link and the label and add that
panel as the cell e.g. something like
html xmlns:wicket=org.apache.wicket
body
wicket:panel
a wicket:id=link title= class=button
span wicket:id=text[text goes here]/span
If your http session times out, you will loose all data attached to
that including the wicket session.
2010/1/14 Vadim Tesis vad...@hotmail.com:
hi,
i'm trying to customize Tomcat 6 configuration and i came accross Manager
element in server.xml. it allows one to configure where to store
I don't see why the ajaxdefaultfallback table won't work.. Just add up
/ down arrows.. Just remember it will be persisted when you click up
or down. Even using a detachable model should work.
I had something similar where you could click an edit or delete
button, it just requires that the backing
Thanks Ernesto, but i don't get it ...
The only markup the AjaxFallbackDefaultDataTable needs is:
..
table class=horizontal wicket:id=table[table]/table
..
So I don't know how to apply your solution.
Regards,
Johan.
2010/1/14 Ernesto Reinaldo Barreiro reier...@gmail.com
You could create a
I found how I should do in place of getCallbackScript() I should call
getEventHandler() in the renderHead method but with
AjaxFormComponentUpdatingBehavior
.
it works like charm.
Thank you pedro.
On Thu, Jan 14, 2010 at 3:25 PM, Pedro Santos pedros...@gmail.com wrote:
You can take a
Hi,
We just found that PageLink has been deprecated in wicket 1.4. Can someone
explain why? I see no reason why PageLink should not be used. PageLink is the
base for SecurePageLink (in wicket-security), which uses getPageIdentity for
its security check. Using Link is not an option because it
You still create the panel and add that to the AjaxFallbackDefaultDataTable .
ListPromoType subscriptions =
Arrays.asList(PromoType.values());
selectionsList.setObject(subscriptions);
ListAbstractColumn columns = new ArrayListAbstractColumn();
Just a quick note to those interested - the Shiro dev team is trying
very hard to get a 1.0 final release out hopefully before the end of
this month.
Best,
Les
(Apache Shiro team)
On Thu, Jan 14, 2010 at 2:14 AM, Adrian Wiesmann awiesm...@somap.org wrote:
Hi Alex
i think we will not find one
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxFallbackLink;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
Hi Esteban, the wicket javascript will update your component html by the on
retrieved by your component that has the script tag attached. So you get the
problem describe. If you want to keep sending the java script by script tag,
you can implement your onComponentRendered method like:
if
how can old pagestore files be automatically deleted when server restarts?
in a crash, for example, in which old sessions left their pagestore files on
disk
Hi,
I am also stuck in similar problem.If you can share your code snippets of
how u did that will be of great help.
Thanks
Pratibha
vela wrote:
Hello again,
The links and nodes are added in the TreeFragment class. But the
TreeFragment is a private inner class in Treetable, could you
Hi,
check out wicket-tree (http://code.google.com/p/wicket-tree/) and see
the example app, I think it will solve your problem.
Regards,
Peter
prati írta:
Hi,
I am also stuck in similar problem.If you can share your code snippets of
how u did that will be of great help.
Thanks
Pratibha
We have updated LegUp [1] so you can now create projects using the
latest (compatible) versions of Wicket, Spring, Guice, JPA (1.0),
Warp, Hibernate...
LegUp is a collection of Maven archetypes to help you get quickly and
easily started with your enterprise projects.
Wicket 1.4.5, Guice 2.0
Hi Vadim,
I'm exactly trying this feature, and I have a similar situation (user object
in session). Upon restore, the user object is restored as expected, if the
user is logged in, he is still logged in, etc. But the stateful pages aren't
restored, so you can't just refresh a page and expect it
Would the use of the enhanced wicket tester perhaps solve this problem?
Dzieki
Paul Szulc wrote:
I think you can explicitly tell in your tests to fire given java script
event, but after that your page flow will be broken (bug in the wicket
tester).
On Thu, Jan 14, 2010 at 9:51 AM,
Hi,
have someone tried to integrate wicket + shiro + guice?
some example would be great.
Thanks,
V.
2010/1/14 Les Hazlewood lhazlew...@apache.org
Just a quick note to those interested - the Shiro dev team is trying
very hard to get a 1.0 final release out hopefully before the end of
this
Currently not, but maybe implementing it in EnhancedWicketTester is worse
idea then simply making finally WicketTester first class citizen in the
Wicket project. So that testing even most complex Ajax websites would be
possible and easy.
On Thu, Jan 14, 2010 at 8:54 PM, jgasyna
what does the javadoc say?
-igor
On Thu, Jan 14, 2010 at 6:12 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
Hi,
We just found that PageLink has been deprecated in wicket 1.4. Can someone
explain why? I see no reason why PageLink should not be used. PageLink is the
base for
This looks really great guys! I just created a project with it and looked
through it and it will be a great leg up for anyone needing to start a
project and needing help wiring all the pieces together.
Thanks!!
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jan 14, 2010 at 11:03
The javadoc says I should use Link or BookmarkablePageLink, which, as I
explained, are both not an option.
Emond
On Friday 15 January 2010 05:08:42 Igor Vaynberg wrote:
what does the javadoc say?
-igor
On Thu, Jan 14, 2010 at 6:12 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
hi,
if you want to store the Objects at the end of the wizzard, you have to
reattach to the session with lock(NONE), else Entitymanager.merge will
save each step.
Alternativly you can open one transaction and merge (or saveOrUpdate)
after every step. On last step you can commit the transaction.
38 matches
Mail list logo