Re: [Wicket-user] VOTE

2006-02-20 Thread Joshua Lim
+1 1. Give me the constructor change and the Java 5 functionality in one
pass (Wicket 2.0)


[Wicket-user] wicket:head, wicket:border ..and others..

2006-02-20 Thread karthik Guru
How many such tags exist? Please do list the others.

, 

, 
? .. so we can declare component type in the markup..not sure.



thanks,
karthik


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-20 Thread Gili


	Doh! Turns out this is a user-error because I should be using 
WebMarkupContainer instead of WebComponent. The error message is very 
misleading though, can we fix that? It should say "WebComponent may not 
have a body" or something like that... I can file a bug report for it if 
you wish.


Gili

Gili wrote:


I'm seeing this too. I have a page works properly but if I insert:

No images

into my code suddenly I get a parsing error message from Wicket. It 
isn't identical to the one reported by Ayodeji. He got:


wicket.markup.MarkupException: Tag '' (line 40, column 21) has a
 > mismatched close tag at '' (line 184, column 17)

whereas I get:

01:34:20,688 ERROR RequestCycle:964 - Expected close tag for wicket:id="noImages" id="noImages">
[markup = 
file:/C:/Documents%20and%20Settings/Gili/My%20Documents/blueeye/trunk/desktopbeautifier/Server/netbeans6.0/build/web/WEB-INF/classes/desktopbeautifier/web/gallery/Page.html, 
index = 88, current = [Raw markup]]
wicket.markup.MarkupException: Expected close tag for wicket:id="noImages" id="noImages">


If I comment out the  from the HTML code it works fine. If I 
uncomment it, I get the above exception again. That's got to be a bug 
right? Also, I noticed I only get this exception if I bind the  to 
a WebComponent. If I bind it to a Label instead it works fine.


On an unrelated note, the junit tests fail on ObjectsTest; you might 
want to fix that.


Gili



--
http://www.desktopbeautifier.com/


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-20 Thread Gili


I'm seeing this too. I have a page works properly but if I insert:

No images

	into my code suddenly I get a parsing error message from Wicket. It 
isn't identical to the one reported by Ayodeji. He got:


wicket.markup.MarkupException: Tag '' (line 40, column 21) has a
> mismatched close tag at '' (line 184, column 17)

whereas I get:

01:34:20,688 ERROR RequestCycle:964 - Expected close tag for wicket:id="noImages" id="noImages">
[markup = 
file:/C:/Documents%20and%20Settings/Gili/My%20Documents/blueeye/trunk/desktopbeautifier/Server/netbeans6.0/build/web/WEB-INF/classes/desktopbeautifier/web/gallery/Page.html, 
index = 88, current = [Raw markup]]
wicket.markup.MarkupException: Expected close tag for wicket:id="noImages" id="noImages">


	If I comment out the  from the HTML code it works fine. If I 
uncomment it, I get the above exception again. That's got to be a bug 
right? Also, I noticed I only get this exception if I bind the  to 
a WebComponent. If I bind it to a Label instead it works fine.


	On an unrelated note, the junit tests fail on ObjectsTest; you might 
want to fix that.


Gili


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Requesting Clarification on Page Expired Exceptions

2006-02-20 Thread Igor Vaynberg
when a url is accessed for a page that cannot be found in the pagemap it is considered an expired page. so basically you create a page, some time passes and that page is removed from the pagemap via the page eviction strategy. so if you go back to that page and click a link, that url will try to retrieve the page from the pagemap, and since the page cannot be found you get the page expired page.
you can set your own via Application.getApplicationSettings().setPageExpiredErrorPage()-IgorOn 2/20/06, Nick Heudecker <
[EMAIL PROTECTED]> wrote:I'm getting unpredictable exceptions about expired pages, so I'm requesting some information about them.  I'm using the latest snapshot of 
1.2 (core and extensions).What causes pages to be expired?How can I prevent pages from throwing expiration exceptions?
If a page is expired, how can I present a custom page to the user?Thanks for the information.




[Wicket-user] Requesting Clarification on Page Expired Exceptions

2006-02-20 Thread Nick Heudecker
I'm getting unpredictable exceptions about expired pages, so I'm requesting some information about them.  I'm using the latest snapshot of 1.2 (core and extensions).What causes pages to be expired?How can I prevent pages from throwing expiration exceptions?
If a page is expired, how can I present a custom page to the user?Thanks for the information.


Re: [Wicket-user] DatePicker won't pop up

2006-02-20 Thread Nick Heudecker
I don't know what JAR versions the Forminput example is using.  I've updated the priority from 5 to 7. Here's the bug: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1434895&group_id=119783I tried loading each of the resources the DatePicker adds to wicket:head and that worked fine.  The _javascript_ added to the page, next to the text field, is what seems to be causing the problem.  
Another question is if the underlying date picker _javascript_ code has changed.On 2/20/06, Frank Silbermann <
[EMAIL PROTECTED]
> wrote:
















I've just noticed that it works for
me in Mozilla.

 

But why, then, does the FormInput example's
DatePicker work for me in IE?  Is there some configuration or property
file setting needed to make it work in IE? 
Some Cascading stylesheet setting required?

 

-Original Message-
From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]] On Behalf Of 
Nick Heudecker
Sent: Monday, February 20, 2006
11:59 AM
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
DatePicker won't pop up

 

I'm having this problem on IE, but it works fine on
FF.  I've opened a bug on this issue.










Re: [Wicket-user] VOTE

2006-02-20 Thread Jan Mikkelsen
My vote goes to 1.

> 
> 1. Give me the constructor change and the Java 5 functionality in one
> pass (Wicket 2.0)
> 2. Do the constructor change in a seperate release (Wicket 1.3) and
> put Java 5 in the next (Wicket 2.0)
> 3. I don't want either one and I want to stay on Wicket 1.2.
> 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-20 Thread Christian Hvid

I am one for a move to Java 5 as fast as possible.

From my perspective Wicket is a young framework and if we are  
adventurously enough to choose Wicket, we are adventurously enough to  
be on Java 5.


On 21 Feb 2006, at 00:27, Al Maw wrote:


Alexandru Popescu wrote:

I know that this might be early considering the lenght of the thread,
but what is the voting result? :-).


So far I count:
  40 votes for both at once (constructor and JDK5)
  17 votes for split releases (16 plus me, I'm voting now. :-) )

Al


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through  
log files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD  
SPLUNK!
http://sel.as-us.falkag.net/sel? 
cmd=lnk&kid=103432&bid=230486&dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Results so far (was Re: [Wicket-user] VOTE)

2006-02-20 Thread Al Maw

Alexandru Popescu wrote:

I know that this might be early considering the lenght of the thread,
but what is the voting result? :-).


So far I count:
  40 votes for both at once (constructor and JDK5)
  17 votes for split releases (16 plus me, I'm voting now. :-) )

Al


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-20 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Good news.  We've just decided you're not trolls.  bahrahrhum.

Alexandru Popescu wrote:
> I know that this might be early considering the lenght of the thread,
> but what is the voting result? :-).
> 
> BR,
> 
> ./alex
> --
> .w( the_mindstorm )p.
> 
> 
> On 2/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> This is a non-binding (the developers ultimately decide) call votes
>> concerning whether we should fold the upcomming constructor changes
>> with our move to Java 5 or not. See for a discussion of those changes
>> other threads, please use this thread for voting only.
>>
>> 1. Give me the constructor change and the Java 5 functionality in one
>> pass (Wicket 2.0)
>> 2. Do the constructor change in a seperate release (Wicket 1.3) and
>> put Java 5 in the next (Wicket 2.0)
>> 3. I don't want either one and I want to stay on Wicket 1.2.
>>
>> This last option has no real effect except that you explicitly say
>> that you prefer a long lasting support on 1.2 over new features.
>>
>> Also, take into consideration that the less versions we have to
>> maintain seperately, the quicker we probably can implement them.
>>
>> Your votes please?
>>
>> Btw, it is still our plan to be up-to-date with Wicket In Action.
>>
>> Eelco
>>
>>
>> ---
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>> for problems?  Stop!  Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user

- --
Justin Lee
http://www.antwerkz.com
AIM : evan chooly
720.299.0101
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFD+kaXJnQfEGuJ90MRA2isAKDGMK3tTb0aegTc+OakUyIJ/BRCOgCgrm9B
0QFkqzqFBPGXRpRcO8dHM7I=
=EmWT
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-20 Thread Alexandru Popescu
I know that this might be early considering the lenght of the thread,
but what is the voting result? :-).

BR,

./alex
--
.w( the_mindstorm )p.


On 2/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> This is a non-binding (the developers ultimately decide) call votes
> concerning whether we should fold the upcomming constructor changes
> with our move to Java 5 or not. See for a discussion of those changes
> other threads, please use this thread for voting only.
>
> 1. Give me the constructor change and the Java 5 functionality in one
> pass (Wicket 2.0)
> 2. Do the constructor change in a seperate release (Wicket 1.3) and
> put Java 5 in the next (Wicket 2.0)
> 3. I don't want either one and I want to stay on Wicket 1.2.
>
> This last option has no real effect except that you explicitly say
> that you prefer a long lasting support on 1.2 over new features.
>
> Also, take into consideration that the less versions we have to
> maintain seperately, the quicker we probably can implement them.
>
> Your votes please?
>
> Btw, it is still our plan to be up-to-date with Wicket In Action.
>
> Eelco
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] orienting myself

2006-02-20 Thread Andrew Berman
To expand a little on what Igor said, you basically want to create two Panels, one for the cancellation type and one for the adjustment type.  Then you can use a ListView.  In the ListView populateItem method, add whichever Panel you need based on whatever factors you use and make sure to use the same id for both types of panels, like this:
if (item.isCancellation())    listItem.add(new CancellationPanel("myPanelId"));else   listItem.add(new AdjustmentPanel("myPanelId"));In your HTML:<... wicket:id="yourList">
    Hope this helps,AndrewOn 2/20/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:dont think you need a special imodel or anything here.
just use a listview for the order lines and based on the order line type include a proper panel that represents that order line type.-Igor

On 2/20/06, Scott Swank <[EMAIL PROTECTED]> wrote:

Hello all,I'm entirely new to Wicket, and thus far impressed with what it seemsto offer.  I've put together a couple of sample pages and now I wantto create a sample for my co-workers that re-works one of our existing
pages via Wicket.  (Our home-grown template engine has become a painpoint).  This page comes in two varieties, so it seems like a fineopportunity for an abstract page with two concrete implementations.

It looks like this:customer infoorder infoorder lineorder lineorder lineThe order lines differ as follows:1) cancellation variety --checkbox  itemName  quantity  itemCost  cancellationFee  refundAmount
(where the refundAmount = quantity*itemCost-cancellationFee, and thecancellationFee is editable)2) adjustment variety --checkbox  itemName  quantity  itemCost  itemAdjustment  refundAmount

(refundAmount = quantity*itemAdjustment, where the itemAdjustment is editable)At this point I want to know whether best-practice is to:1. Create a IModel for the refundLine and a component for the refundLine
2. Create a IModel for each piece of the refund line and use standardhtml components3. Hybrid: one IModel for the refundLine that is share among variousstandard components -- is this even possible?

Additionally, the examples make it pretty clear how components fitinto a package structure -- but how do folk tend to structure thepackages for their IModel implementations?Feel free to simply point me toward a corner of the Wiki or a
JavaLobby article that I haven't come across yet.  I don't want towaste anyone's time.Many thanks,Scott---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makessearching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!

http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





Re: [Wicket-user] orienting myself

2006-02-20 Thread Igor Vaynberg
dont think you need a special imodel or anything here.just use a listview for the order lines and based on the order line type include a proper panel that represents that order line type.-Igor
On 2/20/06, Scott Swank <[EMAIL PROTECTED]> wrote:
Hello all,I'm entirely new to Wicket, and thus far impressed with what it seemsto offer.  I've put together a couple of sample pages and now I wantto create a sample for my co-workers that re-works one of our existing
pages via Wicket.  (Our home-grown template engine has become a painpoint).  This page comes in two varieties, so it seems like a fineopportunity for an abstract page with two concrete implementations.
It looks like this:customer infoorder infoorder lineorder lineorder lineThe order lines differ as follows:1) cancellation variety --checkbox  itemName  quantity  itemCost  cancellationFee  refundAmount
(where the refundAmount = quantity*itemCost-cancellationFee, and thecancellationFee is editable)2) adjustment variety --checkbox  itemName  quantity  itemCost  itemAdjustment  refundAmount
(refundAmount = quantity*itemAdjustment, where the itemAdjustment is editable)At this point I want to know whether best-practice is to:1. Create a IModel for the refundLine and a component for the refundLine
2. Create a IModel for each piece of the refund line and use standardhtml components3. Hybrid: one IModel for the refundLine that is share among variousstandard components -- is this even possible?
Additionally, the examples make it pretty clear how components fitinto a package structure -- but how do folk tend to structure thepackages for their IModel implementations?Feel free to simply point me toward a corner of the Wiki or a
JavaLobby article that I haven't come across yet.  I don't want towaste anyone's time.Many thanks,Scott---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makessearching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-20 Thread Timothy Bennett

Eelco Hillenius wrote:


1. Give me the constructor change and the Java 5 functionality in one
pass (Wicket 2.0)
2. Do the constructor change in a seperate release (Wicket 1.3) and
put Java 5 in the next (Wicket 2.0)
3. I don't want either one and I want to stay on Wicket 1.2.

 


I vote for #2


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DropDownChoice

2006-02-20 Thread Jonathan Cone
Oops, problem solved I think I need to implement IChoiceRenderer. +1 for 
RTFM. :)


- Original Message - 
From: "Jonathan Cone" <[EMAIL PROTECTED]>

To: 
Sent: Monday, February 20, 2006 2:55 PM
Subject: [Wicket-user] DropDownChoice



Greetings,

I have a form with 20 or so drop downs and I'm having a hard time with the 
model (conceptually).  I just want to bind the contents of the value 
attribute for each  tag to my model, not the displayed value of 
the option tag.  For example, say I want a drop down choice to be backed 
by an Integer (instance variable) in the model.  How do I do this?


Right now, my choice list is a List of the same datatype as the instance 
variable in the model.  For example, if my choice list was 
List, my model object contains a ChoiceNameValue. 
However, all I really want to persist in the model is the value.  Any 
ideas or am I missing something?


Thanks,
Jon

---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 2/17/2006





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] orienting myself

2006-02-20 Thread Scott Swank
Hello all,

I'm entirely new to Wicket, and thus far impressed with what it seems
to offer.  I've put together a couple of sample pages and now I want
to create a sample for my co-workers that re-works one of our existing
pages via Wicket.  (Our home-grown template engine has become a pain
point).  This page comes in two varieties, so it seems like a fine
opportunity for an abstract page with two concrete implementations.

It looks like this:

customer info

order info

order line
order line
order line

The order lines differ as follows:

1) cancellation variety --

checkbox  itemName  quantity  itemCost  cancellationFee  refundAmount

(where the refundAmount = quantity*itemCost-cancellationFee, and the
cancellationFee is editable)

2) adjustment variety --

checkbox  itemName  quantity  itemCost  itemAdjustment  refundAmount

(refundAmount = quantity*itemAdjustment, where the itemAdjustment is editable)


At this point I want to know whether best-practice is to:

1. Create a IModel for the refundLine and a component for the refundLine
2. Create a IModel for each piece of the refund line and use standard
html components
3. Hybrid: one IModel for the refundLine that is share among various
standard components -- is this even possible?

Additionally, the examples make it pretty clear how components fit
into a package structure -- but how do folk tend to structure the
packages for their IModel implementations?

Feel free to simply point me toward a corner of the Wiki or a
JavaLobby article that I haven't come across yet.  I don't want to
waste anyone's time.

Many thanks,
Scott


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] DropDownChoice

2006-02-20 Thread Jonathan Cone

Greetings,

I have a form with 20 or so drop downs and I'm having a hard time with the 
model (conceptually).  I just want to bind the contents of the value 
attribute for each  tag to my model, not the displayed value of the 
option tag.  For example, say I want a drop down choice to be backed by an 
Integer (instance variable) in the model.  How do I do this?


Right now, my choice list is a List of the same datatype as the instance 
variable in the model.  For example, if my choice list was 
List, my model object contains a ChoiceNameValue.  However, 
all I really want to persist in the model is the value.  Any ideas or am I 
missing something?


Thanks,
Jon 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-20 Thread Fredrik Dahlström
I vote for #1. I want the latest and greatest -- thats why I'm into wicket!

/Fredrik


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-20 Thread Martijn Dashorst
Yup,

With a little more context:









But don't feel bad, I've looked at markup for hours and haven't
spotted a problem that clearly existed. Strange how the human mind
sometimes works.

At least you're not alone, when I'm in front of the fridge, I usually
can't find the butter, even though it is right in front of me. I think
it is a guy thing.

Martijn

On 2/20/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> This is copied from your code and clearly wrong.
>
> 
> 
> 
>
> Juergen
>
>
>  On 2/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> >
> > This is it raw as it happpened...although it works now, but i had to
> change my HTML format entirely to have it to work but i really dont know why
> Wicket is just mad at this HTML code.
> >
> >
> >
> > Unexpected RuntimeException
> >
> >
> > wicket.markup.MarkupException: Tag '' (line 40, column 21) has a
> mismatched close tag at '' (line 184, column 17)
> > [markup =
> file:/C:/Documents%20and%20Settings/Administrator/chp/build/web/WEB-INF/classes/net/community/health/pages/RecordInputPage.html,
> index = 62, current = [Raw markup]]
> >
> >
> > at
> wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:365)
> > at
> wicket.markup.MarkupParser.readAndParse(MarkupParser.java:236)
> > at
> wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:219)
> >
> > at
> >
> wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:300)
> > at
> wicket.markup.MarkupCache.getMarkup(MarkupCache.java:183)
> > at
> wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java
> > :100)
> >
> > at
> wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:83)
> > at
> wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:710)
> > at wicket.Page.onRender(Page.java:778)
> > at wicket.Component.render
> >
> > (Component.java:1163)
> > at wicket.Page.doRender(Page.java:251)
> > at
> wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:276)
> > at wicket.RequestCycle.respond(RequestCycle.java:934)
> > at
> >
> > wicket.RequestCycle.request(RequestCycle.java:411)
> > at
> wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
> > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> > at javax.servlet.http.HttpServlet.service
> >
> > (HttpServlet.java:802)
> > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> > at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
> >
> > :173)
> > at
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
> > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> > at org.apache.catalina.core.StandardContextValve.invoke
> >
> > (StandardContextValve.java:178)
> > at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> > at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke
> > (StandardEngineValve.java:107)
> > at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > at org.apache.coyote.http11.Http11Processor.process
> > (Http11Processor.java:856)
> > at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > (Http11Protocol.java:744)
> > at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java
> > :527)
> > at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >
> > at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > at java.lang.Thread.run
> > (Thread.java:626)
> >
> >
> > Markup
> >
> > The problem is in
> "file:/C:/Documents%20and%20Settings/Administrator/chp/build/web/WEB-INF/classes/net/community/health/pages/RecordInputPage.html
> ":
> >
> >
> > http://wicket.sourceforge.net/";>
> >
> > 
> >
> > Community Health Practitioner
> >
> >  content="text/html; charset=utf-8" />
> > 
> >
> > td img {display: block;}body {
> > margin-left: 0px;
> >
> > margin-top: 0px;
> > }
> > 
> > 
> >
> > 
> > 
> > 
> >  align="center" cellpadding="0"
> cellspacing="0">
> >
> >
> > 
> > 
> >  />
> >  height="1" border="0" alt="" />
> >
> >
> >  border="0" alt="" />
> > 
> >
> > 
> > 
> >  src="vi

RE: [Wicket-user] DatePicker won't pop up

2006-02-20 Thread Frank Silbermann








I’ve just noticed that it works for
me in Mozilla.

 

But why, then, does the FormInput example’s
DatePicker work for me in IE?  Is there some configuration or property
file setting needed to make it work in IE? 
Some Cascading stylesheet setting required?

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Heudecker
Sent: Monday, February 20, 2006
11:59 AM
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
DatePicker won't pop up

 

I'm having this problem on IE, but it works fine on
FF.  I've opened a bug on this issue.








[Wicket-user] DatePicker Errors

2006-02-20 Thread Ayodeji Aladejebi
I am using Wicket Version 1.1.1 and also Wicket extension version 1.1.1...i was doing this in my code
 
WebMarkupContainer dateLabel = new WebMarkupContainer("dateLabel");    add(dateLabel);    add(dateOfBirth = new RequiredTextField("dateOfBirth", Date.class));    dobPicker = new DatePicker("dobPicker",dateOfBirth,dateLabel);
    add(dobPicker);
I am developing with Netbeans 5.0 and when i launch application contaiing the form i get:
 
java.lang.NoSuchMethodError: wicket.extensions.markup.html.datepicker.DatePicker.addToHeader(Lwicket/Component;)Vwicket.extensions.markup.html.datepicker.DatePicker.(DatePicker.java:228)wicket.extensions.markup.html.datepicker.DatePicker
.(DatePicker.java:179)net.community.health.pages.RecordInputPage$InputForm.(RecordInputPage.java:85)net.community.health.pages.RecordInputPage.(RecordInputPage.java:38)net.community.health.pages.StartPage
.(StartPage.java:35) 
 


Re: [Wicket-user] DatePicker won't pop up

2006-02-20 Thread Nick Heudecker
I'm having this problem on IE, but it works fine on FF.  I've opened a bug on this issue.


Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-20 Thread Martijn Dashorst
Can you email the markup file RecordInputPage.html?

It is hard to tell what is wrong with your markup. Apparantly you
haven't closed one of your  rows. To be specific: the 
starting at line 40, column 21 is not closed, or a sub-tag inside
isn't closed.

Martijn


On 2/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> I have tried as much as possible to debug this problem. it keeps coming and
> all IDs were normally created...What could be wrong
>
> wicket.markup.MarkupException: Tag '' (line 40, column 21) has a
> mismatched close tag at '' (line 184, column 17)
> [markup =
> file:/C:/Documents%20and%20Settings/Administrator/chp/build/web/WEB-INF/classes/net/community/health/pages/RecordInputPage.html,
> index = 62, current = [Raw markup]]
> at
> wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:365)
> at
> wicket.markup.MarkupParser.readAndParse(MarkupParser.java:236)
> at
> wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:219)
> at
> wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:300)
> at
> wicket.markup.MarkupCache.getMarkup(MarkupCache.java:183)
> at
> wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:100)
>  at
> wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:83)
> at
> wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:710)
> at wicket.Page.onRender(Page.java:778)
> at wicket.Component.render (Component.java:1163)
> at wicket.Page.doRender(Page.java:251)
> at
> wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:276)
> at wicket.RequestCycle.respond(RequestCycle.java:934)
> at wicket.RequestCycle.request(RequestCycle.java:411)
> at
> wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> --
>


--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-20 Thread Juergen Donnerstag
 is missing or any of its inner tags are not closed (may be
quotes " or ' are somewhere missing)

Juergen

On 2/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> I have tried as much as possible to debug this problem. it keeps coming and
> all IDs were normally created...What could be wrong
>
> wicket.markup.MarkupException: Tag '' (line 40, column 21) has a
> mismatched close tag at '' (line 184, column 17)
> [markup =
> file:/C:/Documents%20and%20Settings/Administrator/chp/build/web/WEB-INF/classes/net/community/health/pages/RecordInputPage.html,
> index = 62, current = [Raw markup]]
> at
> wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:365)
> at
> wicket.markup.MarkupParser.readAndParse(MarkupParser.java:236)
> at
> wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:219)
> at
> wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:300)
> at
> wicket.markup.MarkupCache.getMarkup(MarkupCache.java:183)
> at
> wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:100)
>  at
> wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:83)
> at
> wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:710)
> at wicket.Page.onRender(Page.java:778)
> at wicket.Component.render (Component.java:1163)
> at wicket.Page.doRender(Page.java:251)
> at
> wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:276)
> at wicket.RequestCycle.respond(RequestCycle.java:934)
> at wicket.RequestCycle.request(RequestCycle.java:411)
> at
> wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> --
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help understanding AJAX and wicket 1.1

2006-02-20 Thread Juergen Donnerstag
May be you take a look at the more simple ajax example first. There
are about 8 in wicket-examples. Unfortunately by now you have to grasp
the ideas from the code. As far as I know there is no user guide yet.
May be you'll something in the wiki, but I'm not sure.

Juergen


On 2/20/06, Charlie Hubbard <[EMAIL PROTECTED]> wrote:
> Ok so I've gone over the tutorials for AJAX and wicket
> (http://wicket-stuff.sourceforge.net/wicket-contrib-dojo/Tutorials.html),
> but I still don't get it.  The problem with the tutorials is there is
> no ajax!  I don't see any code for using XMLHttpRequest or Dojo.  More
> importantly there isn't any javascript!  The tutorials are really
> showing us how to use the components that are already written.  It
> doesn't give any information how those components were created or how
> to create my own.
>
> I'm sure that's by design since wicket hides all of that stuff for us
> so we just program java components.  So yes wicket is cool and I get
> that, but it doesn't help me much when I want to do something other
> than  one of the components in the tutorial.  I really like the end
> result which is no need to work with javascript directly, but that' s
> only if you're doing something that's already been done before and you
> can reuse a componenet.
>
> So I want to write my own AJAX component, but I don't understand
> anything about wicket's URL scheme or how I would attach behavior on
> the backend to javascript on the front end.  If I want to write some
> java script on the front end how will it work with the backend?  Can
> someone explain how some of those components those tutorials are
> working?  Say I want to write my own version of Tooltip or
> FXValidationAjaxHandler.
>
> Thanks in advance
> Charlie
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] DatePicker won't pop up

2006-02-20 Thread Frank Silbermann

What could prevent the Extensions project's DatePicker from popping up
when I click the DatePicker icon?

It works fine in the FormInput example, so it's not my browser settings.

For the sake of help, I've reduced my code to a bare minimum, taken
directly from the JavaDoc.  Here's my HTML:

http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.sourceforge.net/"; xml:lang="en" lang="en">


 
 



And here's my Page class:

package mem.work;
import wicket.markup.html.*;
import wicket.markup.html.form.*;
import java.util.Date;
import wicket.extensions.markup.html.datepicker.DatePicker;

public class DatePickerTest extends WebPage {
  public DatePickerTest() {
TextField dateField = new TextField("dateField", Date.class);
add(dateField);
add(new DatePicker("dateFieldPicker", dateField));
  }
}

What am I missing to make it pop up?  (By the way, I'm using the Feb 12,
2006 Wicket 1.2 snapshot).


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Martijn & Igor Help

2006-02-20 Thread Eelco Hillenius
Re: deadline. Wicket 1.2 is still officially alpha software. I think
it is a big improvement over 1.1, and it is stable enough to use, but
be careful when working with tight deadlines. Especially with new
functionality like Fragments and Ajax support. I'm not saying that
stuff is not good enough, but it received way less testing hours than
other parts of Wicket just because it is new.

Eelco


On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> Johan;
>
> Thanks for reply, still, what do I need to do? this is new to this build? to
> be honest with you I don't know what is going on, are you saying my
> configuration is wrong because I use the "/"? should I attach my
> configuration files?
>
> I'm little bit relieved because I managed to push my deadline for a week,
> and also solved a problem that was going to drive me nuts (Textfield in
> listview in form) which turned out that my business logic was resetting
> values to zero,long story :), I only need some guidance to how to make
> this build work (specially that I can't wait to test Fragment and new Ajax
> stuff).
>
> Regards, Ali
>
>
> On 2/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > I see youre problem. When we try to resolve/find a mount target we now
> throw that error.
> > That is a bit wrong because you haven't mounted anything you just ask to
> find a mount on "/"
> > Why that happens i don't know that has something to do with youre config
> files.
> >
> > Because when you don't mount youre app on root what do you do then?
> >
> > Because all the example things we have don't come with a pathinfo (that is
> that / ) on / but null for the root.
> >
> > johan
> >
> >
> >
> >
> >
> >
> >
> > On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> > > Hi Guys;
> > >
> > > I'm really having bad 24 hours, I would appreciate your help guys, if
> you have private emails where I can attach my whole project for you to test,
> and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
> > >
> > > 1- The TextFields in a listview in Form that we discussed yesterday,
> although I'm working on alternative solution, I still would love to find
> what is wrong.
> > > 2- I want to use the last snapshot of 1.2 but I get this exception:
> > >
> > > ERROR - RequestCycle   - The mount path '/' is reserved for
> the application home page
> > > java.lang.IllegalArgumentException: The mount path '/'
> is reserved for the application home page
> > > at
> wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath
> (WebRequestCodingStrategy.java:214)
> > > at
> wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280)
> > > at
> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve
> (DefaultRequestTargetResolverStrategy.java:73)
> > > at
> wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)
> > > at wicket.RequestCycle.step(RequestCycle.java :914)
> > > at wicket.RequestCycle.steps(RequestCycle.java:1005)
> > > at wicket.RequestCycle.request(RequestCycle.java:451)
> > > at
> wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
> > > at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:740)
> > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> > > at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
> (WebApplicationHandler.java:294)
> > > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> > > at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> > > at
> org.mortbay.jetty.servlet.WebApplicationContext.handle
> (WebApplicationContext.java:525)
> > > at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> > > at
> org.mortbay.http.HttpServer.service(HttpServer.java:879)
> > > at
> org.mortbay.http.HttpConnection.service(HttpConnection.java
> :790)
> > > at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
> > > at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
> > > at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java
> :218)
> > > at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
> > > at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
> > >
> > > --
> > > Regards, Ali
> >
> >
>
>
>
> --
> Regards, Ali
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourcefo

[Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-20 Thread Ayodeji Aladejebi
I have tried as much as possible to debug this problem. it keeps coming and all IDs were normally created...What could be wrong
wicket.markup.MarkupException: Tag '' (line 40, column 21) has a mismatched close tag at '' (line 184, column 17)[markup = file:/C:/Documents%20and%20Settings/Administrator/chp/build/web/WEB-INF/classes/net/community/health/pages/RecordInputPage.html, index = 62, current = [Raw markup]]
    at wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:365)    at wicket.markup.MarkupParser.readAndParse(MarkupParser.java:236)    at wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:219)    at 
wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:300)    at wicket.markup.MarkupCache.getMarkup(MarkupCache.java:183)    at wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:100)
    at wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:83)    at wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:710)    at wicket.Page.onRender(Page.java:778)    at wicket.Component.render
(Component.java:1163)    at wicket.Page.doRender(Page.java:251)    at wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:276)    at wicket.RequestCycle.respond(RequestCycle.java:934)    at 
wicket.RequestCycle.request(RequestCycle.java:411)    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)--  


[Wicket-user] Help understanding AJAX and wicket 1.1

2006-02-20 Thread Charlie Hubbard
Ok so I've gone over the tutorials for AJAX and wicket
(http://wicket-stuff.sourceforge.net/wicket-contrib-dojo/Tutorials.html),
but I still don't get it.  The problem with the tutorials is there is
no ajax!  I don't see any code for using XMLHttpRequest or Dojo.  More
importantly there isn't any javascript!  The tutorials are really
showing us how to use the components that are already written.  It
doesn't give any information how those components were created or how
to create my own.

I'm sure that's by design since wicket hides all of that stuff for us
so we just program java components.  So yes wicket is cool and I get
that, but it doesn't help me much when I want to do something other
than  one of the components in the tutorial.  I really like the end
result which is no need to work with javascript directly, but that' s
only if you're doing something that's already been done before and you
can reuse a componenet.

So I want to write my own AJAX component, but I don't understand
anything about wicket's URL scheme or how I would attach behavior on
the backend to javascript on the front end.  If I want to write some
java script on the front end how will it work with the backend?  Can
someone explain how some of those components those tutorials are
working?  Say I want to write my own version of Tooltip or
FXValidationAjaxHandler.

Thanks in advance
Charlie


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Eelco Hillenius
:) That's kind of the whole point of Wicket. Make working with custom
components easy.

Eelco

On 2/20/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> On 2/20/06, Timo Stamm <[EMAIL PROTECTED]> wrote:
> > Mats Norén schrieb:
> > > Hmm...ok, so basically I have to litter my Java code with
> > > setRenderBodyOnly(true) instead.
> >
> > Create a subclass and use that.
>
> Good idea, a SimpleText extends Label  with a setRenderBodyOnly(true)
> would do the trick. Thanks!
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: DatePicker Errors

2006-02-20 Thread Ayodeji Aladejebi
hmm...one more thing, i am using DataBinder.net Version 0.2 to work with Hibernate and A Form class has to extend DataForm according to the API. So maybe DataForm in Databinder was compiled against an older Wicket? 

 
 
On 2/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:

I am using Wicket Version 1.1.1 and also Wicket extension version 1.1.1...i was doing this in my code
 
WebMarkupContainer dateLabel = new WebMarkupContainer("dateLabel");    add(dateLabel);    add(dateOfBirth = new RequiredTextField("dateOfBirth", Date.class));    dobPicker = new DatePicker("dobPicker",dateOfBirth,dateLabel); 
    add(dobPicker);
I am developing with Netbeans 5.0 and when i launch application contaiing the form i get:
 
java.lang.NoSuchMethodError: wicket.extensions.markup.html.datepicker.DatePicker.addToHeader(Lwicket/Component;)Vwicket.extensions.markup.html.datepicker.DatePicker.(DatePicker.java:228)wicket.extensions.markup.html.datepicker.DatePicker
 .(DatePicker.java:179)net.community.health.pages.RecordInputPage$InputForm.(RecordInputPage.java:85)net.community.health.pages.RecordInputPage.(RecordInputPage.java:38)net.community.health.pages.StartPage
 .(StartPage.java:35) 
 -- "The more life's risk you take, the more life's reward you get" - MeAladejebi Ayodeji A., Project LeadsPentaSoft Technologies Nigeria Limited
Floor 1, AP Plaza, Ademola Adetokunbo Crescent, Wuse IIAbuja, Nigeria |Tel: 234-09-5233478 | Fax: 234-09-5233470Interested in Java Development?Visit my blog: Ayodeji Aladejebi's JBlog | 
http://blog.dabarobjects.com/Community: Visit Cowblock.net, Nigeria


Re: [Wicket-user] VOTE

2006-02-20 Thread Alexandre Bairos
#QuoteI vote for 2.  2. Do the constructor change in a seperate release (Wicket 1.3) andput Java 5 in the next (Wicket 2.0)On 2/16/06, 
Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Hi all,This is a non-binding (the developers ultimately decide) call votesconcerning whether we should fold the upcomming constructor changeswith our move to Java 5 or not. See for a discussion of those changes
other threads, please use this thread for voting only.1. Give me the constructor change and the Java 5 functionality in onepass (Wicket 2.0)2. Do the constructor change in a seperate release (Wicket 1.3
) andput Java 5 in the next (Wicket 2.0)3. I don't want either one and I want to stay on Wicket 1.2.This last option has no real effect except that you explicitly saythat you prefer a long lasting support on 
1.2 over new features.Also, take into consideration that the less versions we have tomaintain seperately, the quicker we probably can implement them.Your votes please?Btw, it is still our plan to be up-to-date with Wicket In Action.
Eelco---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Martijn & Igor Help

2006-02-20 Thread Johan Compagner
can you test where you have defined / as the context that you just specify "" (so nothing)I did fix it so you have to checkout cvs or wait for a new snashot.johan
On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
Johan;Thanks for reply, still, what do I need to do? this is new to this build? to be honest with you I don't know what is going on, are you saying my configuration is wrong because I use the "/"? should I attach my configuration files?
I'm little bit relieved because I managed to push my deadline for a week, and also solved a problem that was going to drive me nuts (Textfield in listview in form) which turned out that my business logic was resetting values to zero,long story :), I only need some guidance to how to make this build work (specially that I can't wait to test Fragment and new Ajax stuff).
Regards, AliOn 2/20/06, Johan Compagner <
[EMAIL PROTECTED]> wrote:
I see youre problem. When we try to resolve/find a mount target we now throw that error.That is a bit wrong because you haven't mounted anything you just ask to find a mount on "/"Why that happens i don't know that has something to do with youre config files.
Because when you don't mount youre app on root what do you do then?Because all the example things we have don't come with a pathinfo (that is that / ) on / but null for the root.johan


On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:



Hi Guys;I'm really having bad 24 hours, I would appreciate your help guys, if you have private emails where I can attach my whole project for you to test, and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
1- The TextFields in a listview in Form that we discussed yesterday, although I'm working on alternative solution, I still would love to find what is wrong.2- I want to use the last snapshot of 1.2 but I get this exception:
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page    at wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath




(WebRequestCodingStrategy.java:214)    at wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280)    at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve




(DefaultRequestTargetResolverStrategy.java:73)    at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)    at wicket.RequestCycle.step(RequestCycle.java




:914)    at wicket.RequestCycle.steps(RequestCycle.java:1005)    at wicket.RequestCycle.request(RequestCycle.java:451)    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)    at javax.servlet.http.HttpServlet.service




(HttpServlet.java:740)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch




(WebApplicationHandler.java:294)    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)    at org.mortbay.jetty.servlet.WebApplicationContext.handle




(WebApplicationContext.java:525)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)    at org.mortbay.http.HttpServer.service(HttpServer.java:879)    at org.mortbay.http.HttpConnection.service(HttpConnection.java




:790)    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java




:218)    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)-- Regards, Ali




-- Regards, Ali




Re: [Wicket-user] Martijn & Igor Help

2006-02-20 Thread Ali Zaid
Johan;Thanks for reply, still, what do I need to do? this is new to this build? to be honest with you I don't know what is going on, are you saying my configuration is wrong because I use the "/"? should I attach my configuration files?
I'm little bit relieved because I managed to push my deadline for a week, and also solved a problem that was going to drive me nuts (Textfield in listview in form) which turned out that my business logic was resetting values to zero,long story :), I only need some guidance to how to make this build work (specially that I can't wait to test Fragment and new Ajax stuff).
Regards, AliOn 2/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
I see youre problem. When we try to resolve/find a mount target we now throw that error.That is a bit wrong because you haven't mounted anything you just ask to find a mount on "/"Why that happens i don't know that has something to do with youre config files.
Because when you don't mount youre app on root what do you do then?Because all the example things we have don't come with a pathinfo (that is that / ) on / but null for the root.johan


On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:


Hi Guys;I'm really having bad 24 hours, I would appreciate your help guys, if you have private emails where I can attach my whole project for you to test, and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
1- The TextFields in a listview in Form that we discussed yesterday, although I'm working on alternative solution, I still would love to find what is wrong.2- I want to use the last snapshot of 1.2 but I get this exception:
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page    at wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath



(WebRequestCodingStrategy.java:214)    at wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280)    at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve



(DefaultRequestTargetResolverStrategy.java:73)    at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)    at wicket.RequestCycle.step(RequestCycle.java



:914)    at wicket.RequestCycle.steps(RequestCycle.java:1005)    at wicket.RequestCycle.request(RequestCycle.java:451)    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)    at javax.servlet.http.HttpServlet.service



(HttpServlet.java:740)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch



(WebApplicationHandler.java:294)    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)    at org.mortbay.jetty.servlet.WebApplicationContext.handle



(WebApplicationContext.java:525)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)    at org.mortbay.http.HttpServer.service(HttpServer.java:879)    at org.mortbay.http.HttpConnection.service(HttpConnection.java



:790)    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java



:218)    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)-- Regards, Ali




-- Regards, Ali

http://java.sun.com/dtd/web-app_2_3.dtd";>



	myWicket
	
	
	
		Yakhdor_Dealler
		wicket.protocol.http.WicketServlet
		
		  applicationClassName
			com.yakhdor.application.Start
		
		1
	

	
		Yakhdor_Dealler
		/*
	


 
http://jetty.mortbay.org/configure_1_2.dtd";>



  

  

50
100
3
5000
8443
8443
  

  

  
/
/workspace/Yakhdor_Dealler
  

  2000
  false





Re: [Wicket-user] Martijn & Igor Help

2006-02-20 Thread Johan Compagner
I see youre problem. When we try to resolve/find a mount target we now throw that error.That is a bit wrong because you haven't mounted anything you just ask to find a mount on "/"Why that happens i don't know that has something to do with youre config files.
Because when you don't mount youre app on root what do you do then?Because all the example things we have don't come with a pathinfo (that is that / ) on / but null for the root.johan

On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:

Hi Guys;I'm really having bad 24 hours, I would appreciate your help guys, if you have private emails where I can attach my whole project for you to test, and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
1- The TextFields in a listview in Form that we discussed yesterday, although I'm working on alternative solution, I still would love to find what is wrong.2- I want to use the last snapshot of 1.2 but I get this exception:
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page    at wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath


(WebRequestCodingStrategy.java:214)    at wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280)    at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve


(DefaultRequestTargetResolverStrategy.java:73)    at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)    at wicket.RequestCycle.step(RequestCycle.java


:914)    at wicket.RequestCycle.steps(RequestCycle.java:1005)    at wicket.RequestCycle.request(RequestCycle.java:451)    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)    at javax.servlet.http.HttpServlet.service


(HttpServlet.java:740)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch


(WebApplicationHandler.java:294)    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)    at org.mortbay.jetty.servlet.WebApplicationContext.handle


(WebApplicationContext.java:525)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)    at org.mortbay.http.HttpServer.service(HttpServer.java:879)    at org.mortbay.http.HttpConnection.service(HttpConnection.java


:790)    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java


:218)    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)-- Regards, Ali





[Wicket-user] Problem about DatePicker

2006-02-20 Thread wang lei
I used to define a path of a wicket application just like "/user.page" instead of "/user/*"  But the "datePicker" of wicket extension can't work when i define the path "/user.page"
		 
雅虎1G免费邮箱百分百防垃圾信

Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
On 2/20/06, Timo Stamm <[EMAIL PROTECTED]> wrote:
> Mats Norén schrieb:
> > Hmm...ok, so basically I have to litter my Java code with
> > setRenderBodyOnly(true) instead.
>
> Create a subclass and use that.

Good idea, a SimpleText extends Label  with a setRenderBodyOnly(true)
would do the trick. Thanks!


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Timo Stamm

Mats Norén schrieb:

Hmm...ok, so basically I have to litter my Java code with
setRenderBodyOnly(true) instead.


Create a subclass and use that.



Well, I guess I can live with that.
But it seems a bit weird that the default behaviour for a label is to
leave the span tag. 


A label can be applied to any tag. It would be very confusing to me if 
the label component removed it´s associated tag.


I think the problem is that one always needs a tag for each component. 
This means that you have to add spans in the markup just to be able to 
insert text.


It's not very pretty.


Timo


Anyway, thanks for the tip.


On 2/20/06, Alastair Maw <[EMAIL PROTECTED]> wrote:

Mats Norén wrote:

Stupid question,
but is it possible to remove the actual span-tags from the output?

getMarkupSettings().setStripWicketTags(true);

removes the wicket:ids and the other wicket tags, but is it possible
to remove the span tags for a label?

My output looks almost like the font hell from early Frontpage days,
it's completely littered with span tags :)

/Mats

You can call setRenderBodyOnly(true) on the Component for your span tag.

Or I suppose one could write a rendering filter that removed all span
tags that didn't have any attributes set on them, but that would be a
bit horrid.

Al


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Debugging wicket apps Tomcat5 + Intellij

2006-02-20 Thread Mats Norén
Has anyone else had any trouble with debugging their wicket apps with
Intellij5.1 and Tomcat5?

I keep getting messages "Invalid breakpoint. Source code changed".

/Mats


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-20 Thread Ali Zaid
Guys;I O You a big thanks and appology, I'm reaaallly feel bad about this thread, but I was really stupid regarding this problem, I found out that regardless of what I value I enter the set method of the variable updated set the value to zero (logic behind this is that ordered quantity is <= offered quantity, and guess what offered quantty was zero).
I'm really thankful for your support, and sorry if I caused any other distract :(Regards, AliOn 2/20/06, Ali Zaid <
[EMAIL PROTECTED]> wrote:Martijn & Igor; Thanks for your help, unfortunatily I have to deliver something today, and I had to do it in a different way (edit each item alone, client don't like it :)) I will wrap the project and send it to you, although I don't want you to waist you time because someone like me don't fully understand how to work with models, it has to be a model problem (I dreamt about it in my sleep) :), Thanks allot again.
Regards, AliOn 2/19/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:
ali this doesnt compile when i drop it into the kickstart project.could you dumb down your code so it can run in kickstart and attach that. i dont have time to do it myself. a rar with kickstart in it would be the best so i can just unrar and run it.
i think in this situation we need to have see it run to help you better because as martijn mentioned it ran fine in his mock up. remove the daos and simply hardcode the list in or something like that.
-Igor
On 2/19/06, Ali Zaid <

[EMAIL PROTECTED]> wrote:
HI;I'm posting the sourse code of what I have, the project is really big, anyway, I really can't understand what I'm doing wrong :(Guys I really appreciate your help, even if I don't reach a olution, I may consider an alternative way, but I really want to understand what I'm doing wrong.
@Martijn, I will try this, I'm sure that the form get posted because it show the message in the onSubmit "FORM SUBMITTED!!!", but for some reason values don't get updated in the model.Regards, Ali
On 2/19/06, Martijn Dashorst <


[EMAIL PROTECTED]> wrote:
Ali,I tried to create a mockup, and it works for me. Can you debug theapplication and see whether the request parameters are available inthe RequestCycle?MartijnOn 2/19/06, Ali Zaid <
[EMAIL PROTECTED]> wrote:> NO nested forms for sure, I'm attaching the form generated, I tried both way
> to inatiated the list using onBeginRequest and in constructor, but it
> shouldn't be a problem should it? my problem is that values don't submit at> all! I do get FORM SUBMITTED!!! and I do get values which are all zeros.>>> > action=""
> method="post"> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity">> > name="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0"
> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0"/>> >   PRI AEA3734
>   Gist Group>   0>   > name="lst_PriceRequestItems:0:requestedQuantity"/>> > >   PRI 3A82F4F
>   Raid Al-Nia'ami>   0>   > name="lst_PriceRequestItems:1:requestedQuantity"/>> > >   PRI C491231
>   Aous>   0>   > name="lst_PriceRequestItems:2:requestedQuantity"/>> > >   PRI 5EBCA9E
>   Time Technology>   0>   > name="lst_PriceRequestItems:3:requestedQuantity"/>> > >   PRI AAF9121
>   Haider Zaid>   0>   > name="lst_PriceRequestItems:4:requestedQuantity"/>> > >   PRI 13B6700
>   Ali Zaid>   0>   > name="lst_PriceRequestItems:5:requestedQuantity"/>> > >   PRI A5CD697
>   Mohammed Jassim>   0>   > name="lst_PriceRequestItems:6:requestedQuantity"/>> > >   PRI 7829AC0
>   Smart Systems>   0>   > name="lst_PriceRequestItems:7:requestedQuantity"/>> > 
>   > On 2/19/06, Matej Knopp <[EMAIL PROTECTED]
> wrote:> > Do you mean that the values you enter to the form aren't preserved?
> > Well, you reload the list of items on every request> > (onBeginRequest()). So they can't be preserved. Instead, try to lead> > the list only once (in page constructor). That might help.



> >> > -Matej> >> > On 2/19/06, Ali Zaid <[EMAIL PROTECTED]> wrote:


> > > Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not
> working,> > > the values don't update, It's extreemly Urgent, and I would really> > > appreciate your help here.> > >> > >> > > package 

Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
On 2/20/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> It is not weird in my opinion to have it leave the span tag. By leaving it
> in there, you maintain previewability between your rendered output and the
> actual template.

Agreed, it's a valid point. My beef with the span tags are more the
fact that the are all over the place and the have no semantic meaning
in the document.
For instance the navmenu - component:




   

 

  Planeringsområde
  
 


The span tags here have no meaning at all. In my opinion, it makes the
document structure harder to follow . It's a tradeoff between
flexibility and readability. I may have been a little bit to hasty in
my earlier comment :)

/Mats


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Alastair Maw

Mats Norén wrote:

Hmm...ok, so basically I have to litter my Java code with
setRenderBodyOnly(true) instead. Well, I guess I can live with that.
But it seems a bit weird that the default behaviour for a label is to
leave the span tag. Anyway, thanks for the tip.


Actually, a better way might be to write an IVisitor implementation that 
walks the component tree and calls setRenderBodyOnly(true) for 
particular component types (e.g. Label components).


The problem is that most often you want to keep the surrounding div, 
etc. and it's difficult to tell which behaviour you'll want on a global 
basis.


Maybe we should provide some way to remove  tags that don't have 
any attributes?


Al


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Martijn & Igor Help

2006-02-20 Thread Ali Zaid
Hi Guys;I'm really having bad 24 hours, I would appreciate your help guys, if you have private emails where I can attach my whole project for you to test, and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
1- The TextFields in a listview in Form that we discussed yesterday, although I'm working on alternative solution, I still would love to find what is wrong.2- I want to use the last snapshot of 1.2 but I get this exception:
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page    at wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath
(WebRequestCodingStrategy.java:214)    at wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280)    at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve
(DefaultRequestTargetResolverStrategy.java:73)    at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)    at wicket.RequestCycle.step(RequestCycle.java
:914)    at wicket.RequestCycle.steps(RequestCycle.java:1005)    at wicket.RequestCycle.request(RequestCycle.java:451)    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)    at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:294)    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)    at org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:525)    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)    at org.mortbay.http.HttpServer.service(HttpServer.java:879)    at org.mortbay.http.HttpConnection.service(HttpConnection.java
:790)    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:218)    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)-- Regards, Ali


Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Martijn Dashorst
It is not weird in my opinion to have it leave the span tag. By leaving it in there, you maintain previewability between your rendered output and the actual template. By removing the span tag, you alter the document model, and hence the way the browser will interpret your document. Also, by leaving the span in there, it opens up the possibility to update the span through ajax calls.
As a side note: you don't /have/ to attach your labels to span tags. The following is equivalent when rendered to the browser:add(new Label("foo", "Hello, World").setRenderBodyOnly(true));
andadd(new Label("foo", "Hello, World"));
MartijnOn 2/20/06, Mats Norén <[EMAIL PROTECTED]> wrote:
Hmm...ok, so basically I have to litter my Java code withsetRenderBodyOnly(true) instead. Well, I guess I can live with that.But it seems a bit weird that the default behaviour for a label is toleave the span tag. Anyway, thanks for the tip.
On 2/20/06, Alastair Maw <[EMAIL PROTECTED]> wrote:> Mats Norén wrote:> > Stupid question,> > but is it possible to remove the actual span-tags from the output?
> >> > getMarkupSettings().setStripWicketTags(true);> >> > removes the wicket:ids and the other wicket tags, but is it possible> > to remove the span tags for a label?
> >> > My output looks almost like the font hell from early Frontpage days,> > it's completely littered with span tags :)> >> > /Mats>> You can call setRenderBodyOnly(true) on the Component for your span tag.
>> Or I suppose one could write a rendering filter that removed all span> tags that didn't have any attributes set on them, but that would be a> bit horrid.>> Al>>
> ---> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wicket-user>---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorst
Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1


Re: [Wicket-user] Navigation

2006-02-20 Thread Mats Norén
Eelco,
I tried the navmenu with a checkout from CVS from friday, and now it
only renders one level or to be more specific the root element.

protected Object onGetObject(Component component)
{
// lazily attach
if (row == null)
{
row = new ArrayList();
Page currentPage = component.getPage();
MenuTreePath currentSelection = 
menuModel.getCurrentSelection(currentPage);
if (currentSelection.getPathCount() > level)
{
MenuItem node = 
(MenuItem)currentSelection.getPathComponent(level);
int len = node.getChildCount();
RequestCycle requestCycle = 
component.getRequestCycle();
for (int i = 0; i < len; i++)
{
MenuItem child = 
(MenuItem)node.getChildAt(i);
if (child.checkAccess())
{
row.add(child);
}
}
}
}
return row;
}

I noticed that the requestcycle is never used, is it safe to remove it?

Another thing, I'm having trouble debugging my wicket applications.
I'm using Intellij IDEA and every breakpoint I add gets a "Breakpoint
invalid, source code changed"-message. I guess it could be Intellij
but I've managed to debug other applications. Does the bytecode get
enhanced in some way in Wicket?

/Regards Mats

On 2/15/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i tried to make datatable as flexible as possible for css modifications. is
> there something particular you want to do that it doesnt allow?
>
> you can copy the markup, but be warned that this can be a maintenance
> problem because if i change the code/markup of the datatable it will break
> yours since ids wont match, etc.
>
> you can copy the code if you want, but then you wont benefit from bug fixes,
> etc.
>
> you have to choose whichever path you think is best for your case.
>
>
> -Igor
>
>
> On 2/15/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> > I liked the wicket-contrib-navmenu. :)
> > I just have to ask a stupid question, if I want to change the look on
> > for instance a DataTable (or the menu in this case) do I have to
> > extend DataTable and add my own HTML file with the same wicket:id
> > attributes as the original or do I have to copy the code?
> >
> > On 2/15/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > And there's wicket-contrib-navmenu you might want to take a look at.
> > >
> > > Eelco
> > >
> > >
> > > On 2/15/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> > > > Thanks, I'll take a look at it.
> > > >
> > > > On 2/15/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > there is a tabbed panel in wicket-extensions. its not really a
> navigation
> > > > > tool, just a tabbed panel :)
> > > > >
> > > > > maybe that will help.
> > > > >
> > > > > -Igor
> > > > >
> > > > >
> > > > >
> > > > > On 2/15/06, Mats Norén < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi,
> > > > > > I'm looking into adding a navMenu to my  application and was
> wondering
> > > > > > if there are any existing solutions out there.
> > > > > > What I'm interested in is a two level tabbed page navigation.
> > > > > >
> > > > > > Any pointers?
> > > > > >
> > > > > > /Mats
> > > > > >
> > > > > >
> > > > > >
> ---
> > > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log
> > > > > files
> > > > > > for problems?  Stop!  Download the new AJAX search engine that
> makes
> > > > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
> > > > > >
> > > > >
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> > > > > > ___
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge.net
> > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> ---
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
> > > >
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > > ---

Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
Hmm...ok, so basically I have to litter my Java code with
setRenderBodyOnly(true) instead. Well, I guess I can live with that.
But it seems a bit weird that the default behaviour for a label is to
leave the span tag. Anyway, thanks for the tip.

On 2/20/06, Alastair Maw <[EMAIL PROTECTED]> wrote:
> Mats Norén wrote:
> > Stupid question,
> > but is it possible to remove the actual span-tags from the output?
> >
> > getMarkupSettings().setStripWicketTags(true);
> >
> > removes the wicket:ids and the other wicket tags, but is it possible
> > to remove the span tags for a label?
> >
> > My output looks almost like the font hell from early Frontpage days,
> > it's completely littered with span tags :)
> >
> > /Mats
>
> You can call setRenderBodyOnly(true) on the Component for your span tag.
>
> Or I suppose one could write a rendering filter that removed all span
> tags that didn't have any attributes set on them, but that would be a
> bit horrid.
>
> Al
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Alastair Maw

Mats Norén wrote:

Stupid question,
but is it possible to remove the actual span-tags from the output?

getMarkupSettings().setStripWicketTags(true);

removes the wicket:ids and the other wicket tags, but is it possible
to remove the span tags for a label?

My output looks almost like the font hell from early Frontpage days,
it's completely littered with span tags :)

/Mats


You can call setRenderBodyOnly(true) on the Component for your span tag.

Or I suppose one could write a rendering filter that removed all span 
tags that didn't have any attributes set on them, but that would be a 
bit horrid.


Al


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-20 Thread Ayodeji Aladejebi
> 1. Give me the constructor change and the Java 5 functionality in one> pass (Wicket 2.0)+1 
 
 
 
 
-- "The more life's risk you take, the more life's reward you get" - Me 


[Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
Stupid question,
but is it possible to remove the actual span-tags from the output?

getMarkupSettings().setStripWicketTags(true);

removes the wicket:ids and the other wicket tags, but is it possible
to remove the span tags for a label?

My output looks almost like the font hell from early Frontpage days,
it's completely littered with span tags :)

/Mats


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
I'm not using mount at all, I'm using only getHomePage()On 2/20/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:
On 2/20/06, Ali Zaid <
[EMAIL PROTECTED]> wrote:

What do you mean by mount? override of getHomePage() in my Application class? well, I have this done, and it used to work.I'm assuming in your Application class you're calling mount("/", 
SomePage.class) ?You can't use "/" here as it conflicts with the getHomePage() page.

-- Regards, Ali


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Mark Derricutt
On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
What do you mean by mount? override of getHomePage() in my Application class? well, I have this done, and it used to work.I'm assuming in your Application class you're calling mount("/", 
SomePage.class) ?You can't use "/" here as it conflicts with the getHomePage() page.


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
Ok, let's re-phrase the question...What do you mean by mount? override of getHomePage() in my Application class? well, I have this done, and it used to work.public Class getHomePage() {        return Home.class
;}which is com.yakhdor.application.HomeRegards, AliOn 2/20/06, Johan Compagner <[EMAIL PROTECTED]
> wrote:what do you config files have to do with this?You mount a bookmarkable page on the root.
That can't happen because therefor we have the Application.getHomePage()And that mounting and youre homepage settings are just in javacode.
johanOn 2/20/06, Ali Zaid <
[EMAIL PROTECTED]> wrote:
Here is my config. filesweb.xml      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">

    myWicket        
            Yakhdor_Dealler        wicket.protocol.http.WicketServlet                  applicationClassName
            com.yakhdor.application.Start                1        
        Yakhdor_Dealler        /*    Jetty-config.xml 

http://jetty.mortbay.org/configure_1_2.dtd">
                50    100    3
    5000    8443    8443
              /    /workspace/Yakhdor_Dealler  
  2000  false
On 2/20/06, 
Ali Zaid <[EMAIL PROTECTED]> wrote:

I totally don't get it, the same configurate work when I replace 
wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt <[EMAIL PROTECTED]> wrote:



On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:



 
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali

-- Regards, Ali



-- Regards, Ali


Re: [Wicket-user] Urgent

2006-02-20 Thread Martijn Dashorst
And why is this URGENT?MartijnOn 2/20/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:
On 2/20/06, ketan gote <[EMAIL PROTECTED]> wrote:

hi
i am new to wicket technology and wan't to learn it
can anybody provide me brief document of it
wating for replyt
There were several "introduction to wicket" articles posted to Javalobby last month - they'd be a good place to check out:  

http://www.javalobby.org/java/forums/t60786.htmlMark

-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: 
http://wicket.sourceforge.net/wicket-1.1


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Johan Compagner
what do you config files have to do with this?You mount a bookmarkable page on the root.That can't happen because therefor we have the Application.getHomePage()And that mounting and youre homepage settings are just in javacode.
johanOn 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
Here is my config. filesweb.xml      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">
    myWicket        
            Yakhdor_Dealler        wicket.protocol.http.WicketServlet                  applicationClassName
            com.yakhdor.application.Start                1        
        Yakhdor_Dealler        /*    Jetty-config.xml 
http://jetty.mortbay.org/configure_1_2.dtd">
                50    100    3
    5000    8443    8443
              /    /workspace/Yakhdor_Dealler  
  2000  false
On 2/20/06, 
Ali Zaid <[EMAIL PROTECTED]> wrote:
I totally don't get it, the same configurate work when I replace 
wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt <[EMAIL PROTECTED]> wrote:


On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:


 
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali

-- Regards, Ali




Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
I just go you email after I posted my config files :), anyway, are we talking about /* in web.xml? or the jetty?On 2/20/06, Mark Derricutt <
[EMAIL PROTECTED]> wrote:On 2/20/06, 
Ali Zaid <[EMAIL PROTECTED]> wrote:

I totally don't get it, the same configurate work when I replace wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsWell 1.2 is a moving target really, I can understand the reasoning behind it as "/" conflicts with the homepage setting - if you did both - which should be used?  the homePage or the mounted page?
Mark

-- Regards, Ali


Re: [Wicket-user] Urgent

2006-02-20 Thread Mark Derricutt
On 2/20/06, ketan gote <[EMAIL PROTECTED]> wrote:
hi
i am new to wicket technology and wan't to learn it
can anybody provide me brief document of it
wating for replyt
There were several "introduction to wicket" articles posted to Javalobby last month - they'd be a good place to check out:  
http://www.javalobby.org/java/forums/t60786.htmlMark


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
Here is my config. filesweb.xml      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">    myWicket        
            Yakhdor_Dealler        wicket.protocol.http.WicketServlet                  applicationClassName
            com.yakhdor.application.Start                1        
        Yakhdor_Dealler        /*    Jetty-config.xml http://jetty.mortbay.org/configure_1_2.dtd">
                50    100    3
    5000    8443    8443
              /    /workspace/Yakhdor_Dealler  
  2000  falseOn 2/20/06, 
Ali Zaid <[EMAIL PROTECTED]> wrote:I totally don't get it, the same configurate work when I replace 
wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt <[EMAIL PROTECTED]> wrote:

On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:

 
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali

-- Regards, Ali


Re: [Wicket-user] Urgent

2006-02-20 Thread Martijn Dashorst
Try our website? The Wiki?MartijnOn 2/20/06, ketan gote <[EMAIL PROTECTED]> wrote:
hi
i am new to wicket technology and wan't to learn it
can anybody provide me brief document of it
wating for replyt

regards
ketan d.gote

-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: 
http://wicket.sourceforge.net/wicket-1.1


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Mark Derricutt
On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
I totally don't get it, the same configurate work when I replace wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsWell 1.2 is a moving target really, I can understand the reasoning behind it as "/" conflicts with the homepage setting - if you did both - which should be used?  the homePage or the mounted page?
Mark


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
I totally don't get it, the same configurate work when I replace wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt <[EMAIL PROTECTED]> wrote:
On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
 
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Mark Derricutt
On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote: 
ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark


[Wicket-user] Urgent

2006-02-20 Thread ketan gote
hi
i am new to wicket technology and wan't to learn it
can anybody provide me brief document of it
wating for replyt

regards
ketan d.gote


Re: [Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-20 Thread Ali Zaid
Martijn & Igor; Thanks for your help, unfortunatily I have to deliver something today, and I had to do it in a different way (edit each item alone, client don't like it :)) I will wrap the project and send it to you, although I don't want you to waist you time because someone like me don't fully understand how to work with models, it has to be a model problem (I dreamt about it in my sleep) :), Thanks allot again.
Regards, AliOn 2/19/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
ali this doesnt compile when i drop it into the kickstart project.could you dumb down your code so it can run in kickstart and attach that. i dont have time to do it myself. a rar with kickstart in it would be the best so i can just unrar and run it.
i think in this situation we need to have see it run to help you better because as martijn mentioned it ran fine in his mock up. remove the daos and simply hardcode the list in or something like that.
-Igor
On 2/19/06, Ali Zaid <
[EMAIL PROTECTED]> wrote:
HI;I'm posting the sourse code of what I have, the project is really big, anyway, I really can't understand what I'm doing wrong :(Guys I really appreciate your help, even if I don't reach a olution, I may consider an alternative way, but I really want to understand what I'm doing wrong.
@Martijn, I will try this, I'm sure that the form get posted because it show the message in the onSubmit "FORM SUBMITTED!!!", but for some reason values don't get updated in the model.Regards, Ali
On 2/19/06, Martijn Dashorst <

[EMAIL PROTECTED]> wrote:
Ali,I tried to create a mockup, and it works for me. Can you debug theapplication and see whether the request parameters are available inthe RequestCycle?MartijnOn 2/19/06, Ali Zaid <
[EMAIL PROTECTED]> wrote:> NO nested forms for sure, I'm attaching the form generated, I tried both way
> to inatiated the list using onBeginRequest and in constructor, but it
> shouldn't be a problem should it? my problem is that values don't submit at> all! I do get FORM SUBMITTED!!! and I do get values which are all zeros.>>> > action=""
> method="post"> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity">> > name="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0"
> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0"/>> >   PRI AEA3734
>   Gist Group>   0>   > name="lst_PriceRequestItems:0:requestedQuantity"/>> > >   PRI 3A82F4F
>   Raid Al-Nia'ami>   0>   > name="lst_PriceRequestItems:1:requestedQuantity"/>> > >   PRI C491231
>   Aous>   0>   > name="lst_PriceRequestItems:2:requestedQuantity"/>> > >   PRI 5EBCA9E
>   Time Technology>   0>   > name="lst_PriceRequestItems:3:requestedQuantity"/>> > >   PRI AAF9121
>   Haider Zaid>   0>   > name="lst_PriceRequestItems:4:requestedQuantity"/>> > >   PRI 13B6700
>   Ali Zaid>   0>   > name="lst_PriceRequestItems:5:requestedQuantity"/>> > >   PRI A5CD697
>   Mohammed Jassim>   0>   > name="lst_PriceRequestItems:6:requestedQuantity"/>> > >   PRI 7829AC0
>   Smart Systems>   0>   > name="lst_PriceRequestItems:7:requestedQuantity"/>> > 
>   > On 2/19/06, Matej Knopp <[EMAIL PROTECTED]
> wrote:> > Do you mean that the values you enter to the form aren't preserved?
> > Well, you reload the list of items on every request> > (onBeginRequest()). So they can't be preserved. Instead, try to lead> > the list only once (in page constructor). That might help.


> >> > -Matej> >> > On 2/19/06, Ali Zaid <[EMAIL PROTECTED]> wrote:

> > > Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not
> working,> > > the values don't update, It's extreemly Urgent, and I would really> > > appreciate your help here.> > >> > >> > > package com.yakhdor.application


;> > >> > > import java.util.ArrayList;> > > import java.util.List;> > >> > > import wicket.markup.html.basic.Label ;> > > import wicket.markup.html.form.Form


;> > > import wicket.markup.html.form.TextField;> > > import wicket.markup.html.list.ListItem;> > > import wicket.markup.html.list.ListView;> > > import wicket.markup.html.panel.Panel


 ;> > > import wicket.model.CompoundPropertyModel;> > > import wicket.model.IModel;> > > import wicket.model.PropertyModel;> >

Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
Hi;when I used the new snapshot it say ERROR - RequestCycle   - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
ok? :)Regards, AliOn 2/20/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
All,Yet another snapshot release is available for download at thesourceforge servers.
If you have problems with anon-CVS, this one is up-to-date until7:30am CET (Central European Time, GMT-1).Martijn--Living a wicket life...Martijn Dashorst - 
http://www.jroller.com/page/dashorstWicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?  Stop!  Download the new AJAX search engine that makessearching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Regards, Ali