I already opened a jira issue:
https://issues.apache.org/jira/browse/WICKET-2497
igor.vaynberg wrote:
please open a jira issue.
-igor
On Tue, Sep 29, 2009 at 7:59 AM, Ann Baert ann.ba...@tvh.be wrote:
When writing an autocomplete textfield on a form that is first visible,
and after
hi,
actually i'm able to make it work some how using this setting
getPageSettings().setAutomaticMultiWindowSupport(true);
it creates a new page map everytime i open a page in a new tab or new window.
however in the wicket documentation it says that it is enabled by
default. but upon checking it
Hi,
I'm having problems . I think there is a bug in wicket in which the
memory usage zooms up exponentially when i copy and paste a url into a
new tab continuously.
This only happens when I explicity set automaticmultiplewindowsupport
to true. It seems to happen due to multiple page maps for the
Hey Jeff,
did you override this?
/**
* Override this method if you want onBeforeRender to be called even
when your component is not
* visible. default this returns false.
*
* @return boolean, if true then onBeforeRender is called even for
none visible components,
*
the javadoc in the later versions mentions that it is enabled by
default, however if you are using the default secondlevel caching page
store it will be disabled...
-igor
On Tue, Sep 29, 2009 at 11:10 PM, Carlo Camerino
carlo.camer...@gmail.com wrote:
hi,
actually i'm able to make it work
try on 1.4.1 and see if you get the same result.
-igor
On Tue, Sep 29, 2009 at 11:16 PM, Carlo Camerino car...@sxchange.com.ph wrote:
Hi,
I'm having problems . I think there is a bug in wicket in which the
memory usage zooms up exponentially when i copy and paste a url into a
new tab
I have same problem.
my project has used wicketstuff-dojo component, now I want to upgrade wicket
from 1.3.7 to 1.4.1, all test well but wicketstuff-dojo's component throw
exception.
do wicketstuff-dojo project stop develop?
On Mon, Sep 28, 2009 at 14:22, Elena Stoll elenast...@alice-dsl.net
I find lastest code url is :
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-dojo-1.1
2009/9/30 Igor Vaynberg igor.vaynb...@gmail.com:
there is really no point in having your tasks be components. why not simply
repeatingview rv=..
for (task t:tasks) {
if (t.hasUIComponent()) {
rv.add(t.getUIComponent());
}
}
-igor
Although only one task panel is ever drawn at the
2009/9/30 Randy S. randypo...@gmail.com:
Have you thought about using Spring Web Flow for this? I'm not a SWF expert,
but it sounds like something well-tailored to your needs. For example, a
flow can have steps that don't have UIs.
Our group at work is looking into Wicket SWF integration. I
Craig: didn't consider that. So, no clean solution seems to be possible.
Pedro: yes I was talking about having the wicket-tags turned on for the
application except for a certain (xml) page, since it is causing parse
errors in the xml there.
Antoine
On Tue, Sep 29, 2009 at 9:23 PM, Craig
Hi *,
i would like to know if there hidden consequences if i exchange
sharing by attribute through sharing by static determination.
To couple my event-components with it's higher ranking components i use
a listener based approach. Each parent adds a
listener to the child can be involved if an
Feel free to upgrade it to 1.4.
It should be easy. Just check out the code, follow the instructions at
http://cwiki.apache.org/WICKET/migrating-to-wicket-14.html
and if you wish donate your work back to community.
El mié, 30-09-2009 a las 14:37 +0800, 新希望软件 -- 俞宏伟 escribió:
I find lastest code
http://svn.carmanconsulting.com/public/wicket-advanced/ doesn't work.
-Original Message-
From: Maarten Bosteels [mailto:mbosteels@gmail.com]
Sent: 27. september 2009 19:58
To: users@wicket.apache.org
Subject: Re: Where can I find this Wicket application?
Hi,
I am trying to show validation errors on a page. Somehow it won't function! But
I don't understand why?
I mean I am using the right Validation class... Why don't wicket show any error
when the user does a wrong input?
Thanks!
import java.util.Date;
import
Hi Peter
Try adding a FeedbackPanel to your page Without that, wicket doesn't
even know where and how to display the messages.
Matt
Peter Arnulf Lustig wrote:
Hi,
I am trying to show validation errors on a page. Somehow it won't function! But
I don't understand why?
I mean I am using
Thank you! That does it!
- Ursprüngliche Mail
Von: Matthias Keller matthias.kel...@ergon.ch
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September 2009, 10:23:11 Uhr
Betreff: Re: Show Validation Errors
Hi Peter
Try adding a FeedbackPanel to your page Without that,
I'm having a similar, but different problem.
I have a PasswordResetPage for reseting a user password.
I am using Spring Security and need to link to it from a login.jsp.
So in my WebApplication class I have:
mountBookmarkablePage(ConstantsCommon.PASSWORD_RESET_PATH,
PasswordResetPage.class);
Hi,
I'd like to create a delete link where you can delete a row in a datagrid. But
when you click on the delete link, the delete label should change and a warning
occurs: Do you really want to delete xyz.
After the second click it finally deletes the content.
How can I achieve that? Could you
In addition:
my specific problem is, that after clicking on a link which is generated in the
datagrid, I am not able to manipulate other components!?
How is this possible?
- Ursprüngliche Mail
Von: Peter Arnulf Lustig u...@yahoo.de
An: users@wicket.apache.org
Gesendet: Mittwoch,
Hi Peter
For that we usually add an AttributeModifier which adds something like
that to the onclick javascript event:
if (!confirm('Do you really want to delete this entry')) return false;
Matt
Peter Arnulf Lustig wrote:
Hi,
I'd like to create a delete link where you can delete a row in a
What about replacing the link. e.g. via AJAX, with a new one containing
the Do you really want to delete xyz warning... that once clicked actually
deletes your entry... and refreshes the datagrid. You could even use the
same link and have a flag that says userWantsToDeleteRow and use it to
Hi Ernesto,
I don't get it: How can I change the Label-Text? When I try to change the Model
of the component Label, nothing happens. The page reloads and the Label has the
old Text (not the new one which is meant to be changed)
- Ursprüngliche Mail
Von: Ernesto Reinaldo Barreiro
I created a deteletButton as follows. I have a DeleteButton innerclass,
and a method that adds this button to the panel that is shown in the table.
private class DeleteButton extends Button {
private static final long serialVersionUID = 1L;
public DeleteButton(final String id,
Use an AJAX link inside a panel that you can replace via AJAX? Once the link
is clicked it will go to back to the page set the flag I'm on delete mode
and replace itself. All you have to do is has a model that says
if(onDeleteMode)
return Do you really want to delete XYZ?
else {
return
Thank you! Your solution is really nice.
It functions well!
I have a problem which the datagrid. After removing a row in the database it
throws an exception, because wicket is unable to populate an item (I assume the
deleted one)
How can I tell wicket to reload the datagrid because something
Hi all,
does someone know how to render a wicket component into a String?
Thanks
Luca
getMarkupStream().toString();
maybe?
- Ursprüngliche Mail
Von: Luca Provenzani eufor...@gmail.com
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September 2009, 12:32:19 Uhr
Betreff: Rendered html to string
Hi all,
does someone know how to render a wicket component into a
http://mail-archives.apache.org/mod_mbox/wicket-users/200811.mbox/%3c5de41c7d0811050222r5948a447r5fd68b5cefac5...@mail.gmail.com%3e
2009/9/30 Peter Arnulf Lustig u...@yahoo.de:
getMarkupStream().toString();
maybe?
- Ursprüngliche Mail
Von: Luca Provenzani eufor...@gmail.com
no clean solution seems to be possible.
Inheritance seems to be clean
On Wed, Sep 30, 2009 at 4:03 AM, Antoine van Wel
antoine.van@gmail.comwrote:
Craig: didn't consider that. So, no clean solution seems to be possible.
Pedro: yes I was talking about having the wicket-tags turned on for
Don't display the wicket:panel tag
1- I am using a wicket panel to create a component here is the code.
wicket:panel
div
... some code
/div
/wicket:panel
2- The call to the component is
div wicket:id=actionMenuOneactions/div
3- The generated HTML by wicket is
div
oops, yes, you are right! :-)
2009/9/30 Peter Arnulf Lustig u...@yahoo.de
getMarkupStream().toString();
maybe?
- Ursprüngliche Mail
Von: Luca Provenzani eufor...@gmail.com
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September 2009, 12:32:19 Uhr
Betreff:
In your Application class add the following line:
getMarkupSettings().setStripWicketTags(true);
Martin Letendre wrote:
Don't display the wicket:panel tag
1- I am using a wicket panel to create a component here is the code.
wicket:panel
div
... some code
/div
Hallo,
I came across strange problem I do not know whether it is mine fault or
wicket's problem.
On a page, there is a widget, which list news records.
Each record has an edit and delete link. Edit link opens new dialog in jquery's
thickbox window, which is practically IFrame.
The code for
if you want just one component in the hierarchie to be rendered to a
String you have to make a Behaviour and use the StringResponse-class to
replace the hole Response in beforeRender for this component.
in onRendered you can add the string again to the hole Response. We do
this for caching HTML
it seems to be interesting for us... can you send a code example?
2009/9/30 Martin Sachs sachs.mar...@gmail.com
if you want just one component in the hierarchie to be rendered to a
String you have to make a Behaviour and use the StringResponse-class to
replace the hole Response in
maybe you want have an custom WicketNamespaceHandler
On Wed, Sep 30, 2009 at 8:01 AM, Alex Objelean alex_objel...@yahoo.comwrote:
In your Application class add the following line:
getMarkupSettings().setStripWicketTags(true);
Martin Letendre wrote:
Don't display the wicket:panel tag
I used this with a AjaxFallbackDefaultDataTable and then I didn't have
to tell it that the DB had changed.
Peter Arnulf Lustig wrote:
Thank you! Your solution is really nice.
It functions well!
I have a problem which the datagrid. After removing a row in the database it
throws an exception,
could you tell me how to use this?
I have a Dataview like this:
dataView = new DataViewAdministrator(benutzer, new
AdministratorDataProvider()) {
}
thanks!
- Ursprüngliche Mail
Von: Linda van der Pal lvd...@heritageagenturen.nl
An: users@wicket.apache.org
Gesendet: Mittwoch, den
My component is ment to be distribute to a third party. I have no access to
the Application class. Is there a way to apply the same behavior to a single
component...
On Wed, Sep 30, 2009 at 7:01 AM, Alex Objelean alex_objel...@yahoo.comwrote:
In your Application class add the following line:
take a look at how GMap2 component resolve that problem:
/**
* @see
org.apache.wicket.MarkupContainer#onRender(org.apache.wicket.markup.MarkupStream)
*/
@Override
protected void onRender(MarkupStream markupStream)
{
super.onRender(markupStream);
if
I think ajax fallback strategy is a good idea:
class AjaxFallbackEvent{
void handleSomething( target){
// user implementations test for target == null
}
}
On Wed, Sep 30, 2009 at 4:38 AM, Per Newgro per.new...@gmx.ch wrote:
Hi *,
i would like to know if there hidden consequences if i
table = new AjaxFallbackDefaultDataTable(datatable, createColumns(),
contentProvider, 10);
@Override
protected IColumn?[] createColumns() {
IColumn?[] columns = new IColumn[3];
columns[0] = createActionsColumn();
columns[1] = new PropertyColumnString(new
Another approach would be to created a model window to appear when the
delete link is clicked. With the message Are you sure you want to delete
xxx? If you select yes, the row is deleted then ajax is used to refresh
the dataview. Let me know if you want to use this approach and I will post
Hi,
I was just trying to create a component of my own which - in some of my pages -
is created without a model. In the initModel() method I would then call
super.initModel() and wrap the resulting model for use in a child component. The
problem is the initialization order:
The child model's
How do you achieve, that the dataview is refreshed after clicking delete?
- Ursprüngliche Mail
Von: rmattler robertmatt...@gmail.com
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September 2009, 14:51:19 Uhr
Betreff: Re: How would you realize a delete-Link in a datagrid row?
If you're distributing it to third parties, it's really their problem - in
that this will be universal for all components in their app. If they don't
want the tags there, they will strip them (which is default in production).
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Sep 30,
I did not override the method.I just did and it is still not
working. Here is what I have:
Also, where would one find this type of information. I don't think the
online example show it and blindly guessing methods to look at in
javadoc doesn't seem efficient.
HTML:
tr
Hi. I have a problem with this example code:
tinyMceBehavior = new TinyMceBehavior();
PropertyModelBoolean richProperty = new PropertyModel(model, rich);
add(new AjaxCheckBox(switchRte, richProperty) {
@Override
protected void onUpdate(AjaxRequestTarget
On Thu, Nov 27, 2008 at 5:57 PM, Martijn Lindhout
mlindh...@jointeffort.nl wrote:
Hi all,
I searched nabble, but couldn't find any recent posts that brought me a
solution to this problem:
I have a page with two panels, a master/detail setup. The master has a list
of items, the detail a
The child model's initModel() gets called first
There are no especial ordering programing to initModels calls. Basically
they are called by
public final IModel? getDefaultModel()
{
IModel? model = getModelImpl();
// If model is null
if (model == null)
{
I believe the code that causes the problem is
#
@Override
#
protected CharSequence getURL()
#
{
#
return super.getURL() +
String.format(TB_iframe=trueheight=%dwidth=%dmodal=false, getHeight(),
getWidth());
#
}
IFAIK wicket encodes URL parameters
Hi all,
I have an enum type e.g.
public enum MapType
UNDEFINED,ROADMAP,MOBILE,SATELITE,TERRAIN,HYBRID;
public static String toKeyword(MapType mapType) {
switch (mapType) {
case ROADMAP:
return roadmap;
...
public static MapType
Sorry spelling error not model window but modal window.
rmattler wrote:
Another approach would be to created a model window to appear when the
delete link is clicked. With the message Are you sure you want to
delete xxx? If you select yes, the row is deleted then ajax is used to
yes I thought it... :)
How do you achieve that the dataview is refreshed after deletion of a row?
- Ursprüngliche Mail
Von: rmattler robertmatt...@gmail.com
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September 2009, 16:19:11 Uhr
Betreff: Re: How would you realize a
Hi Petr
We use a custom EnumConverter for that. It can be added to the
application like so:
@Override
protected IConverterLocator newConverterLocator () {
ConverterLocator converterLocator = (ConverterLocator)
super.newConverterLocator();
I tried JBoss JBPM and it worked for complex compound workflows. It also had
a eclipse designer plugin that could save the workflow image and provided a
class that visualised the current workflow state.
It had persistence module that was based on Hibernate. I had just to
implement simple UI to
I don't know if you need wicket api to reach your objective:
public enum MapType {
UNDEFINED, ROADMAP, MOBILE, SATELITE, TERRAIN, HYBRID;
public String toKeyword()
{
return toString().toLowerCase();
}
public String verbose()
{
On my applications I add an IStringResourceLoader that looks for resources
at packages where beans are defined... So, all I do is register a key like
xxx.mypakage.MapType:MOBILE and then this IStringResourceLoader will look
for a resource file namedBeans.properties at package xxx.mypakage and
Sorry, I should has said Igor and Juergen... look
for org.apache.wicket.resource.loader.PackageStringResourceLoader
Ernesto
On Wed, Sep 30, 2009 at 4:37 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
On my applications I add an IStringResourceLoader that looks for resources
at
igor.vaynberg wrote:
form {
onsubmit() {
try {
users.persist(getmodelobject());
} catch (usernamealreadyexistsexception e) {
error(error.username.exists);
}
}
}
-igor
Thanks, it works like a charm. I did not know I could show an
why do you use an exception for user already exits?Don`t you think that
return true/false, could be better?
i said that, because if the application start growing, you will have lot of
exceptions class.
thanks,
NM
On Wed, Sep 30, 2009 at 4:43 PM, Paul Huang paulhuan...@gmail.com wrote:
The AbstractValidator approach is fine, or you can do it the shorter
way the Igor showed.
Either way, when the page that has the username is submitted, you're
going to have to write that record to the database, even if you don't
have all the info. The way you wrote the question, I presume
It's not possible to add TinyMCE dynamically due to the way TinyMCE works.
What you can do however, is pre-load TinyMCE, and dynamically enable/disable
it on a component.
Daniele Dellafiore wrote:
Hi. I have a problem with this example code:
tinyMceBehavior = new TinyMceBehavior();
Actually AFAIK the resources just need to be on path, then you can pretty
much do whatever you want. Could be what your definition of preloading are
:)
I have a panel that are added by ajax so I had to make sure the resources
used by that panel always where on the containing page.
regards
I have tried removing the override completely, but it did not help. I just
would like to know, whether I am doing something obviously stupid, or if I
should start debugging deeper or make a quickstart.
Vit
I believe the code that causes the problem is
#
@Override
#
Wrap the dataview in a WebMarkupContainer .
1) Create a WebMarkupContainer
2) Create your data view
3) Add the dataview into the wmc
4) Don't forget to set .setOutputMarkupId(true); on the dataview
5) On the return of the Modal window refresh the target I.E.
actually you got it completely wrong. especially as your project, and
the number of devs who work on it, grows exceptions are a much more
scalable way of handling errors.
1) the compiler tells you exactly what the exceptions are right off the bat
2) exception class name gives you a clue as to
Well, that's what I meant with preloading. You cannot use TinyMCE if you're
loading its javascripts from your ajax request. If the TinyMCE scripts are
loaded from the containing page, then it will work (as you say).
nino martinez wael wrote:
Actually AFAIK the resources just need to be on
see FormComponentLabel and SimpleFormComponentLabel
-igor
On Wed, Sep 30, 2009 at 8:34 AM, Phillip Sacre
psa...@clifford-thames.com wrote:
Hi,
I've been using Wicket now for a couple of weeks and am getting on
pretty well with it. I still run into issues occasionally though, and
I'd like to
That's great, thanks - I knew there must be a simple way of doing it!
Phill
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: 30 September 2009 16:36
To: users@wicket.apache.org
Subject: Re: Newbie question - HTML Labels and IDs
see FormComponentLabel and
On Wed, Sep 30, 2009 at 4:40 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Thank you for the prompt reply to all of you.
for org.apache.wicket.resource.loader.PackageStringResourceLoader
Currently I used iteration through getStringResourceLoaders(), later
on I'd like to implement
Hi All,
I'm not sure if this is a Wicket, Spring or WebSphere issue or some combination
of the 3.
General Setup:
WebSphere 6.1, wicket 1.3.7, Spring 2.5.6
Specific Setup:
1 EAR contains 2 WARs, call them WAR1 and WAR2.
Each WAR uses the Wicket Spring frameworks.
The EAR is deployed to
that is what I do.
enable disable for me means add/remove to/from a component, while the
javascript is loaded as the page is loaded.
but, after removing the behavior, the save generate that error.
or maybe you mean something different with enable/disable.
On Wed, Sep 30, 2009 at 4:50 PM,
You're right, getDefaultModel ensures initialization. I should have suggested
that instead of getModel (which is not available in the component class anymore
in 1.4.x).
However, I did not want to override the initModel() method (and copy most of its
code) just for that. So now I solved it by
why not
class mytextefield extends panel {
public mytextfield {
add(new textfield() { initmodel() { return
mytextfield.this.getdefaultmodel(); }});
}
}
since this is essentially what you want to do - have textfield use the
same model as the panel.
-igor
On Wed, Sep 30, 2009 at 9:47
Only a shot in the dark, but is
typeBox.setOutputMarkupPlaceholderTag(true) helping? You could use it
instead of
setOutputMarkupId(true), because its done there to. Otherwise i would
have to create a testcase for this situation.
There are different places to get informations:
- search this
On Wed, Sep 23, 2009 at 7:49 PM, Giovanni pino_o...@yahoo.com wrote:
Hi,
are there any Wicketers living in Turin, Italy?
Hi, Milano :)
--
Daniele Dellafiore
http://blog.ildella.net
http://twitter.com/ildella
-
To
Hi, you have to user a classloader per Webapp, so the InjectorHolder has
for each webapp the correct Springcontext. (injectorholder uses a static
variable)
martin
Steve Hiller schrieb:
Hi All,
I'm not sure if this is a Wicket, Spring or WebSphere issue or some
combination of the 3.
That's my point.
If your url is getting replaced, then it isn't using ajax.
It is redrawing the page.
D/
On Sep 29, 2009, at 3:56 PM, Pedro Santos wrote:
I'm using the AjaxPagingNavigation component and it works well, but
when I
click on one of the links, my url is replaced with
Ok, it is a bug. Could you send us some code? I'm curios to see the html
code generated to link on your page.
On Wed, Sep 30, 2009 at 3:59 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
That's my point.
If your url is getting replaced, then it isn't using ajax.
It is redrawing the
Adding the call to that method seemed to solve the problem.
The places you mentioned are the usual places to look for information.
However I searched the list, read the wiki, checked the examples, and
looked through some books. I also tried to google what I was trying to
do.
It just seemed
The books you mentioned are the places to look at.
If i google wicket component not visible the third entry brings up the
solution.
And in the list this question was answered quite often. But it surely
depends on
search phrase. But now it's answered again.
At least here you will get almost
Hi-
How do I make a bookmarkable link to the parent window from a Modal
window? I added a bookmarkable link and a target=_top, this
functionally works good, but it adds a pagemap parameter to the URL:
http://localhost:8080/my/page/wicket:pageMapName/modal-dialog-pagemap
How can I remove the
I searched the JIRA for IChainingModel and didn't get any hits. Did
anyone create a JIRA issue? Here's an implementation of mine.
public class BaseChainingModel implements IChainingModel {
private static final long serialVersionUID = 1L;
private Object target;
public
I don't think one was ever created and it fell off my radar. If you create
one, can you post yours and post a link to it back on this thread?
Thanks!
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Sep 30, 2009 at 4:45 PM, Scott Swank scott.sw...@gmail.com wrote:
I searched the
https://issues.apache.org/jira/browse/WICKET-2498
We're still on Wicket 1.3.5, so I put in a 1 hour estimate for someone
to add generic typing.
Scott
On Wed, Sep 30, 2009 at 3:58 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
I don't think one was ever created and it fell off my radar.
We are also trying to find the right balance of how much we move to
declarative. It will depend on how well we get Web Flow to fit in. With
Wicket being Controller-less and wanting to launch right into the home
page, Web Flow is a clear candidate to do initial data load and logic to
determine the
Well.. I have a class that overrides AjaxPagingNavigation
I just add that to my page.
Class markup below:
public class BSPagingNavigator extends AjaxPagingNavigator {
private static final long serialVersionUID = -1l;
IPageable pageable;
public BSPagingNavigator(String id,
I just realized that this might be what you wanted to know..
a class=font-xsmall title=Go to page 2 wicket:id=pageLink
href=?wicket:interface=:3:pagination:navigation:
1:pageLink::ILinkListener::
span class=pagin-number wicket:id=pageNumber2/span
/a
On Sep 30, 2009, at 2:07 PM, Pedro Santos
Hi - hopefully I can explain this clearly...
I understand that I can use the AjaxEventBehavior to refresh the contents of
any components that I have on the screen or add new components.
I am trying to use a tooltip to display additional details for grid data. I
plan to use a tooltip library
search this list for how to generate emails with wicket. there are a bunch
of posts of that sort. that will teach you how to render a component to a
string. this could be used to return the contents.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Sep 30, 2009 at 8:10 PM, Joe
Also, because we run in very large clusters, redirects
are out of the question due to the potential that the second request
hits
a different server before HTTP session has been properly
persisted/shared.
Can't you set up server affinity for the cluster to avoid that from
occurring?
We use server affinity but you can't guarantee same server and I can't go in
with a 100% plan. We have had funny routing in some cases where requests
from the same user even bounce from one data center to another... and back.
We've done a lot of work to prevent these things but in the end it's
94 matches
Mail list logo