Hi, Ed!
How do I know when the session expires? I can't see a method onInvalidate() for
instance. Would you give me a hint on this?
Thank you all for the help!
Best regards,
Martin
-Original Message-
From: Edward Zarecor [mailto:edw...@indeterminate.org]
Sent: Tuesday, March 02, 2010
I got it here : http://old.nabble.com/Generating-email-link-td22738181.html.
thanks.
On Tue, Mar 2, 2010 at 9:42 AM, Josh Kamau wrote:
> Hi guys;
>
> How do i generate a Mail:to link dynamically (e.g for the email addresses
> of users stored in the database)
>
> Kind regards and thanks for you
Hi guys;
How do i generate a Mail:to link dynamically (e.g for the email addresses of
users stored in the database)
Kind regards and thanks for you support.
Josh
RaBe wrote:
>
> I found Igors post on smart entity models very helpful on that matter:
>
> http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
>
> basically, it attaches/detaches only if an Id is set (hence, it can be
> fetched
> from the backend)
>
I had read that blog entry seve
Would on session expiry be a better place to handle this? Implementation
would be simple and you could avoid ever needing to regenerate a file if
that is useful to you. It also naturally handles the case where a user
doesn't leave the page.
Ed.
On Mar 1, 2010 10:09 AM, "Martin Asenov" wrote:
Hi everybody,
I have a page where a user inputs a number of values.
The user them clicks on a "calculate" button, and the form is submitted.
I would now like to display the calculated result in a popup page.
Since SubmitLink does not support PopupSettings - I was wondering if anybody
here have t
there are a bunch of drag and drop implementations for wicket, google
is your friend. im sure some if not most have serverside callbacks.
-igor
On Mon, Mar 1, 2010 at 2:58 PM, Douglas Ferguson
wrote:
>
> We are looking at building a JQuery plugin that would give us some drag and
> drop capabili
Douglas,
See Al's drag 'n' drop list editor slides at
http://jweekend.com/dev/ArticlesPage .
Regards - Cemal
jWeekend
OO & Java Technologies, Wicket
Consulting, Development, Training
http://jWeekend.com
On 1 March 2010 22:58, Douglas Ferguson wrote:
>
> We are looking at building a JQuery plugi
We are looking at building a JQuery plugin that would give us some drag and
drop capabilities.
When the users does this, we'd like to persist the state to the db.
How can we trigger an ajax call to wicket so that our persistence method for
the page will get called?
Douglas Ferguson
mobile:
Are there any known issues with the FileUploadField when submitting via Ajax on
Safari 4.x or Chrome 5.x?
In the AjaxButton.onSubmit(), I am attempting to update other components and it
doesn't seem to repaint the component(s) in Safari or Chrome, but does work as
I expect in Firefox 3.x.
J.D.
The easiest way around this is to specify
http://wicket.apache.org/docs/1.4/org/apache/wicket/SharedResources.html#putClassAlias(java.lang.Class,
java.lang.String) class aliases .
The upside is that you control the generated URL, the downside is that you
have to make sure the alias is unique.
Thanks.
On Mon, Mar 1, 2010 at 3:08 PM, Riyad Kalla wrote:
> Anna,
> Try this:
>
> ==
> f.add(new Label("label1", new PopertyModel(data, "label1")));
> f.add(new Label("label2", new PopertyModel(data, "label2")));
> ==
>
> That way when the model is queried for the value,
Anna,
Try this:
==
f.add(new Label("label1", new PopertyModel(data, "label1")));
f.add(new Label("label2", new PopertyModel(data, "label2")));
==
That way when the model is queried for the value, the propertymodel
will dynamically query "data"'s appropriate property name (
But how can I use a label with a real model?
On Mon, Mar 1, 2010 at 2:59 PM, James Carman
wrote:
> You're not using a real model. You're constructing the labels with an
> empty string (the data.getLabel1() is evaluated when you construct the
> Label object).
>
> On Mon, Mar 1, 2010 at 2:57 PM, A
Ah! I love things that are that easy to fix. Glad it's working now.
On Mon, Mar 1, 2010 at 11:51 AM, Ayodeji Aladejebi wrote:
> My Bad :)
>
> private HomePage(PageParameters params);
>
> instead of public HomePage(PageParameters params);
>
> i just dont know how i typed private instead of public.
You're not using a real model. You're constructing the labels with an
empty string (the data.getLabel1() is evaluated when you construct the
Label object).
On Mon, Mar 1, 2010 at 2:57 PM, Anna Simbirtsev wrote:
> Hi,
>
> I have labels defined in the following way:
>
> MarkupContainer f = new Web
Hi,
I have labels defined in the following way:
MarkupContainer f = new WebMarkupContainer("viewPanel");
f.setOutputMarkupPlaceholderTag(true);
form.add(f);
f.setVisible(false);
f.add(new Label("label1", data.getLabel1()));
f.add(new Label("label2", data.getLabel2()));
AjaxSubmitLink submitbut
My Bad :)
private HomePage(PageParameters params);
instead of public HomePage(PageParameters params);
i just dont know how i typed private instead of public. So it was the
default empty constructor that was getting called instead
Thanks
On Mon, Mar 1, 2010 at 7:19 PM, Riyad Kalla wrote:
> Ca
Oops :-)
can't you just take the path and encrypt that using the same strategy
as the cryptedurl.. thingy is using?
Antoine
On Mon, Mar 1, 2010 at 5:43 PM, Sergey Olefir wrote:
>
> He he, that was my old thread there :)
>
> Thing is, I just recently discovered, that encoding resources as argu
It works great now, thank you very much!
Can you paste the code for the page that isn't working? You have a
constructor for that page that takes a PageParameters arg that you named
'params' right?
On Mon, Mar 1, 2010 at 11:15 AM, Ayodeji Aladejebi wrote:
> The Link changes to http://localhost:8084/site2/?param1=c
> still the same prob
The Link changes to http://localhost:8084/site2/?param1=c
still the same problem
On Mon, Mar 1, 2010 at 5:40 PM, Riyad Kalla wrote:
> What happens when you use:
> http://localhost:8084/site2?param1=c
>
> ?
>
> On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi wrote:
>
>> Wicket Version 1.4.6
>>
>
You are perfectly right. That explains. Thanks a lot!!!
--- On Mon, 3/1/10, Igor Vaynberg wrote:
> From: Igor Vaynberg
> Subject: Re: SV: Make Wicket component ID HTML element ID?
> To: users@wicket.apache.org
> Date: Monday, March 1, 2010, 11:41 AM
> constructors of subclasses are called
> af
I asked Google, he's quite helpful:
http://www.javalobby.org/java/forums/t60926.html
On Mon, Mar 1, 2010 at 2:02 AM, sravan g wrote:
> Where to use tag and uses?
>
> Thanks,
> Sravang
>
1 other idea (among others that would probably work) is a custom
IRequestCycleProcessor impl that checks the returned IRequestTarget (
http://wicket.apache.org/docs/1.4/org/apache/wicket/IRequestTarget.html) to
see if it's sending back the PageRequestTarget (
http://wicket.apache.org/docs/1.4/org/a
Where to use tag and uses?
Thanks,
Sravang
Thanks for the pointer, I was able to solve my problem with this information.
However I had to roll my own versions of ContextImage and
ContextPathGenerator -- because the ones supplied with Wicket appear to be
hardcoded to use 'src' attribute.
Maybe generic versions that are able to manipulate
there is also IComponentOnBeforeRenderListener which may be a better
fit if you will need access to the complete component hierarchy
-igor
On Mon, Mar 1, 2010 at 5:09 AM, David Chang wrote:
>
> Thanks for this new tip and it shows another approach, which makes me feel
> the flexibility of Wick
He he, that was my old thread there :)
Thing is, I just recently discovered, that encoding resources as arguments
(rather than paths) completely breaks relative URLs discussed there:
http://old.nabble.com/How-to-'resolve'-URL-in-stylesheet--td27720293.html
(for the simple reason that browser stri
Thank you all for the support, I highly appreciate it!
Regards,
Martin
-Original Message-
From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Sent: Monday, March 01, 2010 5:31 PM
To: users@wicket.apache.org
Subject: Re: How can i know when a users redirects to other page
Just an
constructors of subclasses are called after
-igor
On Mon, Mar 1, 2010 at 5:06 AM, David Chang wrote:
> You are right. I need to be cautoius on this. I am new in Wicket. Just for
> the sake of discussion. I put the following code in the top page's
> constructor:
>
> visitChildren(new IVisitor()
What happens when you use:
http://localhost:8084/site2?param1=c
?
On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi wrote:
> Wicket Version 1.4.6
>
> Link: http://localhost:8084/site2/?param1=c
>
> Code: paramValue= params.getString("param1", "");
>
> Output: paramValue returns empty String
>
>
Wicket Version 1.4.6
Link: http://localhost:8084/site2/?param1=c
Code: paramValue= params.getString("param1", "");
Output: paramValue returns empty String
I am using the default mount Settings.
am I missing something
-
-
To
I want to check the browser version and java script enabled for every
request using a servlet filter , I am currently using the
org.apache.wicket.protocol.http.request.WebClientInfo, this just checks at
the begin of session and uses the same information,
is there anything to check browser inform
for a discussion and suggestion see
http://old.nabble.com/CryptedUrlWebRequestCodingStrategy-%2B-WebRequestCodingStrategy-%3D-resource-URLs-are-not-encrypted-(bug-).-td27209560.html
quote "I was able to get around this by subclassing WebRequestCodingStrategy and
overriding methods:
addResourcePar
Hi all,
I am one of the administrator of wicket...@googlegroups.com which
is a group related to Wicket in spanish. We will have our first meeting in
Buenos Aires, Argentina in saturday march 6th. This meeting is aimed to
prepare a public wicket meeting where we can promote the framework. F
Hi,
Thank you and James for the reply.
I'v read the Wicket in action book and knew the interface
IAuthorizationStrategy. Just implemnenting it(like the book introduces) will
force us building a lot of classes and a lot of code in that two methods for
authorization handling. Following your sugg
Just an idea... Use a component instantiation listener and "delete" the
file, if it exists, whenever any other page is created.
Regards,
Ernesto
On Mon, Mar 1, 2010 at 4:09 PM, Martin Asenov wrote:
> The use case is that I generate a file located in a temp folder that
> appears on page under a
Of course these are only details, but I wanted to get clear.
It seems that in this case I cannot use List interface although List
interface has super-interface Collection.
When List is replaced with Collection all is OK, no compiler warnings:
IModel> allYearsModel = new
PropertyModel>(this, "allY
Hi,
I change the version of wicket from 1.4.0 to 1.4.6 and i can't submit my
form.
I have an
new AjaxSubmitLink("addLink", form) {
@Override
public void onSubmit(AjaxRequestTarget target, Form form) {
//do things
}
}
in wicket 1.4.0 this work
The use case is that I generate a file located in a temp folder that appears on
page under a download link. I want to delete the file when the user goes in
another page.
Regards,
Martin
-Original Message-
From: Riyad Kalla [mailto:rka...@gmail.com]
Sent: Monday, March 01, 2010 4:31 PM
Hi,
out of the box Wicket generates urls for packaged resources that
contain fully-qualified class names, e.g.:
Now in accordance with our security policies we are not allowed to
expose internal application details -- and fully qualified class name
certainly fits that category.
On the other han
Martin can you explain your use-case, namely what is the importance of
seeing which page a user is no-longer on?
Seems like a super-easy way to do this would be to extend a base-page that
updates a Session metadata element with the current page the user is on and
allow a listener to be notified wh
If there was a container in your HTML that
contained your loggedIn or loggedOut panel, then I imagine in your page code
you would have a WebMarkupContainer that you did a removeAll() on then added
the appropriate panel to it when building the page.
I imagine your loggedOut panel has a Username/Pa
Josh,
I think if your security is just needing role/authentication enforcement
(e.g. "Ok Bob is an ADMIN, he can do all this stuff, but Jeff is a NORMAL
user, so he can only do this and Anon is ANONYMOUS so he can only view")
Wicket should have you covered. I'm not familiar with Shiro, so I don't
Hi Stefan,
I'm a bit lost in the wicketstuff maven repository - when I browse I
only see 1.4.1 and 1.4.2-SNAPSHOT. Any idea when this version will be
in the maven repo? But for now it would be great if you could send me
the pre-build jar.
Thanks!
Antoine
On Fri, Feb 26, 2010 at 2:57 PM, Stefa
Thanks for this new tip and it shows another approach, which makes me feel the
flexibility of Wicket. I am new in Wicket.
Cheers!
--- On Mon, 3/1/10, Jeremy Thomerson wrote:
> From: Jeremy Thomerson
> Subject: Re: Make Wicket component ID HTML element ID?
> To: users@wicket.apache.org
> Da
You are right. I need to be cautoius on this. I am new in Wicket. Just for the
sake of discussion. I put the following code in the top page's constructor:
visitChildren(new IVisitor() {
@Override
public Object component(Component c) {
c.setMarkupId(c.getId());
Hello, everyone!
I was wondering if there's a way to know for instance if the user is on a page
is there an event fired that indicates that the user is no longer on this page.
I saw the method 'onRedirect()', but it's fired when the user comes to the
page. I want to know when the user changes t
Thank you very much Martin :)
On 01/03/2010 09:00, Martin Grigorov wrote:
Just created a ticket and attached a patch
https://issues.apache.org/jira/browse/WICKET-2761
On Sun, 2010-02-28 at 21:29 -0300, Mauro Ciancio wrote:
José María,
For example, sometimes I need an injected object i
See the source for ContextImage for an example.
Martijn
On Mon, Mar 1, 2010 at 1:19 PM, Sergey Olefir wrote:
> Hi,
>
> in our application we need to make use of an applet. For the size and
> logistics reasons I don't want to package the required applet jars
> inside Java packages (that is unlike
Hi,
in our application we need to make use of an applet. For the size and
logistics reasons I don't want to package the required applet jars
inside Java packages (that is unlike e.g. images and css that we do
package together with the components).
So, say, I'll package the jars under 'applet' web
If i recall correctly, then you can't change the component tree once
the rendering started. Not 100% sure here.
What i would do is to add both panels and override the isVisible()
funktion in them. In there you check is a user
is logged in or not ..
Bert
--
*bonks self on the head*
Somehow I never realised that paths in CSS are resolved against CSS itself,
not the HTML page (being a total HTML noob and all it's not that
surprising). Thanks for the pointer Igor, I've been inventing problem where
there's none.
igor.vaynberg wrote:
>
> if you keep
On Mon, Mar 1, 2010 at 7:52 AM, Jeremy Thomerson
wrote:
> You could also use a component instantiation listener and have it
> automatically called for every component that is created.
+1
Martijn
-
To unsubscribe, e-mail: users-
marioosh.net wrote:
>
> I have LoginPanel like below:
>
> public class LoginPanel extends Panel {
>
> public LoginPanel(String id) {
> super(id);
>
> MySession.get().setLoginPanel(this);
> this.setOutputMarkupId(true);
>
> if(My
I found Igors post on smart entity models very helpful on that matter:
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
basically, it attaches/detaches only if an Id is set (hence, it can be fetched
from the backend)
Bert
--
Thanks Bert. I will evaluate my requirements .
On Mon, Mar 1, 2010 at 11:19 AM, Bert wrote:
> This would entirely depend on your requirements? So far, i did not
> need to integrate
> other frameworks for this but for more complex scenario you probably need
> to.
>
>
> On Mon, Mar 1, 2010 at 09:1
This would entirely depend on your requirements? So far, i did not
need to integrate
other frameworks for this but for more complex scenario you probably need to.
On Mon, Mar 1, 2010 at 09:14, Josh Kamau wrote:
> Hi Team;
>
> I am just wondering, are the wicket security features enough or i hav
Hi Team;
I am just wondering, are the wicket security features enough or i have to
integrate something like apache-shiro ?
How are you guys implementing security?
Regards
Josh.
Just created a ticket and attached a patch
https://issues.apache.org/jira/browse/WICKET-2761
On Sun, 2010-02-28 at 21:29 -0300, Mauro Ciancio wrote:
> José María,
> For example, sometimes I need an injected object in a DataProvider, but
> this is constructed in the context of a page. So, I can
61 matches
Mail list logo