Re: [Wicket-user] Constructing a list of links from java

2006-12-22 Thread Erik van Oosten
Hello Dustin, You can also find more information on the wiki: http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html Regards, Erik. Dustin Sallings wrote: I am trying to convert an old struts and tiles/jsp app to wicket. This app has a bunch of links that get added

Re: [Wicket-user] Constructing a list of links from java

2006-12-22 Thread Nino Wael
aye, I guess I should be better to reference towards the wiki/ other example pages... I guess that would give users a better toolbox, since there are a fairly bunch of documentation out there. regards Nino -Original Message- From: [EMAIL PROTECTED] on behalf of Erik van Oosten Sent:

Re: [Wicket-user] Login to wicket-app from another site

2006-12-22 Thread Erik van Oosten
You do not have to use the existing signin page. You could write a page that has a constructor with 1 parameter of type PageParameters. Then mount that page to some URL and call it directly from your other application. The username and password can be in post parameters or in the URL directly.

[Wicket-user] multiple links in article

2006-12-22 Thread Ted Roeloffzen
Hi all, We are working on a CMS which uses Wicket and Jackrabbit. Currently we're working on linking between different pieces of content. We want to have an article which has several links to other content, but how do we render that with wicket. Normally i would use a repeater when i don't know

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Filippo Diotalevi
On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How easy will it be to take advantage of container resource injection when deploying wicket as client tier in glassfish server for instance. Hi Ayodeji, as Igor has already

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
Are we going to add this to core or as a wicket-stuff project? Martijn On 12/22/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How easy will it be to take advantage of container

Re: [Wicket-user] multiple links in article

2006-12-22 Thread Erik van Oosten
Hi Ted, You probably have to change the text yourself. URLs you can get from the method Component#urlFor(Class,PageParameters). Regards, Erik. Ted Roeloffzen schreef: Hi all, We are working on a CMS which uses Wicket and Jackrabbit. Currently we're working on linking between

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Ayodeji Aladejebi
I really hope that JEE 5 support should be a first class citizen in wicket. my organization for instance is speedily adopting glassfish for all our management solutions of which wicket is now even the defacto client tier displacing even JSF which should be more native to JEE. On 12/22/06,

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Johan Compagner
side by side with the spring projects looks good to me. johan On 12/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Are we going to add this to core or as a wicket-stuff project? Martijn On 12/22/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Filippo Diotalevi [EMAIL

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Ayodeji Aladejebi
fillipo, i just tested your patch with glassfish now, works great at least with @PersistenceUnit ...two thumbs On 12/22/06, Johan Compagner [EMAIL PROTECTED] wrote: side by side with the spring projects looks good to me. johan On 12/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Are

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Frank Bille
If this is a contribution which goes into our ASF repo, then we need a CLA from the contributor, no matter how much of it is a copy of existing wicket-spring. If you could also add a unit test like this one, to ensure correct headers:

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
But who is going to maintain it then? Adding stuff to our core is good and all, but it needs to be maintained. Personally I think the best lifecycle is to become a Wicket stuff project, make sure it grows community support and then vote it into core. Or find one (better: 2) core committer sponsor

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Filippo Diotalevi
On 12/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Are we going to add this to core or as a wicket-stuff project? On 12/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: But who is going to maintain it then? Adding stuff to our core is good and all, but it needs to be maintained.

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Frank Bille
I agree with that. Unless some of the core devs will support it I think it will be nice to have in stuff. Now that I think about it stuff could actually be our own incubator ;) Frank On 12/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: But who is going to maintain it then? Adding stuff to

Re: [Wicket-user] Legacy apps

2006-12-22 Thread Martijn Dashorst
You could instead use a OpenSessionInViewFilter (which you can blatently copy from Spring) that opens a hibernate session for you and you can use that in both your wicket app and legacy app. Martijn On 12/22/06, ChuckDeal [EMAIL PROTECTED] wrote: I have a legacy app that I am replacing with

[Wicket-user] exception when accesing application instance from a new Thread

2006-12-22 Thread Jaime De La Jara
Hi, I need to start a new thread that loads some data while displaying a progress bar, however I'm getting the following exception : Exception in thread Thread-20 wicket.WicketRuntimeException: There is no application attached to current thread Thread-20 at

[Wicket-user] WicketFilter problem with isWicketRequest()

2006-12-22 Thread ChuckDeal
This path works to load my app: http://localhost:2467/aims/app This one doesn't: http://localhost:2467/aims/app/ -- note the ending slash When tracing through the WicketFilter code, it looks like isWicketRequest() can't deal with it so it delegates to

Re: [Wicket-user] Legacy apps

2006-12-22 Thread Nathan Hamblen
Chuck's using extended sessions, so using that filter for the Wicket side wouldn't be an option. But I also don't think that wrapping a Wicket RequestCycle around a servlet request is a good idea (if it's even possible). Instead, I would use a filter for the legacy stuff only. You can still tie

Re: [Wicket-user] WicketFilter problem with isWicketRequest()

2006-12-22 Thread ChuckDeal
Sorry, that would be 1.3-SNAPSHOT (built from latest on 22DEC2006) ChuckDeal wrote: This path works to load my app: http://localhost:2467/aims/app This one doesn't: http://localhost:2467/aims/app/ -- note the ending slash When tracing through the WicketFilter code, it looks like

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Igor Vaynberg
no we do not. when you attach a patch to jira it has a little checkbox saying you are contributing this code as ASL2 so he doesnt need a CLA if we take the code from jira attachment. -igor On 12/22/06, Frank Bille [EMAIL PROTECTED] wrote: If this is a contribution which goes into our ASF

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Igor Vaynberg
lets start with wicket-stuff, let it live there for a few months to become stable and then add it to core. -igor On 12/22/06, Frank Bille [EMAIL PROTECTED] wrote: I agree with that. Unless some of the core devs will support it I think it will be nice to have in stuff. Now that I think about

[Wicket-user] Legacy apps

2006-12-22 Thread ChuckDeal
I have a legacy app that I am replacing with Wicket. It has to be done over time, so I can't do a wholesale rewrite of the app. I have Wicket as the main framework and my legacy, homemade framework will be the secondary. The few Wicket/Databinder pages that I have work pretty well. My legacy

Re: [Wicket-user] exception when accesing application instance from a new Thread

2006-12-22 Thread Igor Vaynberg
call it anyway :) -igor On 12/22/06, Jaime De La Jara [EMAIL PROTECTED] wrote: Hi, I need to start a new thread that loads some data while displaying a progress bar, however I'm getting the following exception : Exception in thread Thread-20 wicket.WicketRuntimeException: There is no

Re: [Wicket-user] Legacy apps

2006-12-22 Thread ChuckDeal
Here is the Filter that I implemented ( http://www.nabble.com/file/5085/AIMSFilter.java AIMSFilter.java ). It works for me, for now... I still don't fully understand what I have done, I think understanding will come with some more experimentation and exploration. I don't even know if this is

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
On 12/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no we do not. when you attach a patch to jira it has a little checkbox saying you are contributing this code as ASL2 so he doesnt need a CLA if we take the code from jira attachment. Not sure if that holds if the code drop is more than a

[Wicket-user] Unexpected RuntimeException

2006-12-22 Thread August Detlefsen
I am getting a NullPointerException when I try to visit the home page of my web application. Root cause: java.lang.NullPointerException at wicket.markup.parser.XmlPullParser.parse(XmlPullParser.java:390) at wicket.markup.MarkupParser.readAndParse(MarkupParser.java:196) at

[Wicket-user] DataTable with expandable rows

2006-12-22 Thread Niels Bo
Hi there I need a little help to solve this. I want to create a table using DataTable, where the user can select a row and then see some more details in a extra row inserted below the selected. Something like this: th tdcol 1/tdtdcol 2/tdtdcol 3/td /th tr tdaaa/tdtdbbb/tdtdccc/td /tr tr td

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Igor Vaynberg
if that person single-handidly wrote/owned webspehere why wouldnt it? :) -igor On 12/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: On 12/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no we do not. when you attach a patch to jira it has a little checkbox saying you are contributing this

Re: [Wicket-user] exception when accesing application instance from a new Thread

2006-12-22 Thread Jaime De La Jara
Ok, ckecking the API I found this other method : public static Application get(java.lang.String applicationKey) that allows me to obtain the reference of my application, thought its use is not recommended. Is there any side effect of using this method? Maybe it should be used with care in a

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
On 12/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: if that person single-handidly wrote/owned webspehere why wouldnt it? :) That would constitute a very evil person ;-) Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3.

Re: [Wicket-user] DataTable with column styles and widths

2006-12-22 Thread Niels Bo
The setStyle() on a column, puts the style a col tag! I belive that is the only way you can set style to a complete column on a single tag. Niels igor.vaynberg wrote: nothing in the works yet, still trying to figure out the nicest way to do this niel's idea might be more straightforward

Re: [Wicket-user] exception when accesing application instance from a new Thread

2006-12-22 Thread Igor Vaynberg
that shouldnt be a problem, each node has its own application object and each node will register it under the same servlet context key. i dont know what you are doing exactly, but you might still have to set the threadlocal if you are using part of api that needs it. -igor On 12/22/06, Jaime

Re: [Wicket-user] DataTable with column styles and widths

2006-12-22 Thread Niels Bo
Yes, and the idear was that setStyle() should do a class=, so maybe setCSSClass() is better... Martijn Dashorst wrote: Yep, Styling should be done in the css, not on the markup tags. Though sometimes convenient and I often violate this myself, I cringe everytime I add a style=

Re: [Wicket-user] WicketFilter problem with isWicketRequest()

2006-12-22 Thread Johan Compagner
what does your web.xml look like (the filter and the filtermapping) On 12/22/06, ChuckDeal [EMAIL PROTECTED] wrote: This path works to load my app: http://localhost:2467/aims/app This one doesn't: http://localhost:2467/aims/app/ -- note the ending slash When tracing through the

Re: [Wicket-user] DataTable with expandable rows

2006-12-22 Thread Johan Compagner
you could have a panel for every row. So that you can dynamically add whatever type of row you want to that table. On 12/22/06, Niels Bo [EMAIL PROTECTED] wrote: Hi there I need a little help to solve this. I want to create a table using DataTable, where the user can select a row and then

Re: [Wicket-user] Unexpected RuntimeException

2006-12-22 Thread Johan Compagner
can you check for us why that is null in your case? All those exceptions are logged just make sure you have the right logging.properties johan On 12/22/06, August Detlefsen [EMAIL PROTECTED] wrote: I am getting a NullPointerException when I try to visit the home page of my web application.

Re: [Wicket-user] Constructing a list of links from java

2006-12-22 Thread Dustin Sallings
Thanks everyone for the responses. I got it to do what I wanted without an excessive amount of work. I wasn't able to find a component that would generate a regular link within my application context so I wrote one, but it was pretty easy. From the examples I saw, I thought

Re: [Wicket-user] Unexpected RuntimeException

2006-12-22 Thread August Detlefsen
I figured out how to setup logging it was easy. I was trying to load the markup HTML from a jar file: 12-22 12:18:32 [DEBUG] [UrlResourceStream] - cannot convert url: