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 th
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 the problem back to the request parameters simply not containing
the expected values.
This "
instruments:1: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 (simplifie
Here the (simplified) code that creates the ListViev, TextFields and Label.
/Anders
final MyPageForm tmpForm = new MyPageForm(ID.FORM);
this.add(tmpForm);
final ContextLabel tmpTotalWeightsLabel = new
ContextLabel(ID.TOTAL_WEIGHTS, new
PropertyModel(this.getPortfolio
s a (known) bug, 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
uestTarget
> 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
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
> wrote:
>> But even when I follow the guidelines from
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
gt; On Mon, Jul 4, 2011 at 6:42 PM, Anders Smestad
> 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
>>
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 correctl
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
wrote:
> Simply add target="_results" in your form tag.
>
> --
> J
);
add(new popperupper()); }}
I must however admit, I'm not quite following the example :-$
Med venlig hilsen/Best regards
Anders Sørensen
);
add(new popperupper()); }}
I must however admit, I'm not quite following the example :-$
Med venlig hilsen/Best regards
Anders Sørensen
nserted this in my HTML file...
>
>
>
> 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
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
o
ndow 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
ndow 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:
!
If I remove tag from my
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 Auth
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 は 最高!~
--
urity +
Wicket easily. (I think)
On Fri, Aug 28, 2009 at 11:33 PM, Altuğ B. Altıntaş wrote:
> How can i add ctx variable ?
>
> I am new in Spring Security
>
> Thanks...
>
>
> 2009/8/28 Anders
>
> > I don't see any ctx variable in that web page.
> >
I don't see any ctx variable in that web page.
On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş wrote:
> 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 implemented wha
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'
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?
In
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
[
Taipei, Taiwan !!
Taiwan is not part of China~
We are independent for long time ago!
I am using Wicket for production line process.
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
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 CompoundPropertyModel(dataSet
;TextField' 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 . /Anders
Timo Rantalaiho wrote:
On Mon, 29 Sep 2
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 <[EM
Here the code, html and Java fragments, for the . /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 of the TextF
list.
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
being there! /Anders
Anders Peterson wrote:
This is the code that creates the DropDownChoice:
myForm.add(new DropDownChoice("views",
this.getPortfolio().getViews(), new
ChoiceRenderer("toDisplayString")) {
@Override
protected void onSelectionCh
(BLView newSelection) {
super.onSelectionChanged(newSelection);
...;
}
@Override
protected boolean wantOnSelectionChangedNotifications() {
return true;
}
});
Nothing strange... /Anders
Daan van Etten wrote:
On 17 sep 2008, at 14
.
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]
een M2 with generics
"turned 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 initi
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
el and Converter of TextField should be
generified with the same 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]
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: [E
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 w
;. That kind 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
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
update all 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 f
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
= 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, 200
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
ethod like this:
>>>> public void onClick() {
>>>> super.onClick();
>>>> this.setRedirect(true);
>>>> this.getSession().invalidate();
>>>> }
Is that the problem: Do I have to call
this.setResponsePage(LoginPage.class);
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
sired 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 use
I'd like to
still end up 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() {
've got TopLink, 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]
nd you want all code 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]
x27;d 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 ite
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:
ro
55 matches
Mail list logo