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 Ecl
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 proces
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
SearchMode
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 usi
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 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-T
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/"));
MYoung wrote:
>
> Firefox wants to download the file instead of showing the page.
> http://www.nabble.com/file/p15641885/no-go-xhtml.jpg
>
> IE7 cannot even download the file.
>
The mime type Wicket returns to the browser is text/. In
your case it's text/xhtml which is not correct. Instead,
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
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 bookm
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
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 g
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:
>
> ++-
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 p
Like the first column here, just whatever the row's number is:
++-+
| No. | Names |
++-+
| 1 | AAA |
++-+
| 2 | AAA |
++-+
| 3 |
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 origin
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:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuf
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:
>
>
>
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.
-
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:
My Project
Where should "aquastyle.css" be in my source so mvn jetty:run can place in
the right place for Wicket when I run my project?
--
V
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.
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 searchi
I would recommend gmap2 as well.
On Sat, Feb 23, 2008 at 12:38 PM, Martin Funk <[EMAIL PROTECTED]>
wrote:
> 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 1.3 the drop in replacement is the yui datepicker. drop-in means
api is the same. after migrating to apache we could no longer use
jscalendar because its license is incompatible.
-igor
On Sat, Feb 23, 2008 at 1:41 AM, Paolo Di Tommaso
<[EMAIL PROTECTED]> wrote:
> Yes, I know that. But I would
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
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 add
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 tutori
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
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 availab
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) {
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 PanelFa
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 comm
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.
Than
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 strin
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:
http://www.nabble.com/Acce
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
37 matches
Mail list logo