Yes, I know that. But I would just to use the previous (and nice) JSCalendar
DatePicker.
I was expecting that the drop-in replacement was a .. drop-in replacement.
But it is still requiring the Wicket 1.2.x core classes (!), being so
migrating to 1.3.x and using the DatePicker drop-in replacement
Kent Tong wrote:
I don't know why you feel this hacky. It looks clean and easy to me:
It works, and the implementation is nice and easy BUT...
Spring is meant to be the factory :). Isn't that a big part of why we use
spring?
--
View this message in context:
The big question here is why do you want to use Spring to
configure/construct your panels? What is the use case?
On 2/23/08, Kent Tong [EMAIL PROTECTED] wrote:
Ned Collyer wrote:
There are a few ways to approach this, ie, having some class loader which
resolves given string class
I cannot seem to find a way to provide a custom validation message for 'int'.
(I learned for most others).
'-' is not a valid int.
fieldName.int does not work
fieldName.Integer does not work
fieldName.Number does not work
fieldName.NumberValidator.range works but it's a different message.
Hello,
What are the differences between the wicket-stuff projects gmap and gmap2?
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Ned Collyer wrote:
Spring is meant to be the factory :). Isn't that a big part of why we use
Spring?
Incidently there is a Classes class that has some handy cached stuff for
resolving class references.
see org.apache.wicket.util.lang.Classes
You can certain make the PanelFactory a
Sebastiaan van Erk wrote:
Ok, thanks for the quick reply. :-)
https://issues.apache.org/jira/browse/WICKET-1366
I've added some comments to it. For a workaround, try:
tree = new LinkTree(t, model) {
protected Component newNodeComponent(String id, IModel model) {
florin.g wrote:
I cannot seem to find a way to provide a custom validation message for
'int'. (I learned for most others).
fieldName.int does not work
fieldName.Integer does not work
fieldName.Number does not work
fieldName.int
-
--
Kent Tong
Wicket tutorials freely available at
florin.g wrote:
I cannot seem to find a way to provide a custom validation message for
'int'. (I learned for most others).
fieldName.int does not work
fieldName.Integer does not work
fieldName.Number does not work
fieldName.int is the one to use. Make sure you have reloaded your app.
Juha Alatalo wrote:
In this case I have to visit different page when browse is chosen. When
I come back form is cleared, isn't it?
Have you tried just clearing the feedback messages?
-
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
Axis2 tutorials
Hi, I will certainly look at this once i have some spare time.
-Matej
On Sat, Feb 23, 2008 at 2:09 PM, Kent Tong [EMAIL PROTECTED] wrote:
Sebastiaan van Erk wrote:
Ok, thanks for the quick reply. :-)
https://issues.apache.org/jira/browse/WICKET-1366
I've added some comments
gmap was there first and gmap2 was inspired by it and
both try to deliver the same service.
I personally think that gmap2 has the more efficient approach.
But as I'm quite involved in developing it, this opinion of mine might not
be objective.
If you are looking for objectivity you might have to
Thanks Martin, Ryan,
I tried to run the examples of gmap2 today (no time for the code yet).
Just as an experiment I compiled gmap2 against the wicket 1.3.1 release
instead of the documented Wicket trunk. The examples work, so I guess it
is possible to change the dependency.
I am also
Hi .
I wonder if wicket can act as a servlet front controller ?
I have a normal wicket webapp , but I need one endpoint to process Yahoo's
bbAuth's request.
Yes , I can write normal servlet to process this , but normal servlet lacks
of spring injection and cannot access to wicket's environment.
This is close to the solution we are currently using ;)
Thanks for the info on the Classes object.
Rgds
Ned
Kent Tong wrote:
public class TestPage extends WebPage {
@SpringBean(name = panelFactory)
private PanelFactory panelFactory;
public TestPage() {
I use the Quickstart mvn archetype to generate my project, then use mvn
jetty:run to run the project.
In my template, I have:
head
titleMy Project/title
link rel=stylesheet type=text/css href=css/aquastyle.css
/head
Where should aquastyle.css be in my source so mvn
Never mind. I figured it out. Put css/aquastyle.css next to WEB-INF in the
source.
--
View this message in context:
http://www.nabble.com/Where-to-put-external-css-file-for-mvn-jetty%3Arun--tp15657334p15657629.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi MYoung,
I'd say it should read:
src/main/webapp/css/aquastyle.css
in your maven project directory.
fm
2008/2/23, MYoung [EMAIL PROTECTED]:
I use the Quickstart mvn archetype to generate my project, then use mvn
jetty:run to run the project.
In my template, I have:
head
Hi Erik,
not sure if I understood you on the dependency change. As maven's dependency
management works quite well I always sort of feel quite stupid to come up
with an extra release branch for another wicket release. But I did it
anyway:
After reading up a bit on yahoo bbAuth, i'm thinking the following will work.
Take the code shown here
http://developer.yahoo.com/java/howto-BBauthJava.html for the servlet
and convert it to a servlet filter.
Then in your web.xml use this new WicketBbAuthFilter for your app
together with the
Like the first column here, just whatever the row's number is:
++-+
| No. | Names |
++-+
| 1 | AAA |
++-+
| 2 | AAA |
++-+
| 3 |
I follow this:
http://cwiki.apache.org/confluence/display/WICKET/Use+a+different+extension+for+template+files
added this to MyPage:
@Override
public String getMarkupType() {
return xhtml;
}
and it doesn't work. Firefox wants to download the file instead of showing
the
public void populateItem(Item cell, String compId, IModel rowModel) {
item.getindex() is cell, ((item)item.getparent()).getindex() is row
-igor
On Sat, Feb 23, 2008 at 6:43 PM, MYoung [EMAIL PROTECTED] wrote:
Like the first column here, just whatever the row's number is:
Please do not double post. You asked this question yesterday.
On 2/23/08, MYoung [EMAIL PROTECTED] wrote:
I follow this:
http://cwiki.apache.org/confluence/display/WICKET/Use+a+different+extension+for+template+files
added this to MyPage:
@Override
public String
igor.vaynberg wrote:
...item.getparent()
I tried it and gives me a RepeatingView, not a Item.
igor.vaynberg wrote:
public void populateItem(Item cell, String compId, IModel rowModel) {
item.getindex() is cell, ((item)item.getparent()).getindex() is row
-igor
On Sat, Feb 23,
smallufo wrote:
I have a normal wicket webapp , but I need one endpoint to process
Yahoo's
bbAuth's request.
Yes , I can write normal servlet to process this , but normal servlet
lacks
of spring injection and cannot access to wicket's environment.
Have you tried using a bookmarkabke
Ok, I got it.
item.getParent() is a RepeatingView
item.getParent().getParent() is the row's Item. So
((Item)item.getParent().getParent()).getIndex()
gives me the answer.
Thanks!
igor.vaynberg wrote:
public void populateItem(Item cell, String compId, IModel rowModel) {
item.getindex()
Hi all,
I got a parser error using DateTextField.
I am working with Joda-Time in my domain model. Thus I have some
DateTime attributes. According to this code which I found,
...
form.add(DateTextField.forDatePattern(datetime, new
PropertyModel(this, datetime), MM/dd/));
I found http://issues.apache.org/jira/browse/WICKET-466. If I understand
these path will be added in 1.4 release.
Is this correct?
On Sun, Feb 24, 2008 at 2:56 AM, Fernando Wermus [EMAIL PROTECTED]
wrote:
Hi all,
I got a parser error using DateTextField.
I am working with Joda-Time
Use Date instead of DateTime.
On Sat, Feb 23, 2008 at 11:56 PM, Fernando Wermus [EMAIL PROTECTED]
wrote:
Hi all,
I got a parser error using DateTextField.
I am working with Joda-Time in my domain model. Thus I have some
DateTime attributes. According to this code which I found,
...
I changed it. Do you know if this upgrade is comming soon?
On Sun, Feb 24, 2008 at 3:03 AM, Ryan Gravener [EMAIL PROTECTED]
wrote:
Use Date instead of DateTime.
On Sat, Feb 23, 2008 at 11:56 PM, Fernando Wermus
[EMAIL PROTECTED]
wrote:
Hi all,
I got a parser error using
Now almost there. I'm understanding the use of models much better now.
I have created my own simple SeachModel class to holds Strings for each
selected dropdown choice. In my custom session I wrap my model like:
CompoundPropertyModel searchModel = new CompoundPropertyModel(new
Thank you , but I want a (bookmarkable) page without HTML
Is it possible ?
2008/2/24, Kent Tong [EMAIL PROTECTED]:
smallufo wrote:
I have a normal wicket webapp , but I need one endpoint to process
Yahoo's
bbAuth's request.
Yes , I can write normal servlet to process this , but
Hi!
I have the following directory- and project structure:
workspace/Wicket-Quickstart-App
workspace/UtilityLibrary1
workspace/UtilityLibrary2
* UtilityLibrary1 depends on UtilityLibrary2
* Wicket-Quickstart-App depends on both UtilityLibrary1 and UtilityLibrary2
They compile just ok within
34 matches
Mail list logo