[Wicket-user] 优惠代开发票!

2006-03-10 Thread 腾达实业有限公司
您好!

腾达实业有限公司因进项较多,每月有部分结余发票可优惠对外代开.

普通发票,运输发票(税率0.8%-1.5%左右).增值发票(税率6%左右),可验证

后付款.

联系电话:13927434328(张先生)




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Multiple page instances possible?

2006-03-10 Thread Dirk Markert
I am using latest anon cvs head.

I have a home page H with a popuplink opening page P. It is possible
to have more than one page P. A linkon Pleads to P, itonly changes
internalpage state.Thus we can havesequences like:

H - P1  P1 - P1 
+-- P2  P2 - P2 

P1 and P2 have different internal states, because the page constructor
takes the new internal state as an argument.

The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.
(In step 3 version 0 of P2 is removed from the wickets page map)

How can I have multiple instances of page P?


Dirk



[Wicket-user] wiki in wicket?

2006-03-10 Thread Igor Vaynberg
there was some talk about building a wiki/cms with wicket in ##wicket and i had a bit of insomnia tonight, so i built a basic wiki in an hour or so. wel its more of a skeleton really. you can add/edit/link pages. it uses radeox (which you will need to compile the attached source) for wiki syntax rendering. im attaching the code for anyone who is curious. if anyone is interested in working on an ASL licensed wiki/cms let me know or come to ##wicket. if enough people want to do it we can make it a wicket-stuff project.
-IgorPS. the code is a mess, as i said it was a result of insomnia, so caveat emptor


wicket-wiki.jar
Description: application/java-archive


[Wicket-user] Wiki content updates

2006-03-10 Thread Gwyn Evans
Hi,
  Just flagging a few updates to the Wiki
 - A page on the Maven2 Jetty6 Plugin
(http://www.wicket-wiki.org.uk/wiki/index.php/Maven_jetty6_plugin)
 - A page on creating a custom component
(http://www.wicket-wiki.org.uk/wiki/index.php/Create_custom_component)
from Eelco's posting elsewhere
 - A link to the Wicket-Phonebook example (that's at
http://wicket-stuff.sourceforge.net/wicket-phonebook/) by the way.

  Don't forget, it's open to anybody to update...

/Gwyn


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Johan Compagner
Dirk,just create the pages with the new keyword of javaso in a link or submit just do:setResponsePage(new P1(newState))johanOn 3/10/06, 
Dirk Markert [EMAIL PROTECTED] wrote:
I am using latest anon cvs head.

I have a home page H with a popuplink opening page P. It is possible
to have more than one page P. A linkon Pleads to P, itonly changes
internalpage state.Thus we can havesequences like:

H - P1  P1 - P1 
+-- P2  P2 - P2 

P1 and P2 have different internal states, because the page constructor
takes the new internal state as an argument.

The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.
(In step 3 version 0 of P2 is removed from the wickets page map)

How can I have multiple instances of page P?


Dirk





Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-10 Thread Ari Suutari

To sum up discussion, I understood that trimming is going
to be default behaviour on text fields (soon) ? Correct ?

   Ari S.

- Original Message - 
From: Ari Suutari [EMAIL PROTECTED]

To: wicket-user@lists.sourceforge.net
Sent: Monday, March 06, 2006 3:25 PM
Subject: [Wicket-user] TextField and trimming blanks at end (and maybe at 
beginning)



Hi,

What might be the simplest way to change behaviour of whole wicket application
so that TextField have their input trimmed of blanks at end ?

I tried to do this via converters (I have my own converter factory),
but it didn't work because Converter.convert doesn't do anything
if String is being assigned to String field in model (it uses isAssignableFrom
for this check).

   Ari S.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Role-Based AND Spring Aware WebApplication

2006-03-10 Thread Johan Compagner
i would blame sun for that ;)johanOn 3/10/06, Andrew Berman [EMAIL PROTECTED] wrote:
Yeah, I noticed that as I looked more in the AuthenticatedWebApp class that it really doesn't do much, but the fact of the matter is that I have to copy code over to my class. However, what happens if there is another WebApp class that is useful in the future but I'm already extending the SpringWebApp class? It just seems like a lack of reuse. 
On 3/9/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:
The distracting thing here is the way AuthenticatedWebApplication isimplemented. It's elegant by itself, but as you noticed not veryuseful if you want to use it together with another base class.The only thing that application does though, is register itself as
IRoleCheckingStrategy and IUnauthorizedComponentInstantiationListener.The only thing you need to do is pull those implementations out ofthat webapplication class and register them in yours. You probablywant to work with your own session object anyway?
EelcoOn 3/9/06, Andrew Berman [EMAIL PROTECTED] wrote: Ok, So we all know that a class in Java cannot extend multiple classes, so

 because of this there is no way to have extend the AuthenticatedWebApplication and the SpringWebApplication classes for a single app.So, does this mean I have to copy the code of one of them into

 my class which only extends one of them?Seems kind of wrong in my opinion.Maybe some sort of chain needs to be implemented in WebApplications so instead of extending a specific WebApp class, you define in your WebApp
 class the handlers you wish to use. Thoughts or did I miss something major? Andrew---This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!

http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-10 Thread Johan Compagner
just committed it:FormComponentprotected Object convertValue(String value) throws ConversionException {  return value != null?value.trim():null; }so if you don't want trimming, override that method and return directly the value.
I think it is a better default.We could make a global property to switch it again, but personally i don't see many uses for that.johanOn 3/10/06, 
Ari Suutari [EMAIL PROTECTED] wrote:
To sum up discussion, I understood that trimming is goingto be default behaviour on text fields (soon) ? Correct ?Ari S.- Original Message -From: Ari Suutari 
[EMAIL PROTECTED]To: wicket-user@lists.sourceforge.netSent: Monday, March 06, 2006 3:25 PMSubject: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)
 Hi, What might be the simplest way to change behaviour of whole wicket application so that TextField have their input trimmed of blanks at end ? I tried to do this via converters (I have my own converter factory),
 but it didn't work because Converter.convert doesn't do anything if String is being assigned to String field in model (it uses isAssignableFrom for this check).Ari S.
 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-10 Thread Johan Compagner
By the way.That method is already overridden by many other formcomponents like RadioChoice, DropDownChoice or CheckBoxAlso when a textfield has a type specified it will also not fall into that method. because the type conversion through the convertor 
will happen instead.So it only happens for textfieds without a type specified.johanOn 3/10/06, Johan Compagner 
[EMAIL PROTECTED] wrote:just committed it:
FormComponentprotected Object convertValue(String value) throws ConversionException {  return value != null?value.trim():null;
 }so if you don't want trimming, override that method and return directly the value.
I think it is a better default.We could make a global property to switch it again, but personally i don't see many uses for that.johan
On 3/10/06, 
Ari Suutari [EMAIL PROTECTED] wrote:

To sum up discussion, I understood that trimming is goingto be default behaviour on text fields (soon) ? Correct ?Ari S.- Original Message -From: Ari Suutari 

[EMAIL PROTECTED]To: wicket-user@lists.sourceforge.netSent: Monday, March 06, 2006 3:25 PM
Subject: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)
 Hi, What might be the simplest way to change behaviour of whole wicket application so that TextField have their input trimmed of blanks at end ? I tried to do this via converters (I have my own converter factory),
 but it didn't work because Converter.convert doesn't do anything if String is being assigned to String field in model (it uses isAssignableFrom for this check).Ari S.

 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory! 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user




Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Dirk Markert
I have one homepageH with one Link named actionLink:

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);


In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:
Ah,you have 2 browsers pointing to the same session?Then you should use a different pagemap for each browser.
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, thank you for your answer. That's what I am doing right now.
 To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after the link is clicked two times.
 I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner [EMAIL PROTECTED]:  Dirk,
   just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState))   johan
  On 3/10/06, Dirk Markert [EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.
 I have a home page H with a popuplink opening page P. It is possible   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:
 H - P1  P1 - P1    +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructor
   takes the new internal state as an argument. The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)
 How can I have multiple instances of page P? Dirk
--Nominate Wicket for the SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Johan Compagner
ahh which build are you using?Because i think this is the problem i fixed and i believe it didn't make it into 1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code.
that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ?On 3/10/06, Dirk Markert 
[EMAIL PROTECTED] wrote:I have one homepageH with one Link named actionLink:


 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);



In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:

Ah,you have 2 browsers pointing to the same session?
Then you should use a different pagemap for each browser.
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan,
 thank you for your answer. That's what I am doing right now.
 To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after the link is clicked two times.

 I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 
[EMAIL PROTECTED]:  Dirk,
   just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState))   johan
  On 3/10/06, Dirk Markert [EMAIL PROTECTED]
  wrote:   I am using latest anon cvs head.
 I have a home page H with a popuplink opening page P. It is possible   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:
 H - P1  P1 - P1    +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructor
   takes the new internal state as an argument. The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)
 How can I have multiple instances of page P? Dirk

--Nominate Wicket for the SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php

---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast

and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user




Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Johan Compagner
then i need a complete example to see what really does happen or what exactly goes wrong.At what exact time you get and error and what exactly is that error?On 3/10/06, 
Dirk Markert [EMAIL PROTECTED] wrote:
I am using cvs head.

I do not close any window P1 or P2. 

My homepage constructor in full glory:

 public Home() { Link actionLink = new Link(start) { public void onClick() { setResponsePage(new P()); } };
 PopupSettings p = new PopupSettings(
PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p); add(actionLink);
 } 
My class P is basically something like:
 .
 Link link = new Link(link, new Model(..)) {
 public void onClick() { changeInternalState(getModelObject()); }
 ..
Dirk
2006/3/10, Johan Compagner 
[EMAIL PROTECTED]:
ahh which build are you using?
Because i think this is the problem i fixed and i believe it didn't make it into 
1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code. that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ? 


Yes, see above.


On 3/10/06, Dirk Markert  [EMAIL PROTECTED]
 wrote: 


I have one homepageH with one Link named actionLink: 

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);



In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:

 

Ah,you have 2 browsers pointing to the same session? Then you should use a different pagemap for each browser. 
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, 
 thank you for your answer. That's what I am doing right now.  To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after
 the link is clicked two times.  I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 

 [EMAIL PROTECTED]:  Dirk,just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState))
   johan   On 3/10/06, Dirk Markert 

[EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.  I have a home page H with a popuplink opening page P. It is possible
   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:  H - P1  P1 - P1 
   +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructortakes the new internal state as an argument.
 The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)   

   How can I have multiple instances of page P? Dirk--Nominate Wicket for the 
SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php 
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!

http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing list

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






Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Dirk Markert
I try to explain. Given the above code with homepage H und page class P.

We have the following steps:
1.in my homepage I click on the action link giving me a new browser window for class 
instance P1 of class P
2.in my homepage I click again on the action link giving me a new browser window for class
instance P2 of class P
3.in P1 I click on the link 
4.in P2 I click on the link and then I getthe standard wicket page expired page

As far as I can see, wicket is removingversion 0 of page P2 from the page map in step 3. when PageMap.access() is called.

I hope I could make it clear.

Dirk
2006/3/10, Johan Compagner [EMAIL PROTECTED]:
then i need a complete example to see what really does happen or what exactly goes wrong.At what exact time you get and error and what exactly is that error? 

On 3/10/06, Dirk Markert [EMAIL PROTECTED]
 wrote: 


I am using cvs head.

I do not close any window P1 or P2. 

My homepage constructor in full glory:

 public Home() { Link actionLink = new Link(start) { public void onClick() { setResponsePage(new P()); } };
 PopupSettings p = new PopupSettings( PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); 
actionLink.setPopupSettings(p);
 add(actionLink);  } 
My class P is basically something like:
 .
 Link link = new Link(link, new Model(..)) {
 public void onClick() { changeInternalState(getModelObject()); }
 ..
Dirk

2006/3/10, Johan Compagner  [EMAIL PROTECTED]
: 

ahh which build are you using?Because i think this is the problem i fixed and i believe it didn't make it into 
1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code. that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ? 



Yes, see above.



On 3/10/06, Dirk Markert  [EMAIL PROTECTED] 
 wrote: 


I have one homepageH with one Link named actionLink: 

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);


In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:
 

Ah,you have 2 browsers pointing to the same session? Then you should use a different pagemap for each browser. 
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, 
 thank you for your answer. That's what I am doing right now.  To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after 
 the link is clicked two times.  I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 
 [EMAIL PROTECTED]:  Dirk,just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState)) 
   johan   On 3/10/06, Dirk Markert 
 [EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.  I have a home page H with a popuplink opening page P. It is possible 
   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:  H - P1  P1 - P1  
   +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructortakes the new internal state as an argument. 
 The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)   
   How can I have multiple instances of page P? Dirk--Nominate Wicket for the 
SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php 
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast 
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing list
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 





[Wicket-user] About SpringContextLocator

2006-03-10 Thread Jesper Preuss
Hi,

I wanted to understand wicket and hibernate3. So while looking at the
project wicket-contrib-examples-hibernate3, I found
SpringContextLocator.

But I'm not able to find SpringContextLocator. The referance to
wicket.contrib.spring.old.SpringContextLocator is located in
wicket.examples.cdapp2.CdRequestCycle.

Do any know where the SpringContextLocator comes from?. The closest I
have come to this is wicket.spring.ISpringContextLocator.

Thanks in advance.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: About SpringContextLocator

2006-03-10 Thread Jesper Preuss
I have found out that SpringContextLocator should be in the project
wicket-contrib-spring.

But I can't get it from CVS, don't know if it's because is SF having
trouble with CVS or because it's not in there anymore.?

On 3/10/06, Jesper Preuss [EMAIL PROTECTED] wrote:
 Hi,

 I wanted to understand wicket and hibernate3. So while looking at the
 project wicket-contrib-examples-hibernate3, I found
 SpringContextLocator.

 But I'm not able to find SpringContextLocator. The referance to
 wicket.contrib.spring.old.SpringContextLocator is located in
 wicket.examples.cdapp2.CdRequestCycle.

 Do any know where the SpringContextLocator comes from?. The closest I
 have come to this is wicket.spring.ISpringContextLocator.

 Thanks in advance.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Johan Compagner
ahh yesthats logical.Because you use the same pagemap.and a pagemap has a browser stackso if you open P1 on pagemap Xthen P2 on pagemap Xand you click again on P1 then we think you did a back button to P1
and then we remove P2 from the stack because if this was a browser it wasn't accessible anymore.johanOn 3/10/06, Dirk Markert 
[EMAIL PROTECTED] wrote:
I try to explain. Given the above code with homepage H und page class P.

We have the following steps:
1.in my homepage I click on the action link giving me a new browser window for class 
instance P1 of class P
2.in my homepage I click again on the action link giving me a new browser window for class
instance P2 of class P
3.in P1 I click on the link 
4.in P2 I click on the link and then I getthe standard wicket page expired page

As far as I can see, wicket is removingversion 0 of page P2 from the page map in step 3. when PageMap.access() is called.

I hope I could make it clear.

Dirk
2006/3/10, Johan Compagner [EMAIL PROTECTED]:
then i need a complete example to see what really does happen or what exactly goes wrong.
At what exact time you get and error and what exactly is that error? 

On 3/10/06, Dirk Markert [EMAIL PROTECTED]
 wrote: 


I am using cvs head.

I do not close any window P1 or P2. 

My homepage constructor in full glory:

 public Home() { Link actionLink = new Link(start) { public void onClick() { setResponsePage(new P()); } };
 PopupSettings p = new PopupSettings( PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); 
actionLink.setPopupSettings(p);
 add(actionLink);  } 
My class P is basically something like:
 .
 Link link = new Link(link, new Model(..)) {
 public void onClick() { changeInternalState(getModelObject()); }
 ..
Dirk

2006/3/10, Johan Compagner  [EMAIL PROTECTED]
: 

ahh which build are you using?Because i think this is the problem i fixed and i believe it didn't make it into 
1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code. that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ? 



Yes, see above.



On 3/10/06, Dirk Markert  [EMAIL PROTECTED] 
 wrote: 


I have one homepageH with one Link named actionLink: 

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);



In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:

 

Ah,you have 2 browsers pointing to the same session? Then you should use a different pagemap for each browser. 
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, 
 thank you for your answer. That's what I am doing right now.  To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after 
 the link is clicked two times.  I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 

 [EMAIL PROTECTED]:  Dirk,just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState)) 
   johan   On 3/10/06, Dirk Markert 

 [EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.  I have a home page H with a popuplink opening page P. It is possible 
   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:  H - P1  P1 - P1  
   +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructortakes the new internal state as an argument. 
 The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)   

   How can I have multiple instances of page P? Dirk--Nominate Wicket for the 
SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php 
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast 
and join the prime developer group breaking into this new coding territory!

http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing list

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







Re: [Wicket-user] Re: About SpringContextLocator

2006-03-10 Thread Martijn Dashorst
wicket-contrib-spring has been dropped in favor of wicket-spring from the core project. We haven't updated the hibernate examples to reflect that unfortunately.MartijnOn 3/10/06, 
Jesper Preuss [EMAIL PROTECTED] wrote:
I have found out that SpringContextLocator should be in the projectwicket-contrib-spring.But I can't get it from CVS, don't know if it's because is SF havingtrouble with CVS or because it's not in there anymore.?
On 3/10/06, Jesper Preuss [EMAIL PROTECTED] wrote: Hi, I wanted to understand wicket and hibernate3. So while looking at the project wicket-contrib-examples-hibernate3, I found
 SpringContextLocator. But I'm not able to find SpringContextLocator. The referance to wicket.contrib.spring.old.SpringContextLocator is located in wicket.examples.cdapp2.CdRequestCycle
. Do any know where the SpringContextLocator comes from?. The closest I have come to this is wicket.spring.ISpringContextLocator. Thanks in advance.---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Nominate Wicket for the SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php



Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Martijn Dashorst
LOL... I wouldn't have thought of /that/...MartijnOn 3/10/06, Johan Compagner [EMAIL PROTECTED]
 wrote:ahh yesthats logical.Because you use the same pagemap.
and a pagemap has a browser stackso if you open P1 on pagemap Xthen P2 on pagemap Xand you click again on P1 then we think you did a back button to P1
and then we remove P2 from the stack because if this was a browser it wasn't accessible anymore.johan
On 3/10/06, Dirk Markert 
[EMAIL PROTECTED] wrote:

I try to explain. Given the above code with homepage H und page class P.

We have the following steps:
1.in my homepage I click on the action link giving me a new browser window for class 
instance P1 of class P
2.in my homepage I click again on the action link giving me a new browser window for class
instance P2 of class P
3.in P1 I click on the link 
4.in P2 I click on the link and then I getthe standard wicket page expired page

As far as I can see, wicket is removingversion 0 of page P2 from the page map in step 3. when PageMap.access() is called.

I hope I could make it clear.

Dirk
2006/3/10, Johan Compagner [EMAIL PROTECTED]:
then i need a complete example to see what really does happen or what exactly goes wrong.

At what exact time you get and error and what exactly is that error? 

On 3/10/06, Dirk Markert [EMAIL PROTECTED]
 wrote: 


I am using cvs head.

I do not close any window P1 or P2. 

My homepage constructor in full glory:

 public Home() { Link actionLink = new Link(start) { public void onClick() { setResponsePage(new P()); } };
 PopupSettings p = new PopupSettings( PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); 
actionLink.setPopupSettings(p);
 add(actionLink);  } 
My class P is basically something like:
 .
 Link link = new Link(link, new Model(..)) {
 public void onClick() { changeInternalState(getModelObject()); }
 ..
Dirk

2006/3/10, Johan Compagner  [EMAIL PROTECTED]
: 

ahh which build are you using?Because i think this is the problem i fixed and i believe it didn't make it into 
1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code. that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ? 



Yes, see above.



On 3/10/06, Dirk Markert  [EMAIL PROTECTED] 
 wrote: 


I have one homepageH with one Link named actionLink: 

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);




In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:


 

Ah,you have 2 browsers pointing to the same session? Then you should use a different pagemap for each browser. 
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, 
 thank you for your answer. That's what I am doing right now.  To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after 
 the link is clicked two times.  I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 


 [EMAIL PROTECTED]:  Dirk,just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState)) 
   johan   On 3/10/06, Dirk Markert 


 [EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.  I have a home page H with a popuplink opening page P. It is possible 
   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:  H - P1  P1 - P1  
   +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructortakes the new internal state as an argument. 
 The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)   


   How can I have multiple instances of page P? Dirk--Nominate Wicket for the 
SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php 
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast 
and join the prime developer group breaking into this new coding territory!


http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing list


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






-- Nominate Wicket for the SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php



[Wicket-user] 合作资料

2006-03-10 Thread 张生
贵尊敬的公司领导负责人(经理/财务)您好∶  
  
   我是深圳(繁锦实业有限公司)的,我司实力雄厚,有着良好的社会关系.

由于我司每月进项较多,现完成不了每月的销售额度.我司具有以下发票:


  一: 普通国税发票:

  1:商品销售;  2:货物统一销售;  3:工业(企业)销售; 

  二:普通地税发票

  1:运输(电脑版运输,货运代理,装卸,联运,海运),

  2:其它服务(广告费,住宿费,会议费,定额餐饮,咨询费等) ,

  3:建筑安装,  4:加工修理,

  5:其它(租赁,行政事业专用,机动车销售,房地产交易,税务代开)等专用 票 。

  我们以1%左右优惠代开,保证票源绝对正规(可上网查,也可拿到税务所查验)

 满意后再合作。如贵公司有需要请与联系,我公司将以最优惠的点数与你合作。

 祝生意兴隆,财源广进!


   代开发票均可在贵司当地税务局验证抵扣,(可上网查,也可拿到税务局查验,

全国各地均可代开!) 。公司承诺:受理谨慎 成功收费 为客户节省运作成本提供优质服务!

如贵公司有代开发票方面的问题,欢迎来电或留言咨询.我们会在第一时间回复您!


联 系 人:张汉明

联系电话:13632786674

E-MAIL :[EMAIL PROTECTED]
 
QQ: 376127430   


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] What about java.net?

2006-03-10 Thread Gili

Hi,

	I just realized java.net has a very fast CVS server, mailing lists, 
issue tracker, etc... I think it has everything we need (correct me if 
I'm wrong).


	Also, I think we could even plug in JIRA to use as the issue tracker if 
we wanted.


Would it be possible to move off SF's crusty CVS server and onto 
java.net?

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: What about java.net?

2006-03-10 Thread Gili


Also, java.net just got SVN support!

https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

Gili

Gili wrote:

Hi,

I just realized java.net has a very fast CVS server, mailing lists, 
issue tracker, etc... I think it has everything we need (correct me if 
I'm wrong).


Also, I think we could even plug in JIRA to use as the issue tracker 
if we wanted.


Would it be possible to move off SF's crusty CVS server and onto 
java.net?


Gili


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Guillermo Castro
Gili,SouceForge has SVN support too. I think that SF is making lots of progress in getting their tools together. The recent redesign of the pages, the added svn support, etc. means that SF is still fighting to be *the* open source software projects repository.
Regards,On 3/10/06, Gili [EMAIL PROTECTED] wrote:
Also, java.net just got SVN support!https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
GiliGili wrote: Hi, I just realized java.net has a very fast CVS server, mailing lists, issue tracker, etc... I think it has everything we need (correct me if
 I'm wrong). Also, I think we could even plug in JIRA to use as the issue tracker if we wanted. Would it be possible to move off SF's crusty CVS server and onto 
java.net? Gili--http://www.desktopbeautifier.com/---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Guillermo Castro [EMAIL PROTECTED]Monterrey NL, Mexico 
http://www.javageek.org/


Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Gili


	Normally I would agree... but this has been going on for over a year 
now (them making promises that CVS will get fixed anytime now). I don't 
doubt that SVN support will become standard on SF.net sometime soon. I 
*do* doubt that their reliability will change. Who says SVN will work 
any better than CVS? The flakiness was never in the CVS software, it was 
in the SF hardware and/or configuration.


	java.net has a better track record and they do seem to meet all the 
requirements (don't they?). Isn't it worth looking into it?


Gili

Guillermo Castro wrote:

Gili,

SouceForge has SVN support too. I think that SF is making lots of 
progress in getting their tools together. The recent redesign of the 
pages, the added svn support, etc. means that SF is still fighting to be 
*the* open source software projects repository.


Regards,

On 3/10/06, *Gili* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Also, java.net http://java.net just got SVN support!


https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

Gili

Gili wrote:
  Hi,
 
  I just realized java.net http://java.net has a very fast
CVS server, mailing lists,
  issue tracker, etc... I think it has everything we need (correct
me if
  I'm wrong).
 
  Also, I think we could even plug in JIRA to use as the issue
tracker
  if we wanted.
 
  Would it be possible to move off SF's crusty CVS server and onto
  java.net http://java.net?
 
  Gili

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Guillermo Castro [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

Monterrey NL, Mexico http://www.javageek.org/


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Dirk Markert
Now that we have an explanation, what's the solution?2006/3/10, Johan Compagner [EMAIL PROTECTED]:
ahh yesthats logical.Because you use the same pagemap.and a pagemap has a browser stackso if you open P1 on pagemap Xthen P2 on pagemap Xand you click again on P1 then we think you did a back button to P1
and then we remove P2 from the stack because if this was a browser it wasn't accessible anymore.johanOn 3/10/06, 
Dirk Markert 
[EMAIL PROTECTED] wrote:

I try to explain. Given the above code with homepage H und page class P.

We have the following steps:
1.in my homepage I click on the action link giving me a new browser window for class 
instance P1 of class P
2.in my homepage I click again on the action link giving me a new browser window for class
instance P2 of class P
3.in P1 I click on the link 
4.in P2 I click on the link and then I getthe standard wicket page expired page

As far as I can see, wicket is removingversion 0 of page P2 from the page map in step 3. when PageMap.access() is called.

I hope I could make it clear.

Dirk
2006/3/10, Johan Compagner [EMAIL PROTECTED]:
then i need a complete example to see what really does happen or what exactly goes wrong.

At what exact time you get and error and what exactly is that error? 

On 3/10/06, Dirk Markert [EMAIL PROTECTED]
 wrote: 


I am using cvs head.

I do not close any window P1 or P2. 

My homepage constructor in full glory:

 public Home() { Link actionLink = new Link(start) { public void onClick() { setResponsePage(new P()); } };
 PopupSettings p = new PopupSettings( PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); 
actionLink.setPopupSettings(p);
 add(actionLink);  } 
My class P is basically something like:
 .
 Link link = new Link(link, new Model(..)) {
 public void onClick() { changeInternalState(getModelObject()); }
 ..
Dirk

2006/3/10, Johan Compagner  [EMAIL PROTECTED]
: 

ahh which build are you using?Because i think this is the problem i fixed and i believe it didn't make it into 
1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code. that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ? 



Yes, see above.



On 3/10/06, Dirk Markert  [EMAIL PROTECTED] 
 wrote: 


I have one homepageH with one Link named actionLink: 

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);




In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:


 

Ah,you have 2 browsers pointing to the same session? Then you should use a different pagemap for each browser. 
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, 
 thank you for your answer. That's what I am doing right now.  To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after 
 the link is clicked two times.  I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 


 [EMAIL PROTECTED]:  Dirk,just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState)) 
   johan   On 3/10/06, Dirk Markert 


 [EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.  I have a home page H with a popuplink opening page P. It is possible 
   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:  H - P1  P1 - P1  
   +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructortakes the new internal state as an argument. 
 The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)   


   How can I have multiple instances of page P? Dirk--Nominate Wicket for the 
SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php 
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast 
and join the prime developer group breaking into this new coding territory!


http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing list


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









Re: [Wicket-user] Multiple page instances possible?

2006-03-10 Thread Igor Vaynberg
solution would be for you to open those windows in different pagemaps.ala: page.forName(String.valueOf(Math.random());this will cause more session state to be kept, but i dont see any other solution. maybe a PageMap eviction strategy :)
-IgorOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote:
Now that we have an explanation, what's the solution?2006/3/10, Johan Compagner 
[EMAIL PROTECTED]:

ahh yesthats logical.Because you use the same pagemap.and a pagemap has a browser stackso if you open P1 on pagemap Xthen P2 on pagemap Xand you click again on P1 then we think you did a back button to P1
and then we remove P2 from the stack because if this was a browser it wasn't accessible anymore.johanOn 3/10/06, 
Dirk Markert 
[EMAIL PROTECTED] wrote:


I try to explain. Given the above code with homepage H und page class P.

We have the following steps:
1.in my homepage I click on the action link giving me a new browser window for class 
instance P1 of class P
2.in my homepage I click again on the action link giving me a new browser window for class
instance P2 of class P
3.in P1 I click on the link 
4.in P2 I click on the link and then I getthe standard wicket page expired page

As far as I can see, wicket is removingversion 0 of page P2 from the page map in step 3. when PageMap.access() is called.

I hope I could make it clear.

Dirk
2006/3/10, Johan Compagner [EMAIL PROTECTED]:
then i need a complete example to see what really does happen or what exactly goes wrong.


At what exact time you get and error and what exactly is that error? 

On 3/10/06, Dirk Markert [EMAIL PROTECTED]
 wrote: 


I am using cvs head.

I do not close any window P1 or P2. 

My homepage constructor in full glory:

 public Home() { Link actionLink = new Link(start) { public void onClick() { setResponsePage(new P()); } };
 PopupSettings p = new PopupSettings( PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); 
actionLink.setPopupSettings(p);
 add(actionLink);  } 
My class P is basically something like:
 .
 Link link = new Link(link, new Model(..)) {
 public void onClick() { changeInternalState(getModelObject()); }
 ..
Dirk

2006/3/10, Johan Compagner  [EMAIL PROTECTED]
: 

ahh which build are you using?Because i think this is the problem i fixed and i believe it didn't make it into 
1.2b1The popup closing did remove to much.Don't know exactly if that is the case for you then i have to see more code. that link that you give those popupsettings to is that a link with an onClick() {setResponsePage(newPage)} ? 



Yes, see above.



On 3/10/06, Dirk Markert  [EMAIL PROTECTED] 
 wrote: 


I have one homepageH with one Link named actionLink: 

 PopupSettings p = new PopupSettings(PageMap.forName(popup-page-map), PopupSettings.LOCATION_BAR ); p.setWidth(600).setHeight(600); actionLink.setPopupSettings(p);





In my homepage I click two times on this link, giving me 2 browser windows P1 and P2.

Dirk
2006/3/10, Martijn Dashorst [EMAIL PROTECTED]:



 

Ah,you have 2 browsers pointing to the same session? Then you should use a different pagemap for each browser. 
MartijnOn 3/10/06, Dirk Markert [EMAIL PROTECTED] wrote: Johan, 
 thank you for your answer. That's what I am doing right now.  To be exact, I am calling: setResponsePage(new P(newState)); And then I am having two instances of P, page P1 and page P2, after 
 the link is clicked two times.  I am getting the error later with the described sequence. Dirk 2006/3/10, Johan Compagner 



 [EMAIL PROTECTED]:  Dirk,just create the pages with the new keyword of java   so in a link or submit just do:   setResponsePage(new P1(newState)) 
   johan   On 3/10/06, Dirk Markert 



 [EMAIL PROTECTED]  wrote:   I am using latest anon cvs head.  I have a home page H with a popuplink opening page P. It is possible 
   to have more than one page P. A link on P leads to P, it only changes   internal page state. Thus we can have sequences like:  H - P1  P1 - P1  
   +-- P2  P2 - P2  P1 and P2 have different internal states, because the page constructortakes the new internal state as an argument. 
 The sequence H--P1, H--P2, P1--P1, P2-- shows the expired page.   (In step 3 version 0 of P2 is removed from the wickets page map)   



   How can I have multiple instances of page P? Dirk--Nominate Wicket for the 
SourceForge.net's Choice awards!http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php 
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast 
and join the prime developer group breaking into this new coding territory!



http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing list



Wicket-user@lists.sourceforge.net 

Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Eelco Hillenius
I don't like their navigation though.

Eelco

On 3/10/06, Gili [EMAIL PROTECTED] wrote:

 Normally I would agree... but this has been going on for over a year
 now (them making promises that CVS will get fixed anytime now). I don't
 doubt that SVN support will become standard on SF.net sometime soon. I
 *do* doubt that their reliability will change. Who says SVN will work
 any better than CVS? The flakiness was never in the CVS software, it was
 in the SF hardware and/or configuration.

 java.net has a better track record and they do seem to meet all the
 requirements (don't they?). Isn't it worth looking into it?

 Gili

 Guillermo Castro wrote:
  Gili,
 
  SouceForge has SVN support too. I think that SF is making lots of
  progress in getting their tools together. The recent redesign of the
  pages, the added svn support, etc. means that SF is still fighting to be
  *the* open source software projects repository.
 
  Regards,
 
  On 3/10/06, *Gili* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
 
  Also, java.net http://java.net just got SVN support!
 
  
  https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
  
  https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
 
  Gili
 
  Gili wrote:
Hi,
   
I just realized java.net http://java.net has a very fast
  CVS server, mailing lists,
issue tracker, etc... I think it has everything we need (correct
  me if
I'm wrong).
   
Also, I think we could even plug in JIRA to use as the issue
  tracker
if we wanted.
   
Would it be possible to move off SF's crusty CVS server and onto
java.net http://java.net?
   
Gili
 
  --
  http://www.desktopbeautifier.com/
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
  that extends applications into web and mobile media. Attend the live
  webcast
  and join the prime developer group breaking into this new coding
  territory!
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
  --
  Guillermo Castro [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  Monterrey NL, Mexico http://www.javageek.org/

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


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Igor Vaynberg
I dont like the color scheme!-IgorOn 3/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
I don't like their navigation though.EelcoOn 3/10/06, Gili 
[EMAIL PROTECTED] wrote: Normally I would agree... but this has been going on for over a year now (them making promises that CVS will get fixed anytime now). I don't doubt that SVN support will become standard on 
SF.net sometime soon. I *do* doubt that their reliability will change. Who says SVN will work any better than CVS? The flakiness was never in the CVS software, it was in the SF hardware and/or configuration.
 java.net has a better track record and they do seem to meet all the requirements (don't they?). Isn't it worth looking into it? Gili
 Guillermo Castro wrote:  Gili,   SouceForge has SVN support too. I think that SF is making lots of  progress in getting their tools together. The recent redesign of the
  pages, the added svn support, etc. means that SF is still fighting to be  *the* open source software projects repository.   Regards,   On 3/10/06, *Gili* 
[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] wrote:Also, 
java.net http://java.net just got SVN support!   
https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93  
https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93   Gili   Gili wrote:  Hi, 
  I just realized java.net http://java.net has a very fast  CVS server, mailing lists,  issue tracker, etc... I think it has everything we need (correct
  me if  I'm wrong).   Also, I think we could even plug in JIRA to use as the issue  tracker  if we wanted.
   Would it be possible to move off SF's crusty CVS server and onto  java.net http://java.net
?   Gili   --  http://www.desktopbeautifier.com/  
  ---  This SF.Net email is sponsored by xPML, a groundbreaking scripting  language  that extends applications into web and mobile media. Attend the live
  webcast  and join the prime developer group breaking into this new coding  territory!  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user
  https://lists.sourceforge.net/lists/listinfo/wicket-user  --
  Guillermo Castro [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]
  Monterrey NL, Mexico http://www.javageek.org/ -- http://www.desktopbeautifier.com/
 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Gili


What do you mean by navigation?

Gili

Eelco Hillenius wrote:

I don't like their navigation though.

Eelco

On 3/10/06, Gili [EMAIL PROTECTED] wrote:

Normally I would agree... but this has been going on for over a year
now (them making promises that CVS will get fixed anytime now). I don't
doubt that SVN support will become standard on SF.net sometime soon. I
*do* doubt that their reliability will change. Who says SVN will work
any better than CVS? The flakiness was never in the CVS software, it was
in the SF hardware and/or configuration.

java.net has a better track record and they do seem to meet all the
requirements (don't they?). Isn't it worth looking into it?

Gili

Guillermo Castro wrote:

Gili,

SouceForge has SVN support too. I think that SF is making lots of
progress in getting their tools together. The recent redesign of the
pages, the added svn support, etc. means that SF is still fighting to be
*the* open source software projects repository.

Regards,

On 3/10/06, *Gili* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


Also, java.net http://java.net just got SVN support!


https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

Gili

Gili wrote:
  Hi,
 
  I just realized java.net http://java.net has a very fast
CVS server, mailing lists,
  issue tracker, etc... I think it has everything we need (correct
me if
  I'm wrong).
 
  Also, I think we could even plug in JIRA to use as the issue
tracker
  if we wanted.
 
  Would it be possible to move off SF's crusty CVS server and onto
  java.net http://java.net?
 
  Gili

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Guillermo Castro [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Monterrey NL, Mexico http://www.javageek.org/

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Riyad Kalla




If by the crappy left hand menus and not being able to tell what
belongs to the site, what belongs to the project and overall having a
hard time finding files that belong to the project, screenshots, docs,
etc... then yes, me too.

Eelco Hillenius wrote:

  I don't like their navigation though.

Eelco

On 3/10/06, Gili [EMAIL PROTECTED] wrote:
  
  
Normally I would agree... but this has been going on for over a year
now (them making promises that CVS will get fixed anytime now). I don't
doubt that SVN support will become standard on SF.net sometime soon. I
*do* doubt that their reliability will change. Who says SVN will work
any better than CVS? The flakiness was never in the CVS software, it was
in the SF hardware and/or configuration.

java.net has a better track record and they do seem to meet all the
requirements (don't they?). Isn't it worth looking into it?

Gili

Guillermo Castro wrote:


  Gili,

SouceForge has SVN support too. I think that SF is making lots of
progress in getting their tools together. The recent redesign of the
pages, the added svn support, etc. means that SF is still fighting to be
*the* open source software projects repository.

Regards,

On 3/10/06, *Gili* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


Also, java.net http://java.net just got SVN support!

https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

Gili

Gili wrote:
  Hi,
 
  I just realized java.net http://java.net has a very fast
CVS server, mailing lists,
  issue tracker, etc... I think it has everything we need (correct
me if
  I'm wrong).
 
  Also, I think we could even plug in JIRA to use as the issue
tracker
  if we wanted.
 
  Would it be possible to move off SF's crusty CVS server and onto
  java.net http://java.net?
 
  Gili

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Guillermo Castro [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Monterrey NL, Mexico http://www.javageek.org/
  

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  





Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Thomas Becker
wow, no mistaking your stance. content, content, content is what I'm after. On 3/10/06, Gili [EMAIL PROTECTED]
 wrote:You totally control what goes in the main body of the website. Put in
whatever navigation and color-scheme *you* happen to like. Go wild! Ifyou absolutely cannot stand having a sidebar, create your own websiteand link it to java.net resources.
Call me crazy, but I am more concerned with reliability than prettycolors. I've always disliked SourceForge's ugly pages myself untilthey've recently revamped them. You could always write a request to the
java.net admins asking for the ability to banish the sidebar altogetheror make it configurable. Requests go here:
https://java-net.dev.java.net/servlets/ForumMessageList?forumID=93GiliRiyad Kalla wrote: If by the crappy left hand menus and not being able to tell what belongs to the site, what belongs to the project and overall having a hard time
 finding files that belong to the project, screenshots, docs, etc... then yes, me too. Eelco Hillenius wrote: I don't like their navigation though. Eelco
 On 3/10/06, Gili [EMAIL PROTECTED] wrote:
Normally I would agree... but this has been going on for over a year now (them making promises that CVS will get fixed anytime now). I don't doubt that SVN support will become standard on 
SF.net sometime soon. I *do* doubt that their reliability will change. Who says SVN will work any better than CVS? The flakiness was never in the CVS software, it was in the SF hardware and/or configuration.
 java.net has a better track record and they do seem to meet all the requirements (don't they?). Isn't it worth looking into it?
 Gili Guillermo Castro wrote: Gili, SouceForge has SVN support too. I think that SF is making lots of
 progress in getting their tools together. The recent redesign of the pages, the added svn support, etc. means that SF is still fighting to be *the* open source software projects repository.
 Regards, On 3/10/06, *Gili* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote:
Also, java.net http://java.net just got SVN support! 
https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93 
https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93 Gili Gili wrote: Hi,

I just realized java.net http://java.net has a very fast CVS server, mailing lists, issue tracker, etc... I think it has everything we need (correct
 me if I'm wrong).
Also, I think we could even plug in JIRA to use as the issue tracker if we wanted.
Would it be possible to move off SF's crusty CVS server and onto java.net http://java.net?
 Gili -- http://www.desktopbeautifier.com/
 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live
 webcast and join the prime developer group breaking into this new coding territory! 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user
 --
Guillermo
Castro
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Monterrey NL, Mexico 
http://www.javageek.org/ -- http://www.desktopbeautifier.com/
 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
--http://www.desktopbeautifier.com/---This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642___Wicket-user mailing list

Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Eelco Hillenius
The thing is, that such a change is not trivial for us. We had a very
good reason to move away from codehaus, as they were very unresponsive
to our requests. And that was not too long after the start of the
project too. However, moving to some other host now will be a major
undertaking for the team, so we better make sure it is worth it. I'd
say let's wait for a bit and see whether this SVN thing will help our
users out. Furthermore, there have been talks with people from Apache,
which might in the future be one of the options open to us.

Eelco


On 3/10/06, Gili [EMAIL PROTECTED] wrote:

 You totally control what goes in the main body of the website. Put in
 whatever navigation and color-scheme *you* happen to like. Go wild! If
 you absolutely cannot stand having a sidebar, create your own website
 and link it to java.net resources.

 Call me crazy, but I am more concerned with reliability than pretty
 colors. I've always disliked SourceForge's ugly pages myself until
 they've recently revamped them. You could always write a request to the
 java.net admins asking for the ability to banish the sidebar altogether
 or make it configurable. Requests go here:
 https://java-net.dev.java.net/servlets/ForumMessageList?forumID=93

 Gili

 Riyad Kalla wrote:
  If by the crappy left hand menus and not being able to tell what belongs
  to the site, what belongs to the project and overall having a hard time
  finding files that belong to the project, screenshots, docs, etc... then
  yes, me too.
 
  Eelco Hillenius wrote:
  I don't like their navigation though.
 
  Eelco
 
  On 3/10/06, Gili [EMAIL PROTECTED] wrote:
 
  Normally I would agree... but this has been going on for over a 
  year
  now (them making promises that CVS will get fixed anytime now). I don't
  doubt that SVN support will become standard on SF.net sometime soon. I
  *do* doubt that their reliability will change. Who says SVN will work
  any better than CVS? The flakiness was never in the CVS software, it was
  in the SF hardware and/or configuration.
 
  java.net has a better track record and they do seem to meet all 
  the
  requirements (don't they?). Isn't it worth looking into it?
 
  Gili
 
  Guillermo Castro wrote:
 
  Gili,
 
  SouceForge has SVN support too. I think that SF is making lots of
  progress in getting their tools together. The recent redesign of the
  pages, the added svn support, etc. means that SF is still fighting to be
  *the* open source software projects repository.
 
  Regards,
 
  On 3/10/06, *Gili* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
 
  Also, java.net http://java.net just got SVN support!
 
  
  https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
  
  https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
 
  Gili
 
  Gili wrote:
Hi,
   
I just realized java.net http://java.net has a very fast
  CVS server, mailing lists,
issue tracker, etc... I think it has everything we need (correct
  me if
I'm wrong).
   
Also, I think we could even plug in JIRA to use as the issue
  tracker
if we wanted.
   
Would it be possible to move off SF's crusty CVS server and 
  onto
java.net http://java.net?
   
Gili
 
  --
  http://www.desktopbeautifier.com/
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
  that extends applications into web and mobile media. Attend the live
  webcast
  and join the prime developer group breaking into this new coding
  territory!
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
  --
  Guillermo Castro [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  Monterrey NL, Mexico http://www.javageek.org/
 
  --
  http://www.desktopbeautifier.com/
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting 
  language
  that extends applications into web and mobile media. Attend the live 
  webcast
  and join the prime developer group breaking into this new coding 
  territory!
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
  

Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Gili


	One final question, did SourceForge mention whether moving to SVN will 
remove the sync lag between the dev and anonymous servers? There is 
still a couple hours worth of lag between their CVS servers.


Gili

Gili wrote:


That's perfectly fine with me. If SVN anonymous access is reliable 
then I'm more than happy to stay with SourceForge.


Gili

Eelco Hillenius wrote:

The thing is, that such a change is not trivial for us. We had a very
good reason to move away from codehaus, as they were very unresponsive
to our requests. And that was not too long after the start of the
project too. However, moving to some other host now will be a major
undertaking for the team, so we better make sure it is worth it. I'd
say let's wait for a bit and see whether this SVN thing will help our
users out. Furthermore, there have been talks with people from Apache,
which might in the future be one of the options open to us.

Eelco


On 3/10/06, Gili [EMAIL PROTECTED] wrote:
You totally control what goes in the main body of the 
website. Put in

whatever navigation and color-scheme *you* happen to like. Go wild! If
you absolutely cannot stand having a sidebar, create your own website
and link it to java.net resources.

Call me crazy, but I am more concerned with reliability than 
pretty

colors. I've always disliked SourceForge's ugly pages myself until
they've recently revamped them. You could always write a request to the
java.net admins asking for the ability to banish the sidebar altogether
or make it configurable. Requests go here:
https://java-net.dev.java.net/servlets/ForumMessageList?forumID=93

Gili

Riyad Kalla wrote:
If by the crappy left hand menus and not being able to tell what 
belongs

to the site, what belongs to the project and overall having a hard time
finding files that belong to the project, screenshots, docs, etc... 
then

yes, me too.

Eelco Hillenius wrote:

I don't like their navigation though.

Eelco

On 3/10/06, Gili [EMAIL PROTECTED] wrote:

Normally I would agree... but this has been going on for 
over a year
now (them making promises that CVS will get fixed anytime now). I 
don't
doubt that SVN support will become standard on SF.net sometime 
soon. I

*do* doubt that their reliability will change. Who says SVN will work
any better than CVS? The flakiness was never in the CVS software, 
it was

in the SF hardware and/or configuration.

java.net has a better track record and they do seem to 
meet all the

requirements (don't they?). Isn't it worth looking into it?

Gili

Guillermo Castro wrote:


Gili,

SouceForge has SVN support too. I think that SF is making lots of
progress in getting their tools together. The recent redesign of the
pages, the added svn support, etc. means that SF is still 
fighting to be

*the* open source software projects repository.

Regards,

On 3/10/06, *Gili* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


Also, java.net http://java.net just got SVN support!


https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93 


https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93 



Gili

Gili wrote:
  Hi,
 
  I just realized java.net http://java.net has a very 
fast

CVS server, mailing lists,
  issue tracker, etc... I think it has everything we need 
(correct

me if
  I'm wrong).
 
  Also, I think we could even plug in JIRA to use as the 
issue

tracker
  if we wanted.
 
  Would it be possible to move off SF's crusty CVS 
server and onto

  java.net http://java.net?
 
  Gili

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


---
This SF.Net email is sponsored by xPML, a groundbreaking 
scripting

language
that extends applications into web and mobile media. Attend 
the live

webcast
and join the prime developer group breaking into this new coding
territory!

http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 


http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 


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




--
Guillermo Castro [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Monterrey NL, Mexico http://www.javageek.org/


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the 
live webcast
and join the prime developer group breaking into this new coding 
territory!

Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Igor Vaynberg
this has already been discussed on the list! but for the sake of ending this discussion for now, svn uses the same server for anon and authenticated access. so that means no lag. because its the same machine.-Igor
On 3/10/06, Gili [EMAIL PROTECTED] wrote:
One final question, did SourceForge mention whether moving to SVN willremove the sync lag between the dev and anonymous servers? There isstill a couple hours worth of lag between their CVS servers.
GiliGili wrote: That's perfectly fine with me. If SVN anonymous access is reliable then I'm more than happy to stay with SourceForge. Gili Eelco Hillenius wrote:
 The thing is, that such a change is not trivial for us. We had a very good reason to move away from codehaus, as they were very unresponsive to our requests. And that was not too long after the start of the
 project too. However, moving to some other host now will be a major undertaking for the team, so we better make sure it is worth it. I'd say let's wait for a bit and see whether this SVN thing will help our
 users out. Furthermore, there have been talks with people from Apache, which might in the future be one of the options open to us. Eelco On 3/10/06, Gili 
[EMAIL PROTECTED] wrote: You totally control what goes in the main body of the website. Put in whatever navigation and color-scheme *you* happen to like. Go wild! If
 you absolutely cannot stand having a sidebar, create your own website and link it to java.net resources. Call me crazy, but I am more concerned with reliability than
 pretty colors. I've always disliked SourceForge's ugly pages myself until they've recently revamped them. You could always write a request to the 
java.net admins asking for the ability to banish the sidebar altogether or make it configurable. Requests go here: 
https://java-net.dev.java.net/servlets/ForumMessageList?forumID=93 Gili Riyad Kalla wrote: If by the crappy left hand menus and not being able to tell what
 belongs to the site, what belongs to the project and overall having a hard time finding files that belong to the project, screenshots, docs, etc... then
 yes, me too. Eelco Hillenius wrote: I don't like their navigation though. Eelco
 On 3/10/06, Gili [EMAIL PROTECTED] wrote: Normally I would agree... but this has been going on for
 over a year now (them making promises that CVS will get fixed anytime now). I don't doubt that SVN support will become standard on 
SF.net sometime soon. I *do* doubt that their reliability will change. Who says SVN will work any better than CVS? The flakiness was never in the CVS software,
 it was in the SF hardware and/or configuration. java.net has a better track record and they do seem to
 meet all the requirements (don't they?). Isn't it worth looking into it? Gili
 Guillermo Castro wrote: Gili, SouceForge has SVN support too. I think that SF is making lots of
 progress in getting their tools together. The recent redesign of the pages, the added svn support, etc. means that SF is still fighting to be
 *the* open source software projects repository. Regards, On 3/10/06, *Gili* 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 Also, java.net http://java.net just got SVN support!
 https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
 https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93
 Gili Gili wrote: Hi,
 I just realized java.net http://java.net has a very fast
 CVS server, mailing lists, issue tracker, etc... I think it has everything we need (correct me if
 I'm wrong). Also, I think we could even plug in JIRA to use as the issue
 tracker if we wanted. Would it be possible to move off SF's crusty CVS
 server and onto java.net http://java.net?
 Gili -- http://www.desktopbeautifier.com/
 --- This SF.Net email is sponsored by xPML, a groundbreaking
 scripting language that extends applications into web and mobile media. Attend the live
 webcast and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user 
https://lists.sourceforge.net/lists/listinfo/wicket-user --
 Guillermo Castro [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] Monterrey NL, Mexico http://www.javageek.org/ --
 http://www.desktopbeautifier.com/ ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the
 live webcast and join the prime developer group breaking into this new coding territory! 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 

[Wicket-user] URL of shared Resource

2006-03-10 Thread Gili

Hi,

The top of Resource's Javadoc reads:

Resources themselves do not currently have URLs. Instead, they are 
referred to by components that have URLs.


	but this isn't true in the case of bookmarkable resources where the 
user just enters a URL in the browser and gets back the resource. In 
such a case, is there a way for me to get back the URL that generated 
the Resource? I need this in order to generate different images out of 
the same Resource, depending on the query string and/or the rest of the 
URL path.


Thanks,
Gili
--
http://www.desktopbeautifier.com/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Gili


	That's perfectly fine with me. If SVN anonymous access is reliable then 
I'm more than happy to stay with SourceForge.


Gili

Eelco Hillenius wrote:

The thing is, that such a change is not trivial for us. We had a very
good reason to move away from codehaus, as they were very unresponsive
to our requests. And that was not too long after the start of the
project too. However, moving to some other host now will be a major
undertaking for the team, so we better make sure it is worth it. I'd
say let's wait for a bit and see whether this SVN thing will help our
users out. Furthermore, there have been talks with people from Apache,
which might in the future be one of the options open to us.

Eelco


On 3/10/06, Gili [EMAIL PROTECTED] wrote:

You totally control what goes in the main body of the website. Put in
whatever navigation and color-scheme *you* happen to like. Go wild! If
you absolutely cannot stand having a sidebar, create your own website
and link it to java.net resources.

Call me crazy, but I am more concerned with reliability than pretty
colors. I've always disliked SourceForge's ugly pages myself until
they've recently revamped them. You could always write a request to the
java.net admins asking for the ability to banish the sidebar altogether
or make it configurable. Requests go here:
https://java-net.dev.java.net/servlets/ForumMessageList?forumID=93

Gili

Riyad Kalla wrote:

If by the crappy left hand menus and not being able to tell what belongs
to the site, what belongs to the project and overall having a hard time
finding files that belong to the project, screenshots, docs, etc... then
yes, me too.

Eelco Hillenius wrote:

I don't like their navigation though.

Eelco

On 3/10/06, Gili [EMAIL PROTECTED] wrote:


Normally I would agree... but this has been going on for over a year
now (them making promises that CVS will get fixed anytime now). I don't
doubt that SVN support will become standard on SF.net sometime soon. I
*do* doubt that their reliability will change. Who says SVN will work
any better than CVS? The flakiness was never in the CVS software, it was
in the SF hardware and/or configuration.

java.net has a better track record and they do seem to meet all the
requirements (don't they?). Isn't it worth looking into it?

Gili

Guillermo Castro wrote:


Gili,

SouceForge has SVN support too. I think that SF is making lots of
progress in getting their tools together. The recent redesign of the
pages, the added svn support, etc. means that SF is still fighting to be
*the* open source software projects repository.

Regards,

On 3/10/06, *Gili* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


Also, java.net http://java.net just got SVN support!


https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

Gili

Gili wrote:
  Hi,
 
  I just realized java.net http://java.net has a very fast
CVS server, mailing lists,
  issue tracker, etc... I think it has everything we need (correct
me if
  I'm wrong).
 
  Also, I think we could even plug in JIRA to use as the issue
tracker
  if we wanted.
 
  Would it be possible to move off SF's crusty CVS server and onto
  java.net http://java.net?
 
  Gili

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Guillermo Castro [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Monterrey NL, Mexico http://www.javageek.org/


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




---
This SF.Net email is 

Re: [Wicket-user] Re: What about java.net?

2006-03-10 Thread Gili


	You totally control what goes in the main body of the website. Put in 
whatever navigation and color-scheme *you* happen to like. Go wild! If 
you absolutely cannot stand having a sidebar, create your own website 
and link it to java.net resources.


	Call me crazy, but I am more concerned with reliability than pretty 
colors. I've always disliked SourceForge's ugly pages myself until 
they've recently revamped them. You could always write a request to the 
java.net admins asking for the ability to banish the sidebar altogether 
or make it configurable. Requests go here: 
https://java-net.dev.java.net/servlets/ForumMessageList?forumID=93


Gili

Riyad Kalla wrote:
If by the crappy left hand menus and not being able to tell what belongs 
to the site, what belongs to the project and overall having a hard time 
finding files that belong to the project, screenshots, docs, etc... then 
yes, me too.


Eelco Hillenius wrote:

I don't like their navigation though.

Eelco

On 3/10/06, Gili [EMAIL PROTECTED] wrote:
  

Normally I would agree... but this has been going on for over a year
now (them making promises that CVS will get fixed anytime now). I don't
doubt that SVN support will become standard on SF.net sometime soon. I
*do* doubt that their reliability will change. Who says SVN will work
any better than CVS? The flakiness was never in the CVS software, it was
in the SF hardware and/or configuration.

java.net has a better track record and they do seem to meet all the
requirements (don't they?). Isn't it worth looking into it?

Gili

Guillermo Castro wrote:


Gili,

SouceForge has SVN support too. I think that SF is making lots of
progress in getting their tools together. The recent redesign of the
pages, the added svn support, etc. means that SF is still fighting to be
*the* open source software projects repository.

Regards,

On 3/10/06, *Gili* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


Also, java.net http://java.net just got SVN support!


https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

https://java-net.dev.java.net/servlets/ProjectForumMessageView?messageID=11831forumID=93

Gili

Gili wrote:
  Hi,
 
  I just realized java.net http://java.net has a very fast
CVS server, mailing lists,
  issue tracker, etc... I think it has everything we need (correct
me if
  I'm wrong).
 
  Also, I think we could even plug in JIRA to use as the issue
tracker
  if we wanted.
 
  Would it be possible to move off SF's crusty CVS server and onto
  java.net http://java.net?
 
  Gili

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Guillermo Castro [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Monterrey NL, Mexico http://www.javageek.org/
  

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into 

[Wicket-user] portlet support (was Re: [Wicket-develop] wiki in wicket?)

2006-03-10 Thread Eelco Hillenius
I am exited that you consider integrating Wicket in Graffito. We have
tried to startup portlet integration for Wicket several times, and
attracted Ate and Janne to work on that. Unfortunately they didn't
find the time to work on this yet, and I am not sure whether that will
change in the near future.

Anyone wanting to take the lead in an portal integration effort:
you'll have our full cooperation. Please apply.

Eelco

(crossposting this to user to get the call out to a broader audience).

On 3/10/06, Christophe Lombart [EMAIL PROTECTED] wrote:
 Hi,

 In the apache area, we have simila needs :
 I would like to integrate wicket in Graffito
 (http://incubator.apache.org/graffito/) and in Jetspeed but I have to
 work on the portlet support for wicket. Unfortunatly, I have not so
 many time. We plan to build a complete ECM solution in Graffito (wiki,
  news management, forum, DM, CMS, ...). So, I'm looking for someone
 who is interested by this portlet support.

 Christophe


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Karl-Erik Rønsen

When attaching a javascript function event handler to some element in a
static html page i would do this...

document.getElementById( myButton ).onclick = function() {
// do stuff
}

... for some HTML like this ...

input type=button id=myButton value=Click me! /

When creating a custom component with Panel, i cant attach event handlers
this way when the  component will be used multiple times in one page, as the
HTML element id would be duplicated.

What is the best way to attach event handlers to HTML elements in
components, avoiding the problem described?

Thanks in advance.

Karl-Erik




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Igor Vaynberg
use an attribute modifier.you can get the component to print out its id by calling Component.setOutputMarkupId(true).then add an attribute modifier that adds _javascript_ to the onclick event.-Igor
On 3/10/06, Karl-Erik Rønsen [EMAIL PROTECTED] wrote:
When attaching a _javascript_ function event handler to some element in astatic html page i would do this...document.getElementById( myButton ). {// do stuff}
... for some HTML like this ...input type=button id=myButton value=Click me! /When creating a custom component with Panel, i cant attach event handlersthis way when thecomponent will be used multiple times in one page, as the
HTML element id would be duplicated.What is the best way to attach event handlers to HTML elements incomponents, avoiding the problem described?Thanks in advance.Karl-Erik
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Eelco Hillenius
Yep. Though what is missing now, and which I added as a TODO some days
ago, but will fix immediately now, is that the component path contains
':', which gives troubles with javascript. I propose to replace the
':' with '_' (the colons with underscores).

Eelco

On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 use an attribute modifier.

 you can get the component to print out its id by calling
 Component.setOutputMarkupId(true).
 then add an attribute modifier that adds javascript to the onclick event.

 -Igor



 On 3/10/06, Karl-Erik Rønsen [EMAIL PROTECTED] wrote:
 
  When attaching a javascript function event handler to some element in a
  static html page i would do this...
 
  document.getElementById( myButton ).onclick = function() {
  // do stuff
  }
 
  ... for some HTML like this ...
 
  input type=button id=myButton value=Click me! /
 
  When creating a custom component with Panel, i cant attach event handlers
  this way when the  component will be used multiple times in one page, as
 the
  HTML element id would be duplicated.
 
  What is the best way to attach event handlers to HTML elements in
  components, avoiding the problem described?
 
  Thanks in advance.
 
  Karl-Erik
 
 
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Igor Vaynberg
it does? why is that? in which case? ajax stuff has been working fine.-IgorOn 3/10/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:Yep. Though what is missing now, and which I added as a TODO some days
ago, but will fix immediately now, is that the component path contains':', which gives troubles with _javascript_. I propose to replace the':' with '_' (the colons with underscores).EelcoOn 3/10/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote: use an attribute modifier. you can get the component to print out its id by calling Component.setOutputMarkupId
(true). then add an attribute modifier that adds _javascript_ to the onclick event. -Igor On 3/10/06, Karl-Erik Rønsen [EMAIL PROTECTED]
 wrote:   When attaching a _javascript_ function event handler to some element in a  static html page i would do this...   document.getElementById( myButton ). {
  // do stuff  }   ... for some HTML like this ...   input type=button id=myButton value=Click me! /
   When creating a custom component with Panel, i cant attach event handlers  this way when thecomponent will be used multiple times in one page, as the  HTML element id would be duplicated.
   What is the best way to attach event handlers to HTML elements in  components, avoiding the problem described?   Thanks in advance.   Karl-Erik
  ---  This SF.Net email is sponsored by xPML, a groundbreaking scripting language
  that extends applications into web and mobile media. Attend the live webcast  and join the prime developer group breaking into this new coding territory!  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Eelco Hillenius
I tried to use it for those Yahoo components I worked on a bit. And
that failed, until I replaced : with _.

Are you okay with that change before it is too late and people start
depending on it?

Eelco

On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 it does? why is that? in which case? ajax stuff has been working fine.

 -Igor



 On 3/10/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:
 
 Yep. Though what is missing now, and which I added as a TODO some days
 ago, but will fix immediately now, is that the component path contains
 ':', which gives troubles with javascript. I propose to replace the
 ':' with '_' (the colons with underscores).

 Eelco

 On 3/10/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  use an attribute modifier.
 
  you can get the component to print out its id by calling
  Component.setOutputMarkupId (true).
  then add an attribute modifier that adds javascript to the onclick event.
 
  -Igor
 
 
 
  On 3/10/06, Karl-Erik Rønsen [EMAIL PROTECTED]  wrote:
  
   When attaching a javascript function event handler to some element in a
   static html page i would do this...
  
   document.getElementById( myButton ).onclick = function() {
   // do stuff
   }
  
   ... for some HTML like this ...
  
   input type=button id=myButton value=Click me! /
   
   When creating a custom component with Panel, i cant attach event
 handlers
   this way when the  component will be used multiple times in one page, as
  the
   HTML element id would be duplicated.
  
   What is the best way to attach event handlers to HTML elements in
   components, avoiding the problem described?
  
   Thanks in advance.
  
   Karl-Erik
  
  
  
  
   ---
   This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
that extends applications into web and mobile media. Attend the live
  webcast
   and join the prime developer group breaking into this new coding
  territory!
  
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___

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




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Igor Vaynberg
yeah, i guess so. stupid yahoo components, maybe they are using : as a separate for something. might as well use ^ instead of _ its probably more rare.-IgorOn 3/10/06, 
Eelco Hillenius [EMAIL PROTECTED] wrote:
I tried to use it for those Yahoo components I worked on a bit. Andthat failed, until I replaced : with _.Are you okay with that change before it is too late and people startdepending on it?Eelco
On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it does? why is that? in which case? ajax stuff has been working fine. -Igor
 On 3/10/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:  Yep. Though what is missing now, and which I added as a TODO some days
 ago, but will fix immediately now, is that the component path contains ':', which gives troubles with _javascript_. I propose to replace the ':' with '_' (the colons with underscores). Eelco
 On 3/10/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:  use an attribute modifier.   you can get the component to print out its id by calling
  Component.setOutputMarkupId (true).  then add an attribute modifier that adds _javascript_ to the onclick event.   -Igor On 3/10/06, Karl-Erik Rønsen 
[EMAIL PROTECTED]  wrote: When attaching a _javascript_ function event handler to some element in a   static html page i would do this...
 document.getElementById( myButton ). {   // do stuff   } ... for some HTML like this ...
 input type=button id=myButton value=Click me! /When creating a custom component with Panel, i cant attach event
 handlers   this way when thecomponent will be used multiple times in one page, as  the   HTML element id would be duplicated. What is the best way to attach event handlers to HTML elements in
   components, avoiding the problem described? Thanks in advance. Karl-Erik  
 ---   This SF.Net email is sponsored by xPML, a groundbreaking scripting  language  that extends applications into web and mobile media. Attend the live
  webcast   and join the prime developer group breaking into this new coding  territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user---This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Eelco Hillenius
That would conflict with javascript, (power) wouldn't it? I think _ is
fine, and as we  are not using it for our actual paths, it wouldn't
conflict with component names that have underscores in them.

Eelco

On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 yeah, i guess so. stupid yahoo components, maybe they are using : as a
 separate for something. might as well use ^ instead of _ its probably more
 rare.


 -Igor


 On 3/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  I tried to use it for those Yahoo components I worked on a bit. And
  that failed, until I replaced : with _.
 
  Are you okay with that change before it is too late and people start
  depending on it?
 
  Eelco
 
  On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   it does? why is that? in which case? ajax stuff has been working fine.
  
   -Igor
  
  
  
   On 3/10/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:
   
   Yep. Though what is missing now, and which I added as a TODO some days
   ago, but will fix immediately now, is that the component path contains
   ':', which gives troubles with javascript. I propose to replace the
   ':' with '_' (the colons with underscores).
  
   Eelco
  
   On 3/10/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
use an attribute modifier.
   
you can get the component to print out its id by calling
Component.setOutputMarkupId (true).
then add an attribute modifier that adds javascript to the onclick
 event.
   
-Igor
   
   
   
On 3/10/06, Karl-Erik Rønsen  [EMAIL PROTECTED]  wrote:

 When attaching a javascript function event handler to some element
 in a
 static html page i would do this...

 document.getElementById( myButton ).onclick = function() {
 // do stuff
 }

 ... for some HTML like this ...

 input type=button id=myButton value=Click me! /
 
 When creating a custom component with Panel, i cant attach event
   handlers
 this way when the  component will be used multiple times in one
 page, as
the
 HTML element id would be duplicated.

 What is the best way to attach event handlers to HTML elements in
 components, avoiding the problem described?

 Thanks in advance.

 Karl-Erik





 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
  that extends applications into web and mobile media. Attend the
 live
webcast
 and join the prime developer group breaking into this new coding
territory!

   
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting
 language
   that extends applications into web and mobile media. Attend the live
 webcast
   and join the prime developer group breaking into this new coding
 territory!
  
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
   ___
  
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScript element id in custom component

2006-03-10 Thread Riyad Kalla




I agree with _

Eelco Hillenius wrote:

  That would conflict with _javascript_, (power) wouldn't it? I think _ is
fine, and as we  are not using it for our actual paths, it wouldn't
conflict with component names that have underscores in them.

Eelco

On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  
  
yeah, i guess so. stupid yahoo components, maybe they are using : as a
separate for something. might as well use ^ instead of _ its probably more
rare.


-Igor


On 3/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:


  I tried to use it for those Yahoo components I worked on a bit. And
that failed, until I replaced : with _.

Are you okay with that change before it is too late and people start
depending on it?

Eelco

On 3/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  
  
it does? why is that? in which case? ajax stuff has been working fine.

-Igor



On 3/10/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:

Yep. Though what is missing now, and which I added as a TODO some days
ago, but will fix immediately now, is that the component path contains
':', which gives troubles with _javascript_. I propose to replace the
':' with '_' (the colons with underscores).

Eelco

On 3/10/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:


  use an attribute modifier.

you can get the component to print out its id by calling
Component.setOutputMarkupId (true).
then add an attribute modifier that adds _javascript_ to the onclick
  

  

event.


  

  -Igor



On 3/10/06, Karl-Erik Rnsen  [EMAIL PROTECTED]  wrote:
  
  
When attaching a _javascript_ function event handler to some element

  

  

in a


  

  
static html page i would do this...

document.getElementById( "myButton" ). {
// do stuff
}

... for some HTML like this ...

input type="button" id="myButton" value="Click me!" /

  

  


  
When creating a custom component with Panel, i cant attach event

  

handlers


  
this way when the  component will be used multiple times in one

  

  

page, as


  

  the
  
  
HTML element id would be duplicated.

What is the best way to attach event handlers to HTML elements in
components, avoiding the problem described?

Thanks in advance.

Karl-Erik






  

  

---


  

  
This SF.Net email is sponsored by xPML, a groundbreaking scripting

  
  language
  

   that extends applications into web and mobile media. Attend the

  

live


  

  webcast
  
  
and join the prime developer group breaking into this new coding

  
  territory!
  

  

http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting

  

language


  
that extends applications into web and mobile media. Attend the live

  

webcast


  
and join the prime developer group breaking into this new coding

  

territory!

http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642


  
___

Wicket-user mailing list
Wicket-user@lists.sourceforge.net


  

https://lists.sourceforge.net/lists/listinfo/wicket-user


  


  
  
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
  

language


  that extends applications into web and mobile media. Attend the live
  

webcast


  and join the prime developer group breaking into this new coding
  

territory!

http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642


  ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net