Re: load page in Wicket and message from web browser

2012-08-09 Thread vaibhav2012
Hi areq10, I tried to recreate your scenario and i came across the same situation you are facing. One query from you : Have you specified WindowClosedCallback for your modalWindow??? If not Specify that using this piece of code : modalWindow.setWindowClosedCallback(new

Re: What exactly is IWrapModel used for?

2012-08-09 Thread Matthias Keller
Hi Sven Thanks for your explanations. I do now see why there's this wrapper. However, the StringResourceModel appears to break its contract since every LoadableDetachableModel should be loaded using its load() method which cannot be used here! I can fix this by just using delegation instead of

Re: What exactly is IWrapModel used for?

2012-08-09 Thread Sven Meier
the StringResourceModel appears to break its contract since every LoadableDetachableModel should be loaded using its load() method which cannot be used here Yes, this is inconsistent. This should either be fixed ... load() cannot be overriden as expected, since it can never work relative to

Re: What exactly is IWrapModel used for?

2012-08-09 Thread Sven Meier
I see, you've just created an issue. Thanks Sven On 08/09/2012 09:02 AM, Sven Meier wrote: the StringResourceModel appears to break its contract since every LoadableDetachableModel should be loaded using its load() method which cannot be used here Yes, this is inconsistent. This should

Re: [6.0] wicket-atmosphere

2012-08-09 Thread Emond Papegaaij
We've noticed this problem as well. It only happens on Tomcat. I'm not sure what is going on, but it all starts with Tomcat loosing query parameters on the ws-request (url/?0-1.IBehaviorListener.0- is changed to url). This makes it impossible for wicket to recognize the call to a behavior,

Re: [6.0] wicket-atmosphere

2012-08-09 Thread Pierre Goupil
Thanks!!! I'll have a close look at your ticket. And yes, I use Tomcat (7.0.29). I know it's all beta code, so no worries. Regards, Pierre On Thu, Aug 9, 2012 at 10:02 AM, Emond Papegaaij emond.papega...@topicus.nl wrote: We've noticed this problem as well. It only happens on Tomcat. I'm

Re: Key = Value search panel with actf

2012-08-09 Thread Sandor Feher
Hi Igor, Your component looks very impressive :). So just one question. How can I reach your maven repo ? Because thru central repo I can't reach 1.0-SNAPSHOT. dependency groupIdcom.vaynberg.wicket.select2/groupId artifactIdwicket-select2/artifactId version1.0-SNAPSHOT/version

Re: Key = Value search panel with actf

2012-08-09 Thread Martin Grigorov
http://central.maven.org/maven2/com/vaynberg/wicket/select2/wicket-select2/0.5/ On Thu, Aug 9, 2012 at 11:48 AM, Sandor Feher sfe...@bluesystem.hu wrote: Hi Igor, Your component looks very impressive :). So just one question. How can I reach your maven repo ? Because thru central repo I

Re: Key = Value search panel with actf

2012-08-09 Thread Sandor Feher
I'm looking for 1.0-SNAPSHOT and not 0.5 :). thnx., S -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Key-Value-search-panel-with-actf-tp4651064p4651077.html Sent from the Users forum mailing list archive at Nabble.com.

Equivalent of newSessionStore() in wicket 1.5.7

2012-08-09 Thread Madasamy Sankarapandian
I am migrating my application from wicket 1.4.x to wicket 1.5.7. The newSessionStore method are removed from wicket 1.5.7. What is the equivalent of newSessionstore in wicket 1.5.7?

Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-09 Thread Martin Grigorov
See org.apache.wicket.Application#setSessionStoreProvider() The default impl is org.apache.wicket.protocol.http.WebApplication.WebSessionStoreProvider and it works with HttpSessionStore Read https://cwiki.apache.org/confluence/display/WICKET/Page+Storage for more info about stores On Thu, Aug 9,

Re: Key = Value search panel with actf

2012-08-09 Thread Sandor Feher
Ok. 0.5 would be fine. thanks, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Key-Value-search-panel-with-actf-tp4651064p4651081.html Sent from the Users forum mailing list archive at Nabble.com.

RE: dynamic control of location of panels on page

2012-08-09 Thread oggie
If everything is in panels, and all panels have proper CSS, wouldn't they automatically wrap properly, no matter what order they were in? So if I added the panels to the container in the order I wanted, isn't it just ensuring the css for those panels is correct and that they will line up properly

Re: Tabbed Panel error

2012-08-09 Thread technimadhu
Thx. After renaming the html files to ElemConfigAdd$TabPanel1.html , ElemConfigAdd$TabPanel2.html and ElemConfigAdd$TabPanel3.html, I still get error eclipse Console output: ERROR - MarkupFactory - Markup not found: Base markup of inherited markup not found. Component class:

Re: Javascript in HTML body-ta not working when Panel is used within a Wicket ModalWindow

2012-08-09 Thread Andrea Del Bene
On 08/09/2012 04:20 PM, Michael M wrote: Hmm I really just tried this several times.. how can it be that different people get a different quick-start behavior? I created that quick start form scratch, added the wicket-extensions dependency, my classes, the 'media' folder with all the CSS and JS

wicket-guice and Logger injection

2012-08-09 Thread Lawrence, Sean
Hi, I'm attempting to use wicket-guice to inject Logger references into my application with logging. So instead of: Logger logger = LoggerFactory.getLogger(HomePage.class); I would rather: @Log Logger logger; I've followed the guice documentation closely and have been frustratingly unable

RE: How to display a grid with empty cells

2012-08-09 Thread Paul Bors
Make use of the EmptyPanel class for the null or empty models. You could also simply call setVisible(false) on your component if you can hide it all together. http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/panel/Emp tyPanel.html ~ Thank you, Paul Bors -Original

Re: Javascript in HTML body-ta not working when Panel is used within a Wicket ModalWindow

2012-08-09 Thread Michael M
That really is working! I don't get it, I've seen that nowhere documented, so I guess it's more a problem of SyntaxHighlighter than Wicket at all (in combination with Ajax). Thanks for your help, I appreciate it! I guess if everything is working as expected with JavaScript inside panels I also

Re: Tabbed Panel error

2012-08-09 Thread Sven Meier
Please check your usage of wicket:extend, you seem to use it although your super component doesn't provide markup. Sven On 08/09/2012 04:25 PM, technimadhu wrote: Thx. After renaming the html files to ElemConfigAdd$TabPanel1.html , ElemConfigAdd$TabPanel2.html and

Re: How to display a grid with empty cells

2012-08-09 Thread Alec Swan
I tried returning nulls for blank items from data provider but as you said it feels like a hack because now my GridView#populateItem() needs to handle items with null model objects. The way GridView behaves is confusing because it displays the entire row of cells (some potentially blank) if the

Re: Tabbed Panel error

2012-08-09 Thread technimadhu
Thx Sven. That was it. I blindly copied the example, without paying attention to the 'BasePage' being used in the wicket example page, but I don't use the BasePage. So, I removed the wicket:extend tag in my html and its working fine -- View this message in context:

Re: wicket-guice and Logger injection

2012-08-09 Thread Dan Retzlaff
Hi Sean, Keep in mind that Guice isn't directly injecting your Wicket components. That happens through org.apache.wicket.guice.GuiceComponentInjector. More specifically, see GuiceFieldValueFactory#supportsField() which only recognizes @Inject annotated fields as requiring injection. HTH, Dan On

Re: AutoCompleteTextField + AjaxFormComponentUpdatingBehavior onchange problem on wicket 6.0

2012-08-09 Thread Diego Fincatto
I opened a bug report for the issue: https://issues.apache.org/jira/browse/WICKET-4705 On Thu, Aug 9, 2012 at 11:13 AM, Diego Fincatto diego.finca...@gmail.com wrote: I have an AutoCompleteTextField with one AjaxFormComponentUpdatingBehavior added and, on wicket 6.0, it stop working. It was

[Wicketstuff] Google Maps 3 component

2012-08-09 Thread Joachim Rohde
Hello, maybe someone might be interested that I have uploaded a component for Google Maps 3 today which can be found at GitHub under https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gmap3-parent/gmap3 (I'm not sure when the snapshots are build so it might be necessary to build

changing number of tabs

2012-08-09 Thread technimadhu
All, Newbie here. Using Wicket 1.5.x. How can i change the number of tabs based on dropdown choice in the form? In my initial page contructor, I have just 1 tab. Then if user chooses a particular value in drop down in the form, I want 3 tabs. I tried a) form.render b)

Re: changing number of tabs

2012-08-09 Thread Sven Meier
If i detect my dropdown change What's that in code? Sven On 08/09/2012 09:45 PM, technimadhu wrote: All, Newbie here. Using Wicket 1.5.x. How can i change the number of tabs based on dropdown choice in the form? In my initial page contructor, I have just 1 tab. Then if user chooses a

Re: changing number of tabs

2012-08-09 Thread technimadhu
My code is like below: ElemConfigAdd.html: ElemConfigAdd.java: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/changing-number-of-tabs-tp4651102p4651105.html Sent from the Users forum mailing list archive at Nabble.com.

Re: changing number of tabs

2012-08-09 Thread Sven Meier
loadTabs() is called by your profToCopy's #getObject(). That's a bad idea because a model's #getObject() might get called multiple times during render, and maybe even when changing the component hierarchy is no longer allowed. You should move the invokation of LoadTabs() into

enabling and disabling the components

2012-08-09 Thread wicket user
Hi, I am newbie to Wicket,My requirement is to show some components based on the conditions. I have written on WebMarkUpContainer and in that I am add the components based on the conditions, but on html i have added that wicket:id. It is throwing MarkupException Unable to find component with id

Re: enabling and disabling the components

2012-08-09 Thread wicket user
I was reading about setEnable(false), will that will be sufficient for my requirement ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/enabling-and-disabling-the-components-tp4651107p4651108.html Sent from the Users forum mailing list archive at Nabble.com.

Re: enabling and disabling the components

2012-08-09 Thread Sebastien
Hi, Yes, you have to add the component anyway, and you can controls its rendering by using #setEnable based on your condition. Note that if you need to not render severals components in the same time, you can have a look at wicket:enclosure. Finally, if you need to control its/their rendering

Searching for new experience with wicket

2012-08-09 Thread procrastinative.developer
I am intermediate java developer (~2 years of commercial JEE experience). I am searching for some open source (maybe commercial) project based on wicket where I could improve my skills. I work on: -java 6 -wicket 6 (could be earlier) -JPA 2.0 -basic knowledge of jQuery and Js -intermediate VCS

Re: enabling and disabling the components

2012-08-09 Thread wicket user
Hi, I tried this . public class MyContainer extends WebMarkupContainer{ public MyContainer(String id, MyVO myVO) { super(id); if(myVO.getName()!=null) add( new Label(fName, myVO.getName())); else add( new Label(fName, )).setVisible(false); } public MyContainer(String id){

Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-09 Thread Madasamy Sankarapandian
Thanks martin, I will try this