[Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-06-07 Thread pklassen
Hi all, i started to learn about wicket. But i get confused, as more as i read. Simplicity is wickets great promice. The approach is great: Java and Html, no XML, noJSP, that sounds fantastic, but now i have to build up knowlede 'from the ground' around wickets architecture first. However, i

Re: [Wicket-user] CheckGroup/Check path value

2006-06-07 Thread sven
I created a feature request containing the diffs. Sven Hello, I'm working on some javascript functionality in conjunction with CheckGroup/Check components. For this I'd really appreciate if Check would render a 'shorter' value attribute, e.g. instead of: input

[Wicket-user] Options Transfer Component?

2006-06-07 Thread Andreas . Reimer
Hi, I'm new to Wicket and I need to create an Options Transfer Widget. It consists of two select boxes with options and arrow buttons to move the options from one box into the other one. Example: http://www.mattkruse.com/javascript/optiontransfer/ How can this be done in Wicket? I tried to

Re: [Wicket-user] Options Transfer Component?

2006-06-07 Thread Rüdiger Schulz
Hello Andreas take a look at the Palette component if this is what you expect. -- greetings from Berlin, Rüdiger Schulz [EMAIL PROTECTED] wrote on 07.06.2006 at 14:41: Hi, I'm new to Wicket and I need to create an Options Transfer Widget. It consists of two select boxes with options

[Wicket-user] Binding package resources recursively

2006-06-07 Thread Aaron Hiniker
I am trying to bind the entire Dojo toolkit as a shared/static resource. I want to bind from the dojo/ dir and recursively add all files under it. It seems that PackageResource.bind( myApplication, MyApplication.class, Pattern.compile( dojo ), true ) is now a No-Op and Depricated and

[Wicket-user] PackageResource.bind deprication

2006-06-07 Thread Aaron Hiniker
With PackageResource.bind depricated, how can I *recursively* add files as shared resources? Aaron ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: [Wicket-user] PackageResource.bind deprication

2006-06-07 Thread Eelco Hillenius
You don't have to explicitly bind shared resources anymore. See my reply to your other question. Eelco On 6/7/06, Aaron Hiniker [EMAIL PROTECTED] wrote: With PackageResource.bind depricated, how can I *recursively* add files as shared resources? Aaron

Re: [Wicket-user] CheckGroup/Check path value

2006-06-07 Thread Johan Compagner
what whould happen if you have a checkgroup inside a listview again?how would you differentiate the 2 or 3 checkgroups values?On 6/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello,I'm working on some _javascript_ functionality in conjunction with CheckGroup/Check components.For this I'd

Re: [Wicket-user] navigation links not session depending

2006-06-07 Thread Eelco Hillenius
Yep. Use bookmarkable pages. There are several examples on this, e.g. in the Link-o-matic example and documentation is on this list and e.g. here http://www.wicket-wiki.org.uk/wiki/index.php/Bookmarkable_nonBookmarkable_pages Eelco On 6/6/06, Stefan Groschupf [EMAIL PROTECTED] wrote: Hi, I'm

Re: [Wicket-user] HOWTO: replace some texts inside a tagbody.

2006-06-07 Thread Igor Vaynberg
the hardest part is reading the span's body from markup so it can be used as a template.-IgorOn 6/6/06, Johan Compagner [EMAIL PROTECTED] wrote:use a span on that place. With renderBodyOnly = true. johanOn 6/3/06, nato [EMAIL PROTECTED] wrote: For example, I have this in my markup:div

Re: [Wicket-user] Wicket Newbie Best Practices Questions

2006-06-07 Thread Eelco Hillenius
In general, I think your code looks fine. It looks like how you would write things if it were a Swing app. A possible improvement is to rely more on the request-response nature of Wicket. In desktop applications, you are generally in charge of letting dependent components know some state has

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-06-07 Thread Eelco Hillenius
I don't like those 'convenience' application classes. We should get rid of them and replace them with a better pattern. Not sure what that would look like at this time. Eelco On 6/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote: this is a problem that we are aware of. we will have to modularize

Re: [Wicket-user] Communication with Flash

2006-06-07 Thread Igor Vaynberg
all you have to do is pass in a callback url to the flash that it then has to invoke and pass in the data, you can read the data off the request paramyou can create your own listener and call urlfor(component, listener) to get the url string. see ILinkListener and Link for how its done, its pretty

Re: [Wicket-user] Wicket Newbie Best Practices Questions

2006-06-07 Thread Igor Vaynberg
ditto what mataj said. a detachable model for the snippets list is a must. that way the list stays up to date all on its own.-IgorOn 6/7/06, Matej Knopp [EMAIL PROTECTED] wrote: Hello all, Hi I'm just starting with Wicket and after completing my first working Wicket WebPage Panel, I'd love to

Re: [Wicket-user] Session ids and search engine bots

2006-06-07 Thread Eelco Hillenius
Well, people can still argue whether it is in Google's way or not. See my comment at http://technically.us/n8/articles/2006/05/07/baking-for-google#comments A session will still be created, even if you only have bookmarkable pages. We tried to get rid of it, but it prooved undoable at this time.

Re: [Wicket-user] Checking Out from wicket stuff

2006-06-07 Thread Ayodeji Aladejebi
thanks manOn 6/6/06, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello Ayodejiyou need to connect tohttps://svn.sourceforge.net/svnroot/wicket-stuff.And you will need a subversion-plugin for Eclipse, like subclipse: http://subclipse.tigris.org/install.htmlFunnily, I blogged about getting wicket-stuff

Re: [Wicket-user] navigation links not session depending

2006-06-07 Thread Gwyn Evans
On 06/06/06, Stefan Groschupf [EMAIL PROTECTED] wrote: In general: is there a way to have session independent generated links? May be just a configuration thing? Where I have to look into? Thanks for any pointers? You're after a BookmarkablePageLink, although once you've had a look at them,

Re: [Wicket-user] navigation links not session depending

2006-06-07 Thread Igor Vaynberg
search the wiki for bookmarkable pages/links-IgorOn 6/6/06, Stefan Groschupf [EMAIL PROTECTED] wrote:Hi,I'm very new to wicket and I have a webpage done with wicket.I notice that the navigation is session dependent. :-( foo.com/?wicket:interface=:1:: points to different pages any time.Means it is

[Wicket-user] AJAX within a Border gives an error

2006-06-07 Thread Andrew Berman
I have a case where the hierarchy is set up like this:Border - WebMarkupContainer - Border Ajax Link which adds the WebMarkupContainer to the AjaxRequestTarget. I get this error:wicket.markup.MarkupException: There must be exactly one wicket:body

Re: [Wicket-user] Options Transfer Component?

2006-06-07 Thread Dirk Markert
Andreas,check this one: http://www.wicket-library.com/wicket-examples/compref;jsessionid=1964CEEDBD5270FCDA54CFE3AFAE4CB7?wicket:bookmarkablePage=:wicket.examples.compref.PalettePageDirk2006/6/7, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi,I'm new to Wicket and Ineed to create an Options Transfer

[Wicket-user] Listener for a TextBox

2006-06-07 Thread Neeti Garg
Hi, Is there a way I could trigger an event [Like loading a response page] after a Text Box has been populated? Thanks Neeti Garg ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: [Wicket-user] CheckGroup/Check path value

2006-06-07 Thread Timo Stamm
Johan Compagner schrieb: what whould happen if you have a checkgroup inside a listview again? how would you differentiate the 2 or 3 checkgroups values? You don't have to. The values are separate because they are sent using the different input names of the checkgroups. I tripped over this,

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-06-07 Thread Mark Derricutt
On 6/7/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I suggest (tried and tested at my company) to use the Auth application as your base class and merge the spring related stuff into your subclass. The spring integration is agnostic for sessions and such, so you'll be up and running much quicker.

Re: [Wicket-user] Dependency Injection vs Service Locator

2006-06-07 Thread Eelco Hillenius
I've been investigating the possibilities of integrating Wicket and OSGi with favourable results. Good. I know of a couple of projects that were build with OSGi, some guys over at Felix and http://www.eclipse.org/proposals/rsp/ are having fun with it too. However, one major hurdle, which I

Re: [Wicket-user] Checking Out from wicket stuff

2006-06-07 Thread Gwyn Evans
http://svn.sourceforge.net/viewcvs.py/wicket-stuff/trunk/ On 05/06/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please i have been having No route to host error using eclipse to check out from Subversion, formally i use :pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff to access the CVS

Re: [Wicket-user] Binding package resources recursively

2006-06-07 Thread Aaron Hiniker
Can you provide an example? I have some images in us/mysite/images/* and I am trying to access an image via: /mysite/resources/us.mysite.MyPage/images/image.jpg where MyPage is in the us/mysite/ path. (i've copied the folder to both my src and resources directory) What is the exact URL

Re: [Wicket-user] Session ids and search engine bots

2006-06-07 Thread John Patterson
On 7 Jun 2006, at 22:15, Igor Vaynberg wrote:Because wicket components are stateful that state needs to live somewhere. So far it can only live in session for wicket 1.2 or on client in wicket 2.0. Thanks for the update.  I look forward to using this new facility.Maybe in 2.0 what we do is check

Re: [Wicket-user] HOWTO: replace some texts inside a tagbody.

2006-06-07 Thread Otan
Are you implying that getting a markup's tagbody to be used for the model is not recommended/easy?On 6/6/06, Eelco Hillenius [EMAIL PROTECTED] wrote:String s = Hello, ++name++. Do you know that your name which is ++name++ is very beautiful? The ++name++ is a Japanese word. Themeaning of the word

Re: [Wicket-user] HOWTO: replace some texts inside a tagbody.

2006-06-07 Thread Eelco Hillenius
No, I didn't get you. Nevermind, the other replies are better :) Eelco On 6/7/06, Otan [EMAIL PROTECTED] wrote: Are you implying that getting a markup's tagbody to be used for the model is not recommended/easy? On 6/6/06, Eelco Hillenius [EMAIL PROTECTED] wrote: String s = Hello,

[Wicket-user] wicket-ajax vs wicket-dojo

2006-06-07 Thread Wouter de Vaal
Hi, I'm trying to decide whether to use the dojo-toolkit from wicket-stuff or the native wicket-ajax support. Dojo looks very cool and has a lot of nice features and widgets, which may be easily incorporated using the wicket dojo-toolkit (right?) and the ajax features/widgets from wicket don't

Re: [Wicket-user] Binding package resources recursively

2006-06-07 Thread Eelco Hillenius
That should work yes. For instance, if you look at the basic tree in Wicket examples, here is the collapse pic: http://localhost:8080/wicket-examples/nested/resources/wicket.markup.html.tree.Tree/minus.gif so it's

Re: [Wicket-user] wicket-ajax vs wicket-dojo

2006-06-07 Thread Eelco Hillenius
The core ajax support is very nice because it allows you to re-render any component you want without having to code a single line of javascript. Dojo and friends are richer on the javascript side. But I don't think you have to choose one or another; just mix 'n match according to what you need.

[Wicket-user] Wicket

2006-06-07 Thread Gangadhar Vibhute
Hi All I want to use following methods of servlets in wicket how to use it response.getWriter() ServletOutputStream ouputStream =response.getOutputStream(); ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net

Re: [Wicket-user] Binding package resources recursively

2006-06-07 Thread Aaron Hiniker
OK, so what could cause this to not work?? I have an image sitting in my war dir, I try to access it using the url scheme you provided, and I get this: 19:32:05,723 ERROR [SharedResourceRequestTarget] shared resource com.mysite.MyPage/images/arrow_connect_left.jpg not found After looking

Re: [Wicket-user] WicketTester broken on 1.2?

2006-06-07 Thread Juergen Donnerstag
As I mentioned in the previous mail. You need to call public void init() { super.init(); configure(DEVELOPMENT); } I've created test case based on your code and it works. Juergen On 6/6/06, Michiel Trimpe [EMAIL PROTECTED] wrote: Just did some

[Wicket-user] Knowing Output Markup IDs at runtime

2006-06-07 Thread Ayodeji Aladejebi
How du i obtain at runtime, the value that will be generated by Component.setOutputMarkupId(true)?Component.getMarkupId() is not returning as expected?Thanks-- Hey guess what? My Birthday is today on 06/06/06 - Me ___ Wicket-user mailing list

Re: [Wicket-user] WicketTester broken on 1.2?

2006-06-07 Thread Michael Day
I had created a bug report for it with a code sample, but I'll paste another sample here: public class IndexedParamTest extends TestCase { public IndexedParamTest(String name) { super(name); } public void testPage() throws Exception { WicketTester app = new

Re: [Wicket-user] Binding package resources recursively

2006-06-07 Thread Eelco Hillenius
After looking at the code, it seems that this error message should not include the class name in the message. I've checked the .war deployment I have the images folder next to the MyPage class and also in the respective place in my 'resources' directory. This is supposed to work as of 1.2

Re: [Wicket-user] Checking Out from wicket stuff

2006-06-07 Thread Martijn Dashorst
Read: http://sourceforge.net/svn/?group_id=134391 On 6/5/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please i have been having No route to host error using eclipse to check out from Subversion, formally i use :pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff to access the CVS but i see

Re: [Wicket-user] wicket-ajax vs wicket-dojo

2006-06-07 Thread Igor Vaynberg
Also keep in mind our ajax support is focused on behaviors not on components - thats why there arent very many of those. The point is to let you easily ajaxify components you already built or will build simply by adding the right behaviors. Things like partial render/form submissions/links you