Re: Wicket based social apps, forums, wall-to-wall (facebook-style), live chat, etc.

2009-03-18 Thread Martijn Dashorst
iirc shindig is an open social container, maybe that is easy to integrate? And there are several facebook examples on the wiki. Martijn On Wed, Mar 18, 2009 at 1:31 AM, Tauren Mills tau...@tauren.com wrote: Are there any existing open source projects that could help reduce the effort of

Re: openstreetmap in openlayers

2009-03-18 Thread morbo
Hi Nino, thanks for the commit access. I have now added the support for openstreetmap maps. I also added a simple example map. Maybe someone could review my solution. regards, richard -- View this message in context: http://www.nabble.com/openstreetmap-in-openlayers-tp22329429p22576668.html

reloading ajaxlaxyloadpanel via ajaxbutton

2009-03-18 Thread RoyBatty
Hello there, i have a panelclass which i have a form with a button (well 2 actually but doesn't matter for the problem i have), and below the form a div with results. When you enter an sql in the form field and click the button, i want to submit it via ajax, do the sql, and print the

OnChangeAjaxBehavior only first time

2009-03-18 Thread Filippo De Luca
Hi, I have a panel MatchingPanel with a form and a result div: wicket:panel form wicket:id=form action=# div class=widget labelwicket:message key=form.userAgent[form.userAgent]/wicket:message/label input

Re: Global resources

2009-03-18 Thread jensiator
Thanks Igor That really help me getting started. I'm able to use BundleStringResourceLoader but it only loads property files. Do I have to write my own StringResourceLoader for xml file propertyfile? Jens Alenius -- View this message in context:

Re: custom formcomponent and multiple models

2009-03-18 Thread Jeremy Thomerson
Pass it two models. Hold your models as private fields of the form component. Don't forget to override onDetach and detach the two models yourself. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 18, 2009 at 9:49 AM, Bram Vandoren b...@bram.be wrote: Hi, I use a custom

Re: optional link

2009-03-18 Thread Steve Swinsburg
If you still need the link text to appear, but not be linked, then you can do: link.isEnabled(false); This will surround the link with an em tag instead of the a tag. If you don't want any tag to be substituted, have this in your Application class:

wicket+guice+hibernate

2009-03-18 Thread srividhyar
I am a newbie to wicket and guice . I would like to look at some examples of the trio before starting to use them for my project. Can somebody point me to them? thanks Vidhya

Re: Global resources

2009-03-18 Thread Igor Vaynberg
see PropertiesFactory, both .properties and .xml are loaded the same way. -igor On Wed, Mar 18, 2009 at 7:06 AM, jensiator jens.alen...@megasol.se wrote: Thanks Igor That really help me getting started.  I'm able to use BundleStringResourceLoader but it only loads property files. Do I have

Re: using jquery with wicket

2009-03-18 Thread fachhoch
I compared wicketstuff.minis.veil and WicketAjaxIndicatorAppender http://www.nabble.com/file/p22582613/code.gif this is the code from WicketAjaxIndicatorAppender , but this method public void onRendered(Component component) is not overriden in org.wicketstuff.minis.veil.VeilResources

Re: wicket+guice+hibernate

2009-03-18 Thread francisco treacy
http://www.cafesolo.com.ar/2008/10/22/wicket-guice-warp-and-hibernate-a-quickstart-project/ francisco On Wed, Mar 18, 2009 at 4:57 PM, srividh...@yahoo.com wrote: I am a newbie to wicket and guice . I would like to look at some examples of the trio before starting to use them for my

newSession() not being called

2009-03-18 Thread Edwin Ansicodd
have a SpringWebApplication with overridden newSession, but for some reason newSession is not being called. Have closed browsers and started new browsers, authenticating, but newSession in the WebApplication is not being called. What does this mean? Anyone have any ideas what might be wrong?

Re: Extensible wicket application

2009-03-18 Thread Ernesto Reinaldo Barreiro
Hi Daniel, Is this the output of the console? I have no idea what's going on... I'll try to get bridge running myself with those bundles (*wstarter*)... Did you tried running them with eclipse and the starter demo contains? Ernesto On Tue, Mar 17, 2009 at 10:58 PM, Daniel Dominik Holúbek

easyb for testing wicket

2009-03-18 Thread Karen Schaper
Hi, Is anyone out there using easyb for testing pages? I've tried writing a test using easyb and the BaseWicketTester since the WicketTester is for JUnit. But I'm getting this errorwhen creating the new BaseWicketTester. a wicket tester. -- InjectorHolder has not been assigned an

Re: How NOT TO Cache Markup - Markup Dynamically created

2009-03-18 Thread Karen Schaper
It appears that the looping problem I was having with trying to get the markup to NOT cache was because my page was a child of another page. In the implementation of the method getMarkupResourceStream, I was returning wicket:extend blah blah blan /wicket:extend Is this a limitation?

Disable or hide tabs in AjaxTabbedpanel

2009-03-18 Thread Mathias P.W Nilsson
Hi, I need a way to hide or disable a tab for certain conditions. Is there a way of doing this with overriding newLink(java.lang.String linkId, int index) ? I need to get this to work with ajax. example. User changes language and I need to disable or hide certain tabs. -- View this message

Jackwicket demo

2009-03-18 Thread Alessandro Vincelli
I published a website and a demo with my last personal work that I called Jackwicket. In this project I put together Apache Wicket and Apache Jackrabbit OCM. My target was create easyly and quickly powerful interactive webapps, and I think that Wicket and Jackrabbit are very good technologies to

Re: Disable or hide tabs in AjaxTabbedpanel

2009-03-18 Thread Martin Makundi
Yes, normal isVisible. You need any help with that? ** Martin 2009/3/18 Mathias P.W Nilsson math...@snyltarna.se: Hi, I need a way to hide or disable a tab for certain conditions. Is there a way of doing this with overriding newLink(java.lang.String linkId, int index) ? I need to get this

Re: newSession() not being called

2009-03-18 Thread Edwin Ansicodd
Thanks for your feedback! What do mean looking in the wrong webapplication subclass? How would I have not properly overridden newsession? igor.vaynberg wrote: you are looking in the wrong webapplication subclass or you havent properly overridden newsession. -igor On Wed, Mar 18,

Re: validation message-keys differences on m3 to rc2

2009-03-18 Thread Gianni Doe
https://issues.apache.org/jira/browse/WICKET-2159 On 10/mar/09, at 15:55, Igor Vaynberg wrote: jira, quickstart, you know the drill -igor On Tue, Mar 10, 2009 at 3:15 AM, gilberthuph gdoe6...@yahoo.it wrote: I'm having exactly the same problem after moving from 1.4-rc1 - 1.4-rc2

Re: newSession() not being called

2009-03-18 Thread James Carman
On Wed, Mar 18, 2009 at 3:49 PM, Edwin Ansicodd erik.g.hau...@gmail.com wrote: Thanks for your feedback!  What do mean looking in the wrong webapplication subclass?  How would I have not properly overridden newsession? Put an @Override annotation on your method. Does it compile?

HTML from Java

2009-03-18 Thread Ista Pouss
Hi, How can I insert in the result HTML page some markup from Java code ? I have, in HTML : p wiket:id=xyz?/p In Java : String valueOfXYZ = bWhat a good ibook/i/b; add(xyz, something here); And I should want : p wiket:id=xyzbWhat a good ibook/i/b/p Thank for your help.

Re: HTML from Java

2009-03-18 Thread Martin Makundi
You can use a label: add(new Label(xyz, valueOfXYZ).setEscapeModelStrings(false)); ** Martin 2009/3/18 Ista Pouss ista...@gmail.com: Hi, How can I insert in the result HTML page some markup from Java code ? I have, in HTML : p wiket:id=xyz?/p In Java : String valueOfXYZ = bWhat a

Explaination of Ajax in Wicket

2009-03-18 Thread Mathias P.W Nilsson
When using an ajaxlink my modelObjectAsString on a textField is always empty. It is always set to where it was when the page was generated package se.edgesoft.hairless.web.page.site.checkout; import java.util.LinkedList; import java.util.List; import org.apache.wicket.ajax.AjaxRequestTarget;

wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?

2009-03-18 Thread Trent Larson
I'm trying to use the wicketstuff-jmx-panel component as simply as possible: add(new JmxPanel(jmx)); But I get a strange error about a method that doesn't exist: Caused by: java.lang.NoSuchMethodError:

Re: Explaination of Ajax in Wicket

2009-03-18 Thread Igor Vaynberg
you are using a server-side tab panel with tab links that are not submit links, that means a) only form elements that are on the current tab when you press submit are processed b) any time you switch tabs you lose form data from the previous tab. -igor On Wed, Mar 18, 2009 at 3:17 PM, Mathias

Re: Explaination of Ajax in Wicket

2009-03-18 Thread Mathias P.W Nilsson
After chaning all my AjaxLink to AjaxSubmitLink it works a little better, still some questions. Why can't I use ajaxLink here? another question on Ajax and wicket. Let's say I have a MarkupContainer with some fields. This is contained in another MarkupContainer. When switching tab I want to

Re: Explaination of Ajax in Wicket

2009-03-18 Thread James Carman
On Wed, Mar 18, 2009 at 9:26 PM, Mathias P.W Nilsson math...@snyltarna.se wrote: After chaning all my AjaxLink to AjaxSubmitLink it works a little better, still some questions. Why can't I use ajaxLink here? In order for the form's values to get into your model objects, the form must be

Re: Explaination of Ajax in Wicket

2009-03-18 Thread Mathias P.W Nilsson
Ok, I got it to work but I'm still rather confused. -- View this message in context: http://www.nabble.com/Explaination-of-Ajax-in-Wicket-tp22589797p22592233.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Brill Pappin
With Maven, non compiled files should be in src/main/resources The quickstart archetype actually does the *wrong* thing and puts them in with the java files. - Brill Pappin On 18-Mar-09, at 4:19 PM, Trent Larson wrote: Thanks for the suggestion. For posterity's sake: my problem was

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Jonathan Locke
yes, but wicket takes a different view than maven on resources in general. they are always closest to the component they belong to. it's a form of encapsulation. so maybe it's wrong from maven's point of view, but putting them in src/main/resources would be wrong from wicket's point of view. the

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Luther Baker
Hi Jonathan, Curious for your thoughts - how does separating html files into the resources directory break encapsulation? -Luther On Wed, Mar 18, 2009 at 10:19 PM, Jonathan Locke jonathan.lo...@gmail.comwrote: yes, but wicket takes a different view than maven on resources in general.

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Brill Pappin
I get that, and thinks its a wonderful feature of Wicket... for Maven, the html is in the same package as the java source, but maven organized the content in a logical way. So, I make the statement that: Wicket takes the exact same view of resources as Maven does. - Brill On 18-Mar-09, at

Re: Disable or hide tabs in AjaxTabbedpanel

2009-03-18 Thread Luther Baker
Would an enclosure based on an implementation of *link.isVisible*() work for you ... ? i.e: the enclosure would contain the tab you wish to hide whose visibility would be based on that of the child Link component of the enclosure? *wicket:enclosure* - (since 1.3) This tag is useful for filtering

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Jonathan Locke
I'm definitely stretching this a little, but I also believe it to be true... Resource files are, in my mind, encapsulated by the package that they belong to. You should be able to *look* at a package and see a component with all its related resources. You should be able to right click on a

Re: optional link

2009-03-18 Thread gaoxm
Hi Igor, Jeremy, Martin, Steve, Thanks a lot for your reply. In my page, the link text will also be empty if the link is not necessary to show. I changed a little bit of my code and set visible of link component to false. The code looks better now. --Simon However, I have another concern. On