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.

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 us

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.

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"> > > >

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 soluti

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 Al

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

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 su

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()

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

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 everyda

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

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 ad

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 i

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 ha

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 ResizableBe

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 unsubsc

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! > >

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 >

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,

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

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 wi

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 c

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,

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 - v

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 th

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 mu

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: >>

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.

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, Seba

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 (originalAp

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:

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 tha

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, paramet

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 s

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. Mi

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

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-

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

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()

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

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,

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

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

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  

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-n

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 PagingNaviga

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,

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 >

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-e