Re: Pop up window after file upload

2009-04-06 Thread Kevin Logue
It could probably be done using an AjaxSelfUpdatingBehavior, though 
you'll need to off load the actual uploading to a separate thread. Once 
the upload is complete set some flag/messages in the session and have 
the behaviour show the modal window based upon this(could use a second 
behaviour on the modal window to refresh its status). There's a few 
tutorials on the web about creating a custom progress bar for uploading, 
I think what you're trying to achieve isn't a million miles away from 
it. However I'm relatively new to wicket so I'm unsure if this is the 
best course of action(or if its even condoned!)


jack jones wrote:
Hi, 
I am trying to create a pop-up window to display some feedback after a bulk upload. The pop-up window needs to be created using a submitLink not a BookmarkablePageLink, I have tried using a BookmarkablPageLink but you cannot not override the onClick() method, also it cannot be an ajax pop-up because I am using a file upload. The code would be something like this:


add(new SubmitLink(add){ public void onSubmit() {   FileUpload 
upload = fileUploadField.getFileUpload();
   List feedback = myService.doSomethingWithUpload(upload);
   if(feedback.size() 0 )  Create a popup window to display 
the feedback.   }});

Do you know how this can be achieved?
Thanks in advance.
_
Rediscover HotmailĀ®: Get e-mail storage that grows with you. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3984 (20090402) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


  



--





Kevin Logue

[t]+353 (0) 42 939 1039

[e]   ke...@viableoptions.ie mailto:ke...@viableoptions.ie






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: VOTE: Rename Apache Wicket to Apache WicketFX

2009-04-03 Thread Kevin Logue

There should be laws against the Internet and April 1st...

Martijn Dashorst wrote:

The Wicket PMC has discussed the following action. Because I think it
is prudent that the Wicket community keeps evolving with the state of
Java, I've created a board resolution to rename Wicket to WicketFX
(thanks Igor for the suggestion!)

WHEREAS, the Board of Directors deems it to be in the best interests
of the Foundation and the Apache Wicket community to rename Apache
Wicket to Apache WicketFX to get presentation slots at the JavaOne
conference, and make it easier to obtain JSR status.

NOW, THEREFORE, BE IT RESOLVED, that the project formerly known as the
Apache Wicket project, be and hereby is renamed to Apache
WicketFX; and be it further

RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to
submit or propose new presentations and tutorials to the JavaOne
Conference concerning Wicket and FX; and be it further

RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to
submit the Apache WicketFX project to the JCP and obtain JSR status;
and be it further

RESOLVED, that the original Apache Wicket PMC be and hereby is
dissolved of its responsibilities for this day, April 1st, 2009.

[ ] +1, accept above resolution
[ ] -1, don't accept above resolution, because ...

This vote runs for just today, otherwise we won't be able to get it
accepted by the board this month.

Martijn

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3979 (20090331) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




  



--





Kevin Logue

[t]+353 (0) 42 939 1039

[e]   ke...@viableoptions.ie mailto:ke...@viableoptions.ie






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxSelfUpdatingTimerBehavior Once

2009-03-19 Thread Kevin Logue
If you just want to stop AjaxSelfUpdatingTimerBehavior after a 
particular event(or one call even), you could always call the stop 
method on the AjaxSelfUpdatingTimerBehavior. No idea if this is the best 
practice but it's worked for me.


Kevin

Heidi Burn wrote:

Hi, guys,

I code AjaxSelfUpdatingTimerBehavior with isTemporary() {return true;}.
After being called once I get

ERROR - RequestCycle   -
java.lang.NullPointerException
at org.apache.wicket.request.
target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:96)
at 
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1236)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1315)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1414)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:542)
at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)


What is my problem?
Please, help me.

Heidi

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3948 (20090319) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Phonebook Missing

2009-01-14 Thread Kevin Logue

Hi

I'm currently implementing a checkgroup within a datatable. After 
checking nabble, this has been
done within the Wicket Stuff phonebook example but try as I might I 
can't find a recent copy
of it on the SVN repository. Has it been removed or am I running 
dangerously low on caffeine.


Apologies if I should be asking this somewhere else.

Cheers
Kevin

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Phonebook Missing

2009-01-14 Thread Kevin Logue

Ah think its time for stronger glasses.

Martin Funk wrote:

look into wicketstuff-core
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/

mf

2009/1/14 Kevin Logue ke...@viableoptions.ie

  

Hi

I'm currently implementing a checkgroup within a datatable. After checking
nabble, this has been
done within the Wicket Stuff phonebook example but try as I might I
can't find a recent copy
of it on the SVN repository. Has it been removed or am I running
dangerously low on caffeine.

Apologies if I should be asking this somewhere else.

Cheers
Kevin

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3764 (20090114) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [OT] wicket users around the world

2008-12-12 Thread Kevin Logue

Ireland  :-) . Counting down the minutes until its the weekend

francisco treacy wrote:

to know a little bit more of our great (and vast) community, i was
just wondering if you're keen on sharing where you come from and/or
where you work with wicket...

for instance, here argentinian/belgian working with wicket in antibes, france

francisco

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3685 (20081212) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org