Re: [Wicket-user] cookies

2006-10-19 Thread Juergen Donnerstag
Depends on what exactly you want to do. FormComponent.setPersisent(true) will save the forms value in a cookie and load it into the same FormComponent when the user reloads the page (login page: rememberMe). This approach doesnt require any cookie knowledge from users. If you need some thing else

Re: [Wicket-user] cookies

2006-10-19 Thread Scott Swank
Thanks, I searched through the Wicket source until I found WebRequest WebResponse. Now I'm set... public void onClick() { getWebResponse().addCookie(new Cookie(foo, bar)); setResponsePage(new CookiePage()); } public CookiePage() { String value = ; for (Cookie c :

[Wicket-user] 2007迪拜美容展(beauty world)

2006-10-19 Thread zhiyuesu
第12届中东(迪拜)国际化妆品、美容及护肤用品博览会 The 12th international Trade Fair for perfumes,Cosmetics Body Care 展会时间:2007年5月20日至22日 展会地点:阿联酋迪拜世界贸易中心 海湾国际美容用品展2007 3平方米---您事业成功的平台 800个国际标准展位

Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Dorel Vaida
I wanted to ask, just for curiosity, in case that somebody wants to develop components/pages in wicket, BUT place the HTMLs outside the package where their corresponding java classes are (avoid the folder hierarchy due to java packages, e.g. have the HTML pages in a web/pages folder and have

Re: [Wicket-user] Using AjaxEventBehavior On A Page Component

2006-10-19 Thread Frank Bille
getBodyContainer().getBodyContainer() returns the WebMarkupContainer which corresponds with the body tag. (Though I don't know how good the support is for having javascript events on the body tag in the different browsers) Frank On 10/19/06, Frank Bille [EMAIL PROTECTED] wrote: You need to

Re: [Wicket-user] Role authorization per page

2006-10-19 Thread Eelco Hillenius
Attempting to play with the application or Session AuthorizationStrategy doesn't seem to be a good idea because it I would need to somehow inject the current page into the Authorization Process. I think you are trying too hard to fit the existing authorization strategies, which in fact are

Re: [Wicket-user] wicket-contrib-data-ejb3

2006-10-19 Thread Ayodeji Aladejebi
is this necessary? :) ...a tool like NB5.5 (its free) gives an awesome speed in putting wicket and ejb3 project together. why put up another framework. what wickets need is to encourage the great plugins for the market leading IDEs. wicket is great but will do greater with this. just wat i think

Re: [Wicket-user] wicket-contrib-data-ejb3

2006-10-19 Thread Martijn Dashorst
This is not about ide integration, it is about having usefull models and components for EJB3. Netbeans will not, ever, give you a Wicket PersistentTextfield component that goes searching for not null, length and other JPA annotations that might be of interest. A form and model that takes into

Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Gwyn Evans
On 19/10/06, Dorel Vaida [EMAIL PROTECTED] wrote: I wanted to ask, just for curiosity, in case that somebody wants to develop components/pages in wicket, BUT place the HTMLs outside the package where their corresponding java classes are (avoid the folder hierarchy due to java packages, e.g.

Re: [Wicket-user] Role authorization per page

2006-10-19 Thread ChuckDeal
Eelco Hillenius wrote: Attempting to play with the application or Session AuthorizationStrategy doesn't seem to be a good idea because it I would need to somehow inject the current page into the Authorization Process. I think you are trying too hard to fit the existing authorization

[Wicket-user] Nice Url

2006-10-19 Thread Dipu
HI all, Is there anyway to make the non bookmarkable page urlslook nicer. I am using the wicket version 1.2.1 I need to display the urls like /x/x/searching/x/searchresults/x/payment/x/confirmation Kind Regards Dipu

Re: [Wicket-user] Nice Url

2006-10-19 Thread Korbinian Bachl
Hi, yes it is possible, look here for detailed: http://www.javalobby.org/java/forums/t68753.html you can then provide parameters via the PageParameter param - if this doesnt satisfy you (e.g: some special needs for URL) then you may also use a own implementation of

Re: [Wicket-user] Nice Url

2006-10-19 Thread Dipu
Hi Korbinian, Thanks very much for the reply, If i have a pagewith the following constructor public NonBookmarkablePage(OrderInfo orfderInfo, final PartyInfo partyInfo) How will i make the url look nice for the page ? can you please give me some tips on implementing the

Re: [Wicket-user] any tips to make template validate?

2006-10-19 Thread Eelco Hillenius
Could you add a feature request if you want this? On issues.apache.org/jira/browse/WICKET. Eelco On 10/14/06, Ingram Chen [EMAIL PROTECTED] wrote: All, I occasionally encounter a problem, for example, a template like: tr span wicket:id=groupAB tdfield A/td tdfield

Re: [Wicket-user] Nice Url

2006-10-19 Thread cowwoc
What about bookmarkable pages containing Forms? Is this still in the works? Gili Korbinian Bachl wrote: Hi, yes it is possible, look here for detailed: http://www.javalobby.org/java/forums/t68753.html you can then provide parameters via the PageParameter param - if this

Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Jonathan Sharp
That's what I'm after, the majority of our interface is form driven and laid out using basic block elements with CSS handling all of the positioning. Even then, laying it out with span tags would be better than what we have currently (developers have too much freedom with presentation... font tags

Re: [Wicket-user] Nice Url

2006-10-19 Thread Eelco Hillenius
Works in 2.0 with StatelessForms. Eelco On 10/19/06, cowwoc [EMAIL PROTECTED] wrote: What about bookmarkable pages containing Forms? Is this still in the works? Gili Korbinian Bachl wrote: Hi, yes it is possible, look here for detailed:

Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Frank Silbermann
To get a set of components that the page developer could use without having to write any HTML, the application architect could decide on a set of building blocks needed by page developers, and implement them with the associated HTML files. These could include basic form components, and

Re: [Wicket-user] Using AjaxEventBehavior On A Page Component

2006-10-19 Thread Matthew P. Tilchen
Thanks for the help Frank. The changes you mentioned solved my problem. I was operating under the fallacious assumption that the Page object was attached to the body tag. Now, regarding the following: getBodyContainer().getBodyContainer() returns the WebMarkupContainer which corresponds with

Re: [Wicket-user] Nice Url

2006-10-19 Thread Gwyn Evans
On 19/10/06, Dipu [EMAIL PROTECTED] wrote: If i have a page with the following constructor public NonBookmarkablePage(OrderInfo orfderInfo, final PartyInfo partyInfo) How will i make the url look nice for the page ? How difficult would it be to make it bookmarkable, i.e. give it a

Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Eelco Hillenius
In fact, if you really don't want the page-developers to be coding any HTML, the Echo or Echo 2 framework may be what you're looking for. But then you'll be limited to building upon whatever functionality their components provide. Yep, that could be a good alternative if you want to do all

Re: [Wicket-user] any tips to make template validate?

2006-10-19 Thread Ingram Chen
done :-)http://issues.apache.org/jira/browse/WICKET-11btw, JIRA is a much better issue tracking tools, good move! On 10/19/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you add a feature request if you want this? Onissues.apache.org/jira/browse/WICKET.EelcoOn 10/14/06, Ingram Chen [EMAIL

Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Erik van Oosten
Jonathan, In my current application I have about 10 similar looking search forms that are all generated with a list that specifies the layout to be used, and the property to be set in a model object. There is only 1 html file containing only 3 fragments to drive all the search forms. For each

[Wicket-user] How to create this component

2006-10-19 Thread blackboy zabaha
Hi, I need a custom component that is a box of content with a title bar, when I click or double click on title bar, it will collapse/expand its content, I don't know the good name for it, so I just call it a 'folder', also it could remember its collapse/expand state when form submitted.

[Wicket-user] need to deploy into repo

2006-10-19 Thread Geoff hendrey
OK, so I give up trying to get ibiblio to upload my bundle to the repo. I don't why they won't do it, maybe it just takes months or something, or ,maybe something is broken and they just don't have time to explain to me the error of my ways. Can Wicket host the shades bundle in their repo? you

Re: [Wicket-user] How to create this component

2006-10-19 Thread Igor Vaynberg
do you want this to work via ajax or just _javascript_?-IgorOn 10/19/06, blackboy zabaha [EMAIL PROTECTED] wrote:Hi,I need a custom component that is a box of contentwith a title bar, when I click or double click on title bar, it willcollapse/expand itscontent, I don't know the good name for it,

[Wicket-user] Webby uses Wicket ... link would be nice.

2006-10-19 Thread Chris M
Just released 0.4 of webby, webby4db and examples, see http://r8fe.net/webby and the blog entry at http://r8fe.net/wordpress. Webby aims at supporting quick creation of data centric web applications, built upon Wicket, using a bean descriptor like approach. My question: Could someone of the

[Wicket-user] Am I in a ModalWindow

2006-10-19 Thread Stefan Lindner
How can a component decide wheter it is displayed within a Modalwindow? If I have A page that can displayed normally or inside of a ModalWindow, how can the page class retrieve information whether it is displayed inside of a ModalWindow to do special handlig? Stefan Lindner

Re: [Wicket-user] Webby uses Wicket ... link would be nice.

2006-10-19 Thread Igor Vaynberg
done-IgorOn 10/19/06, Chris M [EMAIL PROTECTED] wrote: Just released 0.4 of webby, webby4db and examples, seehttp://r8fe.net/webby and the blog entry at http://r8fe.net/wordpress.Webby aims at supporting quick creation of data centric web applications, built upon Wicket, using a bean descriptor

Re: [Wicket-user] Am I in a ModalWindow

2006-10-19 Thread Matej Knopp
If you want page to be displayed in modal window, you must create ModalWindow.PageCreator instance. The instance can set a flag on page to indicate that it's shown in modal dialog. -Matej Stefan Lindner wrote: How can a component decide wheter it is displayed within a Modalwindow? If I have

[Wicket-user] suggestion

2006-10-19 Thread Sibil Ferguson
Inspired from gladiators fighting to the death in the Colosseum in Rome. - Might it be like seeing a Henri Matisse exhibition at Louisiana Museum of Modern Art? And the wish to climb it - soon! Inspired by the highest mountain in the world, Mont Everest in Nepal. Allow one month of delivery

Re: [Wicket-user] Using AjaxEventBehavior On A Page Component

2006-10-19 Thread Matthew P. Tilchen
Thanks again Frank. That was extremely helpful. For the record, all the browsers I tested do fire the event off the body object (Mozilla- based, Safari, IE). Unfortunately the mozilla-based browsers do not include the keyCode attribute on the event, it always comes through as 0 for any key.

Re: [Wicket-user] How to create this component

2006-10-19 Thread blackboy zabaha
Hi, I think do via ajax would be nice. Indeed, I dont have much problem with how to do it, but my problem is how to create a custom component that need a panel as parameter.. how to associate folder's markup (that should be fixed? for reuse) with the panel's id? Do I have to fix the panel's id