extra 'onclick' is generated for an image wrapped by a link

2008-12-12 Thread Trent Larson
I have the following plain HTML where I want an image to be a link to another Wicket-managed page: wicket:linka href=ProductPage.htmlimg src=../images/products_welcome.jpg border=0/a/wicket:link The link for that page is generated fine, but then Wicket adds an 'onclick' event to the 'img' tag

Re: extra 'onclick' is generated for an image wrapped by a link

2008-12-12 Thread Trent Larson
, Trent Larson larsontr...@gmail.com wrote: I have the following plain HTML where I want an image to be a link to another Wicket-managed page: wicket:linka href=ProductPage.htmlimg src=../images/products_welcome.jpg border=0/a/wicket:link The link for that page is generated fine

What are your suggestions to ease separation of UI and dev teams?

2008-12-12 Thread Trent Larson
Please help (documentation references, etc) with good ways to work with Wicket where we have separate UI and dev teams. I'm looking for any practices people have found helpful because of the UI surprises we keep hitting. For example, our UI group has been inserting graphics and regular links

Re: extra 'onclick' is generated for an image wrapped by a link

2008-12-12 Thread Trent Larson
...@gmail.comwrote: dont use wicket:link, use bookmarkablepagelink component instead. -igor On Fri, Dec 12, 2008 at 10:19 AM, Trent Larson larsontr...@gmail.com wrote: I have the following plain HTML where I want an image to be a link to another Wicket-managed page: wicket:linka href

JavaScriptReference with TextTemplate only returns the first retrieved value

2009-01-15 Thread Trent Larson
Some time ago, I wrote the following code to generate a javascript resource with values that are unique to each user. I would have sworn that it worked, and that it would return a different value depending on which user was logged in. However, I've just found that it is now always returning the

Re: JavaScriptReference with TextTemplate only returns the first retrieved value

2009-01-16 Thread Trent Larson
that storing a password in cleartext inside a js file might not be the best idea :) -igor On Thu, Jan 15, 2009 at 4:02 PM, Trent Larson larsontr...@gmail.com wrote: Some time ago, I wrote the following code to generate a javascript resource with values that are unique to each user. I would have

Re: The same *.css and *.js on multiple pages

2009-02-06 Thread Trent Larson
One solution is the extend functionality (eg. wicket:child and wicket:extend). We use a BasePage that all our pages extend, and it contains all our javascript. It doesn't add anything else, so there is almost no HTML (just the html, head, and body tags) and the Java file for that page is just a

Re: How to execute Wicket project in Eclipse

2009-02-06 Thread Trent Larson
You will have to run your Wicket application with a J2EE application server. I've found Run-Jetty-Run to be extremely easy-to-use: http://code.google.com/p/run-jetty-run/ Trent On Fri, Feb 6, 2009 at 2:43 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi All I have installed

Re: Anyone have idea on ofbiz framework

2009-02-14 Thread Trent Larson
I've used an old version of it. It works fairly well, and they work to keep up with standard interfaces. However, be prepared for a learning curve with anything you have to customize; many of the pieces (at least with my version) are non-standard. If you anticipate limited customizations and

DatePicker configuration isn't always working

2009-02-19 Thread Trent Larson
We are trying to use the DatePicker, only allowing the selection of days 5-25 of each month. We've tried adding the following renderer to work with the OutOfBoundsDate, but it doesn't work when the calendar is initially shown. For example, if the pageDate of the calendar is set to 03/2009, the

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:

cannot get ContextImage/Path to create the right path

2008-11-07 Thread Trent Larson
I am trying to access different static images that aren't Wicket resources, though their path is set programmatically by my Wicket pages; unfortunately I'm seeing strange behavior. My wicket app is installed under /myContext/wicketStuff (with wicketFilter url-pattern pointing to 'wicketStuff'),