Re: [Wicket-user] PageLink called request two times

2006-04-04 Thread Johan Compagner
please give me more information thenBecause the output of youre logging tells me different things.There the first time the page is rendered and the second time only the buffered response is served.And nothing more.
put an output after the buffered response (where we make the request cycle) does it pass 2 times?johanOn 4/4/06, R.A 
[EMAIL PROTECTED] wrote:Hi Johan.I see...but onBeginRequest is called two times on my application.
It seems that this occure when I use both PageLink(not BookmarkableLink) andFeedbackPanel.As a test I put in FeedbackPanel onwicket.examples.compref.NonBookmarkablePage's constructor and onBeginRequest
method, and I accessed WicketExamples - compref -wicket.markup.html.link.PageLink - go to our private/ non bookmarkablepage.So it reappeared.This occured on both Tomcat and WebSphere.Please make sure that this.
Thank you.R.A--View this message in context: http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3736696
Sent from the Wicket - User forum at Nabble.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
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-04 Thread Ari Suutari

Hi,

We just updates from 1.2 beta2 to beta3 and noticted that
some our components using wicket:head stuff to add things to
page's head no longer work. Closer examination shows that those
components are also using wicket:extend tags.

Things work if we put an empty wicket:extend/wicket:extend
to base panel's html file - after that stuff from derived panel's wicket:head
section appears on page.

   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


Re: [Wicket-user] PageLink called request two times

2006-04-04 Thread R.A

Hi Johan.

This log was output when NonbookmarkablePage was opened.
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === doGet
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === sessionId:
aUaEk1GTIg6WGjZE-Iiu1dE
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === queryString:
wicket:interface=:1:pageLink::ILinkListener
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === bufferedResponse:
null
[06/04/04 17:13:31:969 JST]  16bd736 MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/examples/compref/NonBookmarkablePage.html
[06/04/04 17:13:32:062 JST]  16bd736 SystemOut O ** onBeginRequest
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === doGet
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === sessionId:
aUaEk1GTIg6WGjZE-Iiu1dE
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === queryString:
wicket:interface=:2::
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === bufferedResponse:
[EMAIL PROTECTED]
This is correct.

But after I put in FeedbackPanel on NonbookmarkablePage's constructor, this
was output.
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === doGet
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === sessionId:
rbA269sgN7TjXi-FE_ECGco
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === queryString:
wicket:interface=:1:pageLink::ILinkListener
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === bufferedResponse:
null
[06/04/04 17:17:01:984 JST]  20e5005 MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/examples/compref/NonBookmarkablePage.html
[06/04/04 17:17:02:141 JST]  20e5005 SystemOut O ** onBeginRequest
[06/04/04 17:17:02:156 JST]  20e5005 MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/markup/html/panel/FeedbackPanel.html
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === doGet
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === sessionId:
rbA269sgN7TjXi-FE_ECGco
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === queryString:
wicket:interface=:2::
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === bufferedResponse:
null
[06/04/04 17:17:02:203 JST]  20e5005 SystemOut O ** onBeginRequest
bufferedResponse was null two times and onBeginRequest method was called two
times too.

I put in system out as follows.
wicket.protocol.http.WicketServlet
public final void doGet(final HttpServletRequest servletRequest,
final HttpServletResponse servletResponse) throws 
ServletException,
IOException
{
System.out.println(=== doGet);
long time = System.currentTimeMillis();

// First, set the webapplication for this thread
Application.set(webApplication);

// Try to see if there is a redirect stored
HttpSession httpSession = servletRequest.getSession(false);
if (httpSession != null
 
webApplication.getRequestCycleSettings().getRenderStrategy() ==
IRequestCycleSettings.REDIRECT_TO_BUFFER)
{
String sessionId = httpSession.getId();
String queryString = servletRequest.getQueryString();

System.out.println(=== sessionId:  + sessionId);
System.out.println(=== queryString:  + queryString);

if (queryString != null)
{
BufferedHttpServletResponse bufferedResponse =
webApplication.popBufferedResponse(
sessionId, queryString);

System.out.println(=== bufferedResponse:  + bufferedResponse);

if (bufferedResponse != null)
{

bufferedResponse.writeTo(servletResponse);
// redirect responses are ignored for 
the request logger...
return;
}
}
}


wicket.examples.compref.NonBookmarkablePage
public NonBookmarkablePage(final WebPage referer)
{
if (referer == null)
{
throw new IllegalArgumentException(Argument referer must not be
null);
}

// Add a link to navigate back to the refering page. We now use the
PageLink
// constructor with the Page instance argument, because we allready
have a page instance
// at our disposal
add(new PageLink(navigateBackLink, referer));

// Note that 

Re: [Wicket-user] setting required on multiple form components

2006-04-04 Thread jeiess

thanks Johan,
i got it resolved in the end. 
not sure what i was doing wrong, but after some refactoring it all worked.
js
--
View this message in context: 
http://www.nabble.com/setting-required-on-multiple-form-components-t1368127.html#a3742644
Sent from the Wicket - User forum at Nabble.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] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-04 Thread Juergen Donnerstag
Note that wicket:head MUST be before body, /head,
wicket:panel, wicket:border and wicket:extend. Unfortunately no
error message is thrown yet. Its currently only my laptop. I need to
test it further before committing.

If that is not the case in your example, please send me a stripped
down version of the page and panels etc preferably as junit test case
like in src/test

Juergen

On 4/4/06, Ari Suutari [EMAIL PROTECTED] wrote:
 Hi,

 We just updates from 1.2 beta2 to beta3 and noticted that
 some our components using wicket:head stuff to add things to
 page's head no longer work. Closer examination shows that those
 components are also using wicket:extend tags.

 Things work if we put an empty wicket:extend/wicket:extend
 to base panel's html file - after that stuff from derived panel's 
 wicket:head
 section appears on page.

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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Extra markup while creating listview

2006-04-04 Thread Steve Knight
Ramnivas,Did you get the DOJO-based tree working? If so, I'd be very interested in it.SteveOn 3/29/06, Ramnivas Laddad 
[EMAIL PROTECTED] wrote:Hi,I am continuing my attempt to create a DOJO-based tree (Thanks Igor for
the urlFor() tip).Currently, I am facing a problem of extra markup emitted in a listview.I think there is something wrong with my code, but can't quite figureout what. I am using 1.2-beta2.Here is a short program that illustrates the problem:
Markup:htmlbodydiv wicket:id=listdiv wicket:id=itemitem text/div/div/body
/htmlHome and list class:public class ListViewHome extends WebPage {public ListViewHome() {List testList = new ArrayList();testList.add(one);
testList.add(two);testList.add(three);add(new TestListView(list, testList));}}class TestListView extends ListView {public TestListView(String id, List list) {
super(id, list);}@Overrideprotected void populateItem(ListItem item) {String itemString = (String)item.getModelObject();Label listItemLabel = new Label(item, itemString);
item.add(listItemLabel);}}HTML Output produced:htmlbodydiv wicket:id=listdiv wicket:id=itemone/div
/divdiv wicket:id=listdiv wicket:id=itemtwo/div/divdiv wicket:id=list
div wicket:id=itemthree/div/div/body/htmlWhen used with DOJO-tree, the extra markup (div wicket:id=list)
surrounding every node produces unwanted effects.I will like to have the following output:htmlbodydiv wicket:id=listdiv wicket:id=itemone/div
div wicket:id=itemtwo/divdiv wicket:id=itemthree/div/div/body/htmlPlease help.
Thanks.-Ramnivas---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


[Wicket-user] More on refreshing page contents

2006-04-04 Thread Anders Peterson

Hi All,

With one page I'm displaying a matrix of numbers and I have a problem 
updating/refreshing it. I roughly understand why it doesn't work, but I 
don't know what the best/correct way to make it work is.


Basically I have a ListView of rows and the last column in each row is 
in turn a ListView creating more columns to the right. That final 
ListView is implemented with the code you can see below.


How was I supposed to have done this to have updating/refreshing happen 
as automagically as possible?


(I'm using Wicket 1.1.1)

/Anders

ListView tmpCorrList = new ListView(ID_CORRELATIONS, 
tmpInstrument.getCorrelations()) {


BigDecimal tmpCoefficient;

public void populateItem(final ListItem anItem) {

tmpCoefficient = (BigDecimal) anItem.getModelObject();

anItem.add(new Label(ID_COEFFICIENT, tmpCoefficient.toString()));

}


---
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] More on refreshing page contents

2006-04-04 Thread Maurice Marrink
Hi,

I am also wrestling with the matrix beast and am still exploring my options.
However i might be able to help you out.
In your code the label is given a string as diplay value. This string
is not updated when the item model is. So you should give the label
the model of the item.
If you want some fancy numberformatting to take place you can always
overwrite the getConverter() method of your label to convert the
bigdecimal to a string there.

Hope this helps.

Maurice

On 4/4/06, Anders Peterson [EMAIL PROTECTED] wrote:
 Hi All,

 With one page I'm displaying a matrix of numbers and I have a problem
 updating/refreshing it. I roughly understand why it doesn't work, but I
 don't know what the best/correct way to make it work is.

 Basically I have a ListView of rows and the last column in each row is
 in turn a ListView creating more columns to the right. That final
 ListView is implemented with the code you can see below.

 How was I supposed to have done this to have updating/refreshing happen
 as automagically as possible?

 (I'm using Wicket 1.1.1)

 /Anders

 ListView tmpCorrList = new ListView(ID_CORRELATIONS,
 tmpInstrument.getCorrelations()) {

BigDecimal tmpCoefficient;

public void populateItem(final ListItem anItem) {

tmpCoefficient = (BigDecimal) anItem.getModelObject();

anItem.add(new Label(ID_COEFFICIENT, tmpCoefficient.toString()));

 }


 ---
 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


[Wicket-user] How to remove an AttributeModifier

2006-04-04 Thread Johannes Fahrenkrug

Hi,

how do I remove an AttributeModifier? I know how to change the value, 
but how to I remove it completely?
The context: I have a DropDownChoice, and I want to set 
disabled=disabled which works fine. But now I want to completely 
remove disabled=disabled from the tag.


- Johannes


---
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] How to remove an AttributeModifier

2006-04-04 Thread Johannes Fahrenkrug

That's it! Thanks a lot! :)

- Johannes.

karthik Guru wrote:


can you try component.setIgnoreAttributeModifier(false);

On 4/4/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
 


Hi,

how do I remove an AttributeModifier? I know how to change the value,
but how to I remove it completely?
The context: I have a DropDownChoice, and I want to set
disabled=disabled which works fine. But now I want to completely
remove disabled=disabled from the tag.

- Johannes


---
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

   




--
-- karthik --


---
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
 





---
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] How to remove an AttributeModifier

2006-04-04 Thread karthik Guru
can you try component.setIgnoreAttributeModifier(false);

On 4/4/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
 Hi,

 how do I remove an AttributeModifier? I know how to change the value,
 but how to I remove it completely?
 The context: I have a DropDownChoice, and I want to set
 disabled=disabled which works fine. But now I want to completely
 remove disabled=disabled from the tag.

 - Johannes


 ---
 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



--
 -- karthik --


---
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] More on refreshing page contents

2006-04-04 Thread Igor Vaynberg
actually, the string in the label is fine because the listview rebuilds its items on every request so new labels will be created. the problem is here:ListView tmpCorrList = new ListView(ID_CORRELATIONS,tmpInstrument.getCorrelations
())this is making listview use the same list w/out updating it on every request, this should be a detachable model so that a fresh list is used on every request:IModel listViewModel=new LoadableDetachableModel() { Object load() { return 
tmpInstrument.getCorrelations(); }}ListView tmpCorrList = new ListView(ID_CORRELATIONS, listViewModel) {...};hope this helps,-IgorOn 4/4/06, 
Maurice Marrink [EMAIL PROTECTED] wrote:
Hi,I am also wrestling with the matrix beast and am still exploring my options.However i might be able to help you out.In your code the label is given a string as diplay value. This stringis not updated when the item model is. So you should give the label
the model of the item.If you want some fancy numberformatting to take place you can alwaysoverwrite the getConverter() method of your label to convert thebigdecimal to a string there.Hope this helps.
MauriceOn 4/4/06, Anders Peterson [EMAIL PROTECTED] wrote: Hi All, With one page I'm displaying a matrix of numbers and I have a problem
 updating/refreshing it. I roughly understand why it doesn't work, but I don't know what the best/correct way to make it work is. Basically I have a ListView of rows and the last column in each row is
 in turn a ListView creating more columns to the right. That final ListView is implemented with the code you can see below. How was I supposed to have done this to have updating/refreshing happen
 as automagically as possible? (I'm using Wicket 1.1.1) /Anders ListView tmpCorrList = new ListView(ID_CORRELATIONS, tmpInstrument.getCorrelations()) {
BigDecimal tmpCoefficient;public void populateItem(final ListItem anItem) {tmpCoefficient = (BigDecimal) anItem.getModelObject();anItem.add
(new Label(ID_COEFFICIENT, tmpCoefficient.toString())); } --- 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] How to remove an AttributeModifier

2006-04-04 Thread Igor Vaynberg
another way would be to override isEnabled() on the attribute modifier to return false in certain conditions. this will give you a more fine grained control.-IgorOn 4/4/06, 
Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
That's it! Thanks a lot! :)- Johannes.karthik Guru wrote:can you try component.setIgnoreAttributeModifier(false);On 4/4/06, Johannes Fahrenkrug 
[EMAIL PROTECTED] wrote:Hi,how do I remove an AttributeModifier? I know how to change the value,but how to I remove it completely?The context: I have a DropDownChoice, and I want to set
disabled=disabled which works fine. But now I want to completelyremove disabled=disabled from the tag.- Johannes---
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
-- -- karthik -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=kkid0944bid$1720dat1642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://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?cmd=lnkkid=110944bid=241720dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] How to remove an AttributeModifier

2006-04-04 Thread karthik Guru
just for information sake - Any idea why we have the ability to switch
off only AttributeModifier behaviour and not others? as in
remove(IBehaviour )

On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 another way would be to override isEnabled() on the attribute modifier to
 return false in certain conditions. this will give you a more fine grained
 control.

 -Igor



 On 4/4/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
  That's it! Thanks a lot! :)
 
  - Johannes.
 
  karthik Guru wrote:
 
  can you try component.setIgnoreAttributeModifier(false);
  
  On 4/4/06, Johannes Fahrenkrug  [EMAIL PROTECTED] wrote:
  
  
  Hi,
  
  how do I remove an AttributeModifier? I know how to change the value,
  but how to I remove it completely?
  The context: I have a DropDownChoice, and I want to set
  disabled=disabled which works fine. But now I want to completely
  remove disabled=disabled from the tag.
  
  - Johannes
  
  
  ---
  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
  
  
  
  
  
  --
   -- karthik --
  
  
  ---
  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
  
  
 
 
 
  ---
  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
 




--
 -- karthik --


---
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] Extra markup while creating listview

2006-04-04 Thread Eelco Hillenius
And so am I :)

Eelco

On 4/4/06, Steve Knight [EMAIL PROTECTED] wrote:
 Ramnivas,

 Did you get the DOJO-based tree working?  If so, I'd be very interested in
 it.

 Steve



 On 3/29/06, Ramnivas Laddad  [EMAIL PROTECTED] wrote:
  Hi,
 
  I am continuing my attempt to create a DOJO-based tree (Thanks Igor for
  the urlFor() tip).
 
  Currently, I am facing a problem of extra markup emitted in a listview.
  I think there is something wrong with my code, but can't quite figure
  out what. I am using 1.2-beta2.
 
  Here is a short program that illustrates the problem:
 
  Markup:
  html
  body
  div wicket:id=list
  div wicket:id=itemitem text/div
  /div
  /body
  /html
 
  Home and list class:
  public class ListViewHome extends WebPage {
  public ListViewHome() {
  List testList = new ArrayList();
  testList.add(one);
   testList.add(two);
  testList.add(three);
  add(new TestListView(list, testList));
  }
  }
 
  class TestListView extends ListView {
  public TestListView(String id, List list) {
  super(id, list);
  }
 
  @Override
  protected void populateItem(ListItem item) {
  String itemString = (String)item.getModelObject();
  Label listItemLabel = new Label(item, itemString);
  item.add(listItemLabel);
  }
  }
 
  HTML Output produced:
 
  html
  body
  div wicket:id=list
  div wicket:id=itemone/div
  /div
  div wicket:id=list
  div wicket:id=itemtwo/div
  /div
  div wicket:id=list
  div wicket:id=itemthree/div
  /div
  /body
  /html
 
  When used with DOJO-tree, the extra markup (div wicket:id=list)
  surrounding every node produces unwanted effects.
 
  I will like to have the following output:
 
  html
  body
  div wicket:id=list
  div wicket:id=itemone/div
  div wicket:id=itemtwo/div
  div wicket:id=itemthree/div
  /div
  /body
  /html
 
  Please help.
 
  Thanks.
 
  -Ramnivas
 
 
  ---
  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


[Wicket-user] Re: More on refreshing page contents

2006-04-04 Thread Anders Peterson

Igor Vaynberg wrote:

On 4/4/06, Anders Peterson [EMAIL PROTECTED] wrote:

That worked!

I also had to move the declaration of tmpInstrument to inside the
populateItem method (otherwise all rows were the same).


not really sure what you mean here


I have two ListViews - one for the rows and one for the columns. The 
tmpInstrument variable was declared as a member of the first ListView. I 
only assigned new values to it in the populateItem method. That resulted 
in all rows being equal. If I moved the declaration to inside the 
populateItem method everything works as it should. (All code we've 
discussed has been inside the populateItem method of the first ListView).


Object load() {
return tmpInstrument.getCorrelations();
}

I created several rows each with its own LoadableDetachableModel, but 
all of them referenced the same tmpInstrument.


/Anders


Thanks!

(I feel this was a bit more complicated than it should be.)

Could this have been done with a CompoundPropertyModel and Loop:s
instead of ListView:s - using ognl like instrument[i].correlation[j] ?



the problem is that if you give listview a list it will store that list in
session. what you need is a way to tell it to pull the list every time it
renders, thats what detachable models are for.

-Igor




---
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: More on refreshing page contents

2006-04-04 Thread Eelco Hillenius
Anything would have worked as long as the list that you return is
fresh by either using a detachable model, or one of the models that
re-evaluate on every call, like PropertyModels or e.g. a model like:

IModel listViewModel = new Model() {
  Object getObject(Component c) {
return tmpInstrument.getCorrelations();
  }
}

There is no specific advantage of Loops over ListViews in this case.
Loops are simply designed to be a simpler but more limited version. of
ListView.

Eelco


On 4/4/06, Anders Peterson [EMAIL PROTECTED] wrote:
 That worked!

 I also had to move the declaration of tmpInstrument to inside the
 populateItem method (otherwise all rows were the same).

 Thanks!

 (I feel this was a bit more complicated than it should be.)

 Could this have been done with a CompoundPropertyModel and Loop:s
 instead of ListView:s - using ognl like instrument[i].correlation[j] ?

 /Anders

 Igor Vaynberg wrote:
  actually, the string in the label is fine because the listview rebuilds its
  items on every request so new labels will be created.
 
  the problem is here:
  ListView tmpCorrList = new ListView(ID_CORRELATIONS,
  tmpInstrument.getCorrelations())
 
  this is making listview use the same list w/out updating it on every
  request, this should be a detachable model so that a fresh list is used on
  every request:
 
  IModel listViewModel=new LoadableDetachableModel() { Object load() { return
  tmpInstrument.getCorrelations(); }}
  ListView tmpCorrList = new ListView(ID_CORRELATIONS, listViewModel) {
  ...
  };
 
  hope this helps,
  -Igor
 
  On 4/4/06, Maurice Marrink [EMAIL PROTECTED] wrote:
  Hi,
 
  I am also wrestling with the matrix beast and am still exploring my
  options.
  However i might be able to help you out.
  In your code the label is given a string as diplay value. This string
  is not updated when the item model is. So you should give the label
  the model of the item.
  If you want some fancy numberformatting to take place you can always
  overwrite the getConverter() method of your label to convert the
  bigdecimal to a string there.
 
  Hope this helps.
 
  Maurice
 
  On 4/4/06, Anders Peterson wrote:
  Hi All,
 
  With one page I'm displaying a matrix of numbers and I have a problem
  updating/refreshing it. I roughly understand why it doesn't work, but I
  don't know what the best/correct way to make it work is.
 
  Basically I have a ListView of rows and the last column in each row is
  in turn a ListView creating more columns to the right. That final
  ListView is implemented with the code you can see below.
 
  How was I supposed to have done this to have updating/refreshing happen
  as automagically as possible?
 
  (I'm using Wicket 1.1.1)
 
  /Anders
 
  ListView tmpCorrList = new ListView(ID_CORRELATIONS,
  tmpInstrument.getCorrelations()) {
 
 BigDecimal tmpCoefficient;
 
 public void populateItem(final ListItem anItem) {
 
 tmpCoefficient = (BigDecimal) anItem.getModelObject();
 
 anItem.add(new Label(ID_COEFFICIENT, tmpCoefficient.toString()));
 
  }
 
 
  ---
  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
 
 


 --
 http://ojalgo.org/

 Mathematics, Linear Algebra and Optimisation with Java


 ---
 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 

Re: [Wicket-user] Weird problem with AJAX and crypted url...

2006-04-04 Thread Juergen Donnerstag
The error message means that the string to be decrypted does not have
the proper/expected length (padding). The problem is the encrypted
string must be URL encoded to make sure that only chars are use which
are allowed in URLs. The only reason I can think of: The following
equation should be true: url == decode(encode(url)), but obviously it
is not. What would be helpful if you were able to provide as the
un-encoded (original) url and the encode one which fails to decrypt.

Juergen

On 4/4/06, Ramnivas Laddad [EMAIL PROTECTED] wrote:
 Just a bit more information: I switched non-crypted  request and
 response. With that change, application works just fine.

 -Ramnivas

 Ramnivas Laddad wrote:
  I have a tree with each node containing an AjaxLink. Clicking on
  certain links works correctly, but others fail with a 500 error.
 
  I am using WebRequestWithCryptedUrl, creating by my application as
  follows:
 protected WebRequest newWebRequest(HttpServletRequest
  servletRequest) {
 return new WebRequestWithCryptedUrl(servletRequest);
 }
 
  While trying to debug the problem, I see that for the failed links, a
  BadPaddingException (with message Given final block not properly
  padded) is thrown when AbstractCrypt.decryptStringToByteArray() calls
  the crypt() method. This in turn throws a WicketRuntimeException
  leading to a 500 error.
 
  I am using just the default crypt factory and this is with 1.2-beta3.
 
  Any ideas what could be the problem.
 
  -Ramnivas
 
 
 
  ---
  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



---
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: More on refreshing page contents

2006-04-04 Thread Anders Peterson

That worked!

I also had to move the declaration of tmpInstrument to inside the 
populateItem method (otherwise all rows were the same).


Thanks!

(I feel this was a bit more complicated than it should be.)

Could this have been done with a CompoundPropertyModel and Loop:s 
instead of ListView:s - using ognl like instrument[i].correlation[j] ?


/Anders

Igor Vaynberg wrote:

actually, the string in the label is fine because the listview rebuilds its
items on every request so new labels will be created.

the problem is here:
ListView tmpCorrList = new ListView(ID_CORRELATIONS,
tmpInstrument.getCorrelations())

this is making listview use the same list w/out updating it on every
request, this should be a detachable model so that a fresh list is used on
every request:

IModel listViewModel=new LoadableDetachableModel() { Object load() { return
tmpInstrument.getCorrelations(); }}
ListView tmpCorrList = new ListView(ID_CORRELATIONS, listViewModel) {
...
};

hope this helps,
-Igor

On 4/4/06, Maurice Marrink [EMAIL PROTECTED] wrote:

Hi,

I am also wrestling with the matrix beast and am still exploring my
options.
However i might be able to help you out.
In your code the label is given a string as diplay value. This string
is not updated when the item model is. So you should give the label
the model of the item.
If you want some fancy numberformatting to take place you can always
overwrite the getConverter() method of your label to convert the
bigdecimal to a string there.

Hope this helps.

Maurice

On 4/4/06, Anders Peterson wrote:

Hi All,

With one page I'm displaying a matrix of numbers and I have a problem
updating/refreshing it. I roughly understand why it doesn't work, but I
don't know what the best/correct way to make it work is.

Basically I have a ListView of rows and the last column in each row is
in turn a ListView creating more columns to the right. That final
ListView is implemented with the code you can see below.

How was I supposed to have done this to have updating/refreshing happen
as automagically as possible?

(I'm using Wicket 1.1.1)

/Anders

ListView tmpCorrList = new ListView(ID_CORRELATIONS,
tmpInstrument.getCorrelations()) {

   BigDecimal tmpCoefficient;

   public void populateItem(final ListItem anItem) {

   tmpCoefficient = (BigDecimal) anItem.getModelObject();

   anItem.add(new Label(ID_COEFFICIENT, tmpCoefficient.toString()));

}


---
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






--
http://ojalgo.org/

Mathematics, Linear Algebra and Optimisation with Java



---
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: More on refreshing page contents

2006-04-04 Thread Igor Vaynberg
On 4/4/06, Anders Peterson [EMAIL PROTECTED] wrote:
That worked!I also had to move the declaration of tmpInstrument to inside thepopulateItem method (otherwise all rows were the same).not really sure what you mean here
Thanks!(I feel this was a bit more complicated than it should be.)Could this have been done with a CompoundPropertyModel and Loop:sinstead of ListView:s - using ognl like instrument[i].correlation[j] ?
the problem is that if you give listview a list it will store that list in session. what you need is a way to tell it to pull the list every time it renders, thats what detachable models are for.
-Igor


Re: [Wicket-user] Weird problem with AJAX and crypted url...

2006-04-04 Thread Juergen Donnerstag
I think we are doing it already, but haven't checked the code.

Juergen

On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 we might have to base64 the encoded string before putting it into the url.

 -IGor



 On 4/4/06, Juergen Donnerstag  [EMAIL PROTECTED] wrote:
 
 The error message means that the string to be decrypted does not have
 the proper/expected length (padding). The problem is the encrypted
 string must be URL encoded to make sure that only chars are use which
 are allowed in URLs. The only reason I can think of: The following
 equation should be true: url == decode(encode(url)), but obviously it
 is not. What would be helpful if you were able to provide as the
 un-encoded (original) url and the encode one which fails to decrypt.

 Juergen

 On 4/4/06, Ramnivas Laddad  [EMAIL PROTECTED] wrote:
  Just a bit more information: I switched non-crypted  request and
  response. With that change, application works just fine.
 
  -Ramnivas
 
  Ramnivas Laddad wrote:
   I have a tree with each node containing an AjaxLink. Clicking on
   certain links works correctly, but others fail with a 500 error.
  
   I am using WebRequestWithCryptedUrl, creating by my application as
   follows:
  protected WebRequest
 newWebRequest(HttpServletRequest
   servletRequest) {
  return new
 WebRequestWithCryptedUrl(servletRequest);
  }
  
   While trying to debug the problem, I see that for the failed links, a
   BadPaddingException (with message Given final block not properly
   padded) is thrown when
 AbstractCrypt.decryptStringToByteArray () calls
   the crypt() method. This in turn throws a WicketRuntimeException
   leading to a 500 error.
  
   I am using just the default crypt factory and this is with 1.2-beta3.
  
   Any ideas what could be the problem.
  
   -Ramnivas
  
  
  
   ---
   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
 


 ---

 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] Re: More on refreshing page contents

2006-04-04 Thread Igor Vaynberg
while it is true that new Model() { getObject() . will work, it is better to use AbstractReadOnlyModel as the base instead because it will error if you call setObject() on it by mistake.-Igor
On 4/4/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Anything would have worked as long as the list that you return isfresh by either using a detachable model, or one of the models thatre-evaluate on every call, like PropertyModels or e.g. a model like:IModel listViewModel = new Model() {
Object getObject(Component c) {return tmpInstrument.getCorrelations();}}There is no specific advantage of Loops over ListViews in this case.Loops are simply designed to be a simpler but more limited version. of
ListView.EelcoOn 4/4/06, Anders Peterson [EMAIL PROTECTED] wrote: That worked! I also had to move the declaration of tmpInstrument to inside the
 populateItem method (otherwise all rows were the same). Thanks! (I feel this was a bit more complicated than it should be.) Could this have been done with a CompoundPropertyModel and Loop:s
 instead of ListView:s - using ognl like instrument[i].correlation[j] ? /Anders Igor Vaynberg wrote:  actually, the string in the label is fine because the listview rebuilds its
  items on every request so new labels will be created.   the problem is here:  ListView tmpCorrList = new ListView(ID_CORRELATIONS,  tmpInstrument.getCorrelations
())   this is making listview use the same list w/out updating it on every  request, this should be a detachable model so that a fresh list is used on  every request: 
  IModel listViewModel=new LoadableDetachableModel() { Object load() { return  tmpInstrument.getCorrelations(); }}  ListView tmpCorrList = new ListView(ID_CORRELATIONS, listViewModel) {
  ...  };   hope this helps,  -Igor   On 4/4/06, Maurice Marrink [EMAIL PROTECTED] wrote:
  Hi,   I am also wrestling with the matrix beast and am still exploring my  options.  However i might be able to help you out.  In your code the label is given a string as diplay value. This string
  is not updated when the item model is. So you should give the label  the model of the item.  If you want some fancy numberformatting to take place you can always  overwrite the getConverter() method of your label to convert the
  bigdecimal to a string there.   Hope this helps.   Maurice   On 4/4/06, Anders Peterson wrote:  Hi All,
   With one page I'm displaying a matrix of numbers and I have a problem  updating/refreshing it. I roughly understand why it doesn't work, but I  don't know what the best/correct way to make it work is.
   Basically I have a ListView of rows and the last column in each row is  in turn a ListView creating more columns to the right. That final  ListView is implemented with the code you can see below.
   How was I supposed to have done this to have updating/refreshing happen  as automagically as possible?   (I'm using Wicket 
1.1.1)   /Anders   ListView tmpCorrList = new ListView(ID_CORRELATIONS,  tmpInstrument.getCorrelations()) { 
 BigDecimal tmpCoefficient;  public void populateItem(final ListItem anItem) {  tmpCoefficient = (BigDecimal) 
anItem.getModelObject();  anItem.add(new Label(ID_COEFFICIENT, tmpCoefficient.toString()));   }  
  ---  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   -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java
 --- 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 

Re: [Wicket-user] Re: More on refreshing page contents

2006-04-04 Thread Igor Vaynberg
have you seen GridView in extensions? it wraps the listview inside listview idea and adds paging, etc.if you have a fixed set of columns for each row there is DataGridView or a higher level DataTable also in extensions.
there are examples of these in wicket-examples under repeaters.-IgorOn 4/4/06, Anders Peterson 
[EMAIL PROTECTED] wrote:Igor Vaynberg wrote: On 4/4/06, Anders Peterson 
[EMAIL PROTECTED] wrote: That worked! I also had to move the declaration of tmpInstrument to inside the populateItem method (otherwise all rows were the same).
 not really sure what you mean hereI have two ListViews - one for the rows and one for the columns. ThetmpInstrument variable was declared as a member of the first ListView. Ionly assigned new values to it in the populateItem method. That resulted
in all rows being equal. If I moved the declaration to inside thepopulateItem method everything works as it should. (All code we'vediscussed has been inside the populateItem method of the first ListView).
Object load() {return tmpInstrument.getCorrelations();}I created several rows each with its own LoadableDetachableModel, butall of them referenced the same tmpInstrument.
/Anders Thanks! (I feel this was a bit more complicated than it should be.) Could this have been done with a CompoundPropertyModel and Loop:s instead of ListView:s - using ognl like instrument[i].correlation[j] ?
 the problem is that if you give listview a list it will store that list in session. what you need is a way to tell it to pull the list every time it renders, thats what detachable models are for.
 -Igor---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] Weird problem with AJAX and crypted url...

2006-04-04 Thread Igor Vaynberg
we might have to base64 the encoded string before putting it into the url.-IGorOn 4/4/06, Juergen Donnerstag 
[EMAIL PROTECTED] wrote:The error message means that the string to be decrypted does not have
the proper/expected length (padding). The problem is the encryptedstring must be URL encoded to make sure that only chars are use whichare allowed in URLs. The only reason I can think of: The followingequation should be true: url == decode(encode(url)), but obviously it
is not. What would be helpful if you were able to provide as theun-encoded (original) url and the encode one which fails to decrypt.JuergenOn 4/4/06, Ramnivas Laddad 
[EMAIL PROTECTED] wrote: Just a bit more information: I switched non-cryptedrequest and response. With that change, application works just fine. -Ramnivas Ramnivas Laddad wrote:
  I have a tree with each node containing an AjaxLink. Clicking on  certain links works correctly, but others fail with a 500 error.   I am using WebRequestWithCryptedUrl, creating by my application as
  follows: protected WebRequest newWebRequest(HttpServletRequest  servletRequest) { return new WebRequestWithCryptedUrl(servletRequest); } 
  While trying to debug the problem, I see that for the failed links, a  BadPaddingException (with message Given final block not properly  padded) is thrown when AbstractCrypt.decryptStringToByteArray
() calls  the crypt() method. This in turn throws a WicketRuntimeException  leading to a 500 error.   I am using just the default crypt factory and this is with 1.2-beta3.
   Any ideas what could be the problem.   -Ramnivas ---  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---
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] Weird problem with AJAX and crypted url...

2006-04-04 Thread Ramnivas Laddad
Just a bit more information: I switched non-crypted  request and 
response. With that change, application works just fine.


-Ramnivas

Ramnivas Laddad wrote:
I have a tree with each node containing an AjaxLink. Clicking on 
certain links works correctly, but others fail with a 500 error.


I am using WebRequestWithCryptedUrl, creating by my application as 
follows:
   protected WebRequest newWebRequest(HttpServletRequest 
servletRequest) {

   return new WebRequestWithCryptedUrl(servletRequest);
   }

While trying to debug the problem, I see that for the failed links, a 
BadPaddingException (with message Given final block not properly 
padded) is thrown when AbstractCrypt.decryptStringToByteArray() calls 
the crypt() method. This in turn throws a WicketRuntimeException 
leading to a 500 error.


I am using just the default crypt factory and this is with 1.2-beta3.

Any ideas what could be the problem.

-Ramnivas



---
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] Weird problem with AJAX and crypted url...

2006-04-04 Thread Igor Vaynberg
please file a bug so this doesnt slip through the cracks.-IgorOn 4/4/06, Ramnivas Laddad [EMAIL PROTECTED]
 wrote:Just a bit more information: I switched non-cryptedrequest andresponse. With that change, application works just fine.
-RamnivasRamnivas Laddad wrote: I have a tree with each node containing an AjaxLink. Clicking on certain links works correctly, but others fail with a 500 error. I am using WebRequestWithCryptedUrl, creating by my application as
 follows:protected WebRequest newWebRequest(HttpServletRequest servletRequest) {return new WebRequestWithCryptedUrl(servletRequest);} While trying to debug the problem, I see that for the failed links, a
 BadPaddingException (with message Given final block not properly padded) is thrown when AbstractCrypt.decryptStringToByteArray() calls the crypt() method. This in turn throws a WicketRuntimeException
 leading to a 500 error. I am using just the default crypt factory and this is with 1.2-beta3. Any ideas what could be the problem. -Ramnivas
 --- 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] Weird problem with AJAX and crypted url...

2006-04-04 Thread Igor Vaynberg
if we are base64 encoding the string why do we need to urlencode it? it should be safe already.-IgorOn 4/4/06, Juergen Donnerstag 
[EMAIL PROTECTED] wrote:I think we are doing it already, but haven't checked the code.
JuergenOn 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we might have to base64 the encoded string before putting it into the url.
 -IGor On 4/4/06, Juergen Donnerstag  [EMAIL PROTECTED] wrote:  The error message means that the string to be decrypted does not have
 the proper/expected length (padding). The problem is the encrypted string must be URL encoded to make sure that only chars are use which are allowed in URLs. The only reason I can think of: The following
 equation should be true: url == decode(encode(url)), but obviously it is not. What would be helpful if you were able to provide as the un-encoded (original) url and the encode one which fails to decrypt.
 Juergen On 4/4/06, Ramnivas Laddad  [EMAIL PROTECTED] wrote:  Just a bit more information: I switched non-cryptedrequest and
  response. With that change, application works just fine.   -Ramnivas   Ramnivas Laddad wrote:   I have a tree with each node containing an AjaxLink. Clicking on
   certain links works correctly, but others fail with a 500 error. I am using WebRequestWithCryptedUrl, creating by my application as   follows:  protected WebRequest
 newWebRequest(HttpServletRequest   servletRequest) {  return new WebRequestWithCryptedUrl(servletRequest);  } While trying to debug the problem, I see that for the failed links, a
   BadPaddingException (with message Given final block not properly   padded) is thrown when AbstractCrypt.decryptStringToByteArray () calls   the crypt() method. This in turn throws a WicketRuntimeException
   leading to a 500 error. I am using just the default crypt factory and this is with 1.2-beta3. Any ideas what could be the problem.
 -Ramnivas ---   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  --- 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 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



[Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Steve Knight
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. 
Here is my IndicatingAjaxSubmitButton class:abstract class IndicatingAjaxSubmitButton extends AjaxSubmitButton implements IAjaxIndicatorAware {private final WicketAjaxIndicatorAppender indicatorAppender = new WicketAjaxIndicatorAppender(); 
public IndicatingAjaxSubmitButton(String id, Form form) {super(id, form);add(indicatorAppender);}public String getAjaxIndicatorMarkupId() {returnindicatorAppender.getMarkupId
();}}Here is the relevant bit of html that gets generated:input value=submit via ajax type=button wicket:id=ajax-submit-button  wicketAjaxCallMade=wicketSubmitFormById('selectForm', '/smarttag2/app?wicket:interface=:0:ajax-submit-button:-1:IUnversionedBehaviorListenerwicket:behaviorId=0' , function() { wicketHide('ajax-submit-button--ajax-indicator');});; return true; id=ajax-submit-button/span style=display:none; class=wicket-ajax-indicator id=ajax-submit-button--ajax-indicatorimg src=""
Am I missing something?Steve


Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Igor Vaynberg
can you try against trunk or beta3?-IgorOn 4/4/06, Steve Knight [EMAIL PROTECTED] wrote:
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. 
Here is my IndicatingAjaxSubmitButton class:abstract class IndicatingAjaxSubmitButton extends AjaxSubmitButton implements IAjaxIndicatorAware {private final WicketAjaxIndicatorAppender indicatorAppender = new WicketAjaxIndicatorAppender(); 
public IndicatingAjaxSubmitButton(String id, Form form) {super(id, form);add(indicatorAppender);}public String getAjaxIndicatorMarkupId() {returnindicatorAppender.getMarkupId

();}}Here is the relevant bit of html that gets generated:input value=submit via ajax type=button wicket:id=ajax-submit-button  wicketAjaxCallMade=wicketSubmitFormById('selectForm', '/smarttag2/app?wicket:interface=:0:ajax-submit-button:-1:IUnversionedBehaviorListenerwicket:behaviorId=0' , function() { wicketHide('ajax-submit-button--ajax-indicator');});; return true; id=ajax-submit-button/span style=display:none; class=wicket-ajax-indicator id=ajax-submit-button--ajax-indicatorimg src=""
Am I missing something?Steve




[Wicket-user] links problems again

2006-04-04 Thread Potje rode kool
Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert




Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Steve Knight
Not easily. I am using Databinder which I think is tied to beta2.SteveOn 4/4/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:can you try against trunk or beta3?
-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. 
Here is my IndicatingAjaxSubmitButton class:abstract class IndicatingAjaxSubmitButton extends AjaxSubmitButton implements IAjaxIndicatorAware {private final WicketAjaxIndicatorAppender indicatorAppender = new WicketAjaxIndicatorAppender(); 
public IndicatingAjaxSubmitButton(String id, Form form) {super(id, form);add(indicatorAppender);}public String getAjaxIndicatorMarkupId() {returnindicatorAppender.getMarkupId


();}}Here is the relevant bit of html that gets generated:input value=submit via ajax type=button wicket:id=ajax-submit-button  wicketAjaxCallMade=wicketSubmitFormById('selectForm', '/smarttag2/app?wicket:interface=:0:ajax-submit-button:-1:IUnversionedBehaviorListenerwicket:behaviorId=0' , function() { wicketHide('ajax-submit-button--ajax-indicator');});; return true; id=ajax-submit-button/span style=display:none; class=wicket-ajax-indicator id=ajax-submit-button--ajax-indicatorimg src=""
Am I missing something?Steve






Re: [Wicket-user] Weird problem with AJAX and crypted url...

2006-04-04 Thread Juergen Donnerstag
I need to look at the code. May be urlencode == base64. But than that
error shouldn't happen provided all base64 chars are allowed within
urls? Based on wikipedia there are at least two different encodings
for base64. One using '+' and '/' and the other (RC 3548) one not,
because + and / may cause problems as well.

Juergen

On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 if we are base64 encoding the string why do we need to urlencode it? it
 should be safe already.

 -Igor



 On 4/4/06, Juergen Donnerstag  [EMAIL PROTECTED] wrote:
 
 I think we are doing it already, but haven't checked the code.

 Juergen

 On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  we might have to base64 the encoded string before putting it into the url.
 
  -IGor
 
 
 
  On 4/4/06, Juergen Donnerstag  [EMAIL PROTECTED] wrote:
  
  The error message means that the string to be decrypted does not have
  the proper/expected length (padding). The problem is the encrypted
  string must be URL encoded to make sure that only chars are use which
  are allowed in URLs. The only reason I can think of: The following
  equation should be true: url == decode(encode(url)), but obviously it
  is not. What would be helpful if you were able to provide as the
  un-encoded (original) url and the encode one which fails to decrypt.
 
  Juergen
 
  On 4/4/06, Ramnivas Laddad  [EMAIL PROTECTED] wrote:
   Just a bit more information: I switched non-crypted  request and
   response. With that change, application works just fine.
  
   -Ramnivas
  
   Ramnivas Laddad wrote:
I have a tree with each node containing an AjaxLink. Clicking on
certain links works correctly, but others fail with a 500 error.
   
I am using WebRequestWithCryptedUrl, creating by my application as
follows:
   protected WebRequest
  newWebRequest(HttpServletRequest
servletRequest) {
   return new
  WebRequestWithCryptedUrl(servletRequest);
   }
   
While trying to debug the problem, I see that for the failed links, a
BadPaddingException (with message Given final block not properly
padded) is thrown when
  AbstractCrypt.decryptStringToByteArray () calls
the crypt() method. This in turn throws a WicketRuntimeException
leading to a 500 error.
   
I am using just the default crypt factory and this is with 1.2-beta3.
   
Any ideas what could be the problem.
   
-Ramnivas
   
   
   
   
 ---
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
  
 
 
  ---
 
  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

Re: [Wicket-user] links problems again

2006-04-04 Thread Igor Vaynberg
wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:
Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert






Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Steve Knight
I will try and make a quickstart project tonight. Another question...is there anyway to define in the markup where the indicator should go? For example, I don't want it to show up right next to the button.
SteveOn 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
hrm. ok. can you make me a quickstart project that reproduces the problem? and then i will try it against trunk and tell you if its been fixed or not.
-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:

Not easily. I am using Databinder which I think is tied to beta2.Steve
On 4/4/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:can you try against trunk or beta3?


-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. 
Here is my IndicatingAjaxSubmitButton class:abstract class IndicatingAjaxSubmitButton extends AjaxSubmitButton implements IAjaxIndicatorAware {private final WicketAjaxIndicatorAppender indicatorAppender = new WicketAjaxIndicatorAppender(); 
public IndicatingAjaxSubmitButton(String id, Form form) {super(id, form);add(indicatorAppender);}public String getAjaxIndicatorMarkupId() {returnindicatorAppender.getMarkupId




();}}Here is the relevant bit of html that gets generated:input value=submit via ajax type=button wicket:id=ajax-submit-button  wicketAjaxCallMade=wicketSubmitFormById('selectForm', '/smarttag2/app?wicket:interface=:0:ajax-submit-button:-1:IUnversionedBehaviorListenerwicket:behaviorId=0' , function() { wicketHide('ajax-submit-button--ajax-indicator');});; return true; id=ajax-submit-button/span style=display:none; class=wicket-ajax-indicator id=ajax-submit-button--ajax-indicatorimg src=""
Am I missing something?Steve










Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Igor Vaynberg
indicator is really any div/span that can be anywhere on the page. if you dont like how the WicketAjaxIndicatorAppender is working, dont use it. create a div somewhere in the markup, give it an id, and return that id in the getIndicatorMarkupId().
-IgorOn 4/4/06, Steve Knight [EMAIL PROTECTED] wrote:
I will try and make a quickstart project tonight. Another question...is there anyway to define in the markup where the indicator should go? For example, I don't want it to show up right next to the button.

SteveOn 4/4/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:
hrm. ok. can you make me a quickstart project that reproduces the problem? and then i will try it against trunk and tell you if its been fixed or not.

-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:


Not easily. I am using Databinder which I think is tied to beta2.Steve
On 4/4/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:can you try against trunk or beta3?



-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. 
Here is my IndicatingAjaxSubmitButton class:abstract class IndicatingAjaxSubmitButton extends AjaxSubmitButton implements IAjaxIndicatorAware {private final WicketAjaxIndicatorAppender indicatorAppender = new WicketAjaxIndicatorAppender(); 
public IndicatingAjaxSubmitButton(String id, Form form) {super(id, form);add(indicatorAppender);}public String getAjaxIndicatorMarkupId() {returnindicatorAppender.getMarkupId





();}}Here is the relevant bit of html that gets generated:input value=submit via ajax type=button wicket:id=ajax-submit-button  wicketAjaxCallMade=wicketSubmitFormById('selectForm', '/smarttag2/app?wicket:interface=:0:ajax-submit-button:-1:IUnversionedBehaviorListenerwicket:behaviorId=0' , function() { wicketHide('ajax-submit-button--ajax-indicator');});; return true; id=ajax-submit-button/span style=display:none; class=wicket-ajax-indicator id=ajax-submit-button--ajax-indicatorimg src=""
Am I missing something?Steve












[Wicket-user] Set default value for DropDownChoice (Was can't get rid of Choose One in DropDownChoice)

2006-04-04 Thread Stefan Lindner
I'm glad that I don't see Choose One anymore. But how can I really set
the default value for a DropDownChoice? It doesn't matter which value I
return in the getDefaultChoice method. It's always the first item of
the DropDownChoice that is displayed.
The only way I found to set a default value was to call

setModel(new CompoundPropertyModel(new Integer(3)));

for list Items One, Two, Three, ... to select item 3. But that's
no way for creation a reusable component to locally set a model. Am I
wrong? Is this the corect way to specify a default value?


Stefan Lindner

--
Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen
Tel.: (09131)691-230, FAX: (09131)691-111
E-Mail: mailto:[EMAIL PROTECTED], Internet:
http://www.visionet.de


---
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] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Frank Silbermann




















I have a question about the intended use of the DataTable components
provided in Wicket Extensions. The DataTable
relies upon an IDataProvider to provide the data. To do this, we implement: 

Iterator
iterate(first, count)

Lacking any advice to the contrary, I assumed that this is
the method which would retrieve data from the database, but this does not seem
to be working well for me.

My database query is parameterized based on page-component
model values, and these may change with each rendering. My problem is that when
one rendering presents a short data set, on the next rendering the DataTable is
not always requesting all of the rows.
The count seems to be affected by the number of rows
returned by the previous rendering.

I suspect this is because my implementation of int DataProvider.size() assumes
that it will be called _after_ Iterator
iterate(first, count) pulls down the data  so its always
one rendering behind.

Should I give the int IDataProvider.size()
method the responsibility for figuring out the query string and going to the
database? (How else would it be
able to tell the DataProvider how many rows to request?)






















Re: [Wicket-user] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Igor Vaynberg
the iterator() and size() are not meant to be used together and there is no, nor ever be, a contract that guarantees any ordering of invocations between these two methods.size() is meant to return the total number of rows
iterator() is used to return a window that will be displayedthose are the only contracts.what exactly is the problem?-IgorOn 4/4/06, 
Frank Silbermann [EMAIL PROTECTED] wrote:





























I have a question about the intended use of the DataTable components
provided in Wicket Extensions. The DataTable
relies upon an IDataProvider to provide the data. To do this, we implement: 

"Iterator
iterate(first, count)"

Lacking any advice to the contrary, I assumed that this is
the method which would retrieve data from the database, but this does not seem
to be working well for me.

My database query is parameterized based on page-component
model values, and these may change with each rendering. My problem is that when
one rendering presents a short data set, on the next rendering the DataTable is
not always requesting all of the rows.
The "count" seems to be affected by the number of rows
returned by the previous rendering.

I suspect this is because my implementation of "int DataProvider.size()" assumes
that it will be called _after_ "Iterator
iterate(first, count)" pulls down the data – so it's always
one rendering behind.

Should I give the "int IDataProvider.size()"
method the responsibility for figuring out the query string and going to the
database? (How else would it be
able to tell the DataProvider how many rows to request?)























Re: [Wicket-user] Set default value for DropDownChoice (Was can't get rid of Choose One in DropDownChoice)

2006-04-04 Thread Igor Vaynberg
initialize the drop down choice' model to the default value when you first render the page.-IgorOn 4/4/06, Stefan Lindner 
[EMAIL PROTECTED] wrote:I'm glad that I don't see Choose One anymore. But how can I really set
the default value for a DropDownChoice? It doesn't matter which value Ireturn in the getDefaultChoice method. It's always the first item ofthe DropDownChoice that is displayed.The only way I found to set a default value was to call
setModel(new CompoundPropertyModel(new Integer(3)));for list Items One, Two, Three, ... to select item 3. But that'sno way for creation a reusable component to locally set a model. Am I
wrong? Is this the corect way to specify a default value?Stefan Lindner--Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen
Tel.: (09131)691-230, FAX: (09131)691-111E-Mail: mailto:[EMAIL PROTECTED], Internet:http://www.visionet.de
---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] WicketAjaxIndicatorAppender

2006-04-04 Thread Igor Vaynberg
hrm. ok. can you make me a quickstart project that reproduces the problem? and then i will try it against trunk and tell you if its been fixed or not.-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:
Not easily. I am using Databinder which I think is tied to beta2.Steve
On 4/4/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:can you try against trunk or beta3?

-IgorOn 4/4/06, 
Steve Knight [EMAIL PROTECTED] wrote:
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. 
Here is my IndicatingAjaxSubmitButton class:abstract class IndicatingAjaxSubmitButton extends AjaxSubmitButton implements IAjaxIndicatorAware {private final WicketAjaxIndicatorAppender indicatorAppender = new WicketAjaxIndicatorAppender(); 
public IndicatingAjaxSubmitButton(String id, Form form) {super(id, form);add(indicatorAppender);}public String getAjaxIndicatorMarkupId() {returnindicatorAppender.getMarkupId



();}}Here is the relevant bit of html that gets generated:input value=submit via ajax type=button wicket:id=ajax-submit-button  wicketAjaxCallMade=wicketSubmitFormById('selectForm', '/smarttag2/app?wicket:interface=:0:ajax-submit-button:-1:IUnversionedBehaviorListenerwicket:behaviorId=0' , function() { wicketHide('ajax-submit-button--ajax-indicator');});; return true; id=ajax-submit-button/span style=display:none; class=wicket-ajax-indicator id=ajax-submit-button--ajax-indicatorimg src=""
Am I missing something?Steve








[Wicket-user] starting jetty with 1.2 beta3

2006-04-04 Thread Scott Swank
I just downloaded the beta3 wicket-examples and created a new Java
project for it in Eclipse 3.1.  When I try to run StartExamples I
receive the following -- which is rather odd since this jar
(org.mortbay.jetty-4.2.24.jar) is visible under project properties:
Java Build Path  Libraries.  Have I just mucked up some dumb detail
in my Eclipse project this time around?

15:09:19.862 EVENT  Started SocketListener on 0.0.0.0:8080
FATAL - StartExamples  - Could not start the Jetty server:
org.mortbay.util.MultiException[java.lang.ClassNotFoundException:
org.apache.jasper.servlet.JspServlet]
15:09:19.862 EVENT  Stopping Acceptor
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
15:09:20.815 EVENT  Stopped SocketListener on 0.0.0.0:8080
15:09:20.815 EVENT  invoker: destroy
15:09:20.815 EVENT  default: destroy
15:09:20.815 EVENT  Stopped
WebApplicationContext[/wicket-examples,Wicket Examples]
15:09:20.815 EVENT  Stopped [EMAIL PROTECTED]

--
Scott Swank
reformed mathematician


---
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] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Frank Silbermann








Assuming that the database query depends
upon whatever page-component selections prompted the post-back, both int
IDataProvider.size() and Iterator IDataProvider.iterator(first,count)
require information that can only
be gotten by a database query.:



Therefore, for each post-back, Ill
need to query the database before _either_
of these methods return.



If both methods query the database
independently, intervening CRUD operations may cause them to return
inconsistent results (a size that is too small or too large). I can and should retrieve both the rows
and their number with a single query.
The question is where I should do this.



My present implementation retrieves the
ResultSet when iterator(first,count) is called, setting a size variable that the
size() method relies upon. 

MY PROBLEM is that Im seeing an
inconsistent number of rows displayed for the same query. It seems to depend upon how large the
previous querys results were.



If the value of count in Iterator
IDataProvider.iterate(first,count) depends upon the results returned by int
IDataProvider.size() that
would explain my problem, because the value of count would have
been based on obsolete information (it would be based on the previous query). I am wondering whether this is the cause
of my problem.



If so, I would ask _which_ framework method _should_ trigger the retrieval of database
information needed by both IDataProvider methods? If I knew which of the two methods were
called first  I could put the database query there. Or, perhaps the database query should be
triggered by some other framework method which is called before either of them.



What are my options?





.



-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: Tuesday, April 04, 2006 3:56
PM
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
?Contract for Iterator IDataProvider.iterator(int first, int count)
???



the iterator() and size() are not meant to be used
together and there is no, nor ever be, a contract that guarantees
any ordering of invocations between these two methods.

size() is meant to return the total number of rows 

iterator() is used to return a window that will be displayed

those are the only contracts.

what exactly is the problem?

-Igor





On 4/4/06, Frank Silbermann [EMAIL PROTECTED]
wrote:

















I have a question about
the intended use of the DataTable components provided in Wicket
Extensions. The DataTable relies upon an IDataProvider to provide the
data. To do this, we implement: 

Iterator
iterate(first, count)

Lacking any advice to the
contrary, I assumed that this is the method which would retrieve data from the
database, but this does not seem to be working well for me.

My database query is
parameterized based on page-component model values, and these may change with
each rendering. My problem is that when one rendering presents a short data
set, on the next rendering the DataTable is not always requesting all of the
rows. The count seems to be affected by the number of rows
returned by the previous rendering.

I suspect this is because
my implementation of int DataProvider.size() assumes that it
will be called _after_
Iterator iterate(first, count) pulls down the data  so it's
always one rendering behind.

Should I give the
int IDataProvider.size() method the responsibility for figuring out
the query string and going to the database? (How else would it be able to
tell the DataProvider how many rows to request?)






























Re: [Wicket-user] starting jetty with 1.2 beta3

2006-04-04 Thread Eelco Hillenius
It seems that it wants the jasper libs too (jasper-runtime-x.jar and
probably jasper-compiler-x.jar).

Eelco


On 4/4/06, Scott Swank [EMAIL PROTECTED] wrote:
 I just downloaded the beta3 wicket-examples and created a new Java
 project for it in Eclipse 3.1.  When I try to run StartExamples I
 receive the following -- which is rather odd since this jar
 (org.mortbay.jetty-4.2.24.jar) is visible under project properties:
 Java Build Path  Libraries.  Have I just mucked up some dumb detail
 in my Eclipse project this time around?

 15:09:19.862 EVENT  Started SocketListener on 0.0.0.0:8080
 FATAL - StartExamples  - Could not start the Jetty server:
 org.mortbay.util.MultiException[java.lang.ClassNotFoundException:
 org.apache.jasper.servlet.JspServlet]
 15:09:19.862 EVENT  Stopping Acceptor
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
 15:09:20.815 EVENT  Stopped SocketListener on 0.0.0.0:8080
 15:09:20.815 EVENT  invoker: destroy
 15:09:20.815 EVENT  default: destroy
 15:09:20.815 EVENT  Stopped
 WebApplicationContext[/wicket-examples,Wicket Examples]
 15:09:20.815 EVENT  Stopped [EMAIL PROTECTED]

 --
 Scott Swank
 reformed mathematician


 ---
 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] Question about DataTable and IDataProvider restated

2006-04-04 Thread Eelco Hillenius
 I suppose the usual approach is to trigger the download of IDataProvider's
 data via the event handler of the submit button.  That way, the data would
 be available for both Iterator IDataProvider.iterate(first, count) and
 int IDataProvider.size().

It's the responsibility of the model(s). Components may rely on models
being properly initialized and available whenever they want to access
them. Model implementations may or may implement detachable behavior,
caching etc.

 However, I do not have a single submit button – I have various sets of
 radio-buttons and a change to any one causes an immediate postback.  I do
 not want to code an event handler for each one of them; I'd rather put my
 database query in a method that is called before the page is rendered
 _regardless_ of the reason.  Can you suggest a suitable method?

So, make that part of your model's implementation. Look at for example
LoadableDetachableModel for ideas, or you can use the implementation
directly too if you want.

Eelco


---
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:Set default value for DropDownChoice (Was can't get rid of Choose One in DropDownChoice)

2006-04-04 Thread Stefan Lindner
-igor writes

initialize the drop down choice' model to the default value when you
first render the page.

Does that really mean, that I can't create a subclass of DropDownChoice
that konws of it's default value by itself? Only when the page gets
rendered I have to add code for the default value? How about a panel
with a standard component that should be reused at several pages?


---
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] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Eelco Hillenius
 Therefore, for each post-back, I'll need to query the database before
 _either_ of these methods return.

 If both methods query the database independently, intervening CRUD
 operations may cause them to return inconsistent results (a size that is too
 small or too large).  I can and should retrieve both the rows and their
 number with a single query.  The question is where I should do this.

Like I stated in my other email, hide this in your model
implementation. For example, on detach load the results (window) and
the current row count in one transaction.

 MY PROBLEM is that I'm seeing an inconsistent number of rows displayed for
 the same query.  It seems to depend upon how large the previous query's
 results were.

That sounds like something very specific for your situation. Is the
database regularly updated from outside your application?

Please don't cross post and keep discussions about the same topic in
the same thread so that it is easier for people to follow them.

Eelco


---
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] getting localized error messages associated with validators

2006-04-04 Thread Johan Compagner
the form component has just a list of messages 'attached' to itthe localizer is used to get the message depending on the key the validator is giving.And looking at the code i believe there will be olny one message (the first validator that fails)
johanOn 4/3/06, karthik Guru [EMAIL PROTECTED] wrote:
Hi All,If i were iterating through all the Validators attached to aFormComponent, how can i get the error message specified in thepage.properties file for each of the validators and for thatcomponent? Does the Localizer class help me with this ?
 -- karthik -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] Question about DataTable and IDataProvider restated

2006-04-04 Thread Frank Silbermann








I suppose the usual approach is to trigger
the download of IDataProviders data via the event handler of the submit
button. That way, the data would be
available for both Iterator IDataProvider.iterate(first,
count) and int IDataProvider.size().



However, I do not have a single submit
button  I have various sets of radio-buttons and a change to any one
causes an immediate postback. I do
not want to code an event handler for each one of them; Id rather put my
database query in a method that is called before the page is rendered _regardless_ of the reason. Can you suggest a suitable method?



I tried putting the database query in Iterator
IDataProvider.iterate(first, count) but that doesnt seem to work,
perhaps because it comes too late for int IDataProvider.size() to
have the information. Putting the
database query in int IDataProvider.size()
may simply reverse the problem.



Into which method _should_ I place the database query?
What are my options?







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frank Silbermann
Sent: Tuesday, April 04, 2006 3:33
PM
To:
wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user]
?Contract for Iterator IDataProvider.iterator(int first, int count)
???















I have a question about
the intended use of the DataTable components provided in Wicket
Extensions. The DataTable relies
upon an IDataProvider to provide the data.
To do this, we implement: 

Iterator
iterate(first, count)

Lacking any advice to the
contrary, I assumed that this is the method which would retrieve data from the
database, but this does not seem to be working well for me.

My database query is
parameterized based on page-component model values, and these may change with
each rendering. My problem is that when one rendering presents a short data
set, on the next rendering the DataTable is not always requesting all of the
rows. The count seems
to be affected by the number of rows returned by the previous rendering.

I suspect this is because
my implementation of int
DataProvider.size() assumes that it will be called _after_ Iterator iterate(first,
count) pulls down the data  so its always one rendering
behind.

Should I give the
int IDataProvider.size() method the responsibility for figuring
out the query string and going to the database? (How else would it be able to tell the
DataProvider how many rows to request?)






















Re: [Wicket-user] Question about DataTable and IDataProvider restated

2006-04-04 Thread Igor Vaynberg
there is nothing to trigger for idataprovider. whenever the datatable renders it will call the appropriate methods. simply make your dataprovide have a reference to your form model and then use that as the criteria for quieries in both size and iterator.
-IgorOn 4/4/06, Frank Silbermann [EMAIL PROTECTED] wrote:

















I suppose the usual approach is to trigger
the download of IDataProvider's data via the event handler of the submit
button. That way, the data would be
available for both "Iterator IDataProvider.iterate(first,
count)" and "int IDataProvider.size()".



However, I do not have a single submit
button – I have various sets of radio-buttons and a change to any one
causes an immediate postback. I do
not want to code an event handler for each one of them; I'd rather put my
database query in a method that is called before the page is rendered _regardless_ of the reason. Can you suggest a suitable method?



I tried putting the database query in "Iterator
IDataProvider.iterate(first, count)" but that doesn't seem to work,
perhaps because it comes too late for "int IDataProvider.size()" to
have the information. Putting the
database query in "int IDataProvider.size()"
may simply reverse the problem.



Into which method _should_ I place the database query?

What are my options?







-Original Message-
From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]] On Behalf Of 
Frank Silbermann
Sent: Tuesday, April 04, 2006 3:33
PM
To:
wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user]
?Contract for Iterator IDataProvider.iterator(int first, int count)
???















I have a question about
the intended use of the DataTable components provided in Wicket
Extensions. The DataTable relies
upon an IDataProvider to provide the data.
To do this, we implement: 

"Iterator
iterate(first, count)"

Lacking any advice to the
contrary, I assumed that this is the method which would retrieve data from the
database, but this does not seem to be working well for me.

My database query is
parameterized based on page-component model values, and these may change with
each rendering. My problem is that when one rendering presents a short data
set, on the next rendering the DataTable is not always requesting all of the
rows. The "count" seems
to be affected by the number of rows returned by the previous rendering.

I suspect this is because
my implementation of "int
DataProvider.size()" assumes that it will be called _after_ "Iterator iterate(first,
count)" pulls down the data – so it's always one rendering
behind.

Should I give the
"int IDataProvider.size()" method the responsibility for figuring
out the query string and going to the database? (How else would it be able to tell the
DataProvider how many rows to request?)























Re: [Wicket-user] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Igor Vaynberg
you dont need to hide/cache anything. instead of trying to push your formstate into the idataprovider, PULL it by letting the dataprovider have a reference to the form's model.-Igor
On 4/4/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Therefore, for each post-back, I'll need to query the database before _either_ of these methods return. If both methods query the database independently, intervening CRUD operations may cause them to return inconsistent results (a size that is too
 small or too large).I can and should retrieve both the rows and their number with a single query.The question is where I should do this.Like I stated in my other email, hide this in your model
implementation. For example, on detach load the results (window) andthe current row count in one transaction. MY PROBLEM is that I'm seeing an inconsistent number of rows displayed for the same query.It seems to depend upon how large the previous query's
 results were.That sounds like something very specific for your situation. Is thedatabase regularly updated from outside your application?Please don't cross post and keep discussions about the same topic in
the same thread so that it is easier for people to follow them.Eelco---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] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Igor Vaynberg

If so, I would ask _which_ framework method _should_ trigger the retrieval of database
information needed by both IDataProvider methods? If I knew which of the two methods were
called first – I could put the database query there. Or, perhaps the database query should be
triggered by some other framework method which is called before either of them.you are meant to do two queries:size() { return { select count(*) from blah } }
iterator(int first, int count) { return { select * from blah where rownum=first and rownumfirst+count }}-Igor


[Wicket-user] Re: WicketAjaxIndicatorAppender

2006-04-04 Thread Nathan Hamblen
Steve Knight wrote:
 Not easily.  I am using Databinder which I think is tied to beta2.

Not anymore!
http://technically.us/n8/articles/2006/04/04/databinder-snapshot-for-wicket-1-2-beta3

Nathan



---
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] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Igor Vaynberg
On 4/4/06, Frank Silbermann [EMAIL PROTECTED] wrote:















If the value of "count" in "Iterator
IDataProvider.iterate(first,count)" depends upon the results returned by "int
IDataProvider.size()" that
would explain my problem, because the value of "count" would have
been based on obsolete information (it would be based on the previous query). I am wondering whether this is the cause
size() is to return the /total/ number of rows available. count is the number of rows you should return for the window. if you set max of 10 rows per page on the datatable then count will always be 10 except for the last page where it can be less.
-Igor


Re: [Wicket-user] starting jetty with 1.2 beta3

2006-04-04 Thread Scott Swank
Eelco -- I can't find either of those jars in the latest tomcat, nor
via google, nor do I see them in wicket 1.2 beta3.  Where do those
jasper jars originate?

Igor -- I don't have maven installed, are there other options for me here?

Thanks again,
Scott


On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 wicket-examples already comes with a configured eclipse project doesnt it?

 also if you have maven 2 installed and run mvn eclipse:eclipse it will
 download all the deps and build the eclipse project files for you.

 -Igor



 On 4/4/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  It seems that it wants the jasper libs too (jasper-runtime-x.jar and
  probably jasper-compiler-x.jar).
 
  Eelco
 
 
  On 4/4/06, Scott Swank [EMAIL PROTECTED] wrote:
   I just downloaded the beta3 wicket-examples and created a new Java
   project for it in Eclipse 3.1.  When I try to run StartExamples I
   receive the following -- which is rather odd since this jar
   (org.mortbay.jetty-4.2.24.jar) is visible under project properties:
   Java Build Path  Libraries.  Have I just mucked up some dumb detail
   in my Eclipse project this time around?
  
   15:09: 19.862 EVENT  Started SocketListener on 0.0.0.0:8080
   FATAL - StartExamples  - Could not start the Jetty server:
  
 org.mortbay.util.MultiException[java.lang.ClassNotFoundException
 :
   org.apache.jasper.servlet.JspServlet]
   15:09:19.862 EVENT  Stopping Acceptor
  
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
   15:09:20.815 EVENT  Stopped SocketListener on 0.0.0.0:8080
   15:09:20.815 EVENT  invoker: destroy
   15:09:20.815 EVENT  default: destroy
   15:09:20.815 EVENT  Stopped
   WebApplicationContext[/wicket-examples,Wicket Examples]
   15:09:20.815 EVENT  Stopped
 [EMAIL PROTECTED]
  
   --
   Scott Swank
   reformed mathematician
  
  
   ---
   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
 




--
Scott Swank
reformed mathematician


---
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] starting jetty with 1.2 beta3

2006-04-04 Thread Alexandre Bairos
The jars are in %tomcat%/common/lib. Jasper-runtime.jar and jasper-compile.jar. Use the ones from tomcat 4.x.On 4/4/06, Scott Swank 
[EMAIL PROTECTED] wrote:Eelco -- I can't find either of those jars in the latest tomcat, nor
via google, nor do I see them in wicket 1.2 beta3.Where do thosejasper jars originate?Igor -- I don't have maven installed, are there other options for me here?Thanks again,ScottOn 4/4/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote: wicket-examples already comes with a configured eclipse project doesnt it? also if you have maven 2 installed and run mvn eclipse:eclipse it will
 download all the deps and build the eclipse project files for you. -Igor On 4/4/06, Eelco Hillenius [EMAIL PROTECTED]
 wrote:  It seems that it wants the jasper libs too (jasper-runtime-x.jar and  probably jasper-compiler-x.jar).   EelcoOn 4/4/06, Scott Swank 
[EMAIL PROTECTED] wrote:   I just downloaded the beta3 wicket-examples and created a new Java   project for it in Eclipse 3.1.When I try to run StartExamples I
   receive the following -- which is rather odd since this jar   (org.mortbay.jetty-4.2.24.jar) is visible under project properties:   Java Build Path  Libraries.Have I just mucked up some dumb detail
   in my Eclipse project this time around? 15:09: 19.862 EVENTStarted SocketListener on 0.0.0.0:8080   FATAL - StartExamples- Could not start the Jetty server:
   org.mortbay.util.MultiException[java.lang.ClassNotFoundException :   org.apache.jasper.servlet.JspServlet]   15:09:19.862 EVENTStopping Acceptor  
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]   15:09:20.815 EVENTStopped SocketListener on 0.0.0.0:8080
   15:09:20.815 EVENTinvoker: destroy   15:09:20.815 EVENTdefault: destroy   15:09:20.815 EVENTStopped   WebApplicationContext[/wicket-examples,Wicket Examples]
   15:09:20.815 EVENTStopped [EMAIL PROTECTED] --   Scott Swank   reformed mathematician
   ---   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 --
Scott Swankreformed mathematician---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] starting jetty with 1.2 beta3

2006-04-04 Thread Scott Swank
Tomcat 4.1.31 -- that got it.  Thanks so much Alexandre.  Now just how
did y'all know that jasper was missing from the exception I posted? 
:)

Scott


On 4/4/06, Alexandre Bairos [EMAIL PROTECTED] wrote:
 The jars are in %tomcat%/common/lib. Jasper-runtime.jar and
 jasper-compile.jar. Use the ones from tomcat 4.x.


 On 4/4/06, Scott Swank  [EMAIL PROTECTED] wrote:
  Eelco -- I can't find either of those jars in the latest tomcat, nor
  via google, nor do I see them in wicket 1.2 beta3.  Where do those
  jasper jars originate?
 
  Igor -- I don't have maven installed, are there other options for me here?
 
  Thanks again,
  Scott
 
 
  On 4/4/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   wicket-examples already comes with a configured eclipse project doesnt
 it?
  
   also if you have maven 2 installed and run mvn eclipse:eclipse it will
   download all the deps and build the eclipse project files for you.
  
   -Igor
  
  
  
   On 4/4/06, Eelco Hillenius [EMAIL PROTECTED]  wrote:
It seems that it wants the jasper libs too (jasper-runtime-x.jar and
probably jasper-compiler-x.jar).
   
Eelco
   
   
On 4/4/06, Scott Swank  [EMAIL PROTECTED] wrote:
 I just downloaded the beta3 wicket-examples and created a new Java
 project for it in Eclipse 3.1.  When I try to run StartExamples I
 receive the following -- which is rather odd since this jar
 (org.mortbay.jetty-4.2.24.jar) is visible under project properties:
 Java Build Path  Libraries.  Have I just mucked up some dumb detail
 in my Eclipse project this time around?

 15:09: 19.862 EVENT  Started SocketListener on 0.0.0.0:8080
 FATAL - StartExamples  - Could not start the Jetty
 server:

  
 org.mortbay.util.MultiException[java.lang.ClassNotFoundException
   :
 org.apache.jasper.servlet.JspServlet]
 15:09:19.862 EVENT  Stopping Acceptor

  
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
 15:09:20.815 EVENT  Stopped SocketListener on 0.0.0.0:8080
 15:09:20.815 EVENT  invoker: destroy
 15:09:20.815 EVENT  default: destroy
 15:09:20.815 EVENT  Stopped
 WebApplicationContext[/wicket-examples,Wicket
 Examples]
 15:09:20.815 EVENT  Stopped
   [EMAIL PROTECTED]

 --
 Scott Swank
 reformed mathematician



 ---
 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
   
  
  
 
 
  --
  Scott Swank
  reformed mathematician
 
 
  ---
  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
 




--
Scott Swank
reformed mathematician


---
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] starting jetty with 1.2 beta3

2006-04-04 Thread Scott Swank
And of course thanks to Eelco for the initial catch.

On 4/4/06, Scott Swank [EMAIL PROTECTED] wrote:
 Tomcat 4.1.31 -- that got it.  Thanks so much Alexandre.  Now just how
 did y'all know that jasper was missing from the exception I posted?
 :)

 Scott


 On 4/4/06, Alexandre Bairos [EMAIL PROTECTED] wrote:
  The jars are in %tomcat%/common/lib. Jasper-runtime.jar and
  jasper-compile.jar. Use the ones from tomcat 4.x.
 
 
  On 4/4/06, Scott Swank  [EMAIL PROTECTED] wrote:
   Eelco -- I can't find either of those jars in the latest tomcat, nor
   via google, nor do I see them in wicket 1.2 beta3.  Where do those
   jasper jars originate?
  
   Igor -- I don't have maven installed, are there other options for me here?
  
   Thanks again,
   Scott
  
  
   On 4/4/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
wicket-examples already comes with a configured eclipse project doesnt
  it?
   
also if you have maven 2 installed and run mvn eclipse:eclipse it will
download all the deps and build the eclipse project files for you.
   
-Igor
   
   
   
On 4/4/06, Eelco Hillenius [EMAIL PROTECTED]  wrote:
 It seems that it wants the jasper libs too (jasper-runtime-x.jar and
 probably jasper-compiler-x.jar).

 Eelco


 On 4/4/06, Scott Swank  [EMAIL PROTECTED] wrote:
  I just downloaded the beta3 wicket-examples and created a new Java
  project for it in Eclipse 3.1.  When I try to run StartExamples I
  receive the following -- which is rather odd since this jar
  (org.mortbay.jetty-4.2.24.jar) is visible under project properties:
  Java Build Path  Libraries.  Have I just mucked up some dumb detail
  in my Eclipse project this time around?
 
  15:09: 19.862 EVENT  Started SocketListener on 0.0.0.0:8080
  FATAL - StartExamples  - Could not start the Jetty
  server:
 
   
  org.mortbay.util.MultiException[java.lang.ClassNotFoundException
:
  org.apache.jasper.servlet.JspServlet]
  15:09:19.862 EVENT  Stopping Acceptor
 
   
  ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
  15:09:20.815 EVENT  Stopped SocketListener on 0.0.0.0:8080
  15:09:20.815 EVENT  invoker: destroy
  15:09:20.815 EVENT  default: destroy
  15:09:20.815 EVENT  Stopped
  WebApplicationContext[/wicket-examples,Wicket
  Examples]
  15:09:20.815 EVENT  Stopped
[EMAIL PROTECTED]
 
  --
  Scott Swank
  reformed mathematician
 
 
 
  ---
  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

   
   
  
  
   --
   Scott Swank
   reformed mathematician
  
  
   ---
   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
  
 
 


 --
 Scott Swank
 reformed mathematician



--
Scott Swank
reformed mathematician


---
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] starting jetty with 1.2 beta3

2006-04-04 Thread Igor Vaynberg
from experience :)

-Igor
On 4/4/06, Scott Swank [EMAIL PROTECTED] wrote:
Tomcat 4.1.31 -- that got it.Thanks so much Alexandre.Now just howdid y'all know that jasper was missing from the exception I posted?:)ScottOn 4/4/06, Alexandre Bairos 
[EMAIL PROTECTED] wrote: The jars are in %tomcat%/common/lib. Jasper-runtime.jar and jasper-compile.jar. Use the ones from tomcat 4.x. On 4/4/06, Scott Swank  
[EMAIL PROTECTED] wrote:  Eelco -- I can't find either of those jars in the latest tomcat, nor  via google, nor do I see them in wicket 1.2 beta3.Where do those  jasper jars originate?
   Igor -- I don't have maven installed, are there other options for me here?   Thanks again,  ScottOn 4/4/06, Igor Vaynberg  
[EMAIL PROTECTED] wrote:   wicket-examples already comes with a configured eclipse project doesnt it? also if you have maven 2 installed and run mvn eclipse:eclipse it will
   download all the deps and build the eclipse project files for you. -Igor On 4/4/06, Eelco Hillenius 
[EMAIL PROTECTED]  wrote:It seems that it wants the jasper libs too (jasper-runtime-x.jar andprobably jasper-compiler-x.jar
).   Eelco  On 4/4/06, Scott Swank  [EMAIL PROTECTED] wrote:
 I just downloaded the beta3 wicket-examples and created a new Java project for it in Eclipse 3.1.When I try to run StartExamples I receive the following -- which is rather odd since this jar
 (org.mortbay.jetty-4.2.24.jar) is visible under project properties: Java Build Path  Libraries.Have I just mucked up some dumb detail in my Eclipse project this time around?
 15:09: 19.862 EVENTStarted SocketListener on 0.0.0.0:8080
FATAL -
StartExamples-
Could not start the Jetty server:   org.mortbay.util.MultiException[java.lang.ClassNotFoundException   : org.apache.jasper.servlet.JspServlet
] 15:09:19.862 EVENTStopping Acceptor   ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080
] 15:09:20.815 EVENTStopped SocketListener on 0.0.0.0:8080 15:09:20.815 EVENTinvoker: destroy 15:09:
20.815 EVENTdefault: destroy 15:09:20.815 EVENTStopped WebApplicationContext[/wicket-examples,Wicket Examples] 15:09:20.815 EVENTStopped
   [EMAIL PROTECTED] -- Scott Swank reformed mathematician
 --- 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   
--  Scott Swank  reformed mathematician---  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 --Scott Swankreformed mathematician---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