I have an application which worked in Wicket 1.5.x, but something seems to
be broken, after updating to 6.1.1.
I have a table listing machines on the left side. When an item is clicked, I
update a table on the right using AJAX.
This updated table contains a lot of AjaxLinks, but none of the
:marketWeight
But the HashMap containing parameter values ONLY contain this:
{instruments:0:marketWeight=[17.602]}
This results in me getting null as FormComponent input.
Anyone know what I've done wrong?
/Anders
On 2011-10-13 13:46, Anders Peterson wrote:
Here the (simplified) code that creates
, and it was in a
ListView so I had several of them.
I guess something related to replacing the name/id of a component changed from
1.4 to 1.5.
/Anders
On 2011-12-16 14:15, Anders Peterson wrote:
Hello again, I still have this problem... (been working on other things)
I've tracked
, or is there a difference between 1.4 and 1.5 that I've
missed?
/Anders
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Here the (simplified) code that creates the ListViev, TextFields and Label.
/Anders
final MyPageForm tmpForm = new MyPageForm(ID.FORM);
this.add(tmpForm);
final ContextLabelNumber tmpTotalWeightsLabel = new
ContextLabelNumber(ID.TOTAL_WEIGHTS, new
PropertyModelNumber
But even when I follow the guidelines from the wicketstuff images
examples, I get the WARN - ResourceReferenceRegistry - Resource
reference not added to registry. reference.canBeRegistered() == false
Why cannot a shared reference be registered?
A
On Mon, Jul 4, 2011 at 10:41 PM, Anders
. But as I said
I need to look in this code first before I can comment.
I personally don't use SharedResourceReferences in my app and thus
never faced this issue.
On Tue, Jul 5, 2011 at 10:13 AM, Anders Smestad
anders.smes...@gmail.com wrote:
But even when I follow the guidelines from the wicketstuff
to AjaxRequestTarget
with Wicket 1.5-RC5.1 there is
org.apache.wicket.markup.html.image.Image.shouldAddAntiCacheParameter()
which you can override and say to not add this parameter for images
which you think should not be updated
On Tue, Jul 5, 2011 at 11:35 AM, Anders Smestad
anders.smes...@gmail.com
Hi. I have a simple (test) page with an ajax link that displays a
modal window when clicked.
The modal window contains some text and an image-link. The image is
added to a link as
link.add(new Image(image, sharedResourceReference);
When displaying the modal window, everything displays
.
On Mon, Jul 4, 2011 at 6:42 PM, Anders Smestad anders.smes...@gmail.com
wrote:
Hi. I have a simple (test) page with an ajax link that displays a
modal window when clicked.
The modal window contains some text and an image-link. The image is
added to a link as
link.add(new Image(image
popperupper()); }}
I must however admit, I'm not quite following the example :-$
Med venlig hilsen/Best regards
Anders Sørensen
Hi Jeremy,
What a simple solution.
If you just knew what I have tried.
Many, many thanks.
Med venlig hilsen/Best regards
Anders Sørensen
On Thu, Mar 4, 2010 at 9:35 AM, Jeremy Thomerson
jer...@wickettraining.comwrote:
Simply add target=_results in your form tag.
--
Jeremy Thomerson
popperupper()); }}
I must however admit, I'm not quite following the example :-$
Med venlig hilsen/Best regards
Anders Sørensen
this in my HTML file...
applet code=HelloWorld.class width=150 height=25 /
but still i get a class not found exception , why is that how do i resolve
it ???
any clue ??
--
Med venlig hilsen/Best regards
Anders Sørensen
for this is, that I display MathML on the page.
The modal window however does not contain MathML - it's just regular html.
Environment:
Wicket 1.4.3
JDK 1.6.0_17
Firefox 3.5.5
Does anybody have any input on this?
--
Med venlig hilsen/Best regards
Anders Sørensen
My environment:
. Apache Tomcat/6.0.18
. JDK 1.6.0_12-b04
I got this weird message in tomcat log, too:
Nov 4, 2009 12:13:03 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/acm]
Nov 4, 2009 12:13:03 AM org.apache.catalina.core.ContainerBase stop
INFO: Container
for this is, that I display MathML on the page.
The modal window however does not contain MathML - it's just regular html.
Environment:
Wicket 1.4.3
JDK 1.6.0_16
Firefox 3.5.4
Does anybody have any input on this?
--
Med venlig hilsen/Best regards
Anders Sørensen
Hi,
I'd like to customize FormComponentFeedbackBorder class to provide a error
icon, so I extend FormComponentFeedbackBorder class and copy
FormComponentFeedbackBorder.html from wicket source.
I modify FormComponentFeedbackBorder.html to add below:
wicket:border
span
Hi,
I can get the user id attribute from my authenticatedWebSession in a
role-needed page.
But I can't get user id when I go to no-role-needed page.
Do I need to override newSession() method in WebApplication?
Please help me~
Belows are my classes:
public class HelloWorldApplication extends
Hi,
I refered to
http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.htmland
wicket-spring example web application and it works.
Now my company has a single-sign on web page already, like
https:///login.cgi.
This SSO web page will set cookies and return a token after login.
I don't see any ctx variable in that web page.
On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.comwrote:
Hi all ;
I am trying to run Spring Security and Wicket-auth-roles example.
Url :
http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html
I
+
Wicket easily. (I think)
On Fri, Aug 28, 2009 at 11:33 PM, Altuğ B. Altıntaş alt...@gmail.comwrote:
How can i add ctx variable ?
I am new in Spring Security
Thanks...
2009/8/28 Anders innocentl...@gmail.com
I don't see any ctx variable in that web page.
On Fri, Aug 28, 2009
Hi,
I'd like to ask what if the login page is external login web page?
I have no idea which class should be returned in getSignInPageClass(),
Please give me some advices.
Thank you very much
--
--
~Mia は 最高!~
--
What exactly does this stacktrace (below) mean?
In development, eclipse jetty, the application works fine. When
deployed (tomcat) the app cannot render login page (I suppose it can't
render anything).
/Anders
WicketMessage: Exception in rendering component: [MarkupContainer
[Component
Thank you, it was the security manager.
On Ubuntu Server it is turned on as a default. I turned it off by
editing the file /etc/default/tomcat6. Set TOMCAT6_SECURITY=no.
/Anders
On 11 maj 2009, at 10.24, Anders Peterson wrote:
What exactly does this stacktrace (below) mean
Taipei, Taiwan !!
Taiwan is not part of China~
We are independent for long time ago!
I am using Wicket for production line process.
Hi,
I writed my own wicket panel component, and this component contains a label.
I use Component's getString() to set label's model, like:
*//constructor*
* public InvoiceWaferDataSetPanel(String id, InvoiceWaferDataSet dataSet)
{
super(id);
setModel(new
Thank you, Jeremy.
2008/11/14 Jeremy Thomerson [EMAIL PROTECTED]
Use StringResourceModel.
2008/11/13 Anders [EMAIL PROTECTED]
Hi,
I writed my own wicket panel component, and this component contains a
label.
I use Component's getString() to set label's model, like
Why can't all components always output that id? Or can't it be a global
option to turn it on/off for all components? Is there some situation
where you do not want that id? /Anders
Igor Vaynberg wrote:
like which ones?
-igor
On Fri, Oct 3, 2008 at 12:44 PM, Rob Sonke [EMAIL PROTECTED] wrote
' was edited; therefore the refreshed components gets an
incorrect value. When/if I submit the form the usual (non ajax) way
everything is corrected.
/Anders
Anders Peterson wrote:
Here the code, html and Java fragments, for the tr. /Anders
Timo Rantalaiho wrote:
On Mon, 29 Sep 2008, Anders Peterson
Here the code, html and Java fragments, for the tr. /Anders
Timo Rantalaiho wrote:
On Mon, 29 Sep 2008, Anders Peterson wrote:
I'm using OnChangeAjaxBehavior with a TextField. The TextField is in a
table cell that is repeated using a ListView. When I change the value of
one
.
If I modify the first TextField then all underlying models get the same
value. If I modify the second then all except the first...
Anyone else seen this?
Wicket 1.4M3
/Anders
-
To unsubscribe, e-mail: [EMAIL PROTECTED
.
Is this a known problem or could I be doing something wrong?
/Anders
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
) {
super.onSelectionChanged(newSelection);
...;
}
@Override
protected boolean wantOnSelectionChangedNotifications() {
return true;
}
});
Nothing strange... /Anders
Daan van Etten wrote:
On 17 sep 2008, at 14:55, Anders
there! /Anders
Anders Peterson wrote:
This is the code that creates the DropDownChoice:
myForm.add(new DropDownChoiceBLView(views,
this.getPortfolio().getViews(), new
ChoiceRendererBLView(toDisplayString)) {
@Override
protected void onSelectionChanged(BLView newSelection
off where it wasn't needed.
/Anders
Ned Collyer wrote:
I've just converted over a project to 1.4-m3 from m1. I skipped m2
because of the drastic changes between 1, 2 and 3.
I must say, I think generics at a component level - when I initially started
using it felt like unneeded overhead
type parameter as TextField itself - the way it
was in M2. (This could be defined in Element.)
/Anders
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry... I guess generics design has been discussed enough. /Anders
Igor Vaynberg wrote:
On Fri, Jul 18, 2008 at 4:52 AM, Anders Peterson wrote:
As it is now Component is not generified, but further down you introduce
generics to some components that you feel benefit from it. I think you
won't be using 1.4. if Wicket doesn't go for my
Not sure about definitely, but if IModel isn't generified I'll
evaluate other frameworks for my next project.
/Anders
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
of
behavior would suggest that you've done something seriously/obviously
wrong. But, when I run/debug the application in eclipse it behaves
perfectly normal.
How can I get info from Tomcat regarding what's happening?
/Anders
Problem seems to be fixed...
I was building/deploying my application using wicket 1.3.3. Tomcat on
the deployment server had wicket-examples-1.3.0 installed. When I
removed that the problem disappeared.
/Anders
Anders Peterson wrote:
Hi,
I've got a problem when deploying my wicket
How far away is wicket with generics? /Anders
Martijn Dashorst wrote:
If you are depending on trunk and build your own Wicket versions,
please note that trunk is now Wicket 1.4 and will be used for the next
Wicket version.
If you wish to continue building 1.3 jars then switch your local
That wasn't it. Just happened again... /Anders
Anders Peterson wrote:
No (don't know what it is).
I think maybe this problem was caused by the RunJettyRun plugin
picking up my wicket-1.3.0 jars that I had forgotten to delete from my
project. I did not reference those jars, but the files
plugins and project cleaning. Then the
problem disappeared. There wasn't much to clean, but I did have that
older version of wicket still in the project directory. (Must have had
it there since 1.3.1 was released.)
/Anders
Igor Vaynberg wrote:
are you using class reloading filter?
-igor
On Sun
= se.optimatika.blapp.gui.PgEvaluateResults, id = 4, version =
0]-image2-IResourceListener.
Use Wicket 1.3.1.
/Anders
Feb 24, 2008 3:54:00 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
Feb 24, 2008 3:54:00
Anders Peterson wrote:
Is that the problem: Do I have to call
this.setResponsePage(LoginPage.class);
after
super.onClick();
?
Yes, that was it.
Thanks Martijn and Maurice!
/Anders
-
To unsubscribe, e-mail: [EMAIL
with the login page.
/Anders
Martijn Dashorst wrote:
Have one session that knows when authentication has happened...
public MySession extends WebSession {
private String username;
public void setUsername(){}
public boolean isAuthenticated() {
return username != null
login page, but get Page Expired.
/Anders
Martijn Dashorst wrote:
iirc:
setResponsePage(LoginPage.class);
setRedirect(true);
getSession().invalidate();
Martijn
On 1/13/08, Anders Peterson [EMAIL PROTECTED] wrote:
I have a related question. What should I do when the user logs out.
Currently I
Then where do I call that invalidation code?
It's not possible to override onClick() with BookmarkablePageLink.
/Anders
Martijn Dashorst wrote:
You *MUST* redirect to a bookmarkable page, not a page instance. A
page instance is always relative to your current session, which you
just
() {
super.onClick();
this.setRedirect(true);
this.getSession().invalidate();
}
Is that the problem: Do I have to call
this.setResponsePage(LoginPage.class);
after
super.onClick();
?
(Don't have access to the code at the moment.)
/Anders
Martijn Dashorst wrote:
If you
, Cayenne and
others.
Which would you rather depend on; exPOJO or JPA?
/Anders
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
like it to be using a generified version of Wicket.
/Anders
---
http://ojalgo.org/
Martijn Dashorst wrote:
This is the first release candidate for Apache Wicket we have prepared
for your pleasure. It contains over 80 fixes to issues with previous
releases and todo items we
you use to be up to date.
The Models is probably the part of Wicket that needs generification the
most.
/Anders
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I would like to be able to add a dropdown to a DataTable so that a user can
change the rowsPerPage. Has anyone done this before? If not, what is the best
/ recommended approach?
I tried the following, but I get:
IllegalStateException: Attempt to set model object on null model of component:
54 matches
Mail list logo