Re: Remove underline in OrderByBorder link

2008-08-06 Thread Erik van Oosten
Best approach IMHO would be through css. Regards, Erik. [EMAIL PROTECTED] wrote: I was wondering if there was an easy way to remove the underline for the link in the OrderByBorder component. More generally, can someone point me in the right direction to change the style and behavior for

Add markup to ListView's markup

2008-08-06 Thread Kaspar Fischer
I try to code a subclass of ListView that adds some markup after (i.e., at the bottom of) the list. Markup like a buy all cheeses in this list- link, for example. public abstract class NodeListView extends ListViewNode { public NodeListView(String id, IModelListSessionNode model,

Re: Questions about wicket-phonebook-1.2

2008-08-06 Thread Martijn Dashorst
1) You *really*, *really*, *REALLY* should use an IDE. There is absolutely *no* reason not to use one. Martijn On Wed, Aug 6, 2008 at 7:02 AM, alex2008 [EMAIL PROTECTED] wrote: 1) For see this project i don't use a true ide. Sorry. :blush: 2) Tomcat has extract the war file after the first

Comparing JSF and Wicket

2008-08-06 Thread nlif
Hi all, We are in the process of selecting a web-framework, and although I am in favor of Wicket, I was asked to provide an objective comparison of Wicket with JSF. I have developed a few small apps in Wicket, but I admit I am not very familiar with JSF. Prior to posting here, I googled a bit,

RE: Remove underline in OrderByBorder link

2008-08-06 Thread JCelano
Erik: Thx, I agree.but how do I set the CSS for the link in the border and have that CSS changed when the sort changes? By default the link has a void CSS while the Border CSS manages the sort changes, and I am not sure how to manage the link CSS. The OrderByBorder hieracharchy is: Border

Re: Comparing JSF and Wicket

2008-08-06 Thread greeklinux
Hello, maybe you read this already: http://www.nabble.com/Questions-about-GWT%2C-JSF-and-Wicket-to12875910.html#a12875910 http://www.nabble.com/JSF%3A-standards-versus-OSS-to13400509.html#a13400509 greetings nlif wrote: Hi all, We are in the process of selecting a web-framework, and

Re: German umlaute in PageParameters

2008-08-06 Thread greeklinux
Hello, you have to escape the values (name) unka_hahrry wrote: Yes, I want to give a name as parameter, and German names may include umlaute, but the names are not correctly represented. greeklinux wrote: Hello, do you want to use Umlaute in your URL Parameters?

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread alex2008
Now I would try to use dataview then should I use the method createSpringBeanProxy but since my application of departure does not extend SpringWebApplication (i'm use WebApplication because the first and the second system don't function)how can I do to move forward? -- View this message in

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread James Carman
Why do you have to use createSPringBeanProxy()? On Wed, Aug 6, 2008 at 7:07 AM, alex2008 [EMAIL PROTECTED] wrote: Now I would try to use dataview then should I use the method createSpringBeanProxy but since my application of departure does not extend SpringWebApplication (i'm use

Re: Add markup to ListView's markup

2008-08-06 Thread James Carman
Why not make a new panel component that has a ListView and a label at the bottom? On Wed, Aug 6, 2008 at 4:08 AM, Kaspar Fischer [EMAIL PROTECTED] wrote: I try to code a subclass of ListView that adds some markup after (i.e., at the bottom of) the list. Markup like a buy all cheeses in this

Re: Add markup to ListView's markup

2008-08-06 Thread Kaspar Fischer
On 06.08.2008, at 13:15, James Carman wrote: Why not make a new panel component that has a ListView and a label at the bottom? I need this component in many places, every time with different markup for between li and /li. Therefore I am interested in solutions that allow the user of the

Re: Facebook Wicket Integration

2008-08-06 Thread Benny Weingarten
I am also trying to have restful URLs for my facebook application. I have tried to follow the instruction here, but I got to a dead end. Here is my declaration inside MyApp.java.init(): QueryStringUrlCodingStrategy page1URLS = new QueryStringUrlCodingStrategy(

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread alex2008
I'm seeing spring-phonebook, i would like use dataview for obtain a list. I'm read on ContactsDataProvider: note: it is important that the dao passed to the data provider be a proxy from wicket-contrib-spring when used in non-testing environment. Why do you have to use

Re: Questions about wicket-phonebook-1.2

2008-08-06 Thread alex2008
Sorry. :blush: -- View this message in context: http://www.nabble.com/Questions-about-wicket-phonebook-1.2-tp18834046p18850595.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread James Carman
What you can do is inject (via @SpringBean) your dao into a component/page. When that component/page constructs the data provider, it can pass in the injected dao reference. That reference will be okay to serialize/deserialize. On Wed, Aug 6, 2008 at 8:54 AM, alex2008 [EMAIL PROTECTED] wrote:

Re: Comparing JSF and Wicket

2008-08-06 Thread Brill Pappin
here is a comparison http://ptrthomas.wordpress.com/2007/05/14/a-wicket-user-tries-jsf/ - Brill On 6-Aug-08, at 5:36 AM, greeklinux wrote: Hello, maybe you read this already: http://www.nabble.com/Questions-about-GWT%2C-JSF-and-Wicket-to12875910.html#a12875910

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread alex2008
Thanks. :-) What you can do is inject (via @SpringBean) your dao into a component/page. When that component/page constructs the data provider, it can pass in the injected dao reference. That reference will be okay to serialize/deserialize. -- View this message in context:

ListView in Forms

2008-08-06 Thread Markus Haspl
hi, first, i'm a very newbie to wicket... I want to add a ListView in a Form. The ListView has two Texfields and one Checkbox each row. When i submit the form the values are still the old ones. here the code: private class InputForm extends Form { IModel pluginPropertiesModel; public

Re: Remove underline in OrderByBorder link

2008-08-06 Thread igor . vaynberg
td.mycss a { text-decoration: none;} -Igor On 8/6/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Erik: Thx, I agree.but how do I set the CSS for the link in the border and have that CSS changed when the sort changes? By default the link has a void CSS while the Border CSS manages the

RE: ListView in Forms

2008-08-06 Thread Hoover, William
Why do you use propertiesList.setReuseItems(true)? -Original Message- From: Markus Haspl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 10:20 AM To: users@wicket.apache.org Subject: ListView in Forms hi, first, i'm a very newbie to wicket... I want to add a ListView in a

Help on create a list with dataview

2008-08-06 Thread alex2008
This is the code: public class ListProductPage extends WebPage { public ListProductPage() { add(new Link(createLink) { /** * Go to the Edit page when the link is clicked, passing an empty * Product details */

Best way to create a Root Page that every page in your app extends

2008-08-06 Thread Riyad Kalla
Hey guys, having a major brain-fart today... I swear I had this figured out at one point. I essentially want to create a RootPage (extends WebPage) that represents the root of every page in my app. It has an associated RootPage.html file with it that has all the DOCTYPE stuff in it, sets all the

Re: ListView in Forms

2008-08-06 Thread Igor Vaynberg
add a feedbackpanel and see if there are any validation errors -igor On Wed, Aug 6, 2008 at 7:19 AM, Markus Haspl [EMAIL PROTECTED] wrote: hi, first, i'm a very newbie to wicket... I want to add a ListView in a Form. The ListView has two Texfields and one Checkbox each row. When i submit the

Re: Best way to create a Root Page that every page in your app extends

2008-08-06 Thread Igor Vaynberg
see markup inheritance page on the wiki -igor On Wed, Aug 6, 2008 at 8:01 AM, Riyad Kalla [EMAIL PROTECTED] wrote: Hey guys, having a major brain-fart today... I swear I had this figured out at one point. I essentially want to create a RootPage (extends WebPage) that represents the root of

Re: Help on create a list with dataview

2008-08-06 Thread Igor Vaynberg
are you using wicket 1.2??? -igor On Wed, Aug 6, 2008 at 7:33 AM, alex2008 [EMAIL PROTECTED] wrote: This is the code: public class ListProductPage extends WebPage { public ListProductPage() { add(new Link(createLink) { /** * Go to the Edit

Re: Best way to create a Root Page that every page in your app extends

2008-08-06 Thread Riyad Kalla
Igor, Thanks for the reply, found the page (ref: http://cwiki.apache.org/WICKET/markup-inheritance.html), read it, felt really stupid, and am now happily making pages :) I think I just got a little bamboozed with all the seemingly different ways to do this, but MI is exactly the type of solution

Re: ListView in Forms

2008-08-06 Thread Markus Haspl
there are no valiation errors. with info() i get the old values. info(+property.getName()+: +property.getValue()+ == +property.isDefaultProperty()); On Wed, Aug 6, 2008 at 5:03 PM, Igor Vaynberg [EMAIL PROTECTED]wrote: add a feedbackpanel and see if there are any validation errors -igor

Re: ListView in Forms

2008-08-06 Thread Markus Haspl
i thought i have to use it when i need the updatet values... On Wed, Aug 6, 2008 at 4:28 PM, Hoover, William [EMAIL PROTECTED] wrote: Why do you use propertiesList.setReuseItems(true)? -Original Message- From: Markus Haspl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008

Re: Help on create a list with dataview

2008-08-06 Thread alex2008
No i'm using wicket 1.3.4. If there is a system to have a more simple code ... are you using wicket 1.2??? -igor -- View this message in context: http://www.nabble.com/Help-on-create-a-list-with-dataview-tp18852545p18853703.html Sent from the Wicket - User mailing list archive at

Can You Use A Taglib In Wicket?

2008-08-06 Thread Lee Theobald
Hi all, I've got the task of integrating a simple taglib into a few of our applications. I've just stumbled across one that is written using Wicket (unliek the rest which are in JSP/JSF). So I thought I'd ask here before I start diving into the Wicket documentation - Is there any way of

RE: ListView in Forms

2008-08-06 Thread Hoover, William
If there are errors try setting this strategy on your list view: public class ReuseOnFeedbackMessageStrategy implements IItemReuseStrategy { private static final long serialVersionUID = 1L; private static final int LEVEL_NA = 0; private int feedbackMessageThresholdLevel;

Re: Hook for hiding columns of DataTable?

2008-08-06 Thread Ladislav Thon
I've managed to solve similar problem by 1. setting a specific CSS class on each column, both in th and td tags (this can be done by overriding getCssClass() method of AbstractColumn) 2. setting a specific CSS class on the table when some columns should be hidden (this can be done e.g. using an

Re: Help on create a list with dataview

2008-08-06 Thread Igor Vaynberg
i guess i am wondering where this code came from? looks like code from 1.2... /** * Returns null to indicate there is no nested model. * @return Null */ public IModel getNestedModel() { return null; } -igor On Wed, Aug 6, 2008 at 8:29 AM, alex2008 [EMAIL PROTECTED] wrote:

Re: ListView in Forms

2008-08-06 Thread Igor Vaynberg
listviews dont use item reuse strategies... -igor On Wed, Aug 6, 2008 at 9:25 AM, Hoover, William [EMAIL PROTECTED] wrote: If there are errors try setting this strategy on your list view: public class ReuseOnFeedbackMessageStrategy implements IItemReuseStrategy { private static

Re: ListView in Forms

2008-08-06 Thread Igor Vaynberg
if there are no errors then you are not using your models properly TextField propertiesName = new TextField(name,new Model(pluginProperties.getName())); to get a value back with a model like that you would have to call propertiesName.getModelObject() -igor On Wed, Aug 6, 2008 at 8:27 AM,

Re: Hook for hiding columns of DataTable?

2008-08-06 Thread Igor Vaynberg
this is on my list for 1.5, in 1.4/1.3 it would require too many api breaks i think. for now you can just replace the datatable with a new instance. the only state you have to carry over is the current page, so its pretty easy. -igor On Wed, Aug 6, 2008 at 9:45 AM, Ladislav Thon [EMAIL

Modal Window not displayed

2008-08-06 Thread vishy_sb
Hi All, Kindly refer to the picture to see the page that I have.. the page has 2 panels. One has the Limit Editor and the other has the tree. Now when I hit the apply button a confirmation window should come up as shown in the picture below.

Multiple instances of pages and spring integration

2008-08-06 Thread Lorenzo Bolzani
Hi all, I have a page to monitor the status of a remote device. The page just stay there and refresh automatically to display the actual state. The problem is that I need to have to distinct pages to monitor two distinct devices. My ideal approach would be to define two pages in spring,

MathML in wicket

2008-08-06 Thread mdossing
Hi, I am undergoing a project that involves outputting MathML to wicket pages. I use a custom label that outputs my string directly in to a body tag so that it isn't escaped. The problem comes when I change the page to be of the type xhtml with the following code: public final String

Re: Multiple instances of pages and spring integration

2008-08-06 Thread Igor Vaynberg
well normally you would just do class monitorpage extends webpage { public monitorpage(string deviceid) { .. do whatever with deviceid } } if you need your pages to be bookmarkable then just use class monitorpage extends webpage { public monitorpage(pageparameters params) {

Re: Can You Use A Taglib In Wicket?

2008-08-06 Thread Jon Stockdill
I suppose you could include the jsp. http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-tree/ On Wed, Aug 6, 2008 at 11:44 AM, Lee Theobald [EMAIL PROTECTED] wrote: Hi all, I've got the task of integrating a simple taglib into a few of our applications. I've just stumbled

RE: ListView in Forms

2008-08-06 Thread Hoover, William
That is an issue in itself ;o) -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 1:00 PM To: users@wicket.apache.org Subject: Re: ListView in Forms listviews dont use item reuse strategies... -igor On Wed, Aug 6, 2008 at 9:25 AM,

Re: Comparing JSF and Wicket

2008-08-06 Thread Igor Vaynberg
On Wed, Aug 6, 2008 at 2:13 AM, nlif [EMAIL PROTECTED] wrote: Prior to posting here, I googled a bit, and found a few forum-threads and blog posts on this topic, but most are from 1-2 years ago and in framework years, this may be considered obsolete. actually, imho, this is one of wicket's

Re: Help on create a list with dataview

2008-08-06 Thread alex2008
I'm trying to customize an example but without success if there is a better way to get the same result with the 1.3.4 so much the better. Which part of the code would be modify? i guess i am wondering where this code came from? looks like code from 1.2... -- View this message in context:

Re: Comparing JSF and Wicket

2008-08-06 Thread Peter Thomas
Hi, Here is a list of bullet points I compiled on JSF when compared with Wicket: – Not really OO components, more of XML tags than Java – Added complexity of JSF-EL and mixing JSP-EL if applicable – faces-config.xml : synchronize multiple files for navigation, page-centric, string expressions

Re: Comparing JSF and Wicket

2008-08-06 Thread Scott Swank
My company compared several frameworks and settled on either JSF or Wicket. We then had a 2 week development effort implementing the same proof-of-concept app with 2 teams of 4 devs each. Everyone was at least somewhat familiar with JSF, while only one person in our department had ever worked

Questions about wicket features

2008-08-06 Thread Marcelo Morales
Hello I've browsed over the wicket documentation and examples. There are a couple of things I don't seem able to determine. So I would really appreciate your input on this questions. 1 Can I write a web application without coding any HTML whatsoever?... I mean, is there some kind of html or

Re: Comparing JSF and Wicket

2008-08-06 Thread James Carman
Can we perhaps take this conversation to a wiki page (feel free to continue here, but for those who contribute it'd be nice if they added their $0.02 to a wiki)? I would love to be able to send our management to a page where all of these stories are listed. It would be great to have a

Invalid Spring Context with ERROR dispatcher?

2008-08-06 Thread eviladam
I have been following a few threads in wicket-users wrt to implementing 404 error pages but I've run into an issue where the Spring configuration does not seem to be in context of the request when executing through the ERROR dispatcher. The exception I'm hitting is:

Re: MathML in wicket

2008-08-06 Thread Brill Pappin
Check the char encoding... it might actually be working properly but somewhere along the line the wrong encoding is being used. - Brill On 6-Aug-08, at 1:51 PM, mdossing wrote: Hi, I am undergoing a project that involves outputting MathML to wicket pages. I use a custom label that

properties files search efficiency

2008-08-06 Thread lesterburlap
Hi: I understand how Wicket searches for property keys: MyPage.properties - MyComponentA.properties - MyComponentB.properties - MyApplication.properties, etc, etc... Is there any run time efficiency benefit in putting a property from MyComponentB in the MyPage.properties file (rather than

Re: properties files search efficiency

2008-08-06 Thread Igor Vaynberg
wicket caches a lot of this stuff, so i wouldnt worry about performance -igor On Wed, Aug 6, 2008 at 1:09 PM, lesterburlap [EMAIL PROTECTED] wrote: Hi: I understand how Wicket searches for property keys: MyPage.properties - MyComponentA.properties - MyComponentB.properties -

Re: Comparing JSF and Wicket

2008-08-06 Thread Timm Helbig
Hi, I did one Project with JSF and two with Wicket. By far Wicket is much easier to handle, (nearly) everything works as supposed, which is not true for JSF, especially when it comes to external Libraries like Trinidad or other UI Extension Libraries. One other thing which is important for

Re: Modal Window not displayed

2008-08-06 Thread vishy_sb
Anybody out there know anything about this. vishy_sb wrote: Hi All, Kindly refer to the picture to see the page that I have.. the page has 2 panels. One has the Limit Editor and the other has the tree. Now when I hit the apply button a confirmation window should come up as shown in

Re: Invalid Spring Context with ERROR dispatcher?

2008-08-06 Thread dukehoops
The problem may be same as here: http://jira.springframework.org/browse/SPR-4480 Unfortunately, Spring's fix created seems to be JSF-specific, so I guess it is not possible to have a Wicket error page that accesses Spring context and is forwarded to using ERROR dispatcher because: -

Updating a ListMultipleChoice within a Modal Window

2008-08-06 Thread Randy Cox
I am new to wicket (2 months), it's been straight forward for me until I started getting into modal windows and ajax. I've notice there were many topics on Modal Windows, but I could not find anything addressing my particular question. I apoligize in advance if this issue was already discussed

wicket + spring + jpa reference example?

2008-08-06 Thread francisco treacy
hi, i need to develop a project with wicket + spring + jpa. i'm not used lately to this setup, so i tried to build it up, not without some trouble. so my question here is: do you know a current good wicket + spring + jpa reference/example? earlier today i checked out qwicket, but there's some

Re: Dynamically Making changes to Tree Node

2008-08-06 Thread vishy_sb
Hey Matej, I have been able to implement the tree with the solution that you provided and I am using the separate panels for each node. However I have a new error that has come up. Can you please look at this thread whenever you have some time that I have posted here:

Re: wicket + spring + jpa reference example?

2008-08-06 Thread francisco treacy
it's me again. minutes after the post i found my way out of that applicationContext maze... but thanks anyway! francisco On Wed, Aug 6, 2008 at 11:25 PM, francisco treacy [EMAIL PROTECTED] wrote: hi, i need to develop a project with wicket + spring + jpa. i'm not used lately to this setup,

Re: wicket + spring + jpa reference example?

2008-08-06 Thread Ryan Gravener
Have you taken a look at wicket-phonebook? https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-phonebook/ I have a demo project for wicket+hibernate+spring+flex+blazeds in the works, but it is far from perfect: http://code.google.com/p/wicket-flex-blazeds/ On Wed, Aug 6,

Turn off SWARM

2008-08-06 Thread insom
Hi, I'm developing my first Wicket application and I'm using SWARM for authentication. However, it's a pain to re-login every time I make a change to the code. Is there a way I can turn SWARM off while developing? Thanks much... -- View this message in context:

Re: Turn off SWARM

2008-08-06 Thread Johan Compagner
Why do you need to relogin? First of all you can use hotswap as much a possible when developing/debugging. And if that doesnt work, the code is changed to much, you can stop your webcontainer nicely and restart it again (or redeploy the webapp) so that your session is kept including your logon

Re: Turn off SWARM

2008-08-06 Thread insom
Johan Compagner wrote: Why do you need to relogin? It happens whenever I change a Java file and rebuild. Even if I just change one of the HTML files, Tomcat notices that and rebuilds. Then when I try to navigate to a secure page in the application, I get redirected to the login page. --

Re: Turn off SWARM

2008-08-06 Thread Igor Vaynberg
just do something like this in your login page's constructor: if (system.getproperty(autologin)!=null) { authenticate(system.getproperty(username), system.getproperty(password)); throw new restartresponseexception(getapplication().gethomepage()); } and launch your app with those system props

GMAP2 Custom InfoWindow (bubble)

2008-08-06 Thread ej595
Hi all, ive started using the GMAP2 Contrib for some google map work. It all seems to work pretty well in fact and im very pleased so far. However, ive not be able to figure out how to create a custom info window for when i click on a marker on the map. The default bubble is kind of ugly, and

Re: Wicket Ajax Safari DomReady Conflicts

2008-08-06 Thread zonathen
I figured as much just thought I'd check on the foot thing, we can always add a panel that you override as needed in the base page if necessary. Safari/Webkit is notorious for firing the mechanisms used in checking for domready later than other browsers. Just look at the code in wicket-event.js

Re: Facebook Wicket Integration

2008-08-06 Thread caoanhkiet
I think you had come to http://wiki.developers.facebook.com/index.php/FBML. My demo use FBML's tab, for example: fb:tabs fb:tab-item href=?wicket:bookmarkablePage=%3Areno.GuestBook title='Go GuestBook' / fb:tab-item href=?wicket:bookmarkablePage=%3Areno.Invite title='Invite' / /fb:tabs my

Re: Turn off SWARM

2008-08-06 Thread Brill Pappin
I'm not sure how Swarm works (I'm still using the simple auth-roles and have no need for anything more) but maybe you can use the same trick. In my Application I simply check if I'm running in development mode, and switch out the normal authentication mechanism for a fake one that will

Re: Turn off SWARM

2008-08-06 Thread Brill Pappin
I like that, nice and clean. you could use the: if (Application.DEPLOYMENT.equals(getConfigurationType())) {} as I do for auth-roles as well. - Brill On 6-Aug-08, at 7:42 PM, Igor Vaynberg wrote: just do something like this in your login page's constructor: if