[SOLVED] Re: Error adding CSS HeaderContributor

2010-07-28 Thread Douglas Phillips
As I said, it was something stupidly simple. I found that I was missing a directive for maven to compile for Java 1.5 compatibility, and thus the problem. Sorry for bothering the list -- everyone can go back to trying to solve real problems now... :) Thanks, -Doug On Wed, 2010-07-28 at 16:08 -0

Error adding CSS HeaderContributor

2010-07-28 Thread Douglas Phillips
Good Day all! I'm having a strange problem that's probably going to be something really stupidly simple that I'm missing... I have a new webapp that I created using Maven's wicket quickstart archetype. It defaulted to version 1.3.2, and I changed the version to use 1.4.9. Now, the following cod

Re: Using Apache mod rewrite to fix home page parameter problem

2010-07-28 Thread fatefree
Yeah I think you are missing something. Bookmarkable page links with query parameters behave differently for the application home page. For example, for any random bookmarkable page mounted to /stories, with a parameter 'page' and value '1', the url is displayed as /stories/page/1. This can be us

Re: Job(s) for Wicket developers

2010-07-28 Thread Oleg Taranenko
Hi Michael, habe ich Diene Anzeige nicht zu spät erfahren? Ist das Position schon geschlossen? Wenn nicht, melde Dich bitte an. Gruß aus Lahr/Schwarzwald, Oleg Taranenko, am Dienstag, 22. Juni 2010 um 10:34 schrieben Sie: > Hi, > The company I work at currently has two open permanent positio

Re: Using Apache mod rewrite to fix home page parameter problem

2010-07-28 Thread avrahamr
So there is were I don't follow. You use crypted url strategy in order to have non bookmarkable links. Now you want the homemage to have bookmarkable links. So why not to stop using crypted url strategy for the homepage, you can use it only for the pages you want non bookmarkable URLs. Am I missin

Re: Closing of tags

2010-07-28 Thread Gianni
I get an ugly error message in the Safari Web Inspector saying "Unmatched encountered. Ignoring tag" Not sure why it flags it up as an error as I'm using the XHTML 1.0 Transitional DTD and the closing tag must be valid, I'd just rather use the shorthand for neatness. On 28/lug/2010, at 17.26

Re: Lightweight session management

2010-07-28 Thread nino martinez wael
Yeah it's prone to fall under YAGNI and if not use time on it when it becomes a problem.. 2010/7/28 Igor Vaynberg > load test it and see if it becomes a problem before spending any > cycles on a solution. > > -igor > > On Wed, Jul 28, 2010 at 7:54 AM, M. Hammer wrote: > > Hello, > > > > in my a

Re: Closing of tags

2010-07-28 Thread Arjun Dhar
For some reason I'm getting what you want: Page 2 My 1.4.8 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Closing-of-meta-tags-tp2305127p2305215.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Closing of tags

2010-07-28 Thread Igor Vaynberg
is it causing you harm? -igor On Wed, Jul 28, 2010 at 8:09 AM, Gianni wrote: > I'm controlling the content of my tags with an AttributeAppender and > in my markup they are closed with /> > > > > > WebComponent keywords = new WebComponent("metaKeywords"); > StringResourceModel keyModel = new

Re: Transparent FB auth from cookie?

2010-07-28 Thread Igor Vaynberg
RequestCycle#onBeginRequest() -igor On Tue, Jul 27, 2010 at 9:02 PM, Anh <7za...@gmail.com> wrote: > Hi, > > Having trouble with how this would best be done in Wicket: > > I have a Facebook OAuth token, which I use to request data from FB API > and then assemble a User object. > > What I'd like t

Re: Lightweight session management

2010-07-28 Thread Igor Vaynberg
load test it and see if it becomes a problem before spending any cycles on a solution. -igor On Wed, Jul 28, 2010 at 7:54 AM, M. Hammer wrote: > Hello, > > in my application I would like to have user sessions for storing some data > (mostly related to tracking which pages a user has visited), bu

Re: Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-28 Thread Arjun Dhar
This is more a question than an opinion. Wicket is a View first framework, and also has the cleanest separation between Markups and Code that I have seen so far. I think What Scripting technology one uses should anyway never be tightly coupled with whats on the server. I keep seeing questions on

Re: IVisitor and IFormModelUpdateListener not extending Component

2010-07-28 Thread Igor Vaynberg
On Wed, Jul 28, 2010 at 8:14 AM, Joseph Pachod wrote: > On the other hand, some > methods could be grouped on distinct interfaces, like the ones about > feedback messages. that was the idea for a while. build up all the tiny interfaces and IComponent would mostly extend a bunch of them rather th

Re: IVisitor and IFormModelUpdateListener not extending Component

2010-07-28 Thread Igor Vaynberg
no, irequestablecomponent is only a micro-part of what component is and will not help in this usecase -igor On Wed, Jul 28, 2010 at 6:41 AM, Martin Grigorov wrote: > In 1.5.x (trunk) there > is org.apache.wicket.request.component.IRequestableComponent > It is implemented by : > - org.apache.wick

Re: IVisitor and IFormModelUpdateListener not extending Component

2010-07-28 Thread Joseph Pachod
Johan Compagner wrote: having IComponent for me means that there are more then 1 Component.. (there are multiply implementations possible then) So then we have to use IComponent everwhere instead of Component That means again that it will be a quite large interface, and do we also then get IMarku

Re: Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-28 Thread Igor Vaynberg
search the archives for "jquery", etc. -igor On Tue, Jul 27, 2010 at 10:59 PM, ganeshgadde wrote: > > Hi I am new to wicket.I want to integrate Wicket frame work with UI > technologies like Dojo/Jquery/Ext Js/Dwr.I am using portlets too.So which > one is the best choice whether to use JQuery/Doj

Closing of tags

2010-07-28 Thread Gianni
I'm controlling the content of my tags with an AttributeAppender and in my markup they are closed with /> WebComponent keywords = new WebComponent("metaKeywords"); StringResourceModel keyModel = new StringResourceModel("meta.standard-keywords", this, new Model(this)); keywords.add(new Attrib

Re: Transparent FB auth from cookie?

2010-07-28 Thread Anh
Yes, though this didn't see "right" to me. I can certainly try this though. Thanks On Wed, Jul 28, 2010 at 7:02 AM, Don Ferguson wrote: > Do you have a base page that the others inherit from?  That would be the > place to do it... > > On Jul 27, 2010, at 9:02 PM, Anh wrote: > >> Hi, >> >> Havin

Lightweight session management

2010-07-28 Thread M. Hammer
Hello, in my application I would like to have user sessions for storing some data (mostly related to tracking which pages a user has visited), but otherwise stay stateless as long as possible to keep memory consumption low. Is there any provision in Wicket for such a scenario? I could run

Re: WicketTester, navigate into tabs

2010-07-28 Thread loic
I've added a log4j.xml file in my src/test/resources folder, it works now, thanks a lot -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-navigate-into-tabs-tp2304649p2305094.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: WicketTester, navigate into tabs

2010-07-28 Thread Martin Grigorov
Or this output is in junit's output files ... On Wed, Jul 28, 2010 at 4:05 PM, loic wrote: > > If i write > > tester.startPage(new MyPage()); > tester.assertRenderedPage(MyPage.class); > tester.debugComponentTrees(); > > I juste have this in the console output : > > log4j:WARN No appenders could

Re: WicketTester, navigate into tabs

2010-07-28 Thread loic
If i write tester.startPage(new MyPage()); tester.assertRenderedPage(MyPage.class); tester.debugComponentTrees(); I juste have this in the console output : log4j:WARN No appenders could be found for logger (org.apache.wicket.protocol.http.pagestore.FileChannelPool). log4j:WARN Please initia

Re: Transparent FB auth from cookie?

2010-07-28 Thread Don Ferguson
Do you have a base page that the others inherit from? That would be the place to do it... On Jul 27, 2010, at 9:02 PM, Anh wrote: Hi, Having trouble with how this would best be done in Wicket: I have a Facebook OAuth token, which I use to request data from FB API and then assemble a User o

Re: IVisitor and IFormModelUpdateListener not extending Component

2010-07-28 Thread Martin Grigorov
In 1.5.x (trunk) there is org.apache.wicket.request.component.IRequestableComponent It is implemented by : - org.apache.wicket.request.component.IRequestableComponent - org.apache.wicket.request.component.IRequestablePage - org.apache.wicket.MockComponent Not sure whether it fits the requested enh

Re: IVisitor and IFormModelUpdateListener not extending Component

2010-07-28 Thread Johan Compagner
having IComponent for me means that there are more then 1 Component.. (there are multiply implementations possible then) So then we have to use IComponent everwhere instead of Component That means again that it will be a quite large interface, and do we also then get IMarkupContainer? (and so on an

Re: IVisitor and IFormModelUpdateListener not extending Component

2010-07-28 Thread Joseph Pachod
Johan Compagner wrote: you can use: public final Object visitChildren(final Class clazz, final IVisitor visitor) then you have to cast yes, but you can cast safely. Hi Yet, why not having an IComponent interface that IFormModelUpdateListener (and lot of other I

Re: WicketTester, navigate into tabs

2010-07-28 Thread Antonio Mauriello
well in your case it should be tester.debugComponentTrees(); put it at the end of the test since your "tester" object will contain all the elements of the page. Does your console show the other junit test messages? On Wed, Jul 28, 2010 at 2:09 PM, loic wrote: > > I'm not sure to understand ho

Re: WicketTester, navigate into tabs

2010-07-28 Thread loic
I'm not sure to understand how wicketTester.debugComponentTrees() works, it does not output anything in the console. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-navigate-into-tabs-tp2304649p2304914.html Sent from the Wicket - User mailing list archi

Re: Using Apache mod rewrite to fix home page parameter problem

2010-07-28 Thread fatefree
I use a crypted url strategy for security on non bookmarkable page links. If you have a standard bookmarkable page, wicket will generate a REST style urls like /page/id/5, which will not be encrypted. However there seems to be an issue where if you try to mount the home page, it is generated as /p

Re: WicketTester, navigate into tabs

2010-07-28 Thread Antonio Mauriello
use wicketTester.debugComponentTrees(); to dumps the component trees during the junit test On Wed, Jul 28, 2010 at 9:57 AM, loic wrote: > > Hello, > i 'm trying to write unit tests with WicketTester (wicket-test). > > I have a little problem : i'm trying to access to components into a > tabbedpan

How can header contribution of Wicket js files be controlled?

2010-07-28 Thread Kjell Arne Brødreskift
I have written a little more fine-grained solution to optimize static resources based on fifty-five-wicket and wicket-merged-resources. But wicket-event.js and wicket-ajax.js still get added to page head. How can I prevent that? Regards, kjarbr

Re: WicketTester, navigate into tabs

2010-07-28 Thread loic
Thanks i try this! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-navigate-into-tabs-tp2304649p2304700.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscr

Re: WicketTester, navigate into tabs

2010-07-28 Thread Martin Grigorov
I guess the path should include the tab id, i.e. something like: tabbedPanel:1:form. Assuming that "1" is the id of the first tab. You'll need to check the actual value. On Wed, Jul 28, 2010 at 10:57 AM, loic wrote: > > Hello, > i 'm trying to write unit tests with WicketTester (wicket-test). >

WicketTester, navigate into tabs

2010-07-28 Thread loic
Hello, i 'm trying to write unit tests with WicketTester (wicket-test). I have a little problem : i'm trying to access to components into a tabbedpanel. My page looks like this : In this page, i have several tabs. In the first tab, i have a form. I would like to access to

Re: Forms in a base class

2010-07-28 Thread Wolfgang
Jeremy Thomerson-5 wrote: > > you need to be adding the components to the form. you're currently adding > them to the page itself. the component hierarchy is thus broken. on your > child page, either do getForm().add(foo) [you'll need to expose a getForm > method that returns the form from th

AjaxPagingNavigator, when click some page link after more then 5 times , there will be on one page : 1

2010-07-28 Thread wu
Any one has the problem? thanks a lot, Wu -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-when-click-some-page-link-after-more-then-5-times-there-will-be-on-one-page-1-tp2304595p2304595.html Sent from the Wicket - User mailing list archive at Nab

Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-28 Thread ganeshgadde
Hi I am new to wicket.I want to integrate Wicket frame work with UI technologies like Dojo/Jquery/Ext Js/Dwr.I am using portlets too.So which one is the best choice whether to use JQuery/Dojo/Ext Js...which has good support inside Wicket.Can't get much more examples in the internet.Does wicket sup

Re: How to set the value of a Drop Down Choice

2010-07-28 Thread vov
Hi There are mistake in your code: programList.setDefaultModelObject(stringObjectModel); ...may be you want to call programList.setDefaultModel(stringObjectModel); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-set-the-value-of-a-Drop-Down-Choice-tp2303973