I was looking for a "wicket" solution, but this is not a bad idea. I will
try this later on today and see how it goes (it does seem straightforward
enough...)
Konstantinos
Harald Gruber wrote:
>
>
> you could write a HttpSessionListener:
>
> in your WEB-INF:
>
>
> co
Eelco Hillenius wrote:
>
> On 6/17/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> thats not entirely correct. while the event cannot be pushed to you, you
>> can
>> pull for it. you can set a cookie with expiration null - such a cookie is
>> destroyed when the window is closed. so you can poll
Eelco Hillenius wrote:
>> Thanks. I had blocked cookies on my test site for some reason. Why
>> cookies are needed in 1.3? In 1.2 that wasn't the case, was it?
>
> It shouldn't be the case now either; links should always be rewritten
> so that it includes the jsessionid if the cookie is not availa
> Yeah, you're right. I just found a similar entry in our pom. Gawd, why
> don't they just do that automatically.
our == Teachscape
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of
Yeah, you're right. I just found a similar entry in our pom. Gawd, why
don't they just do that automatically.
Eelco
On 6/17/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> If you look at the settings for the eclipse project in our parent
> pom.xml you will see a setting that is responsible for
If you look at the settings for the eclipse project in our parent
pom.xml you will see a setting that is responsible for downloading the
sources:
org.apache.maven.plugins
maven-eclipse-plugin
2.3
true
Martijn
On 6/18/07, Eelco Hillenius
Just tested it and found an entry on their mailing list. In maven 2,
at least the current version mvn eclipse:eclipse tries to download
sources and javadocs automatically.
Eelco
On 6/14/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I'm guessing it includes the source jars if they are in your
you could write a HttpSessionListener:
in your WEB-INF:
com.my.SessionObserver
class:
public class SessionObserver implements HttpSessionListener
{
private static final Log LOG = LogFactory.getLog(SessionObserver.class);
public void sessionCr
oliver.henlich wrote:
> I'm still having this problem on 1.3 snapshot.
>
> Interesting point about the markup (html id attribute). My markup looks like
> this:
>
>
>
> And the generated javascript looks like this:
>
> [a onclick="var e=document.getElementById('formTransaction_hf_0');
> e.name=
Eelco Hillenius wrote:
>> well, I have a project where the requirement is to do some things when user
>> logs out, otherwise the same user can't use the application for the next 30
>> minutes. It works fine when user uses the logout link, but I want the same
>> behavior when the user closes the win
On 6/17/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> thats not entirely correct. while the event cannot be pushed to you, you can
> pull for it. you can set a cookie with expiration null - such a cookie is
> destroyed when the window is closed. so you can poll for it ad if its gone
> you know its
thats not entirely correct. while the event cannot be pushed to you, you can
pull for it. you can set a cookie with expiration null - such a cookie is
destroyed when the window is closed. so you can poll for it ad if its gone
you know its a new window being opened. in the same manner you can use
w
> well, I have a project where the requirement is to do some things when user
> logs out, otherwise the same user can't use the application for the next 30
> minutes. It works fine when user uses the logout link, but I want the same
> behavior when the user closes the window. Any hints how to do th
well, I have a project where the requirement is to do some things when user
logs out, otherwise the same user can't use the application for the next 30
minutes. It works fine when user uses the logout link, but I want the same
behavior when the user closes the window. Any hints how to do this?
K
done
checkout https://issues.apache.org/jira/browse/WICKET-661
gerolf
On 6/17/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> hi,
> sometimes i'd like the datepicker to fire the onchange event of the
> component it's bound to.
> it doesn't seem to do it ootb.
>
> the main fix would probably o
> could it be this code that's not logging the whole exception?
>
> protected void logRuntimeException(RuntimeException e)
> {
> log.error(e.getMessage(), e);
> }
That should typically print the stack trace if your logging
configuration is set up properly.
I'm still having this problem on 1.3 snapshot.
Interesting point about the markup (html id attribute). My markup looks like
this:
And the generated javascript looks like this:
[a onclick="var e=document.getElementById('formTransaction_hf_0');
e.name='linkAddEntry'; e.value='x';var
f=document.
could it be this code that's not logging the whole exception?
protected void logRuntimeException(RuntimeException e)
{
log.error(e.getMessage(), e);
}
Jonathan Locke wrote:
>
>
> aha. we might have two of these bugs, but i'm getting this trace now.
>
aha. we might have two of these bugs, but i'm getting this trace now. does
anyone have any idea what line of code it is that is failing to print the
stack trace for this NPE into the log? it looks like an NPE is causing the
processing step to restart over and over again. would be a good fix t
this is not it. the server with the problem is not even running a proxy.
any other ideas anyone?
Al Maw wrote:
>
> I've seen this happen if you run behind a mod_proxy and fail to set up
> the ProxyPassReverse setting properly. Make sure you have
> ProxyPassReverseCookiePath, too. See the wik
Got the answer
Just for the reference for others:
http://www.nabble.com/Help%3A-modalwindow-question-tf3920367.html
thanks & Regards,
Ravi Gidwani.
ravi.gidwani wrote:
>
> Hi all:
> I have scenario:
>
> 1) I have a page (say Page1) with a link A and a Image (say img1)
> 2) On clic
Hi all:
I have scenario:
1) I have a page (say Page1) with a link A and a Image (say img1)
2) On clicking link A, I open a ModalDialog (as a separate page). Say C.
3) There is a AjaxLink on this Page C (ModalDialog), on clicking this link,
I do some processing and close the dialog.
Now the
Also dont forget to :
ajaxRequestTarget.add(label);
~Ravi Gidwani.
ravi.gidwani wrote:
>
> Hey Jeremy,
> You can try the attribute modifier. Try this:
>
> final Label label = new Label("image");
>
>
> AjaxLink someLink = new AjaxLink("
Hey Jeremy,
You can try the attribute modifier. Try this:
final Label label = new Label("image");
AjaxLink someLink = new AjaxLink(".") {
public void onClick(AjaxRequestTarget ajaxRequestTarget)
{
> will this work when the user clicks the browser's close button as well?
I'm afraid not. There is no way to detect that. It's a limitation of
any web application.
Eelco
-
This SF.net email is sponsored by DB2 Express
Downlo
hi,
will this work when the user clicks the browser's close button as well?
Konstantinos
Ken Leung-2 wrote:
>
> yes, looks like it does. thx, i 'll give it a try.
>
>
>
>
> On 6/15/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>>
>> Not sure from the top of my head (don't have the pro
> I would like to build my own breadcrumb type of navigation widget and I'm
> looking for some direction as to what I might use to "discover" what page is
> currently being served
RequestCycle#getResponsePage does a best effort guess for getting the
'current' page. You can only use that method aft
> hi,
> sometimes i'd like the datepicker to fire the onchange event of the
> component it's bound to.
> it doesn't seem to do it ootb.
>
> the main fix would probably only meen to call the onchange() method of the
> targetcomponent after the call to cal.hide() (line 236 in DatePicker.java)
>
> i c
howzat wrote:
> Page A has this code in its constructor:
> Link b = new Link("b"){
> public void onClick(){
> setResponsePage(B.class);
> }
> };
> add(b);
This will always create a
AjaxLink works in FF2 and IE7, however in IE6 I get a Page Expired
immediately. I saw some previous threads about the jsessionid not set
but I doubt this is the same problem as it works in ff2/ie7. Any ideas?
gr,
Thies
-
T
Ah, I did a target.addComponent on the replaced component. The parent of
that component was set to null after the replaceWith, changing the
addComponent to the newly created Panel works.
Thies Edeling wrote:
> Some extra info, the No Page found for component happens when I try to
> replace the
Some extra info, the No Page found for component happens when I try to
replace the Panel
in the onClick of an AjaxLink:
public void onClick(AjaxRequestTarget target)
{
CalendarPanel panel = new CalendarPanel("sidePanel");
getParent().replaceWith(panel);
If you look closely (or using a debugger) you can see that when you do:
page.add(new MyPanel(...));
First the constructor is called, and only then the add method. At
construction time the parent is not known yet. The example can be
rewritten to make this more clear like:
Panel p = new MyPanel(..
Does any body have any ideas re the below from a few weeks ago?
wicket: 1.2.6
wicket-extensions: 1.2.6
A couple of questions re TreeTable
Is it possible to configure a TreeTable so its nodes are not links?
So far, I have only found/tried
tree.setLinkType(null)
without achieving the desired
Page A has this code in its constructor:
Link b = new Link("b"){
public void onClick(){
setResponsePage(B.class);
}
};
add(b);
Page B has a no-args constructor. It has a li
I've got a panel extending the Panel class. When I add that panel to a
Page, getPage can't seem to the find the parent and throws me a
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = projectOverviewPanel, page = ,
path = projectOverviewPanel.Project
Thank you Tong, interesting approach.
I make it work for me by adding AjaxFormSubmitingBehavior to the Radio
component, just to keep in synch the model with the RadioGroup state. But
your solution is more elegant.
Kent Tong wrote:
>
> Alex Objelean isdc.ro> writes:
>
>> Thank you Jan! Sad
Ok, here are new details for this.
I was using following form:
On Fri, 15 Jun 2007, shumbola wrote:
>> A few days ago I've upgraded my project to the 1.3 snapshot from June 12.
>> Before I was using a one from May 10. Today I noticed that my page which
>> uses the Palette component stopped
Ok, here are new details for this.
I was using following form:
palette
and java source
EditRoleForm(String str, Role role) {
super(str, new CompoundPropertyMode(role)); ***
add(new RequiredTextField("roleName");
add(new Palette(...);
}
and
class Role {
private int roleId;
private S
39 matches
Mail list logo