Re: how to get resource path of files in server to be used by wicket

2010-09-30 Thread elesi

do i have to use FileResourceStream for my mp3 file?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2720422.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: how to get resource path of files in server to be used by wicket

2010-09-30 Thread Martin Grigorov
elesi, please enter in ##wicket IRC channel (server freenode) to ask your
questions
it is not easy to chat in mails

to receive better answers here you have to ask better questions
by "better" I mean more detailed and descriptive

On Thu, Sep 30, 2010 at 11:01 AM, elesi  wrote:

>
> do i have to use FileResourceStream for my mp3 file?
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2720422.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Prevent guest session from expiring

2010-09-30 Thread Martijn Dashorst
did you bind the session?

On Wed, Sep 29, 2010 at 6:52 PM, Alec Swan  wrote:
> Hello,
>
> I decided to set  MaxInactiveInterval to 0 in onAfterRender in order to
> prevent guest sessions from expiring. So, my code looks like this:
>
> @Override
>    protected void onAfterRender() {
>        super.onAfterRender();
>       ((ServletWebRequest)
> this.getRequest()).getHttpServletRequest().getSession().setMaxInactiveInterval(0);
> }
>
> However, this does not work because for some reason a new
> getRequest().getHttpServletRequest().getSession().session object every time
> onAfterRender() is called, e.g. if I refresh the page.
>
> Why am I getting StandardSession objects with different ids in
> onAfterRender()?
>
> Thanks
>
> On Sat, Sep 18, 2010 at 9:39 AM, Martin Grigorov wrote:
>
>> Wicket Session is stored in HttpSession.
>> See
>>
>> http://download.oracle.com/docs/cd/E17802_01/products/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/http/HttpSession.html#setMaxInactiveInterval%28int%29
>>
>> On Sat, Sep 18, 2010 at 5:30 PM, Alec Swan  wrote:
>>
>> > Are there any methods I can override in Wicket WebSession to make it
>> never
>> > expire?
>> >
>> > On Tue, Sep 14, 2010 at 10:25 PM, Martin Makundi <
>> > martin.maku...@koodaripalvelut.com> wrote:
>> >
>> > > You can set session timeout per-session:
>> > >
>> > >    ((ServletWebRequest)
>> > >
>> > >
>> >
>> request).getHttpServletRequest().getSession().setMaxInactiveInterval(seconds);
>> > >
>> > > **
>> > > Martin
>> > >
>> > > 2010/9/15 Jeremy Thomerson :
>> > > > On Tue, Sep 14, 2010 at 10:51 PM, Alec Swan 
>> > wrote:
>> > > >
>> > > >> Isn't there a way to instruct Wicket not to create a session if the
>> > user
>> > > is
>> > > >> not logged in?
>> > > >>
>> > > >
>> > > > a session will always be created.  it won't be bound (and therefore
>> > > stored)
>> > > > if you have all stateless pages - which isn't an easy task
>> > > >
>> > > > --
>> > > > Jeremy Thomerson
>> > > > http://www.wickettraining.com
>> > > >
>> > >
>> > > -
>> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > > For additional commands, e-mail: users-h...@wicket.apache.org
>> > >
>> > >
>> >
>>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.8

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



Which component to use for html iframe

2010-09-30 Thread Mehmet.Kaplankiran
Hi,

I would like to use html iframe tag. Example in html:


My Example to use Wicket:


Which Wicket component can I use for iframe

Regards,

Mehmet




Re: Which component to use for html iframe

2010-09-30 Thread Altuğ Bilgin Altıntaş
WebMarkupContainer

2010/9/30 

> Hi,
>
> I would like to use html iframe tag. Example in html:
>  height="400px">
>
> My Example to use Wicket:
>  height="400px">
>
> Which Wicket component can I use for iframe
>
> Regards,
>
> Mehmet
>
>
>


Re: Which component to use for html iframe

2010-09-30 Thread Martin Grigorov
Take a look at org.apache.wicket.markup.html.link.InlineFrame as well

2010/9/30 Altuğ Bilgin Altıntaş 

> WebMarkupContainer
>
> 2010/9/30 
>
> > Hi,
> >
> > I would like to use html iframe tag. Example in html:
> >  > height="400px">
> >
> > My Example to use Wicket:
> >  > height="400px">
> >
> > Which Wicket component can I use for iframe
> >
> > Regards,
> >
> > Mehmet
> >
> >
> >
>


Re: JFreeChart with clickable imagemap

2010-09-30 Thread Peter Karich
Hi James,

In the constructImageMap you whill have to pass a model as well, but I'm
not sure how :-(

Another way would be to adapt constructImageMap to updateImageMap
so that you can call it in ChartImage.createBufferedImage (or every time
the model updates)

BTW: For jetwick I used an html solution with div's to display bar charts.
which is customizable by the designer (if any ;-)), readable by spiders etc
and didn't need those imagemaps. Are you interested in this solution? I
could blog about it.

Regards,
Peter (aka timetabling on twitter ;-)).

> Hi Guys,
>
> I followed the instructions in the wiki "JFreeChart with clickable
> imagemap"
> to create a chart.
> I have a requirement whereby the chart has to be generated dynamically based
> on certain inputs.
> I managed to create the chart image by using LoadableDetachableModel but
> struggling to get the imagemap updated as the chart image changes.
> Kindly give your valuable suggestions.
>
>   


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



WG: Which component to use for html iframe

2010-09-30 Thread Mehmet.Kaplankiran
InlineFrame needs PageMap or  Page. Bud I want to render a stream or a PDF File 
in iframe-tag.

WebMarkupContainer: I need to add a wicket component to WebMarkupContainer. I 
don't know which component

--

Take a look at org.apache.wicket.markup.html.link.InlineFrame as well

2010/9/30 Altuğ Bilgin Altıntaş 

> WebMarkupContainer
>
> 2010/9/30 
>
> > Hi,
> >
> > I would like to use html iframe tag. Example in html:
> >  > height="400px">
> >
> > My Example to use Wicket:
> >  > height="400px">
> >
> > Which Wicket component can I use for iframe
> >
> > Regards,
> >
> > Mehmet
> >
> >
> >
>

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



Re: Which component to use for html iframe

2010-09-30 Thread Ernesto Reinaldo Barreiro
I have created [1] long time ago. Maybe its contents are still valid
for your use case?

Regards,

Ernesto

1-https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html


2010/9/30  :
> InlineFrame needs PageMap or  Page. Bud I want to render a stream or a PDF 
> File in iframe-tag.
>
> WebMarkupContainer: I need to add a wicket component to WebMarkupContainer. I 
> don't know which component
>
> --
>
> Take a look at org.apache.wicket.markup.html.link.InlineFrame as well
>
> 2010/9/30 Altuğ Bilgin Altıntaş 
>
>> WebMarkupContainer
>>
>> 2010/9/30 
>>
>> > Hi,
>> >
>> > I would like to use html iframe tag. Example in html:
>> > > > height="400px">
>> >
>> > My Example to use Wicket:
>> > > > height="400px">
>> >
>> > Which Wicket component can I use for iframe
>> >
>> > Regards,
>> >
>> > Mehmet
>> >
>> >
>> >
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Modal window and Ajax exception

2010-09-30 Thread Altuğ Bilgin Altıntaş
 Hi;

I have Webmarkupcontainer which includes ListView and I am using jquery
Table Sorter.

When i open a update modal window and close model window and refresh table
via Ajax i got :

Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
[object Error]
*INFO: *Response processed successfully.

And all jqıery table sorter's features gone

My wicket version : 1.4.9

I've read https://issues.apache.org/jira/browse/WICKET-2663 but it says it
is fixed since 1.4.7

Any idea ?

Thanks.


continueToOriginalDestination not working correctly

2010-09-30 Thread Pepijn de Geus
Hi all,

I'm working on a website were the customer can enable a splash page that will 
be displayed once per session to every visitor entering the site.
To achieve this, I've added a small session check with a to my BasePage, which 
is the parent of all webpages:

if (!getSession().isSplashShown()) {
SplashData splash = em.find(SplashData.class, SplashData.ID);
if (splash.isEnabled()) {
throw new RestartResponseAtInterceptPageException(SplashWebPage.class);
} else {
getSession().setSplashShown();
}
}

This works like expected; the user is redirected to the URL the SplashWebPage 
is mounted on.
On the SplashWebPage, which does not extends BasePage, I've added a 
AjaxFallbackLink like this:

session.setSplashShown();



add(new AjaxFallbackLink("close") {
private static final long serialVersionUID = 1L;

public void onClick(AjaxRequestTarget target) {
if (!continueToOriginalDestination()) {
setResponsePage(HomePage.class);
}
}
});

Clicking this links does not work. The log tells me:

"ClassName=org.apache.wicket.protocol.http.WebResponse;MethodName=redirect;|Redirecting
 to "
(nothing after 'to', only a space)

and the AJAX response reads:



I was able to solve this issue by either:
- Changing the link to a non-ajax one
- Mounting the SplashWebPage on a path 'deeper' then the one the user 
originally tried te open, such as "/splash/work/please". The user is then 
redirected to "../../" correctly.

It this a bug in Wicket, or am I doing something stupid?

Thanks in advance,
Pepijn


Understanding wicket lifecycle and model past to wicket components

2010-09-30 Thread Brown, Berlin [GCG-PFS]
I have two scenarios, a and b.  In one case I use the loadable
detachable model and the other I don't.  Is it possible when the wicket
component in scenario b is deserialized, is it possible that the object
won't be available?
 
 
 
(a) Page Constructor code with Loadable detachable model:
 
MyPage.java:
...
final Form form = new Form(FORM, new
CompoundPropertyModel(new LoadableDetachableModel() {
  
   @Override
   protected AppBean load() {
final AppBean AppApplication = (AppBean)
WicketSession.get().getApp();  
return AppApplication;
   }   
  };
});
 
---
 
(b) Page Constructor without Loadable detachable model:
 
MyPage.java
...
LINE2: final Form form = new Form(FORM, new
CompoundPropertyModel((AppBean) WicketSession.get().getApp())
<--- offending call
 

---
 

SomeOtherPage.java:
public SomeOtherPage() { 
  new Link() {
onClick() { 
  setResponsePage(MyPage.class);  < Use wicket deserialization
to get MyPage.class, constructor not called.
 }
   }
}
 
LINE2: (AppBean) WicketSession.get().getApp()
 
QUESTION: in scenario (B), is it possible that the call to create the
Form will be null? if I don't use the loadable detachable model?
Because the constructor was not called to render that page again.
 
 
Berlin Brown
 


Coding - On Software Design Process

2010-09-30 Thread Jonathan Locke

Hello Wicketeers!

I recently finished writing a short book (less than 70 pages) on software 
design process. I wrote this book because I wanted a place to put down some of 
the most interesting ideas and things I've learned about software design over 
the years that have been too long for everyday conversations and emails. If you 
have worked with me or are familiar with my work through Wicket, you will find 
a lot of things that feel familiar in this book and it may shed some light on 
some aspects of Wicket's design for you. It's also my hope that it will help 
people who read it carefully to improve their software design process. You can 
get it for Kindle using the link below (or better yet, get your pointy-haired 
boss to get it for you) or if you prefer dead trees, there will be a paperback 
available on Amazon in a few days. As I say in the introduction, this book is a 
conversation starter, so I'd be very interested to hear thoughts and reactions 
from readers. Enjoy!

http://www.amazon.com/Coding-Software-Design-Process-ebook/dp/B0042X99SA

Best,

 Jon



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



Re: Modal window and Ajax exception

2010-09-30 Thread Igor Vaynberg
it may be that jquery is screwing things up. try without it first.

-igor

2010/9/30 Altuğ Bilgin Altıntaş :
>  Hi;
>
> I have Webmarkupcontainer which includes ListView and I am using jquery
> Table Sorter.
>
> When i open a update modal window and close model window and refresh table
> via Ajax i got :
>
> Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
> [object Error]
> *INFO: *Response processed successfully.
>
> And all jqıery table sorter's features gone
>
> My wicket version : 1.4.9
>
> I've read https://issues.apache.org/jira/browse/WICKET-2663 but it says it
> is fixed since 1.4.7
>
> Any idea ?
>
> Thanks.
>

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



Re: continueToOriginalDestination not working correctly

2010-09-30 Thread Igor Vaynberg
i dont think we support continuetoorig via ajax

-igor

On Thu, Sep 30, 2010 at 6:41 AM, Pepijn de Geus
 wrote:
> Hi all,
>
> I'm working on a website were the customer can enable a splash page that will 
> be displayed once per session to every visitor entering the site.
> To achieve this, I've added a small session check with a to my BasePage, 
> which is the parent of all webpages:
>
> if (!getSession().isSplashShown()) {
>    SplashData splash = em.find(SplashData.class, SplashData.ID);
>    if (splash.isEnabled()) {
>        throw new RestartResponseAtInterceptPageException(SplashWebPage.class);
>    } else {
>        getSession().setSplashShown();
>    }
> }
>
> This works like expected; the user is redirected to the URL the SplashWebPage 
> is mounted on.
> On the SplashWebPage, which does not extends BasePage, I've added a 
> AjaxFallbackLink like this:
>
> session.setSplashShown();
>
>
>
> add(new AjaxFallbackLink("close") {
>    private static final long serialVersionUID = 1L;
>
>    public void onClick(AjaxRequestTarget target) {
>        if (!continueToOriginalDestination()) {
>            setResponsePage(HomePage.class);
>        }
>    }
> });
>
> Clicking this links does not work. The log tells me:
>
> "ClassName=org.apache.wicket.protocol.http.WebResponse;MethodName=redirect;|Redirecting
>  to "
> (nothing after 'to', only a space)
>
> and the AJAX response reads:
>
> 
>
> I was able to solve this issue by either:
> - Changing the link to a non-ajax one
> - Mounting the SplashWebPage on a path 'deeper' then the one the user 
> originally tried te open, such as "/splash/work/please". The user is then 
> redirected to "../../" correctly.
>
> It this a bug in Wicket, or am I doing something stupid?
>
> Thanks in advance,
> Pepijn
>

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



AW: Which component to use for html iframe

2010-09-30 Thread Mehmet.Kaplankiran
Thanks, it works 

Regards,
Mehmet

-Ursprüngliche Nachricht-
Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] 
Gesendet: Donnerstag, 30. September 2010 14:39
An: users@wicket.apache.org
Betreff: Re: Which component to use for html iframe

I have created [1] long time ago. Maybe its contents are still valid for your 
use case?

Regards,

Ernesto

1-https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html


2010/9/30  :
> InlineFrame needs PageMap or  Page. Bud I want to render a stream or a PDF 
> File in iframe-tag.
>
> WebMarkupContainer: I need to add a wicket component to 
> WebMarkupContainer. I don't know which component
>
> --
>
> Take a look at org.apache.wicket.markup.html.link.InlineFrame as well
>
> 2010/9/30 Altuğ Bilgin Altıntaş 
>
>> WebMarkupContainer
>>
>> 2010/9/30 
>>
>> > Hi,
>> >
>> > I would like to use html iframe tag. Example in html:
>> > > > height="400px">
>> >
>> > My Example to use Wicket:
>> > > > height="400px">
>> >
>> > Which Wicket component can I use for iframe
>> >
>> > Regards,
>> >
>> > Mehmet
>> >
>> >
>> >
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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


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



IDataProvider advice needed – caching?

2010-09-30 Thread Troy Cauble
I need an IDataProvider for web services calls to a Flickr search.

To complicate matters, I need to cull the Flickr results based on
local criteria.  So the Nth item to the user is the N + Mth item from Flickr.
And I can't know M without looking at the all the Flickr results up to
N + M.

So to handle a user paging back and forth, I either need to
a)  cache the Flickr data (tuples, not images)
b)  cache a mapping from the user index to the Flickr index
c)  start from 0 with flickr and count up each time the Provider is used.

Even with a cache (a & b), I'll have to fetch the data in between if
a user jumps from page 1 to page 5.

So my questions are

1)  How much data is it reasonable to let an IDataProvider serialize?
 2000 short strings?  4000?  Or how large of a TreeMap?
2)  If I wanted to cache outside the IDataProvider serialization (global
 mem or another process), there's no way to know when a user is
 done with the cache, right?  (When they close that window or tab?)
3)  Have I missed any approaches?  Something besides IDataProvider?
 Anything?

Thanks,
-troy

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



Re: How to use jWicket ResizableBehavior

2010-09-30 Thread Sebastian
Looks like there is a problem in the ResizableBehaviour class. It does 
not ensure that the necessary jQuery CSS is added to the markup. Since 
the method that could do this has protected visibility I need to 
subclass the ResizableBehaviour like this:


ResizableBehaviour resizer = new ResizableBehaviour(){{ 
addUserProvidedResourceReferences(AbstractJqueryUiEmbeddedBehaviour.jQueryUiBaseCss); 
}};

myComponent.add(resizer);

Seb

On 29.09.2010 19:08, Sebastian wrote:

Hi,

I'd like to make a DIV resizable. The JavaDoc of ResizableBehavior says
I just need to add a new behavior instance to a Wicket component (in my
case a WebMarkupContainer) to make it resizable. Doing so results in my
HTML output referencing the minified jquery libs and containing code
like "jQuery('mydiv#2').resizable(...)". However the DIV did not change
at all and it is not resizable. What do I miss?

Thanks,
Seb


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






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



Where to post wicket jobs

2010-09-30 Thread Jered Myers
 I am looking for a good place to post small jobs (e.g. creating custom 
UI components) using Wicket like RentACoder.  Can someone please point 
me to a good site or the proper mailing list for this.  Thanks!


Jered


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



Re: Where to post wicket jobs

2010-09-30 Thread James Carman
you're on the mailing list

On Thu, Sep 30, 2010 at 12:56 PM, Jered Myers
 wrote:
>  I am looking for a good place to post small jobs (e.g. creating custom UI
> components) using Wicket like RentACoder.  Can someone please point me to a
> good site or the proper mailing list for this.  Thanks!
>
> Jered
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: Where to post wicket jobs

2010-09-30 Thread nino martinez wael
heres fine or the linkedin group..

regards Nino

2010/9/30 Jered Myers :
>  I am looking for a good place to post small jobs (e.g. creating custom UI
> components) using Wicket like RentACoder.  Can someone please point me to a
> good site or the proper mailing list for this.  Thanks!
>
> Jered
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: Reporting bugs for Wicketstuff components

2010-09-30 Thread nino martinez wael
yup should be possible. Sebastian please give a shout when created the tickets..

2010/9/29 Martin Grigorov :
> Since wicketstuff.org/jira is not there anymore, can't we use some
> sf.netservice for this ?
> wicketstuff's svn is sf.net
>
> On Wed, Sep 29, 2010 at 8:02 PM, Sebastian  wrote:
>
>> Hi,
>>
>> where can I report bugs for wicketstuff components?
>>
>> Regards,
>>
>> Seb
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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



Forms ajax doesn't update components models

2010-09-30 Thread Tito
Hello,

I'm doing a form that adds textfields when I choose an option in a ComboBox.
When Combo changes one panel become visible and other invisible.
The problem is when that panel appears and I click submit button the model
of it does't update.
I have seen that browser submit the info, but wicket doesn't process it. I
don't know if i'm doing anything wrong or is a known problem.

Thank you.
Excuse me for my bad English. I'm from Argentina.

Norberto


Re: IDataProvider advice needed – caching?

2010-09-30 Thread Jeremy Thomerson
On Thu, Sep 30, 2010 at 11:20 AM, Troy Cauble  wrote:

> I need an IDataProvider for web services calls to a Flickr search.
>
> To complicate matters, I need to cull the Flickr results based on
> local criteria.  So the Nth item to the user is the N + Mth item from
> Flickr.
> And I can't know M without looking at the all the Flickr results up to
> N + M.
>
> So to handle a user paging back and forth, I either need to
> a)  cache the Flickr data (tuples, not images)
> b)  cache a mapping from the user index to the Flickr index
> c)  start from 0 with flickr and count up each time the Provider is used.
>
> Even with a cache (a & b), I'll have to fetch the data in between if
> a user jumps from page 1 to page 5.
>
> So my questions are
>
> 1)  How much data is it reasonable to let an IDataProvider serialize?
> 2000 short strings?  4000?  Or how large of a TreeMap?
> 2)  If I wanted to cache outside the IDataProvider serialization (global
> mem or another process), there's no way to know when a user is
> done with the cache, right?  (When they close that window or tab?)
> 3)  Have I missed any approaches?  Something besides IDataProvider?
> Anything?
>
> Thanks,
> -troy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
I'd think that this kind of logic and caching should be put into your
service layer.  Depending on your application, it is very likely that the
cached data could be used for multiple users.  Besides, your UI should just
be able to call into the service layer and not worry about these details.

At the service layer, you can use something like memcached and set the
timeout appropriately for your session length / usage combo.


-- 
Jeremy Thomerson
http://www.wickettraining.com


Wicket Rich Text Editor with YUI 2

2010-09-30 Thread Jered Myers
 We are looking for someone to make a Rich Text Editor using Wicket and 
YUI 2.  We are looking to make the editor easy to work with on the Java 
side (e.g. simple configuration of the toolbar via Java).  Its basic 
implementation if very javascript heavy and we want to be able to 
manipulate the control in a "Wicket" manner (e.g. see DatePicker), so 
that it can be used as easily as Wicket's TextArea.  The job, with the 
full details, is posted on RentACoder at 
http://www.vworker.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=1507539.


--
Jered Myers
Maplewood Software


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



Re: Wicket Push for Java 5?

2010-09-30 Thread Rodolfo Hansen
Regarding this patch..

Michael: how would you deal with a mixed jdk version project?

should we move push-parent to jdk1.5 and disable the
animal-sniffer-maven-plugin for the cometd module?


On Wed, 2010-09-29 at 21:17 +0200, Sebastian wrote:

> Thanks. Here you go...
> 
> 
> On 29.09.2010 20:21, Rodolfo Hansen wrote:
> > The current comet code is reliant on servlet 3.0 which in turn requires
> > java 6.
> >
> > You are correct regarding the timer implementation,
> >
> > If you send a patch separating the cometd out, so the rest of push can
> > be java5. I'll push it, but push-parent trunk compiles against wicket
> > 1.5
> >
> >
> >   On Wed, 2010-09-29 at 20:01 +0200, Sebastian wrote:
> >
> >> Hi Mike,
> >>
> >> thanks for your resoponse. Maybe you can just have the push-comet module
> >> being compiled with Java 6? I am using the push.timer implementation
> >> currently. I recompiled it using Java5 and it works fine.
> >>
> >> Regards,
> >>
> >> Seb
> >>
> >> On 29.09.2010 19:55, Michael O'Cleirigh wrote:
> >>> Hi Sebastian,
> >>>
> >>> Its related to the dependencies of the wicketstuff-push. When I switched
> >>> the wicketstuff build to use a real JDK 5 instead of JDK 6 in
> >>> compatibility mode errors like this were seen:
> >>>
> >>> [INFO]
> >>> 
> >>> [INFO] Error for project: Wicketstuff Push (during deploy)
> >>> [INFO]
> >>> 
> >>> [INFO] Compilation failure
> >>> /home/wicket/.hudson/jobs/Wicket Stuff
> >>> Core/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdService.java:[11,-1]
> >>> cannot access org.cometd.bayeux.Channel
> >>> bad class file:
> >>> /home/wicket/.m2/repository/org/cometd/java/bayeux-api/2.0.0.RC2/bayeux-api-2.0.0.RC2.jar(org/cometd/bayeux/Channel.class)
> >>>
> >>> class file has wrong version 50.0, should be 49.0
> >>> *
> >>> *This is why the project was moved to be built by java 6 instead of java 
> >>> 5.
> >>>
> >>> Regards,
> >>>
> >>> Mike
> >>> *
> >>> *
>  Hi,
> 
>  why is the wicket push module available in the Maven repo1 compiled
>  with Java 6? I checked out the code and cannot find a single usage of
>  any new Java 6 features (except the @Override annotation used on
>  methods of implemented interfaces).
> 
>  I'm currently working in an environment where only Java 5 is allowed.
>  all other wicket components retrieved via Maven repo1 work fine here.
> 
>  Regards,
>  Seb
> 
> 
>  -
>  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>  For additional commands, e-mail: users-h...@wicket.apache.org
> 
> >>>
> >>>
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >
> >
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org




Re: Forms ajax doesn't update components models

2010-09-30 Thread Per Newgro
 Can you please share some code. Otherwise there could be tons of 
problem causes.


Cheers
Per

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



RE: continueToOriginalDestination not working correctly

2010-09-30 Thread Chris Colman
I had a problem using continueToOriginalDestination with very similar
symptoms that was only a problem for IE? Does yours affect all browsers
or just IE? My problem only occurred in IE and only if the redirection
was to the root of the app, redirecting to any folder *under* the root
worked fine - very similar to what you state.

At the time I raised issue:

https://issues.apache.org/jira/browse/WICKET-2912

but it has since been marked as 'cannot reproduce' so I thought it must
have been some querky issue with my particular app.

I'm not sure if this is the same as your problem but I fixed the problem
in my environment by making a change to the wicket source code
(org.apache.wicket.PageMap:continueToOriginalDestination() which I have
outlined in a comment in the above JIRA page. It basically involves an
extra test of the interceptionContinuationURL and then a subsequent
stripping of the any leading '/'.

From:

// If there's a place to go to
if (interceptContinuationURL != null)
{
...
}

to this:


// If there's a place to go to
if (interceptContinuationURL != null)
{
if ( interceptContinuationURL.length() > 0 &&
interceptContinuationURL.charAt(0) == '/' )
interceptContinuationURL =
interceptContinuationURL.substring(1);  

...
}

And now it works fine on IE as well.

>-Original Message-
>From: Pepijn de Geus [mailto:pep...@service2media.com]
>Sent: Thursday, 30 September 2010 11:41 PM
>To: users@wicket.apache.org
>Subject: continueToOriginalDestination not working correctly
>
>Hi all,
>
>I'm working on a website were the customer can enable a splash page
that
>will be displayed once per session to every visitor entering the site.
>To achieve this, I've added a small session check with a to my
BasePage,
>which is the parent of all webpages:
>
>if (!getSession().isSplashShown()) {
>SplashData splash = em.find(SplashData.class, SplashData.ID);
>if (splash.isEnabled()) {
>throw new
>RestartResponseAtInterceptPageException(SplashWebPage.class);
>} else {
>getSession().setSplashShown();
>}
>}
>
>This works like expected; the user is redirected to the URL the
>SplashWebPage is mounted on.
>On the SplashWebPage, which does not extends BasePage, I've added a
>AjaxFallbackLink like this:
>
>session.setSplashShown();
>
>
>
>add(new AjaxFallbackLink("close") {
>private static final long serialVersionUID = 1L;
>
>public void onClick(AjaxRequestTarget target) {
>if (!continueToOriginalDestination()) {
>setResponsePage(HomePage.class);
>}
>}
>});
>
>Clicking this links does not work. The log tells me:
>
>"ClassName=org.apache.wicket.protocol.http.WebResponse;MethodName=redir
ect;
>|Redirecting to "
>(nothing after 'to', only a space)
>
>and the AJAX response reads:
>
>
>
>I was able to solve this issue by either:
>- Changing the link to a non-ajax one
>- Mounting the SplashWebPage on a path 'deeper' then the one the user
>originally tried te open, such as "/splash/work/please". The user is
then
>redirected to "../../" correctly.
>
>It this a bug in Wicket, or am I doing something stupid?
>
>Thanks in advance,
>Pepijn

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



wicket-auth-roles and SSO

2010-09-30 Thread yferahi

Hi,

Our application relies on Wicket-auth-roles, Spring Security 3 and SSO
(SiteMinder); The login page (login mechanism) is outside of the
application. Our WebApplication must extend AuthenticatedWebapplication and
thus implement getSignInPageClass(); What should we return ?

Thanks

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-auth-roles-and-SSO-tp2754607p2754607.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket-auth-roles and SSO

2010-09-30 Thread Igor Vaynberg
you can throw a RedirectToUrlException from that method

-igor

On Thu, Sep 30, 2010 at 1:25 PM, yferahi  wrote:
>
> Hi,
>
> Our application relies on Wicket-auth-roles, Spring Security 3 and SSO
> (SiteMinder); The login page (login mechanism) is outside of the
> application. Our WebApplication must extend AuthenticatedWebapplication and
> thus implement getSignInPageClass(); What should we return ?
>
> Thanks
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/wicket-auth-roles-and-SSO-tp2754607p2754607.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: wicket-auth-roles and SSO

2010-09-30 Thread Igor Vaynberg
or possibly return a class of a page that throws that exception in the
constructor, just to be on the safe side.

-igor

On Thu, Sep 30, 2010 at 1:29 PM, Igor Vaynberg  wrote:
> you can throw a RedirectToUrlException from that method
>
> -igor
>
> On Thu, Sep 30, 2010 at 1:25 PM, yferahi  wrote:
>>
>> Hi,
>>
>> Our application relies on Wicket-auth-roles, Spring Security 3 and SSO
>> (SiteMinder); The login page (login mechanism) is outside of the
>> application. Our WebApplication must extend AuthenticatedWebapplication and
>> thus implement getSignInPageClass(); What should we return ?
>>
>> Thanks
>>
>> --
>> View this message in context: 
>> http://apache-wicket.1842946.n4.nabble.com/wicket-auth-roles-and-SSO-tp2754607p2754607.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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



wicket GWT

2010-09-30 Thread fachhoch

I want to use some of the widgets from GWT are there any examples of wicket
and  GWT   integreation ?

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-GWT-tp2756952p2756952.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Wicketstuff DataGrid by inmethod - how to download it?

2010-09-30 Thread Chris Colman
I'm currently contracting to a company that has very strict controls
over the development desktops and a very thorough firewall which does
not allow SVN connections in or out.
 
How can we get the latest inmethod DataGrid without svn access? Is there
a nightly build available somewhere?
 
Chris


Re: Bug in Wicket Push TimerChannelService when used with background threads

2010-09-30 Thread Rodolfo Hansen
Hi Sebastian, your patch is in: 

trunk (1.5)
1.4 branch (future 1.4.13 release)
and 1.4.12

There was an issue in your patch where the application could be left in
the ThreadContext, which was fixed, 
as well as a simplification in the trigger function.

On Wed, 2010-09-29 at 21:39 +0200, Sebastian wrote:

> Hi,
> 
> there is a problem in the Push TimerChannelService implementation: 
> Callbacks do not work reliable when they are invoked from non-Web 
> threads. The "There is no application attached to current thread" 
> WicketRuntimeException will occur in such a case. The attached patch 
> fixes this issue.
> 
> Regards,
> 
> Seb
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org




Re: Bug in Wicket Push TimerChannelService when used with background threads

2010-09-30 Thread Sebastian
> There was an issue in your patch where the application could be left 
in the ThreadContext, which was fixed,


Hi Rodolfo,

I think you are referring to

try {
  Application.set(_application);
  methods[m].invoke(o, parameters);
} finally {
  Application.set(originalApplication);
  if (originalApplication != null) Application.set(originalApplication);
}

The problem is if this code is executed in a separate thread the 
originalApplication will be null. If you just omit the null check in the 
finally clause the setter will throw an IllegalArgumentException. So to 
remove the app from the ThreadContext we would have to call 
Application.unset() instead:


if (originalApplication == null) Application.unset();
else Application.set(originalApplication);

Regards,
Seb



On 30.09.2010 23:08, Rodolfo Hansen wrote:

Hi Sebastian, your patch is in:

trunk (1.5)
1.4 branch (future 1.4.13 release)
and 1.4.12

There was an issue in your patch where the application could be left in
the ThreadContext, which was fixed,
as well as a simplification in the trigger function.

On Wed, 2010-09-29 at 21:39 +0200, Sebastian wrote:


Hi,

there is a problem in the Push TimerChannelService implementation:
Callbacks do not work reliable when they are invoked from non-Web
threads. The "There is no application attached to current thread"
WicketRuntimeException will occur in such a case. The attached patch
fixes this issue.

Regards,

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








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



Re: Lazy load exception with LoadableDetachableModel

2010-09-30 Thread Matt Schmidt
Ok after further review, my problem was because I was getting this model
from a DataProvider where I was feeding the DataProvider a List AFTER
retrieving from the persistence layer, instead of doing it IN the
DataProvider. Thanks for the help!

On Wed, Sep 29, 2010 at 6:02 PM, James Carman wrote:

> Are you detaching your model?  If not, it could be returning a Product
> object that was obtained during a different Hibernate session.
>
> On Wed, Sep 29, 2010 at 5:53 PM, Matt Schmidt 
> wrote:
> > I am using LoadableDetachableModel's to load my persisted objects from
> the
> > database, but I am still getting a lazy load exception when accessing a
> > property that is a Set.
> >
> > For example: take persistent POJO Product that has this property, where
> > ProductType is another persistent POJO:
> >
> > private Set productTypes;
> >
> >
> > I get the lazy load when trying to access this property from the LDM:
> >
> > Collection x = ((Product)
> model.getObject()).getProductTypes();
> >
> > for(ProductType pt : x) { //lazy load here
> >
> > .
> >
> >
> > What am I missing?
> >
> > Thanks,
> > Matt
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Problem Deploying Wicket/JPA (EclipseLink) App to Glassfish

2010-09-30 Thread Shelli Orton
Hi,

 

I have a small Wicket app that I can deploy to Glassfish v3 without any
problems.  I also have a JAX-RS webservice that includes a jar file that
contains JPA entity beans and stateless service beans that deploys
successfully.  However, when I try to deploy a different Wicket
application that makes use of the same entity/service jar, I get this
exception:

 

SEVERE: Exception while invoking class
org.glassfish.ejb.startup.EjbDeployer load method

java.lang.RuntimeException: Unable to load EJB module.
DeploymentContext does not contain any EJB  Check archive to ensure
correct packaging for C:\Program
Files\glassfishv3\glassfish\domains\domain1\applications\MyApp

  at
org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:133)

  at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)

  at
org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)



 

The same dependent jar files are included in both the Wicket and web
service wars.

 

Does anyone know if this a Wicket/JPA/Glassfish issue or something else?

 

Thanks!

 

Shelli



Re: Bug in Wicket Push TimerChannelService when used with background threads

2010-09-30 Thread Rodolfo Hansen
On Thu, 2010-09-30 at 23:48 +0200, Sebastian wrote:

> > There was an issue in your patch where the application could be left 
> in the ThreadContext, which was fixed,
> 
> Hi Rodolfo,
> 
> I think you are referring to
> 
> try {
>Application.set(_application);
>methods[m].invoke(o, parameters);
> } finally {
>Application.set(originalApplication);
>if (originalApplication != null) Application.set(originalApplication);
> }
> 
> The problem is if this code is executed in a separate thread the 
> originalApplication will be null. If you just omit the null check in the 
> finally clause the setter will throw an IllegalArgumentException. So to 
> remove the app from the ThreadContext we would have to call 
> Application.unset() instead:
> 
> if (originalApplication == null) Application.unset();
> else Application.set(originalApplication);


you are right, although i checked the source for set and didn't see the
throw...

amended in the 1.4 branches


> 
> Regards,
> Seb
> 
> 
> 
> On 30.09.2010 23:08, Rodolfo Hansen wrote:
> > Hi Sebastian, your patch is in:
> >
> > trunk (1.5)
> > 1.4 branch (future 1.4.13 release)
> > and 1.4.12
> >
> > There was an issue in your patch where the application could be left in
> > the ThreadContext, which was fixed,
> > as well as a simplification in the trigger function.
> >
> > On Wed, 2010-09-29 at 21:39 +0200, Sebastian wrote:
> >
> >> Hi,
> >>
> >> there is a problem in the Push TimerChannelService implementation:
> >> Callbacks do not work reliable when they are invoked from non-Web
> >> threads. The "There is no application attached to current thread"
> >> WicketRuntimeException will occur in such a case. The attached patch
> >> fixes this issue.
> >>
> >> Regards,
> >>
> >> Seb
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> >
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 




Printing an inmethod grid

2010-09-30 Thread Adz

Hi,

I'm using an inmethod grid which is working great for me, but when I try to
print I only get the data that is on the screen.  I get all the headers,
including the ones off screen, but not all the data, anyone have a
fix/workaround for this?  I'm thinking maybe a print.css that overrides the
standard styles defined in inmethod?

cheers,

Adam 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Printing-an-inmethod-grid-tp2773083p2773083.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Programmatically change an HTML attribute value.

2010-09-30 Thread Ichiro Furusato
Hi,

I'm assuming this is a dumb question but I wasn't able to locate an answer
for what must be an extremely common need. I found the docs on "How to
modify an attribute on a HTML tag" but that doesn't quite fit, as the examples
are all for elements that are themselves created programmatically. Mine is
solely in markup.

I've got a lot of HTML markup surrounded by a  element. The 
element isn't created via Wicket, it's in my HTML file. It has a fair bit of
descendent content so I don't want to have to create that via Java, as
I'm assuming if I put a wicket:id on the  element that would replace
everything within the . I just want to programmatically alter its 'class'
attribute, but I don't see how this is accomplished.

E.g.,



... etc.



This would effectively be some kind of query to locate the  element,
then a modification of its 'class' attribute.

Alternately, if I am required to create the  element programmatically,
how I attach a whole lot of HTML markup to it? Do I have to use a fragment?
That seems like a lot of work to just alter an attribute value, so like I said,
I must be missing something obvious here...

Ichiro

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



Re: Programmatically change an HTML attribute value.

2010-09-30 Thread James Carman
AttributeModifier
On Sep 30, 2010 8:07 PM, "Ichiro Furusato" 
wrote:
> Hi,
>
> I'm assuming this is a dumb question but I wasn't able to locate an answer
> for what must be an extremely common need. I found the docs on "How to
> modify an attribute on a HTML tag" but that doesn't quite fit, as the
examples
> are all for elements that are themselves created programmatically. Mine is
> solely in markup.
>
> I've got a lot of HTML markup surrounded by a  element. The 
> element isn't created via Wicket, it's in my HTML file. It has a fair bit
of
> descendent content so I don't want to have to create that via Java, as
> I'm assuming if I put a wicket:id on the  element that would replace
> everything within the . I just want to programmatically alter its
'class'
> attribute, but I don't see how this is accomplished.
>
> E.g.,
>
> 
> 
> ... etc.
> 
> 
>
> This would effectively be some kind of query to locate the  element,
> then a modification of its 'class' attribute.
>
> Alternately, if I am required to create the  element
programmatically,
> how I attach a whole lot of HTML markup to it? Do I have to use a
fragment?
> That seems like a lot of work to just alter an attribute value, so like I
said,
> I must be missing something obvious here...
>
> Ichiro
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>


Re: Wicket Push for Java 5?

2010-09-30 Thread Michael O'Cleirigh

 Hi Rodolfo,

I think you would need two wicketstuff-push parents (one for java5 and 
one for java6) each with a separate artifactid.


Like:

wicketstuff-core -> jdk-1.5-parent -> push-parent-jdk-1.5 -> containing 
all but the cometd artifact
wicketstuff-core -> jdk-1.6-parent -> push-parent-jdk-1.6 -> containing 
the comentd artifact.


If there is a dependency from the cometd artifact to the java 5 push 
artifacts it can be resolved by building the java 5 artifacts first 
(both in hudson and when the release is cut).


Regards,

Mike




Regarding this patch..

Michael: how would you deal with a mixed jdk version project?

should we move push-parent to jdk1.5 and disable the
animal-sniffer-maven-plugin for the cometd module?


On Wed, 2010-09-29 at 21:17 +0200, Sebastian wrote:


Thanks. Here you go...


On 29.09.2010 20:21, Rodolfo Hansen wrote:

The current comet code is reliant on servlet 3.0 which in turn requires
java 6.

You are correct regarding the timer implementation,

If you send a patch separating the cometd out, so the rest of push can
be java5. I'll push it, but push-parent trunk compiles against wicket
1.5


   On Wed, 2010-09-29 at 20:01 +0200, Sebastian wrote:


Hi Mike,

thanks for your resoponse. Maybe you can just have the push-comet module
being compiled with Java 6? I am using the push.timer implementation
currently. I recompiled it using Java5 and it works fine.

Regards,

Seb

On 29.09.2010 19:55, Michael O'Cleirigh wrote:

Hi Sebastian,

Its related to the dependencies of the wicketstuff-push. When I switched
the wicketstuff build to use a real JDK 5 instead of JDK 6 in
compatibility mode errors like this were seen:

[INFO]

[INFO] Error for project: Wicketstuff Push (during deploy)
[INFO]

[INFO] Compilation failure
/home/wicket/.hudson/jobs/Wicket Stuff
Core/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdService.java:[11,-1]
cannot access org.cometd.bayeux.Channel
bad class file:
/home/wicket/.m2/repository/org/cometd/java/bayeux-api/2.0.0.RC2/bayeux-api-2.0.0.RC2.jar(org/cometd/bayeux/Channel.class)

class file has wrong version 50.0, should be 49.0
*
*This is why the project was moved to be built by java 6 instead of java 5.

Regards,

Mike
*
*

Hi,

why is the wicket push module available in the Maven repo1 compiled
with Java 6? I checked out the code and cannot find a single usage of
any new Java 6 features (except the @Override annotation used on
methods of implemented interfaces).

I'm currently working in an environment where only Java 5 is allowed.
all other wicket components retrieved via Maven repo1 work fine here.

Regards,
Seb


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






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





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






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



Re: JFreeChart with clickable imagemap

2010-09-30 Thread James
Hi Peter,

Thanks for your prompt reply.
I don't know how I missed this wonderful mailing list for this long.. ;-(

I have tried passing models to constructImageMap (wrapping the chart image
object as a model) but somehow the map was not updated.

I checked jetwick and it looks cool. ;-)
Do you use JFreeChart to create those charts?
I'm willing to try that option as well. Kindly blog about it!

Thanks once again for taking your time to reply.

On Thu, Sep 30, 2010 at 7:27 PM, Peter Karich  wrote:

> Hi James,
>
> In the constructImageMap you whill have to pass a model as well, but I'm
> not sure how :-(
>
> Another way would be to adapt constructImageMap to updateImageMap
> so that you can call it in ChartImage.createBufferedImage (or every time
> the model updates)
>
> BTW: For jetwick I used an html solution with div's to display bar charts.
> which is customizable by the designer (if any ;-)), readable by spiders etc
> and didn't need those imagemaps. Are you interested in this solution? I
> could blog about it.
>
> Regards,
> Peter (aka timetabling on twitter ;-)).
>
> > Hi Guys,
> >
> > I followed the instructions in the wiki "JFreeChart with clickable
> > imagemap<
> https://cwiki.apache.org/WICKET/jfreechart-with-clickable-imagemap.html>"
> > to create a chart.
> > I have a requirement whereby the chart has to be generated dynamically
> based
> > on certain inputs.
> > I managed to create the chart image by using LoadableDetachableModel but
> > struggling to get the imagemap updated as the chart image changes.
> > Kindly give your valuable suggestions.
> >
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Thanks & Regards,
James


Re: Programmatically change an HTML attribute value.

2010-09-30 Thread James
Hi Ichiro,

This is what I use in a ListView to change the "style" attribute of table
rows to give alternate colours to them.


item.add(new AttributeModifier("class", true, new
AbstractReadOnlyModel()
{
@Override
public String getObject()
{
return (item.getIndex() % 2 == 1) ? "even" : "odd";
}
}));


I think you can add attributes like this to any component.

On Fri, Oct 1, 2010 at 8:23 AM, James Carman wrote:

> AttributeModifier
> On Sep 30, 2010 8:07 PM, "Ichiro Furusato" 
> wrote:
> > Hi,
> >
> > I'm assuming this is a dumb question but I wasn't able to locate an
> answer
> > for what must be an extremely common need. I found the docs on "How to
> > modify an attribute on a HTML tag" but that doesn't quite fit, as the
> examples
> > are all for elements that are themselves created programmatically. Mine
> is
> > solely in markup.
> >
> > I've got a lot of HTML markup surrounded by a  element. The 
> > element isn't created via Wicket, it's in my HTML file. It has a fair bit
> of
> > descendent content so I don't want to have to create that via Java, as
> > I'm assuming if I put a wicket:id on the  element that would replace
> > everything within the . I just want to programmatically alter its
> 'class'
> > attribute, but I don't see how this is accomplished.
> >
> > E.g.,
> >
> > 
> > 
> > ... etc.
> > 
> > 
> >
> > This would effectively be some kind of query to locate the  element,
> > then a modification of its 'class' attribute.
> >
> > Alternately, if I am required to create the  element
> programmatically,
> > how I attach a whole lot of HTML markup to it? Do I have to use a
> fragment?
> > That seems like a lot of work to just alter an attribute value, so like I
> said,
> > I must be missing something obvious here...
> >
> > Ichiro
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>



-- 
Thanks & Regards,
James


Re: Programmatically change an HTML attribute value.

2010-09-30 Thread Michael O'Cleirigh

 How about using a WebMarkupContainer?

Then you can use an attribute modifier like the below example to set the 
class value.


All you have to do is make the new component heirarchy match the markup 
heirarchy.




("even")));

add (c);

c.add (new Form("form"));

Another option might be to use a border to add the wrapping  and 
class attribute.


Regards,

Mike



Hi Ichiro,

This is what I use in a ListView to change the "style" attribute of table
rows to give alternate colours to them.


item.add(new AttributeModifier("class", true, new
AbstractReadOnlyModel()
 {
 @Override
 public String getObject()
 {
 return (item.getIndex() % 2 == 1) ? "even" : "odd";
 }
 }));


I think you can add attributes like this to any component.

On Fri, Oct 1, 2010 at 8:23 AM, James Carmanwrote:


AttributeModifier
On Sep 30, 2010 8:07 PM, "Ichiro Furusato"
wrote:

Hi,

I'm assuming this is a dumb question but I wasn't able to locate an

answer

for what must be an extremely common need. I found the docs on "How to
modify an attribute on a HTML tag" but that doesn't quite fit, as the

examples

are all for elements that are themselves created programmatically. Mine

is

solely in markup.

I've got a lot of HTML markup surrounded by a  element. The
element isn't created via Wicket, it's in my HTML file. It has a fair bit

of

descendent content so I don't want to have to create that via Java, as
I'm assuming if I put a wicket:id on the  element that would replace
everything within the. I just want to programmatically alter its

'class'

attribute, but I don't see how this is accomplished.

E.g.,



... etc.



This would effectively be some kind of query to locate the  element,
then a modification of its 'class' attribute.

Alternately, if I am required to create the  element

programmatically,

how I attach a whole lot of HTML markup to it? Do I have to use a

fragment?

That seems like a lot of work to just alter an attribute value, so like I

said,

I must be missing something obvious here...

Ichiro

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







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



Safari and AjaxEditableMultiLineLabel incompatibility?

2010-09-30 Thread Arturo Perez
Using wicket 1.4.10 and Safari 5.0.1.

I'm using the AjaxEditableLabel in a ModalWindow no problem.  But the 
AjaxEditableMultiLineLabel doesn't go editable when it's clicked. I 
checked under FireFox 3.6.10 and it works there.

Is there a known incompatibility?  Is there a known fix, if so?

tia,
arturo


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



Re: Programmatically change an HTML attribute value.

2010-09-30 Thread Ichiro Furusato
Hmm. Thanks for the answers guys but from what I've understand
so far from my own digging and your answers is that the container
 I want to modify still needs to be created programmatically,
and I'm distinctly trying to modify the attribute of one that begins its
life in markup (i.e., in the .html file, not the .java file).

It seems that may not be possible in Wicket so I'll probably have to
push the contained markup into a fragment and add it to a
programmatically-created element. Not quite what I wanted (and
more complicated than I'd prefer) but doable.

It's a shame something that can be accomplished with a simple
DOM manipulation (get element by ID, then set its attribute value)
ends up being fairly complicated.

Thanks!

Ichiro


On 10/1/10, Michael O'Cleirigh  wrote:
>   How about using a WebMarkupContainer?
>
> Then you can use an attribute modifier like the below example to set the
> class value.
>
> All you have to do is make the new component heirarchy match the markup
> heirarchy.
>
> 
> 
>  ...
>
> to:
>
>   WebMarkupContainer c = new WebMarkupContainer ("styler");
> c.add (new AttributeModifier ("class", true, new Model("even")));
>
> add (c);
>
> c.add (new Form("form"));
>
> Another option might be to use a border to add the wrapping  and
> class attribute.
>
> Regards,
>
> Mike
>
>
>> Hi Ichiro,
>>
>> This is what I use in a ListView to change the "style" attribute of table
>> rows to give alternate colours to them.
>>
>> 
>> item.add(new AttributeModifier("class", true, new
>> AbstractReadOnlyModel()
>>  {
>>  @Override
>>  public String getObject()
>>  {
>>  return (item.getIndex() % 2 == 1) ? "even" :
>> "odd";
>>  }
>>  }));
>> 
>>
>> I think you can add attributes like this to any component.
>>
>> On Fri, Oct 1, 2010 at 8:23 AM, James
>> Carmanwrote:
>>
>>> AttributeModifier
>>> On Sep 30, 2010 8:07 PM, "Ichiro Furusato"
>>> wrote:
 Hi,

 I'm assuming this is a dumb question but I wasn't able to locate an
>>> answer
 for what must be an extremely common need. I found the docs on "How to
 modify an attribute on a HTML tag" but that doesn't quite fit, as the
>>> examples
 are all for elements that are themselves created programmatically. Mine
>>> is
 solely in markup.

 I've got a lot of HTML markup surrounded by a  element. The
 element isn't created via Wicket, it's in my HTML file. It has a fair
 bit
>>> of
 descendent content so I don't want to have to create that via Java, as
 I'm assuming if I put a wicket:id on the  element that would
 replace
 everything within the. I just want to programmatically alter its
>>> 'class'
 attribute, but I don't see how this is accomplished.

 E.g.,

 
 
 ... etc.
 
 

 This would effectively be some kind of query to locate the
 element,
 then a modification of its 'class' attribute.

 Alternately, if I am required to create the  element
>>> programmatically,
 how I attach a whole lot of HTML markup to it? Do I have to use a
>>> fragment?
 That seems like a lot of work to just alter an attribute value, so like
 I
>>> said,
 I must be missing something obvious here...

 Ichiro

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

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

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



Re: Programmatically change an HTML attribute value.

2010-09-30 Thread Ichiro Furusato
Ack, sorry, I managed to figure it out via Michael's suggestion.
Here's the result. This show the relevant parts of embedding a
userpanel into a templatepage:

TemplatePage.html:


   user


TemplatePage.java:

WebMarkupContainer c = new WebMarkupContainer("userdiv");
c.add(new AttributeModifier("class",true,new Model("even")));
add(c);
c.add(new UserPanel("user"));   

The resulting markup:


   
   ...
   


and I'm able to programmatically alter the value of the
'class' attribute on the userdiv (wrapper div) element.
It was a bit more complicated than I'd wished, but not
onerously so, and frankly not much more code than
using the DOM.

Thanks very much guys!

Ichiro


On 10/1/10, Ichiro Furusato  wrote:
> Hmm. Thanks for the answers guys but from what I've understand
> so far from my own digging and your answers is that the container
>  I want to modify still needs to be created programmatically,
> and I'm distinctly trying to modify the attribute of one that begins its
> life in markup (i.e., in the .html file, not the .java file).
>
> It seems that may not be possible in Wicket so I'll probably have to
> push the contained markup into a fragment and add it to a
> programmatically-created element. Not quite what I wanted (and
> more complicated than I'd prefer) but doable.
>
> It's a shame something that can be accomplished with a simple
> DOM manipulation (get element by ID, then set its attribute value)
> ends up being fairly complicated.
>
> Thanks!
>
> Ichiro
>
>
> On 10/1/10, Michael O'Cleirigh  wrote:
>>   How about using a WebMarkupContainer?
>>
>> Then you can use an attribute modifier like the below example to set the
>> class value.
>>
>> All you have to do is make the new component heirarchy match the markup
>> heirarchy.
>>
>> 
>> 
>> > ...
>>
>> to:
>>
>>   WebMarkupContainer c = new WebMarkupContainer ("styler");
>> c.add (new AttributeModifier ("class", true, new Model("even")));
>>
>> add (c);
>>
>> c.add (new Form("form"));
>>
>> Another option might be to use a border to add the wrapping  and
>> class attribute.
>>
>> Regards,
>>
>> Mike
>>
>>
>>> Hi Ichiro,
>>>
>>> This is what I use in a ListView to change the "style" attribute of
>>> table
>>> rows to give alternate colours to them.
>>>
>>> 
>>> item.add(new AttributeModifier("class", true, new
>>> AbstractReadOnlyModel()
>>>  {
>>>  @Override
>>>  public String getObject()
>>>  {
>>>  return (item.getIndex() % 2 == 1) ? "even" :
>>> "odd";
>>>  }
>>>  }));
>>> 
>>>
>>> I think you can add attributes like this to any component.
>>>
>>> On Fri, Oct 1, 2010 at 8:23 AM, James
>>> Carmanwrote:
>>>
 AttributeModifier
 On Sep 30, 2010 8:07 PM, "Ichiro Furusato"
 wrote:
> Hi,
>
> I'm assuming this is a dumb question but I wasn't able to locate an
 answer
> for what must be an extremely common need. I found the docs on "How to
> modify an attribute on a HTML tag" but that doesn't quite fit, as the
 examples
> are all for elements that are themselves created programmatically.
> Mine
 is
> solely in markup.
>
> I've got a lot of HTML markup surrounded by a  element. The
> element isn't created via Wicket, it's in my HTML file. It has a fair
> bit
 of
> descendent content so I don't want to have to create that via Java, as
> I'm assuming if I put a wicket:id on the  element that would
> replace
> everything within the. I just want to programmatically alter its
 'class'
> attribute, but I don't see how this is accomplished.
>
> E.g.,
>
> 
> 
> ... etc.
> 
> 
>
> This would effectively be some kind of query to locate the
> element,
> then a modification of its 'class' attribute.
>
> Alternately, if I am required to create the  element
 programmatically,
> how I attach a whole lot of HTML markup to it? Do I have to use a
 fragment?
> That seems like a lot of work to just alter an attribute value, so
> like
> I
 said,
> I must be missing something obvious here...
>
> Ichiro
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>>>
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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



Re: rich UI

2010-09-30 Thread Ernesto Reinaldo Barreiro
can you be more specific and specify which components you need?

Ernesto

On Thu, Sep 30, 2010 at 8:55 PM, fachhoch  wrote:
>
> are there any wicket projects like wiquery or wicket-tree  which provides
> rich UI ,
> I am looking for some components which are resizable, dragglabe, hide and
> show   does any of the wicket framework provides this ?
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/rich-UI-tp2744207p2744207.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



alphabetical paging navigator

2010-09-30 Thread elesi

is it possible to override the PagingNavigator and give it the letters A-Z as
links? and add filtering behavior so that it only shows ListView items that
starts with/matches the active letter link?

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/alphabetical-paging-navigator-tp2837010p2837010.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: alphabetical paging navigator

2010-09-30 Thread Igor Vaynberg
it wouldnt be worth overriding one, you are better off creating one
from scratch.

listview and paging navigator are decoupled, so you can use your own
impl to page the listview without problems.

-igor

On Thu, Sep 30, 2010 at 10:21 PM, elesi  wrote:
>
> is it possible to override the PagingNavigator and give it the letters A-Z as
> links? and add filtering behavior so that it only shows ListView items that
> starts with/matches the active letter link?
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/alphabetical-paging-navigator-tp2837010p2837010.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: JFreeChart with clickable imagemap

2010-09-30 Thread James
Guys,

Finally managed to display the tooltip generated by JFreeChart in the wicket
page by following these
instructions
.
Had only an example markup been given in that post, it would have saved lots
of frustrating hours I spent. :-(

For anyone looking forward for showing the tooltips in a chart generated by
JFreeChart, here is the markup you might need.





For the java part, use this
code
.

Your output should look something like this..


   
   

   



NOTE:

  - You must use  
 and not   
  - You must use the "#" symbol before the "usemap" id.
  - The image map related html markup is generated by the api provided by
JFreeChart.



On Fri, Oct 1, 2010 at 10:34 AM, James  wrote:

> Hi Peter,
>
> Thanks for your prompt reply.
> I don't know how I missed this wonderful mailing list for this long.. ;-(
>
> I have tried passing models to constructImageMap (wrapping the chart image
> object as a model) but somehow the map was not updated.
>
> I checked jetwick and it looks cool. ;-)
> Do you use JFreeChart to create those charts?
> I'm willing to try that option as well. Kindly blog about it!
>
> Thanks once again for taking your time to reply.
>
>
> On Thu, Sep 30, 2010 at 7:27 PM, Peter Karich  wrote:
>
>> Hi James,
>>
>> In the constructImageMap you whill have to pass a model as well, but I'm
>> not sure how :-(
>>
>> Another way would be to adapt constructImageMap to updateImageMap
>> so that you can call it in ChartImage.createBufferedImage (or every time
>> the model updates)
>>
>> BTW: For jetwick I used an html solution with div's to display bar charts.
>> which is customizable by the designer (if any ;-)), readable by spiders
>> etc
>> and didn't need those imagemaps. Are you interested in this solution? I
>> could blog about it.
>>
>> Regards,
>> Peter (aka timetabling on twitter ;-)).
>>
>> > Hi Guys,
>> >
>> > I followed the instructions in the wiki "JFreeChart with clickable
>> > imagemap<
>> https://cwiki.apache.org/WICKET/jfreechart-with-clickable-imagemap.html>"
>> > to create a chart.
>> > I have a requirement whereby the chart has to be generated dynamically
>> based
>> > on certain inputs.
>> > I managed to create the chart image by using LoadableDetachableModel but
>> > struggling to get the imagemap updated as the chart image changes.
>> > Kindly give your valuable suggestions.
>> >
>> >
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Thanks & Regards,
> James
>



-- 
Thanks & Regards,
James


Workflow diagrams in wicket?

2010-09-30 Thread NBSubbaiah
Hi,

Does anyone know how to use IBM iLOG JViews with wicket framework?

Can someone refer me some examples? I want to show a work-flow diagram based
on the inputs.

Regards,
Subbu.


Re: JFreeChart with clickable imagemap

2010-09-30 Thread Ernesto Reinaldo Barreiro
James,

why not add this "bit" to the wiki page you mentioned? So that others
can avoid loosing the hours you lost;-)

Cheers,

Ernesto

On Fri, Oct 1, 2010 at 8:18 AM, James  wrote:
> Guys,
>
> Finally managed to display the tooltip generated by JFreeChart in the wicket
> page by following these
> instructions
> .
> Had only an example markup been given in that post, it would have saved lots
> of frustrating hours I spent. :-(
>
> For anyone looking forward for showing the tooltips in a chart generated by
> JFreeChart, here is the markup you might need.
>
> 
>    
> 
>
> For the java part, use this
> code
> .
>
> Your output should look something like this..
>
> 
>       
>       
>            
>       
> 
>
>
> NOTE:
>
>  - You must use  
>  and not   
>  - You must use the "#" symbol before the "usemap" id.
>  - The image map related html markup is generated by the api provided by
> JFreeChart.
>
>
>
> On Fri, Oct 1, 2010 at 10:34 AM, James  wrote:
>
>> Hi Peter,
>>
>> Thanks for your prompt reply.
>> I don't know how I missed this wonderful mailing list for this long.. ;-(
>>
>> I have tried passing models to constructImageMap (wrapping the chart image
>> object as a model) but somehow the map was not updated.
>>
>> I checked jetwick and it looks cool. ;-)
>> Do you use JFreeChart to create those charts?
>> I'm willing to try that option as well. Kindly blog about it!
>>
>> Thanks once again for taking your time to reply.
>>
>>
>> On Thu, Sep 30, 2010 at 7:27 PM, Peter Karich  wrote:
>>
>>> Hi James,
>>>
>>> In the constructImageMap you whill have to pass a model as well, but I'm
>>> not sure how :-(
>>>
>>> Another way would be to adapt constructImageMap to updateImageMap
>>> so that you can call it in ChartImage.createBufferedImage (or every time
>>> the model updates)
>>>
>>> BTW: For jetwick I used an html solution with div's to display bar charts.
>>> which is customizable by the designer (if any ;-)), readable by spiders
>>> etc
>>> and didn't need those imagemaps. Are you interested in this solution? I
>>> could blog about it.
>>>
>>> Regards,
>>> Peter (aka timetabling on twitter ;-)).
>>>
>>> > Hi Guys,
>>> >
>>> > I followed the instructions in the wiki "JFreeChart with clickable
>>> > imagemap<
>>> https://cwiki.apache.org/WICKET/jfreechart-with-clickable-imagemap.html>"
>>> > to create a chart.
>>> > I have a requirement whereby the chart has to be generated dynamically
>>> based
>>> > on certain inputs.
>>> > I managed to create the chart image by using LoadableDetachableModel but
>>> > struggling to get the imagemap updated as the chart image changes.
>>> > Kindly give your valuable suggestions.
>>> >
>>> >
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>> James
>>
>
>
>
> --
> Thanks & Regards,
> James
>

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



Wicket 1.5 and OSGi

2010-09-30 Thread Eike Kettner
Hello!

I developed a wicket app using OSGi (felix) where different bundles may
contribute content to the wicket bundle. It works really nice using
wicket 1.4.9+. Now I want to upgrade to wicket 1.5 and I run in problems
starting the osgi container.

It complains with the good-known classnotfound-exception for classes
like IClusterable and AuthenticatedWebapplication which all are classes
in packages exported by more than one bundle (for example
org.apache.wicket or org.apache.wicket.authentication). Earlier I found
this was a problem or at least a "not-good" for OSGi bundles. But as am
using OSGi 4.2 this may work with some special treatment (I'v never
tried this though). Do you think I'm doing something wrong or is this
something on the road for 1.5?

Also, since I have implemented ..UrlCodingStrategy and a custom
RequestTarget I'm studying the new request handling in 1.5 sources to
find out where to "plugin" my stuff. Are there any documentation besides
source and javadoc for the new concepts? The code is good to read but if
there are some pictures and text available it would be of great help.

Thanks in advance!
Eike


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