Re: [Wicket-user] shades feedback

2006-11-01 Thread Igor Vaynberg
On 10/27/06, Geoff hendrey [EMAIL PROTECTED] wrote:
It's not a singleton. The dbSess, is set into the DAO. I assumes the DAO was not a singleton, so as long as there is a DAO per user's session, there will be a dbSess per user session. The DatabaseSession (dbSess) only keeps two pieces of state:
the dao actually is a singleton - spring is geared towards service layer and most of services and their supporting classes are singletons because they are usually stateless. so you might need some hook into spring to either have a shadessession-per-request or shadessession-per-httpsession perhaps by proxying the session in spring with a bean that can retrieve it from the appropriate scope. spring 2 supports scopes - like session/request so that might work too. depends on how much time you want to invest into supporting spring. 
1) The parameters, which get substituted in for ${} variables.
interesting, so running a query has a sideeffect on the session other then putting some entities into the first level cache? 
same for dbsession if its really meant to be used that way - as a singletonneed some connection support code to implementsingle-connection-per-request. it sucks that every dao op pulls a connection
from the datasource imho - cant have transactions that span multiple callsto dao?OK, I just implemented the DAO this way, because it appeared this DAO didn't need anything more. This is part of the DAO coding.
yes it is part of the dao coding, but as i said if you are going to sell shades you have to build the support just like hibernate/ibatis/jdo/etc have scaffolding for spring
need to get rid of all the try/catch/finally - that code looks scarry and isreplicated in every methodMy thought there was that, sure it could get pushed to some utility class. I'm new to Spring. I don't want to just make some utility class that pushes the code somewhere else. If there's some way to make the try catches go away, by somehow having Spring manage it, that makes sense.
there should be something like openconnectioninview filter in spring or some such that takes care of opening and closing the connection once per request. i would look for something like that. 
-igor
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Custom form validation/updateFormComponentModels()...

2006-11-01 Thread Erik Brakkee
On 10/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
wicket validators do not validate model data, they validate the input. if the input is valid that input is pushed into the componnet's model - that way your component models never contain invalid objects.what you want to work with is 
formcomponent.getconvertedinput()I don't think this approach would be workable for me. I am interested in performing validation checks on complete objects and not on their individual fields represented by form components. Also, I want to use the functionality of these objects to implement validation. 
The closest I could get to what I want is to use the converted input from a compound property model, but that model is typically located in a Panel which is not a form component. I am now solving it by doing custom validation in the onSubmit(). 
-igor
On 10/31/06, Erik Brakkee [EMAIL PROTECTED] wrote:
Hi, I want to implement a custom form validation. Neverhteless, if I use IFormValidator and add the validator to the form, the validator is called before the form component models are updated. As a result I am validating against stale data.
Is there a way to make sure that my validator gets updated component models before it is called? Otherwise, it seems like I need to implement my own validation mechanism in onSubmit(). But then, what is the use of the IFormValidator? 
Cheers Erik

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

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


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DataTable with column styles and widths

2006-11-01 Thread Martijn Dashorst
Yep,

Styling should be done in the css, not on the markup tags. Though
sometimes convenient and I often violate this myself, I cringe
everytime I add a style= attribute to a tag instead of a class=.

Martijn

On 10/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 nothing in the works yet, still trying to figure out the nicest way to do
 this

 niel's idea might be more straightforward but from framework's point of view
 it is too limited and you can further generalize it to

  setStyle(rightadjusted width200) and remove setWidth() completely.

 then the question becomes

 when you call setStyle() on a column - where does that style go? does it go
 onto the th? or the tds?

 -igor



 On 10/31/06, Jan Mikkelsen [EMAIL PROTECTED] wrote:
  I have run into the same requirement and would also like a more elegant
  solution.
  Is something in the works or is there more important stuff to do :) ?
  Personally I prefer Niels' approach because it is very straightforward.
 
  Thanks,
  /Jan
 
 
  Igor Vaynberg wrote:
   i think what would be even better is if icolumn had add(IBehavior)
   that would get attached to the header
  
   right now what you have to do is something like this
  
   new MyColumn() {
Component getHeader() {
   Component c= super.getHeader();
   c.add(new MyAttributeModifier());
  }
   }
  
   which is tricky for newbies to figure out.
  
   -igor
  
  
  
   On 10/14/06, * Niels Bo* [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]  wrote:
  
   Hi
  
   I have this suggestion for an extension to the DataTable component
   that will make it easier to set width and ccs styles individually
   on each column.
  
   It involves these files (attached):
  
IColumn.java - new getWidth() and getStyleName()
AbstractColumn.java - implement default get/set Width and StyleName
 DataTable.html - added colgroupsection
DataTable.java - added a few lines.
  
   Usage like:
 IColumn column = new PropetyColumn(...);
 column.setStyleName(rightadjust);
 column.setWidth(200);
  
   Would this be a useful improvement for other Wicket users?
  
   Niels
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
   security?
   Get stuff done quickly with pre-integrated technology to make your
   job easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   mailto:Wicket-user@lists.sourceforge.net 
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
  
 
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
 security?
   Get stuff done quickly with pre-integrated technology to make your job
 easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
 
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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





-- 
a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
at the a 

[Wicket-user] How to render dynamic html back to the client?

2006-11-01 Thread Chan Man Kam
I stored the html inside the database and want to return
these html back to the client? It is easy to do so in
servlet. But how can I do that inside a wicket's page?

Thanks.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to render dynamic html back to the client?

2006-11-01 Thread Martijn Dashorst
span wicket:id=MyHTML/span

new Label(MyHTML, ..).setEscapeModelStrings(false);

Substitute . with your string or means to get the string.

Martijn

On 11/1/06, Chan Man Kam [EMAIL PROTECTED] wrote:
 I stored the html inside the database and want to return
 these html back to the client? It is easy to do so in
 servlet. But how can I do that inside a wicket's page?

 Thanks.




 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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





-- 
a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
at the a href=http://www.thebeststuffintheworld.com/;Best Stuff in
the World!/a

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem with RestartResponseAtInterceptPageException?

2006-11-01 Thread Johan Compagner
So the onsubmit is done.Then you do a redirect to a page that requires authentication.And the current user doesn't have that. And then it still goes to that page with the onsubmit?This is very strange. Set a breakpoint in PageMap.
final void redirectToInterceptPage(final Page page)orfinal void redirectToInterceptPage(final Class page)and see at what time that url is set.johanOn 10/31/06, 
Andrew Berman [EMAIL PROTECTED] wrote:
Tried it already, still doesn't work. I also tried putting a dummy page between the PageBeforeAuthententicationRequiredPage and the 
MyPageThatRequiresAnAuthenticatedUser which simply does a setRedirect to the 
MyPageThatRequiresAnAuthenticatedUser, but still no dice. Does it make sense for me to play around with the PageMap?On 10/31/06, 
Johan Compagner
 [EMAIL PROTECTED] wrote:

PageBeforeAuthententicationRequiredPage:...onSubmit {
 setResponsePage(MyPageThatRequiresAnAuthenticatedUser.class); setRedirect(true)}johan
On 10/31/06, Andrew Berman
 [EMAIL PROTECTED] wrote:

Hey Guys,
This is the way I have it working.Unfortunately I'm so swamped with work so I can't put together a QuickStart right now, but maybe within the next couple weeks.
MyApplication:getSecuritySettings().setAuthorizationStrategy( new IAuthorizationStrategy() { @SuppressWarnings(unchecked) public boolean isInstantiationAuthorized(
 Class componentClass) { if (WebPage.class.isAssignableFrom(componentClass)) { if (SignInRequired.class .isAssignableFrom(componentClass)) {
 if (!MySession.get().isAuthenticated()) throw new RestartResponseAtInterceptPageException( SignInPage.class



); } } return true; } public boolean isActionAuthorized(Component component, Action action) {
 return true; } });PageBeforeAuthententicationRequiredPage:...onSubmit {
 setResponsePage(MyPageThatRequiresAnAuthenticatedUser.class);}MyPageThatRequiresAnAuthenticatedUser:MyPageThatRequiresAnAuthenticatedUser implements SignInRequired {
 }SignInPage:...continueToOriginalDestination();So, when I go to the MyPageThatRequiresAnAuthenticatedUser page when I'm not authenticated, it does go to the SignInPage, but after I authenticate, it goes back to PageBeforeAuthententicationRequiredPage instead of MyPageThatRequiresAnAuthenticatedUser.
Hope this helps you understand things and thanks again for your help,AndrewOn 10/28/06, 
Igor Vaynberg 
[EMAIL PROTECTED] wrote:yep, how about a quickstart
-igorOn 10/28/06, Johan Compagner 



[EMAIL PROTECTED] wrote:
so in the onsubmit you first redirect to another pageAnd in the constructor of that page you check it it is signed in?
And if not then you throw that restart exception?That should work fine. johan
On 10/28/06, Andrew Berman [EMAIL PROTECTED]
 wrote:
Igor,For the onSubmit of the form's button, though, I do a setResponsePage(MyPageThatRequiresSignIn.class);So shouldn't the original destination be the page I'm trying to go to?--Andrew

On 10/27/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:
original destination is the url - the page that the form is onthe exception does not remember params submitted via post - this does pop up now and then, any reason why you dont do the auth check before the form submit? thats the easy way out
the hard way out is to submit an rfe to our jira, and even better a patch-igorOn 10/27/06, 
Andrew Berman 
[EMAIL PROTECTED] wrote:
Hello,Here is my setup:1. I have an AuthorizationStrategy which checks a page to see if the SIgnIn is required. If it is, it throws a RestartResponseAtInterceptPageException to my SignInPage.
2. I have a page which has a form which does some validation and when you click submit it goes to a page that requires the user to be logged in and it hits the AuthStrategy I wrote in #1.
The problem I'm having is that when you click submit on the form (with no validation errors), and then go to the signin page, and then actually sign in, it takes me back to the form page with a validation error saying that the fields are not filled in. Why is it not going to the original destination?
Thanks,Andrew

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo







http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list







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


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo







Re: [Wicket-user] about wicket 1.2.3

2006-11-01 Thread Johan Compagner
1 see the methods all have a pointer to where they are now* @deprecated will be moved to [EMAIL PROTECTED] IApplicationSettings} in 2.02 maybe igor can make a property for this3 Don't know what the current state is and what exactly the bug is now.
in my eyes a ajax request should never up the version of a page.because the url of the browser doesn't change so if you do a refresh you get another one again.I guess matej is looking into this?johan
On 11/1/06, Ingram Chen [EMAIL PROTECTED] wrote:
All, after upgrade to 1.2.3 (from 1.2.2), some question raised:(1) I see IExceptionSettings is deprecated, but it seems there is no equivalent setting in 1.2 branch Do I just missing something ?

(2) SpringBeanLocator.lookupSpringBean() now force check all injected bean:  if (beans.size() == 0)   throw new IllegalStateException(bean of type [ + 
clazz.getName() + ] not found); This check is good for production. But in test environment, it would be better thatwe can turn off this check somewhere since test case does not always 
prepare non-tested bean.
This change breaks our many test cases(3) The issues related to AjaxTabbedPanel + refresh still not fixed.If this won't be fixed in 1.2 branch, could we have a guideline how to deal withajax component like: Always make page version=false ? or no version for all ajax component ?
-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 


http://www.javaworld.com.tw/roller/page/ingramchen




-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How can I change the tag value?

2006-11-01 Thread Carfield Yim
Say if I need to change the text of a link base on runtime
information, e.g., for the following links:

a href=# wicket:id=change_statusdeactivate/a

For the active user it will show deactivate but for deactivate I
would like it show activate. How can I do that in wicket?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can I change the tag value?

2006-11-01 Thread Erik van Oosten
Hi Carfield,

Do something like this:

a href=# wicket:id=change_statusspan 
wicket:id=statusdeactivate/span/a

and
Link link = new Link(change_status) {
onSubmit() {...}
};
link.add(new Label(status, ));

  Erik.


Carfield Yim schreef:
 Say if I need to change the text of a link base on runtime
 information, e.g., for the following links:

 a href=# wicket:id=change_statusdeactivate/a

 For the active user it will show deactivate but for deactivate I
 would like it show activate. How can I do that in wicket?
   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] about wicket 1.2.3

2006-11-01 Thread Erik van Oosten
I was planning on extending my ajax tabs with something that adds an # 
ancher to the url. That way the url does change but no page reload is 
triggered in the browser. Upon a reload the anchor can be used by the 
component to immediately display the correct tab.
I did not investigate how to do this yet. But I will as soon as I have 
finished the higher priority features.

  Erik.

Johan Compagner wrote:
 3 Don't know what the current state is and what exactly the bug is now.
 in my eyes a ajax request should never up the version of a page.
 because the url of the browser doesn't change so if you do a refresh 
 you get another one again.
 I guess matej is looking into this?

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Question about i18n

2006-11-01 Thread Carfield Yim
Have read these two page:

http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket

Look like I have 2 options:
1) Have a of of span wicket:id=xxx/span at HTML and fill all those
span at Java code.
2) Have a lot of MyPage_[locate].html .

Sound like both are not very ideal, as 1) need programmer add a long
list of labels at java code, and 2) need designer keep multiple copy
of HTML in sync manually.

I just wonder if I have just have HTML template like

 html
body
span wicket:id = main_border
{label.message_to_user}
/span
/body
/html

Then wicket will look it up from bundle without the programmer fill a
long list of span component?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] What is path to component at WicketTester.assertComponent() ??

2006-11-01 Thread Carfield Yim
Do you mean that if this component is wrapped within other component, then it is

other_component/this_component

Otherwise this is just the component id? Am I correct?

On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i would imagine it is the relative path of the component from the page.
 every component is in the hierarchy at the top of which is the page.

 -igor


 On 10/31/06, Carfield Yim [EMAIL PROTECTED] wrote:
  Is that mean the package name? Or the Relative path? But why will a
  component have relative path? If it is something extend Panel class?
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem of using border

2006-11-01 Thread Korbinian Bachl
Hi,

i dont know what you want to press - however, if you want to get a list
containing users with name, email and a link to edit you need first to
iterate over the wicket:id=users tag using a ListView - example can be
found here: http://wicket.sourceforge.net/ExampleGuestBook.html (there the
comments are iterated over and over)

Best Regards,

Korbinian

PS: your HTML code is invalid, as uppercase letters in tags are not allowed!
(going on from XHTML 1.0, they were also deprecated in HTML from 3.01 on)

 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Carfield Yim
 Gesendet: Mittwoch, 1. November 2006 08:11
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Problem of using border
 
 Say I have a page that using a border component like this:
 
 div wicket:id = main_border
   table
   THEAD
 TR
   TH/TH
   THName/TH
   THEmail/TH
 /TR
   /THEAD
   TBODY
   span wicket:id = users
 TR
   TDa href=# wicket:id=user_idEdit User/a/TD
   TDspan wicket:id=user_name/span/TD
   TDspan wicket:id=user_email/span/TD
 /TR
   /span
   /TBODY
   /table
 /div
 
 How can I press span wicket:id = users to the border? In 
 fact this may be more than one component I like to press... 
 Can I just press the rendered result to HTML to the border?
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] What is path to component at WicketTester.assertComponent() ??

2006-11-01 Thread Ingram Chen
the path used in assertComponent() is absolute path to that component in last rendered page. so it could be:tester.assertComponent(myLabel, Label.class);tester.assertComponent(foo:bar:myDeeperLabel, 
Label.class);
tester.assertComponent(myForm:userNameField, TextField.class);

 etcuse : to seperate component id.On 11/1/06, Carfield Yim [EMAIL PROTECTED]
 wrote:Do you mean that if this component is wrapped within other component, then it is
other_component/this_componentOtherwise this is just the component id? Am I correct?On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i would imagine it is the relative path of the component from the page. every component is in the hierarchy at the top of which is the page. -igor On 10/31/06, Carfield Yim 
[EMAIL PROTECTED] wrote:  Is that mean the package name? Or the Relative path? But why will a  component have relative path? If it is something extend Panel class?
   -  Using Tomcat but need to do more? Need to support web services, security?  Get stuff done quickly with pre-integrated technology to make your job
 easier  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user  - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 
http://www.javaworld.com.tw/roller/page/ingramchen
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Erik van Oosten
Hi Carfield,

There is also the wicket:message tag.

I am trying to find documentation on the wiki but I failed. I guess 
you'll have to google for it.

 Erik.

Carfield Yim schreef:
 Have read these two page:

 http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
 http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket

 Look like I have 2 options:
 1) Have a of of span wicket:id=xxx/span at HTML and fill all those
 span at Java code.
 2) Have a lot of MyPage_[locate].html .

 Sound like both are not very ideal, as 1) need programmer add a long
 list of labels at java code, and 2) need designer keep multiple copy
 of HTML in sync manually.

 I just wonder if I have just have HTML template like

  html
 body
 span wicket:id = main_border
 {label.message_to_user}
 /span
 /body
 /html

 Then wicket will look it up from bundle without the programmer fill a
 long list of span component?

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] What is path to component at WicketTester.assertComponent() ??

2006-11-01 Thread Carfield Yim
Thanks, that very clear! Are you one of the developer of wicket? May
be you can consider adding this to javadoc as I guess many user will
have this question.

On 11/1/06, Ingram Chen [EMAIL PROTECTED] wrote:
 the path used in assertComponent() is absolute path to that component in
 last rendered page. so it could be:

 tester.assertComponent(myLabel, Label.class);

 tester.assertComponent(foo:bar:myDeeperLabel, Label.class);

 tester.assertComponent(myForm:userNameField, TextField.class);

  etc

 use : to seperate component id.


 On 11/1/06, Carfield Yim [EMAIL PROTECTED]  wrote:
 
  Do you mean that if this component is wrapped within other component, then
 it is
 
  other_component/this_component
 
  Otherwise this is just the component id? Am I correct?
 
  On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   i would imagine it is the relative path of the component from the page.
   every component is in the hierarchy at the top of which is the page.
  
   -igor
  
  
   On 10/31/06, Carfield Yim  [EMAIL PROTECTED] wrote:
Is that mean the package name? Or the Relative path? But why will a
component have relative path? If it is something extend Panel class?
   
   
  
 -
Using Tomcat but need to do more? Need to support web services,
 security?
Get stuff done quickly with pre-integrated technology to make your job
   easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
   
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
 security?
   Get stuff done quickly with pre-integrated technology to make your job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 --
 Ingram Chen
 Java [EMAIL PROTECTED]
 Institue of BioMedical Sciences Academia Sinica Taiwan
 blog: http://www.javaworld.com.tw/roller/page/ingramchen
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] session timeout listener,part 2

2006-11-01 Thread Alex Parvulescu
Hello,i am having some troubles with the Wicket Session.I need to know before the session expires,so i can log the 'inactive' username.so,reading through this list i got 3 options:1. an implementation of the http session listener
 - no good ,because i really need the wicket session,so i can grab the current logged user2. an extension of HttpSessionStore : class MySessionStore extends HttpSessionStore {  @Override
  protected void onUnbind(String sessionId) {   super.onUnbind(sessionId);   System.out.println(session:  + Session.get());   System.out.println(unbind sid  + sessionId);
  } }-no good ,i get an error - this is called after the session is detatched,or killed,or whatever3. use the method WebApplication.sessionDestroyed(String 
sessionid) -a quote from this list,a bit out of my hands because this method is specific to the WebApplication 's package - java stuff -and i can't overwrite it.
Again,i need a triger or something,before the session dies.Thanks,Alex
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Development list @Apache

2006-11-01 Thread Martijn Dashorst
All,

Just a reminder, the future of Wicket and the implementation details
of models, components, behaviors and so forth are discussed on the
development list. Many discussions are finalized by performing a vote
on the issue, and you can all join in to create an even more active
and engaged community.

If you think or feel you want to be kept up to date or even
participate in such discussions, feel free to subscribe and join us at
the Apache development list.

To do so, send a message to:

[EMAIL PROTECTED]

and follow the instructions. If you don't get a reply back, you can
try to put subscribe into the subject and some text into the body to
get past the spam filter.

The Wicket Team

-- 
Download Wicket 1.2.3 now!

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] popups

2006-11-01 Thread Alex Parvulescu
Hello,I have a popup with a form.A simple ok/cancel thing.what i need to do is,if the user clicks ok - i need to redirect to a different page,else - on cancel - just close the popup.i have been doing some _javascript_ tricks,but the redirect is giving me some headaches.
(this is for closing the current popup window,and refreshing the
'parent' window,so i can actually see what's been changed in the
popup-form.)add(new AjaxSubmitButton(submit, this) {protected void onSubmit(AjaxRequestTarget target, Form form) { target.addJavascript(window.opener.location.reload
(true);); target.addJavascript(window.close();); target.addJavascript(window.location.reload(true););}   });
Any ideas?maybe some changes in wicket so the popups would be controlled better,as i see it now,i have no controll over the parent page once the popup is closed,or 'closing'.I am using wicket 1.2.1
Thanks,Alex
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Carfield Yim
Thanks for pointing out this, this is very useful. However according to

http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html

Look like if for page class MyPage.class, then it will use the bundle
define at MyPage_[locate].properties, right?

However, I guess most people like to put all bundles key value pair in
single properties file so that it is easier to reuse and translate. I
believe this can be done in wicket, anyone know how?


On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
 Hi Carfield,

 There is also the wicket:message tag.

 I am trying to find documentation on the wiki but I failed. I guess
 you'll have to google for it.

  Erik.

 Carfield Yim schreef:
  Have read these two page:
 
  http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
  http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
 
  Look like I have 2 options:
  1) Have a of of span wicket:id=xxx/span at HTML and fill all those
  span at Java code.
  2) Have a lot of MyPage_[locate].html .
 
  Sound like both are not very ideal, as 1) need programmer add a long
  list of labels at java code, and 2) need designer keep multiple copy
  of HTML in sync manually.
 
  I just wonder if I have just have HTML template like
 
   html
  body
  span wicket:id = main_border
  {label.message_to_user}
  /span
  /body
  /html
 
  Then wicket will look it up from bundle without the programmer fill a
  long list of span component?

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Martijn Dashorst
MyApplication.properties
MyApplication_nl_NL.properties
MyApplication_fr.properties
MyApplication_bg.properties
MyApplication_jp.properties

Martijn

On 11/1/06, Carfield Yim [EMAIL PROTECTED] wrote:
 Thanks for pointing out this, this is very useful. However according to

 http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html

 Look like if for page class MyPage.class, then it will use the bundle
 define at MyPage_[locate].properties, right?

 However, I guess most people like to put all bundles key value pair in
 single properties file so that it is easier to reuse and translate. I
 believe this can be done in wicket, anyone know how?


 On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
  Hi Carfield,
 
  There is also the wicket:message tag.
 
  I am trying to find documentation on the wiki but I failed. I guess
  you'll have to google for it.
 
   Erik.
 
  Carfield Yim schreef:
   Have read these two page:
  
   http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
   http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
  
   Look like I have 2 options:
   1) Have a of of span wicket:id=xxx/span at HTML and fill all those
   span at Java code.
   2) Have a lot of MyPage_[locate].html .
  
   Sound like both are not very ideal, as 1) need programmer add a long
   list of labels at java code, and 2) need designer keep multiple copy
   of HTML in sync manually.
  
   I just wonder if I have just have HTML template like
  
html
   body
   span wicket:id = main_border
   {label.message_to_user}
   /span
   /body
   /html
  
   Then wicket will look it up from bundle without the programmer fill a
   long list of span component?
 
  --
  Erik van Oosten
  http://www.day-to-day-stuff.blogspot.com/
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
at the a href=http://www.thebeststuffintheworld.com/;Best Stuff in
the World!/a

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Erik van Oosten
Wicket will search all resource files with the names equal to the 
components in your component hierarchy, with your application as a last 
resort (as Martin shows in his e-mail).

So for a MyApplication, with a MyPage containing a MyPanel Wicket will 
look in:
1. MyPanel.properties (and _locale variants)
2. MyPage.properties (..)
3. MyApplication.properties (..)

Actually, it even goes two steps further. Wicket will also look at 
property files for the base classes of MyPanel, MyPage and 
MyApplication. Secondly you can have different styles and variants.

  Erik.


Carfield Yim schreef:
 Thanks for pointing out this, this is very useful. However according to

 http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html

 Look like if for page class MyPage.class, then it will use the bundle
 define at MyPage_[locate].properties, right?

 However, I guess most people like to put all bundles key value pair in
 single properties file so that it is easier to reuse and translate. I
 believe this can be done in wicket, anyone know how?


 On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
   
 Hi Carfield,

 There is also the wicket:message tag.

 I am trying to find documentation on the wiki but I failed. I guess
 you'll have to google for it.

  Erik.

 Carfield Yim schreef:
 
 Have read these two page:

 http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
 http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket

 Look like I have 2 options:
 1) Have a of of span wicket:id=xxx/span at HTML and fill all those
 span at Java code.
 2) Have a lot of MyPage_[locate].html .

 Sound like both are not very ideal, as 1) need programmer add a long
 list of labels at java code, and 2) need designer keep multiple copy
 of HTML in sync manually.

 I just wonder if I have just have HTML template like

  html
 body
 span wicket:id = main_border
 {label.message_to_user}
 /span
 /body
 /html

 Then wicket will look it up from bundle without the programmer fill a
 long list of span component?
   
 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] about wicket 1.2.3

2006-11-01 Thread Igor Vaynberg
On 11/1/06, Johan Compagner [EMAIL PROTECTED] wrote:
2 maybe igor can make a property for this
please add an rfe
3 Don't know what the current state is and what exactly the bug is now.
in my eyes a ajax request should never up the version of a page.because the url of the browser doesn't change so if you do a refresh you get another one again.I guess matej is looking into this?

i ebelieve matej fixed this already, but right after 1.2.3 was out :) so try the latest wicket-1.x branch.

-igor


johan
On 11/1/06, Ingram Chen 
[EMAIL PROTECTED] wrote:

All, after upgrade to 1.2.3 (from 1.2.2), some question raised:(1) I see IExceptionSettings is deprecated, but it seems there is no equivalent setting in 1.2 branch Do I just missing something ?

(2) SpringBeanLocator.lookupSpringBean() now force check all injected bean:  if (beans.size() == 0)   throw new IllegalStateException(bean of type [ + 
clazz.getName() + ] not found); This check is good for production. But in test environment, it would be better thatwe can turn off this check somewhere since test case does not always 
prepare non-tested bean.
This change breaks our many test cases(3) The issues related to AjaxTabbedPanel + refresh still not fixed.If this won't be fixed in 1.2 branch, could we have a guideline how to deal withajax component like: Always make page version=false ? or no version for all ajax component ?
-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 



http://www.javaworld.com.tw/roller/page/ingramchen




-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

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


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] session timeout listener,part 2

2006-11-01 Thread Igor Vaynberg
afaik there is no way to know the session is expred _before_ it did so. so at any point that you know this within the serlvet spec it is no longer safe to access the http session - and thus you cannot access the wicket session either.
what i would do is store the userid in a cookie and when you receive session expired event you can act on thatalternatively in your application class you can store map:sessionid-userid and access that once the session has expired
-igorOn 11/1/06, Alex Parvulescu [EMAIL PROTECTED] wrote:
Hello,i am having some troubles with the Wicket Session.I need to know before the session expires,so i can log the 'inactive' username.so,reading through this list i got 3 options:1. an implementation of the http session listener
 - no good ,because i really need the wicket session,so i can grab the current logged user2. an extension of HttpSessionStore : class MySessionStore extends HttpSessionStore {  @Override
  protected void onUnbind(String sessionId) {   super.onUnbind(sessionId);   System.out.println(session:  + Session.get());   System.out.println(unbind sid  + sessionId);
  } }-no good ,i get an error - this is called after the session is detatched,or killed,or whatever3. use the method WebApplication.sessionDestroyed(String 
sessionid) -a quote from this list,a bit out of my hands because this method is specific to the WebApplication 's package - java stuff -and i can't overwrite it.
Again,i need a triger or something,before the session dies.Thanks,Alex

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Ajax autocompletion troubles

2006-11-01 Thread Erik van Oosten




Hi,

The release notes of 1.2.3 state that the Ajax header contributions
should be gone. Since the 1.2.3 release is still not in Ibiblio I just
upgraded (1 Oct, 11:00 CET) my copy of the 1.x branch. I triple checked
that I am actually working with that copy.

Unfortunately there are still problems with autocompletion, both in IE
and FireFox. In my setup I have a AJAX-loaded panel that contains form
fields with autocompletion.

--IE 6.0--
In IE the autocompletion works, but each autocompletion handlers is
instantiated twice.
When I look at the source (I use the Full source plugin), I see the
autocompletion js included inline in the page. Below that you see the
following:

SCRIPT id=null src_="undefined"!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_2_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:2:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT
SCRIPT id=null src_="undefined"!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_3_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:3:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT
SCRIPT id=null src_="undefined"!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_4_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:4:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT
SCRIPT id=undefined src_="undefined"!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_2_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:2:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT
SCRIPT id=undefined src_="undefined"!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_3_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:3:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT
SCRIPT id=undefined src_="undefined"!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_4_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:4:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT


--FireFox 2.0--
In FireFox the autocompletion only works after a submit of the form.
After the first load of the panel (with Ajax) I also see autocompletion
js inline in the page header. Below that you see:
script src_="undefined" id=""!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_2_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:2:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//scriptscript src_="undefined" id=""!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_3_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:3:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//scriptscript src_="undefined" id=""!--/*--![CDATA[/*!--*/
new Wicket.AutoComplete('maincontent_searchform_form_formElements_4_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:4:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//script
These pieces of _javascript_ are unfortunately not being executed.
Note that the id's are empty and there this weird "src_" attribute. I
am sure how FireFox treats this. Also I wonder why the scripts are so
carefully commented. I guess that every browser that supports Ajax will
not need these comments.

I tried to debug the load phase with FireBug. Unfortunately my
_javascript_ is lacking way too much for this advanced stuff.

Any help is greatly appreciated.

Regards,
 Erik.


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

Re: [Wicket-user] popups

2006-11-01 Thread Igor Vaynberg
On 11/1/06, Alex Parvulescu [EMAIL PROTECTED] wrote:
Hello,I have a popup with a form.A simple ok/cancel thing.are you using popupsettings? make sure you are doing new PopupSetings(PageMap.forName(mypopuppagemap)) so the popup page doesnt expire any pages out of the browser window that opened the popup.
i have been doing some _javascript_ tricks,but the redirect is giving me some headaches.
you will have to be a bit more specific :)(this is for closing the current popup window,and refreshing the
'parent' window,so i can actually see what's been changed in the
popup-form.)add(new AjaxSubmitButton(submit, this) {protected void onSubmit(AjaxRequestTarget target, Form form) { target.addJavascript(window.opener.location.reload

(true);); target.addJavascript(window.close();); target.addJavascript(window.location.reload(true););}   });

Any ideas?what i need to do is,if the user clicks ok - i need to redirect to a different page,else - on cancel - just close the popup.
class MyPopup extends Page { MyPopup(final Page opener) {...add(new AjaxSubmitButton(submit, this) {protected void onSubmit(AjaxRequestTarget target, Form form) {
 target.addJavascript(window.close(););// remove the popup from the pagemap since we are closing the window anywaysgetPage().getPageMap().remove();// go to the new page in the parent window
// the destination page must be created in the opener's pagemapPage destination=new DestinationPage(opener.getPageMap());target.addJavascript(window.location='+urlFor(destination)+');
}   });
maybe some changes in wicket so the popups would be controlled better,as i see it now,i have no controll over the parent page once the popup is closed,or 'closing'.
it depends on how thick a wrapper we want to make wicket around http. i think in this area it should be as thin as possible, like it is now, because this is getting into shady waters. there are a lot of things you might want to do and we are not really in the business of generating tons of different _javascript_.
i think it is easy enough to do what you want right now without the framework having to get involved. you were almost on the right track, just have to remember that you have to deal with different pagemaps when popping up windows.
-igorI am using wicket 1.2.1
Thanks,Alex

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] shades, and caching

2006-11-01 Thread Geoff hendrey
Is the Hibernate L2 cache a distributed cache? 
Because, if it isn't, just bear in mind that detaching your POJO no longer 
saves any memory, since the cache is holding a reference to your POJO.

With regard to the Pages, and other session variables, could you walk me 
through how detachment works in Wicket? I was under the impression that stuff 
was getting serialized out.

I want to point out, that Shades is extemely efficient with regards to memory. 
First off, in Shades, POJO's loaded by Shades *never* have live references to 
other POJO's. It's a radical design choice, but one I feel is justified, for 
both performance, and streamlining. In Shades, if you want to access a 
non-primitive field of a POJO, you must retrieve it explciitly by query. So 
when you serialize out a POJO, that was loaded by Shades, you never have to 
worry that it might have dragged an entire object-web out of the database with 
it. 

Secondly, shades doesn't have this confusing notion of the cache (or pseudo 
cache) that JDO has. I really don't think it is well understood by many 
persitence programmers that the JDO cache is a weak cache. If you are holding 
onto an ID, for the purpose of clearing the POJO's references from memory, the 
POJO will NOT be in the cache when you do getObjectByID. The PersistenceManager 
is going to materialize the POJO, by reading *through* the cache to the 
database, so you get no performance or scalability benefits from a JDO cache in 
this environement.

Finally, and now we are really getting into the realm of religion, a few words 
about L2 cache. In my opinion, the database *is* the L2 cache. It's got query 
caching, clustering and replication, and it's got a networked interface, which 
makes it an out of process L2 cache. In my opinion, L2 caches implemented in 
the persistence layer are a crutch to support applications that do N+1 loading. 

Hope this leads to some interesting discussion!

-geoff

- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Tuesday, October 31, 2006 10:09:20 PM
Subject: Wicket-user Digest, Vol 5, Issue 272

Send Wicket-user mailing list submissions to
wicket-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/wicket-user
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Wicket-user digest...


Today's Topics:

   1. Re: Shades Phonebook --- why each object loadedredundantly
  (Igor Vaynberg)


--

Message: 1
Date: Tue, 31 Oct 2006 22:09:15 -0800
From: Igor Vaynberg [EMAIL PROTECTED]
Subject: Re: [Wicket-user] Shades Phonebook --- why each object loaded
redundantly
To: wicket-user@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

ive been meaning to take a look into this and emberassingly enough it was a
bug in the ContactDetachableModel which i have now fixed, the reason i didnt
see it in hibernate is also explained below...

On 10/31/06, Geoff hendrey [EMAIL PROTECTED] wrote:

 Ragarding the Phonebook, I looked into why each Contact gets selected,
 AFTER the first select has retrieved all of them (N+1 loading).

 The DetachableContactModel is holding onto the ID, then getting the object
 by ID when it reattaches.


actually this wasnt the reason. the model i used never thought it was
attached (had the full version of the object) so it would load the object
twice in the same request. this has now been fixed.

If I change the detachableContactModel to just go ahead and hang onto the
 Contact, rather than the Contact's ID, then we don't see this N+1 loading.

 Could I suggest that rather than hanging on to an ID, we just hang onto
 the Contact itself? It's perfectly OK to serialize the Contact using Shades,
 as well as the Shades DatabaseSession.


no, it is not perfectly ok. in web apps, at least with current clustering
tech, session space is very valuable.

while it would not cause serialization errors it would _dramatically_
increase the size of session that potentially needs to be replicated across
the cluster. this is the reason why wicket has detachable models and
components. the point of the model is to load the object from the database
and make it available for the duration of the request, then at the end of
the request dump the object and only retain the minimum state necessary to
load that object when it is needed at the next request. this way only that
minimum state is replicated across the cluster.

in this particular case we are only storing the id of the object (a long)
instead of the entire Contact object.

By the way, I believe you will see this same N+1 loading using JDO, since
 you are 

[Wicket-user] Phonebook app links

2006-11-01 Thread John Patterson
Hi,

I have checked out the latest wicket 2.0 code from apache and the  
phonebook from Sourceforge and everything compiles correctly after  
changing some onSubmit methods from protected to public.

The phonebook home page displays correctly but no links work... maybe  
because they have links like this:

http://localhost:8080/phonebook/servlet?wicket:interface=: 
2:createLink::ILinkListener

Thanks,

John.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] shades, and caching

2006-11-01 Thread Igor Vaynberg
On 11/1/06, Geoff hendrey [EMAIL PROTECTED] wrote:
Is the Hibernate L2 cache a distributed cache?in hibernate it is a pluggable implementation. by default it uses ehcache which as of 1.2 has clustering support afaik. but i hope it doesnt replicate entities over the cluster and just replicates the evict calls instead.
Because, if it isn't, just bear in mind that detaching your POJO no longer saves any memory, since the cache is holding a reference to your POJO.
the cache doesnt live in httpsession so that is ok. httpsession is the important part because it is expensive to replicate for clustering so you want to keep it as small as possible. of course expensive is a relative term.
With regard to the Pages, and other session variables, could you walk me through how detachment works in Wicket? I was under the impression that stuff was getting serialized out.
its pretty simple. models have a void detach() method and components have void onDetach(). right before wicket sets the httpsessionattribute for the page - which causes the serialization - it calls ondetach() on the page. the page cascades that call to all its children, and the children to their model.
so right before the component is serialized its model's detach() is called. this gives the model a chance to detach any state it might not want serialized and which it can recreate on the next request from another source. this is done to minimize the size of the serialized model.
so here is such an implementation of imodelclass ContactModel implements IModel { private final long id; private Contact cache; public ContactModel(Contact contact) { this.id=id
; this.cache=contact; } Object getObject() { if (cache==null) { cache=Database.load(id); } return cache; } void detach() { cache=null; }}hope that example explains it. notice i didnt make cache transient to really drive the point home. so when serialized the model only keeps the long id, the other information is redundant and would be a waste to serialized and replicate because
(a) it can be recreated(b) db data is volatile, so it needs to be reloaded next request anyways.
I want to point out, that Shades is extemely efficient with regards to memory. First off, in Shades, POJO's loaded by Shades *never* have live references to other POJO's. It's a radical design choice, but one I feel is justified, for both performance, and streamlining. In Shades, if you want to access a non-primitive field of a POJO, you must retrieve it explciitly by query. So when you serialize out a POJO, that was loaded by Shades, you never have to worry that it might have dragged an entire object-web out of the database with it.
yes, but you still dont want to serialize the pojo for the two reasons i outlined in the above paragraph. 
Secondly, shades doesn't have this confusing notion of the cache (or pseudo cache) that JDO has. I really don't think it is well understood by many persitence programmers that the JDO cache is a weak cache. If you are holding onto an ID, for the purpose of clearing the POJO's references from memory, the POJO will NOT be in the cache when you do getObjectByID. The PersistenceManager is going to materialize the POJO, by reading *through* the cache to the database, so you get no performance or scalability benefits from a JDO cache in this environement.
i dont know about jdo but let me tell you what i know about hibernate. in hibernate the session is the first level cache. it is not a weak cache. it is used to guarantee instance identity of loaded entities within the same session.
Finally, and now we are really getting into the realm of religion, a few words about L2 cache. In my opinion, the database *is* the L2 cache. It's got query caching, clustering and replication, and it's got a networked interface, which makes it an out of process L2 cache. In my opinion, L2 caches implemented in the persistence layer are a crutch to support applications that do N+1 loading.
i dont think this is a religious discussion. here are my two cents on thislocal L2 cache has a few very important advantages over the database(a) localityit is much much much more expensive to transfer data over the wire compared to transferring it from local ram
(b) scalabilitysay you have 10 servers in your cluster. you have 10 servers continuously hammering the database for entities that could be cached locally. that is a lot of network traffic that is taking away the bandwidth from replication of sessions and other intra cluster communications.
(c) economicsit is expensive to setup and maintain a database cluster with replication. usually what people do is have a standby backup - but that backup doesnt participate until the main one fails, so you still only have one server answering queries. 
a second level cache on the other hand is pretty simple to set up. of course nothing is without a priceyour application has to own the database schema (be the only one writing to it) otherwise your cache might hold stale data. i think there are some 

Re: [Wicket-user] session timeout listener,part 2

2006-11-01 Thread Eelco Hillenius
 2. an extension of HttpSessionStore :

 class MySessionStore extends HttpSessionStore {

 @Override
 protected void onUnbind(String sessionId) {
 super.onUnbind(sessionId);
 System.out.println(session:  + Session.get());
 System.out.println(unbind sid  + sessionId);
 }
 }

 -no good ,i get an error - this is called after the session is detatched,or
 killed,or whatever

This can work, but you need to do some custom bookkeeping. For instance:

  private MapString, Session sessions = new ConcurrentHashMapString, Session

  protected void onBind(Request request, Session newSession) {
sessions.put(newSession.getId(), newSession);
  }

  protected void onUnbind(String sessionId) {
Session session = sessions.remove(sessionId);
...
  }

or any alternative implementation that works for you. It is a bit
inconvenient that Session.get is not available anymore in the unbind
method. But I can't think of something that works better at this
moment, due to how session binding listeners work (they are called in
the middle of the destruction process).

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Phonebook app links

2006-11-01 Thread Igor Vaynberg
johan are you reading with us? i am looking at WicketFilter.SERVLET_PATH_HOLDER and looks like you forgot to implement placeholder-realpath resolution like you intended to.-igor
On 11/1/06, John Patterson [EMAIL PROTECTED] wrote:
Hi,I have checked out the latest wicket 2.0 code from apache and thephonebook from Sourceforge and everything compiles correctly afterchanging some onSubmit methods from protected to public.The phonebook home page displays correctly but no links work... maybe
because they have links like this:http://localhost:8080/phonebook/servlet?wicket:interface=:2:createLink::ILinkListenerThanks,John.
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Eelco Hillenius
Did you check the actual HTML that is generated?

Eelco


On 10/31/06, dzenanr [EMAIL PROTECTED] wrote:

 Hi all,

 I determine the number of rows and columns for a text area using
 AttributeModifier. Usually there are more columns than rows and they are
 derived properly in my code. However, the text area is always displayed as a
 square, as the number of rows determines, by error?, also the number of
 columns. The following is my code:

 ...
 private TextArea textArea;
 ...
 int propertySize =
 propertyConfig.getDisplayLengthInt();
 int areaRowSize = (propertySize/App.AREA_COLUMN_SIZE) 
 + 1;
 String noOfRows = Transformer.string(areaRowSize);
 String noOfColumns = 
 Transformer.string(App.AREA_COLUMN_SIZE);
 setAttribute(rows, noOfRows);
 setAttribute(cols, noOfColumns);
 ...

 public void setAttribute(String attributeName, String attributeValue) {
 AttributeModifier attributeModifier = new AttributeModifier(
 attributeName, true, new 
 Model(attributeValue));
 textArea.add(attributeModifier);
 }

 Thanks for your help.

 Dzenan
 --
 View this message in context: 
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Validation without form submit...

2006-11-01 Thread Erik Brakkee
Hi, I have a form from displaying a number of items. The form also displays some validation problems. The user can correct these problems by editing items by clicking on a link and is then forwarded to another page using setResponsePage(...). After editing, the eidt page forwards back to the same instance of the form page. 
Now I want to do validation as soon as this happens and add messages to the page using info(), warn(), and error(). Nevertheless, I cannot get this to work. I tried overriding onAttach() and onBeforeRender() but apparently my messages are getting lost. What would be the correct way to trigger this validation? Apparently I am too early in the lifecycle and the messages are being reset after I set them. 
Cheers Erik
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mock-object based unit testing with custom session and application classes

2006-11-01 Thread Eelco Hillenius
If you want to test stuff that depends on such customizations, you
might be better off using e.g. jWebUnit or selenium. I don't know what
other's experiences are in this field.


Eelco



 I am new to Wicket and am trying to write unit tests for the
 application that I am working on.  I am using WicketTester and am
 following the outline given in the Pro Wicket book but ran into some
 problems.  The basic problem is that we have our own session and
 application class and this complicates using the mock based objects
 (used by WicketTester) since they in turn are derived from lower level
 session and application classes.

 My question is, what are the recommended best practices for testing in
 this context?  Is it ill-advised to extend the application and session
 classes, or is there a better way to unit test them?  Also, what is
 the easiest way to use spring to do configuration in unit tests?

 A secondary problem that I had was that the application class in
 particular (and probably others) did a lot of configuration in the
 constructor, negating any configuration that could be done in the
 derived constructor / init function.

 many thanks,

 Chris

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mock-object based unit testing with custom session and application classes

2006-11-01 Thread Eelco Hillenius
btw, Wicket-examples has some jwebunit tests you might want to take a look at.

Eelco


On 11/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you want to test stuff that depends on such customizations, you
 might be better off using e.g. jWebUnit or selenium. I don't know what
 other's experiences are in this field.


 Eelco



  I am new to Wicket and am trying to write unit tests for the
  application that I am working on.  I am using WicketTester and am
  following the outline given in the Pro Wicket book but ran into some
  problems.  The basic problem is that we have our own session and
  application class and this complicates using the mock based objects
  (used by WicketTester) since they in turn are derived from lower level
  session and application classes.
 
  My question is, what are the recommended best practices for testing in
  this context?  Is it ill-advised to extend the application and session
  classes, or is there a better way to unit test them?  Also, what is
  the easiest way to use spring to do configuration in unit tests?
 
  A secondary problem that I had was that the application class in
  particular (and probably others) did a lot of configuration in the
  constructor, negating any configuration that could be done in the
  derived constructor / init function.
 
  many thanks,
 
  Chris
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread dzenanr

I have checked the generated HTML and it has correct values for the number of
columns:

textarea cols=64 rows=8
name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
many-to-many relationships is still complicated./textarea

However, the page displays the text area that has the same length vertically
and horizontally. I have tried with 96 instead of 64 (96 appears in the
generated HTML), but the page still looks the same.


Eelco Hillenius wrote:
 
 Did you check the actual HTML that is generated?
 
 Eelco
 
 
 On 10/31/06, dzenanr [EMAIL PROTECTED] wrote:

 Hi all,

 I determine the number of rows and columns for a text area using
 AttributeModifier. Usually there are more columns than rows and they are
 derived properly in my code. However, the text area is always displayed
 as a
 square, as the number of rows determines, by error?, also the number of
 columns. The following is my code:

 ...
 private TextArea textArea;
 ...
 int propertySize =
 propertyConfig.getDisplayLengthInt();
 int areaRowSize =
 (propertySize/App.AREA_COLUMN_SIZE) + 1;
 String noOfRows =
 Transformer.string(areaRowSize);
 String noOfColumns =
 Transformer.string(App.AREA_COLUMN_SIZE);
 setAttribute(rows, noOfRows);
 setAttribute(cols, noOfColumns);
 ...

 public void setAttribute(String attributeName, String attributeValue) {
 AttributeModifier attributeModifier = new
 AttributeModifier(
 attributeName, true, new
 Model(attributeValue));
 textArea.add(attributeModifier);
 }

 Thanks for your help.

 Dzenan
 --
 View this message in context:
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Igor Vaynberg
thats hardly a wicket issuecheck your css-igorOn 11/1/06, dzenanr [EMAIL PROTECTED]
 wrote:I have checked the generated HTML and it has correct values for the number of
columns:textarea cols=64 rows=8name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandlingmany-to-many relationships is still complicated./textarea
However, the page displays the text area that has the same length verticallyand horizontally. I have tried with 96 instead of 64 (96 appears in thegenerated HTML), but the page still looks the same.
Eelco Hillenius wrote: Did you check the actual HTML that is generated? Eelco On 10/31/06, dzenanr [EMAIL PROTECTED]
 wrote: Hi all, I determine the number of rows and columns for a text area using AttributeModifier. Usually there are more columns than rows and they are
 derived properly in my code. However, the text area is always displayed as a square, as the number of rows determines, by error?, also the number of columns. The following is my code:
 ... private TextArea textArea; ... int propertySize = propertyConfig.getDisplayLengthInt(); int areaRowSize =
 (propertySize/App.AREA_COLUMN_SIZE) + 1; String noOfRows = Transformer.string(areaRowSize); String noOfColumns = 
Transformer.string(App.AREA_COLUMN_SIZE); setAttribute(rows, noOfRows); setAttribute(cols, noOfColumns); ...
 public void setAttribute(String attributeName, String attributeValue) { AttributeModifier attributeModifier = new AttributeModifier( attributeName, true, new
 Model(attributeValue)); textArea.add(attributeModifier); } Thanks for your help. Dzenan -- View this message in context:
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341 Sent from the Wicket - User mailing list archive at 
Nabble.com. - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
Sent from the Wicket - User mailing list archive at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] urlFor() + HeaderContributor.forCss() = extra path

2006-11-01 Thread Eelco Hillenius
If you could create a unit test for this and attach that to an issue
at http://issues.apache.org/jira/browse/WICKET, we could take a look
at it.

Eelco


On 10/26/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
 I have a reference to a class that I have successfully generating the
 stylesheet and I'm wanting to add this url using HeaderContributor.forCss();
 but it's appending an extra context to the url.

 Example:
 App maps to localhost/secure
 String css = /secure...
 forCss(css) outputs /secure/secure...

 -- Base Page --
 String css = / + urlFor(StyleSheet.class, new PageParameters());
 add(HeaderContributor.forCss (css));
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread dzenanr

CSS is simple:

span wicket:id = propertyFeedback
textarea wicket:id = propertyValue rows = 8 cols = 80 
/textarea
/span

I modify the number of rows and columns using AttributeModifier - those new
numbers are in the generated HTML, but the page does not display properly
the text area. I just do not know where to look for the problem, since the
page does not display the proper size of the text area, despite the new
numbers in the generated page.


igor.vaynberg wrote:
 
 thats hardly a wicket issue
 
 check your css
 
 -igor
 
 
 On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:


 I have checked the generated HTML and it has correct values for the
 number
 of
 columns:

 textarea cols=64 rows=8

 name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
 many-to-many relationships is still complicated./textarea

 However, the page displays the text area that has the same length
 vertically
 and horizontally. I have tried with 96 instead of 64 (96 appears in the
 generated HTML), but the page still looks the same.


 Eelco Hillenius wrote:
 
  Did you check the actual HTML that is generated?
 
  Eelco
 
 
  On 10/31/06, dzenanr [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  I determine the number of rows and columns for a text area using
  AttributeModifier. Usually there are more columns than rows and they
 are
  derived properly in my code. However, the text area is always
 displayed
  as a
  square, as the number of rows determines, by error?, also the number
 of
  columns. The following is my code:
 
  ...
  private TextArea textArea;
  ...
  int propertySize =
  propertyConfig.getDisplayLengthInt();
  int areaRowSize =
  (propertySize/App.AREA_COLUMN_SIZE) + 1;
  String noOfRows =
  Transformer.string(areaRowSize);
  String noOfColumns =
  Transformer.string(App.AREA_COLUMN_SIZE);
  setAttribute(rows, noOfRows);
  setAttribute(cols, noOfColumns);
  ...
 
  public void setAttribute(String attributeName, String attributeValue)
 {
  AttributeModifier attributeModifier = new
  AttributeModifier(
  attributeName, true, new
  Model(attributeValue));
  textArea.add(attributeModifier);
  }
 
  Thanks for your help.
 
  Dzenan
  --
  View this message in context:
 
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services,
 security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services,
 security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 

Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Eelco Hillenius
Very weird indeed. Did you try different browsers and cleaning up the
browser's cache?

Eelco


On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:

 CSS is simple:

 span wicket:id = propertyFeedback
 textarea wicket:id = propertyValue rows = 8 cols = 80 
 /textarea
 /span

 I modify the number of rows and columns using AttributeModifier - those new
 numbers are in the generated HTML, but the page does not display properly
 the text area. I just do not know where to look for the problem, since the
 page does not display the proper size of the text area, despite the new
 numbers in the generated page.


 igor.vaynberg wrote:
 
  thats hardly a wicket issue
 
  check your css
 
  -igor
 
 
  On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:
 
 
  I have checked the generated HTML and it has correct values for the
  number
  of
  columns:
 
  textarea cols=64 rows=8
 
  name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
  many-to-many relationships is still complicated./textarea
 
  However, the page displays the text area that has the same length
  vertically
  and horizontally. I have tried with 96 instead of 64 (96 appears in the
  generated HTML), but the page still looks the same.
 
 
  Eelco Hillenius wrote:
  
   Did you check the actual HTML that is generated?
  
   Eelco
  
  
   On 10/31/06, dzenanr [EMAIL PROTECTED] wrote:
  
   Hi all,
  
   I determine the number of rows and columns for a text area using
   AttributeModifier. Usually there are more columns than rows and they
  are
   derived properly in my code. However, the text area is always
  displayed
   as a
   square, as the number of rows determines, by error?, also the number
  of
   columns. The following is my code:
  
   ...
   private TextArea textArea;
   ...
   int propertySize =
   propertyConfig.getDisplayLengthInt();
   int areaRowSize =
   (propertySize/App.AREA_COLUMN_SIZE) + 1;
   String noOfRows =
   Transformer.string(areaRowSize);
   String noOfColumns =
   Transformer.string(App.AREA_COLUMN_SIZE);
   setAttribute(rows, noOfRows);
   setAttribute(cols, noOfColumns);
   ...
  
   public void setAttribute(String attributeName, String attributeValue)
  {
   AttributeModifier attributeModifier = new
   AttributeModifier(
   attributeName, true, new
   Model(attributeValue));
   textArea.add(attributeModifier);
   }
  
   Thanks for your help.
  
   Dzenan
   --
   View this message in context:
  
  http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
  -
   Using Tomcat but need to do more? Need to support web services,
  security?
   Get stuff done quickly with pre-integrated technology to make your job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  -
   Using Tomcat but need to do more? Need to support web services,
  security?
   Get stuff done quickly with pre-integrated technology to make your job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context:
  http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  

Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Igor Vaynberg
ummmthats html markup not css-igorOn 11/1/06, dzenanr [EMAIL PROTECTED]
 wrote:CSS is simple:span wicket:id = propertyFeedback
textarea wicket:id = propertyValue rows = 8 cols = 80 /textarea/spanI modify the number of rows and columns using AttributeModifier - those new
numbers are in the generated HTML, but the page does not display properlythe text area. I just do not know where to look for the problem, since thepage does not display the proper size of the text area, despite the new
numbers in the generated page.igor.vaynberg wrote: thats hardly a wicket issue check your css -igor On 11/1/06, dzenanr 
[EMAIL PROTECTED] wrote: I have checked the generated HTML and it has correct values for the number of columns:
 textarea cols=64 rows=8 name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling many-to-many relationships is still complicated./textarea
 However, the page displays the text area that has the same length vertically and horizontally. I have tried with 96 instead of 64 (96 appears in the generated HTML), but the page still looks the same.
 Eelco Hillenius wrote:   Did you check the actual HTML that is generated?   EelcoOn 10/31/06, dzenanr 
[EMAIL PROTECTED] wrote:   Hi all,   I determine the number of rows and columns for a text area using
  AttributeModifier. Usually there are more columns than rows and they are  derived properly in my code. However, the text area is always displayed  as a
  square, as the number of rows determines, by error?, also the number of  columns. The following is my code:   ...  private TextArea textArea;
  ...  int propertySize =  propertyConfig.getDisplayLengthInt();  int areaRowSize =  (propertySize/App.AREA_COLUMN_SIZE) + 1;
  String noOfRows =  Transformer.string(areaRowSize);  String noOfColumns =  Transformer.string
(App.AREA_COLUMN_SIZE);  setAttribute(rows, noOfRows);  setAttribute(cols, noOfColumns);  ...
   public void setAttribute(String attributeName, String attributeValue) {  AttributeModifier attributeModifier = new  AttributeModifier(
  attributeName, true, new  Model(attributeValue));  textArea.add(attributeModifier);  } 
  Thanks for your help.   Dzenan  --  View this message in context:  
http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341  Sent from the Wicket - User mailing list archive at Nabble.com. 
   -  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job  easier  Download IBM WebSphere Application Server v.1.0.1 based on Apache  Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user-
  Using Tomcat but need to do more? Need to support web services, security?  Get stuff done quickly with pre-integrated technology to make your job  easier  Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user   -- View this message in context:
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087 Sent from the Wicket - User mailing list archive at 
Nabble.com. - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120506
Sent from the Wicket - User mailing list archive at Nabble.com.-Using Tomcat but need to 

[Wicket-user] mountBookmarkablePage not working ?

2006-11-01 Thread smallufo
Hi , I have a question about mountBookmarkablePage...I don't know why mountBookmarkablePage() not work on my application...I did add the code in my WebApplication : mountBookmarkablePage(/ViewItem , 
ViewItem.class);But when I call add(new BookmarkablePageLink(link , ViewItem.class , pps)...It still still generates /app?wicket:bookmarkablePage=:foo.bar.ViewItemid=xxx
Why ? Is there any factor that makes mountBookmarkablePage malfunction ?Here is my settings :web.xml servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern
 /servlet-mappingresin.conf (resin2.1.16) web-app id='/' app-dir='/home/www/foobar' / 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread dzenanr

The same problem with Microsoft Explorer and Firefox.

I have cleaned all in Firefox. Still the same.


Eelco Hillenius wrote:
 
 Very weird indeed. Did you try different browsers and cleaning up the
 browser's cache?
 
 Eelco
 
 
 On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:

 CSS is simple:

 span wicket:id = propertyFeedback
 textarea wicket:id = propertyValue rows = 8 cols =
 80 
 /textarea
 /span

 I modify the number of rows and columns using AttributeModifier - those
 new
 numbers are in the generated HTML, but the page does not display properly
 the text area. I just do not know where to look for the problem, since
 the
 page does not display the proper size of the text area, despite the new
 numbers in the generated page.


 igor.vaynberg wrote:
 
  thats hardly a wicket issue
 
  check your css
 
  -igor
 
 
  On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:
 
 
  I have checked the generated HTML and it has correct values for the
  number
  of
  columns:
 
  textarea cols=64 rows=8
 
 
 name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
  many-to-many relationships is still complicated./textarea
 
  However, the page displays the text area that has the same length
  vertically
  and horizontally. I have tried with 96 instead of 64 (96 appears in
 the
  generated HTML), but the page still looks the same.
 
 
  Eelco Hillenius wrote:
  
   Did you check the actual HTML that is generated?
  
   Eelco
  
  
   On 10/31/06, dzenanr [EMAIL PROTECTED] wrote:
  
   Hi all,
  
   I determine the number of rows and columns for a text area using
   AttributeModifier. Usually there are more columns than rows and
 they
  are
   derived properly in my code. However, the text area is always
  displayed
   as a
   square, as the number of rows determines, by error?, also the
 number
  of
   columns. The following is my code:
  
   ...
   private TextArea textArea;
   ...
   int propertySize =
   propertyConfig.getDisplayLengthInt();
   int areaRowSize =
   (propertySize/App.AREA_COLUMN_SIZE) + 1;
   String noOfRows =
   Transformer.string(areaRowSize);
   String noOfColumns =
   Transformer.string(App.AREA_COLUMN_SIZE);
   setAttribute(rows, noOfRows);
   setAttribute(cols, noOfColumns);
   ...
  
   public void setAttribute(String attributeName, String
 attributeValue)
  {
   AttributeModifier attributeModifier = new
   AttributeModifier(
   attributeName, true, new
   Model(attributeValue));
   textArea.add(attributeModifier);
   }
  
   Thanks for your help.
  
   Dzenan
   --
   View this message in context:
  
 
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 
 -
   Using Tomcat but need to do more? Need to support web services,
  security?
   Get stuff done quickly with pre-integrated technology to make your
 job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
  
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 -
   Using Tomcat but need to do more? Need to support web services,
  security?
   Get stuff done quickly with pre-integrated technology to make your
 job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
  
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services,
 security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 -
  Using 

Re: [Wicket-user] mountBookmarkablePage not working ?

2006-11-01 Thread Igor Vaynberg
seems like that should work, what version of wicket are you using? can you produce a quickstart that replicates the problem?-igorOn 11/1/06, smallufo
 [EMAIL PROTECTED] wrote:Hi , I have a question about mountBookmarkablePage...
I don't know why mountBookmarkablePage() not work on my application...I did add the code in my WebApplication : mountBookmarkablePage(/ViewItem , 
ViewItem.class);But when I call add(new BookmarkablePageLink(link , ViewItem.class , pps)...It still still generates /app?wicket:bookmarkablePage=:foo.bar.ViewItemid=xxx

Why ? Is there any factor that makes mountBookmarkablePage malfunction ?Here is my settings :web.xml servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern
 /servlet-mappingresin.conf (resin2.1.16) web-app id='/' app-dir='/home/www/foobar' / 

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Eelco Hillenius
What is the resulting markup of your whole page, and any css files you use?

Eelco


On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:

 The same problem with Microsoft Explorer and Firefox.

 I have cleaned all in Firefox. Still the same.


 Eelco Hillenius wrote:
 
  Very weird indeed. Did you try different browsers and cleaning up the
  browser's cache?
 
  Eelco
 
 
  On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:
 
  CSS is simple:
 
  span wicket:id = propertyFeedback
  textarea wicket:id = propertyValue rows = 8 cols =
  80 
  /textarea
  /span
 
  I modify the number of rows and columns using AttributeModifier - those
  new
  numbers are in the generated HTML, but the page does not display properly
  the text area. I just do not know where to look for the problem, since
  the
  page does not display the proper size of the text area, despite the new
  numbers in the generated page.
 
 
  igor.vaynberg wrote:
  
   thats hardly a wicket issue
  
   check your css
  
   -igor
  
  
   On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:
  
  
   I have checked the generated HTML and it has correct values for the
   number
   of
   columns:
  
   textarea cols=64 rows=8
  
  
  name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
   many-to-many relationships is still complicated./textarea
  
   However, the page displays the text area that has the same length
   vertically
   and horizontally. I have tried with 96 instead of 64 (96 appears in
  the
   generated HTML), but the page still looks the same.
  
  
   Eelco Hillenius wrote:
   
Did you check the actual HTML that is generated?
   
Eelco
   
   
On 10/31/06, dzenanr [EMAIL PROTECTED] wrote:
   
Hi all,
   
I determine the number of rows and columns for a text area using
AttributeModifier. Usually there are more columns than rows and
  they
   are
derived properly in my code. However, the text area is always
   displayed
as a
square, as the number of rows determines, by error?, also the
  number
   of
columns. The following is my code:
   
...
private TextArea textArea;
...
int propertySize =
propertyConfig.getDisplayLengthInt();
int areaRowSize =
(propertySize/App.AREA_COLUMN_SIZE) + 1;
String noOfRows =
Transformer.string(areaRowSize);
String noOfColumns =
Transformer.string(App.AREA_COLUMN_SIZE);
setAttribute(rows, noOfRows);
setAttribute(cols, noOfColumns);
...
   
public void setAttribute(String attributeName, String
  attributeValue)
   {
AttributeModifier attributeModifier = new
AttributeModifier(
attributeName, true, new
Model(attributeValue));
textArea.add(attributeModifier);
}
   
Thanks for your help.
   
Dzenan
--
View this message in context:
   
  
  http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
Sent from the Wicket - User mailing list archive at Nabble.com.
   
   
   
  
  -
Using Tomcat but need to do more? Need to support web services,
   security?
Get stuff done quickly with pre-integrated technology to make your
  job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
   
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
  
  -
Using Tomcat but need to do more? Need to support web services,
   security?
Get stuff done quickly with pre-integrated technology to make your
  job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
   
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
   --
   View this message in context:
  
  http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
  -
   Using Tomcat but need to do more? Need to support web services,
  security?
   Get stuff done quickly with pre-integrated technology to make your job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
  
  

Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread dzenanr

?xml version='1.0' encoding='UTF-8'?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

html

head
titledmRad Update Page/title
meta name=author content=Dzenan Ridjanovic /
link href=/dmLite-1.2/css/app.css type=text/css rel=stylesheet
media=screen/
style type=text/css media=screen
@import css/box.css;
@import css/cite.css;
@import css/code.css;
@import css/def.css;
@import css/form.css;
@import css/layout.css;
@import css/layout2c.css;
@import css/layout3c.css;
@import css/link.css;
@import css/list.css;
@import css/marker.css;
@import css/menu.css;
@import css/msg.css;
@import css/page.css;
@import css/section.css;
@import css/slide.css;
@import css/table.css;
/style
script type=text/javascript !--/*--![CDATA[/*!--*/
if (window.name=='') {
window.location=/dmLite-1.2/app?wicket:interface=:27::INewBrowserWindowListener;
}
/*--]]*//script

/head

body

div

ensp;
 
/dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:home::ILinkListener 
Home
 

ensp;

 
/dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:context::ILinkListener 
Context 
 

div class=box-title
spanDomain /span
/div


  
/div



div
  

/div
div

  form
action=/dmLite-1.2/app?wicket:interface=:27:entityEditFormPanel:entityUpdateForm::IFormSubmitListener
method=post id=entityEditFormPanel_entityUpdateFormdiv
style=display:noneinput type=hidden
name=entityEditFormPanel_entityUpdateForm:hf:0
id=entityEditFormPanel_entityUpdateForm:hf:0 //div
  table
  caption
  spanComment/span
  /caption
  tr

  thText/th
  td

span

textarea cols=64 rows=8
name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
many-to-many relationships is still complicated./textarea


/span
  
/td
  /trtr

  thSource/th
  td

span

input value= type=text size=128
name=propertyNameLabelValuePanelListView:1:valuePanel:propertyFeedback:propertyValue/


/span

 

/td
  /trtr
  thCreation Date/th

  td

span

input readonly=readonly value=2006.05.05 type=text 
size=16
name=propertyNameLabelValuePanelListView:2:valuePanel:propertyFeedback:propertyValue/


/span

 

/td
  /tr
  
  
  
  tr
  td

  /td
  td
  Save
  input type = submit value = +/
  ensp; ensp;
  Cancel
  input value=Phi; type=submit name=cancel/
  /td
  /tr

  
  /table
  /form
  
/div



/body

/html


/* table.css */

/* ===[ begin ]=== */

/*
Title:   Table Design Style
Author:  Dzenan Ridjanovic
Influenced By:   http://www.simplebits.com/
Created: 2006-09-03
Updated: 2006-09-03
*/

table {
border-top: 1px solid #999;
border-left: 1px solid #999;
border-collapse: collapse;
margin-left: auto; 
margin-right: auto;
}

caption {
font-family: arial, sans-serif;
font-size: 14px;
font-weight: bold;
color: #99;
padding: 6px;
margin-left: auto; 
margin-right: auto;
}

th, td {
padding: 4px;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
}   

th {
font-family: Verdana, sans-serif;
font-weight: bold;
color: #ff;
background: #dd;
}

td {
background: #ffe4b5;
}

/* ===[ end ]=== */



Eelco Hillenius wrote:
 
 What is the resulting markup of your whole page, and any css files you
 use?
 
 Eelco
 
 
 On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:

 The same problem with Microsoft Explorer and Firefox.

 I have cleaned all in Firefox. Still the same.


 Eelco Hillenius wrote:
 
  Very weird indeed. Did you try different browsers and cleaning up the
  browser's cache?
 
  Eelco
 
 
  On 11/1/06, dzenanr [EMAIL PROTECTED] 

Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Igor Vaynberg
heh you have a ton of css filesany one of those can define something like this:textarea { width:300px; height:300px; }and that will override rows and cols attributes in html-igor
On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:
?xml version='1.0' encoding='UTF-8'?!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//ENhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
htmlheadtitledmRad Update Page/titlemeta name=author content=Dzenan Ridjanovic /link href=""
1.2/css/app.css type=text/css rel=stylesheetmedia=screen/style type=text/css media=screen@import css/box.css;
@import css/cite.css;@import css/code.css;@import css/def.css;@import css/form.css;@import css/layout.css;
@import css/layout2c.css;@import css/layout3c.css;@import css/link.css;@import css/list.css;@import css/marker.css;
@import css/menu.css;@import css/msg.css;@import css/page.css;@import css/section.css;@import css/slide.css;
@import css/table.css;/stylescript type=text/_javascript_ !--/*--![CDATA[/*!--*/if (window.name=='') {window.location=/dmLite-
1.2/app?wicket:interface=:27::INewBrowserWindowListener;}/*--]]*//script/headbodydivensp; /dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:home::ILinkListener
Homeensp; /dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:context::ILinkListenerContextdiv class=box-title
spanDomain /span/div/divdiv/divdivformaction=""
1.2/app?wicket:interface=:27:entityEditFormPanel:entityUpdateForm::IFormSubmitListenermethod=post id=entityEditFormPanel_entityUpdateFormdivstyle=display:noneinput type=hidden
name=entityEditFormPanel_entityUpdateForm:hf:0id=entityEditFormPanel_entityUpdateForm:hf:0 //divtablecaptionspanComment/span
/captiontrthText/thtdspantextarea cols=64 rows=8
name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandlingmany-to-many relationships is still complicated./textarea/span
/td/trtrthSource/thtdspaninput value= type=text size=128
name=propertyNameLabelValuePanelListView:1:valuePanel:propertyFeedback:propertyValue//span/td/trtrthCreation Date/th
tdspaninput readonly=readonly value=2006.05.05 type=text size=16name=propertyNameLabelValuePanelListView:2:valuePanel:propertyFeedback:propertyValue/
/span/td/trtrtd/tdtd
Saveinput type = submit value = +/ensp; ensp;Cancelinput value=Phi; type=submit name=cancel/
/td/tr/table/form/div/body/html/* table.css */
/* ===[ begin ]=== *//*Title: Table Design StyleAuthor:Dzenan RidjanovicInfluenced By: http://www.simplebits.com/
Created: 2006-09-03Updated: 2006-09-03*/table {border-top: 1px solid #999;border-left: 1px solid #999;border-collapse: collapse;
margin-left: auto;margin-right: auto;}caption {font-family: arial, sans-serif;font-size: 14px;font-weight: bold;color: #99;
padding: 6px;margin-left: auto;margin-right: auto;}th, td {padding: 4px;border-right: 1px solid #999;border-bottom: 1px solid #999;
}th {font-family: Verdana, sans-serif;font-weight: bold;color: #ff;background: #dd;}td {background: #ffe4b5;}
/* ===[ end ]=== */Eelco Hillenius wrote: What is the resulting markup of your whole page, and any css files you use? Eelco On 11/1/06, dzenanr 
[EMAIL PROTECTED] wrote: The same problem with Microsoft Explorer and Firefox. I have cleaned all in Firefox. Still the same.
 Eelco Hillenius wrote:   Very weird indeed. Did you try different browsers and cleaning up the  browser's cache?   Eelco
On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:   CSS is simple:
   span wicket:id = propertyFeedback  textarea wicket:id = propertyValue rows = 8 cols =
  80   /textarea  /span   I modify the number of rows and columns using AttributeModifier -
 those  new  numbers are in the generated HTML, but the page does not display properly  the text area. I just do not know where to look for the problem, since
  the  page does not display the proper size of the text area, despite the new  numbers in the generated page.  
  igor.vaynberg wrote: thats hardly a wicket issue check your css -igor
   On 11/1/06, dzenanr [EMAIL PROTECTED] wrote:  
 I have checked the generated HTML and it has correct values for the   number   of   columns:
 textarea cols=64 rows=8  name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
   many-to-many relationships is still complicated./textarea However, the page displays the text area that has the same length
   vertically   and horizontally. I have tried with 96 instead of 64 (96 appears in  the   generated HTML), but the page still looks the same.
   Eelco Hillenius wrote:   Did you check the actual HTML that is generated?
   Eelco  On 10/31/06, dzenanr 
[EMAIL PROTECTED] wrote:   Hi all,   I determine the number of rows and columns for a text area using
AttributeModifier. Usually there are more columns than rows and  they   arederived properly in my code. However, the text area is always
   displayedas asquare, as the number of rows determines, by error?, also the  number   of

Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread dzenanr

I have found the problem. It was CSS for a form - width 300px for the
fieldset.

Thank you for leading me towards the cause of the problem.

/* form.css */

/* ===[ begin ]=== */

/*
Title:   Form Design Style
Author:  Dzenan Ridjanovic
Influenced By:  
http://www.picment.com/articles/css/funwithforms/
Created: 2006-09-04
Updated: 2006-09-04
*/

fieldset {
width:300px; 
}

legend {
color: #ff;
background: #ffa20c;
border-style: 1px solid #781351;
padding: 2px 6px;
}

label {
text-align:right;
width:70px;
float:left;
padding:0.2em;
margin:0;
margin-top:0.3em; 
}

.nobr {
display:none; 
}  

.textfield {
margin:3px;
height:20px;
width:200px; 
}

textarea {
margin:3px;
height:165px;
width:200px; 
}

/* ===[ end ]=== */

dzenanr wrote:
 
 ?xml version='1.0' encoding='UTF-8'?
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
   http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
   
 html
 
 head
   titledmRad Update Page/title
   meta name=author content=Dzenan Ridjanovic /
   link href=/dmLite-1.2/css/app.css type=text/css rel=stylesheet
 media=screen/
 style type=text/css media=screen
 @import css/box.css;
 @import css/cite.css;
 @import css/code.css;
 @import css/def.css;
 @import css/form.css;
 @import css/layout.css;
 @import css/layout2c.css;
 @import css/layout3c.css;
 @import css/link.css;
 @import css/list.css;
 @import css/marker.css;
 @import css/menu.css;
 @import css/msg.css;
 @import css/page.css;
 @import css/section.css;
 @import css/slide.css;
 @import css/table.css;
 /style
 script type=text/javascript !--/*--![CDATA[/*!--*/
 if (window.name=='') {
 window.location=/dmLite-1.2/app?wicket:interface=:27::INewBrowserWindowListener;
 }
 /*--]]*//script
 
 /head
 
 body
 
   div
 
   ensp;

 /dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:home::ILinkListener 
   Home

   
   ensp;
 
   
 /dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:context::ILinkListener 
   Context 

   
   div class=box-title
   spanDomain /span
   /div
   
   
   
 /div
   
   
   
   div
   
 
 /div
   div
 
   form
 action=/dmLite-1.2/app?wicket:interface=:27:entityEditFormPanel:entityUpdateForm::IFormSubmitListener
 method=post id=entityEditFormPanel_entityUpdateFormdiv
 style=display:noneinput type=hidden
 name=entityEditFormPanel_entityUpdateForm:hf:0
 id=entityEditFormPanel_entityUpdateForm:hf:0 //div
 table
 caption
 spanComment/span
 /caption
 tr
 
 thText/th
 td
 
   span
   
   textarea cols=64 rows=8
 name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
 many-to-many relationships is still complicated./textarea
   
   
   /span
   
 /td
 /trtr
 
 thSource/th
 td
 
 span
   
   input value= type=text size=128
 name=propertyNameLabelValuePanelListView:1:valuePanel:propertyFeedback:propertyValue/
   
   
   /span
   

 
 /td
 /trtr
 thCreation Date/th
 
 td
 
 span
   
   input readonly=readonly value=2006.05.05 type=text 
 size=16
 name=propertyNameLabelValuePanelListView:2:valuePanel:propertyFeedback:propertyValue/
   
   
   /span
   

 
 /td
 /tr
 
 
 
 tr
 td
 
 /td
 td
 Save
 input type = submit value = +/
 ensp; ensp;
 Cancel
 input value=Phi; type=submit name=cancel/
 /td
 /tr
 
 
 /table
   /form
   
 /div
 
   
 
 /body
 
 /html
 
 
 /* table.css */
 
 /* ===[ begin ]=== */
 
 /*
 Title:   Table Design Style
 Author:  Dzenan Ridjanovic
 Influenced By:   http://www.simplebits.com/
 Created: 2006-09-03
 Updated: 2006-09-03
 */
 
 table {
 

Re: [Wicket-user] mountBookmarkablePage not working ?

2006-11-01 Thread smallufo
Hi , I am using wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 + Resin 2.1.16 + JavaEE5The code is as simple as any example.I don't know if it is Resin that cause this problem ...Anybody using Resin without this problem ???
2006/11/2, Igor Vaynberg [EMAIL PROTECTED]:
seems like that should work, what version of wicket are you using? can you produce a quickstart that replicates the problem?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mountBookmarkablePage not working ?

2006-11-01 Thread Igor Vaynberg
not sure what to tell you, it works fine over herehttp://www.wicket-library.com/wicket-examples/niceurldont think resin has anything to do with it as wicket is responsible for encoding those urls. set a breakpoint on your mount call and make sure it is really being called and you are doing it in application's init() and not the constructor
-igorOn 11/1/06, smallufo [EMAIL PROTECTED] wrote:
Hi , I am using wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 + Resin 2.1.16 + JavaEE5The code is as simple as any example.I don't know if it is Resin that cause this problem ...Anybody using Resin without this problem ???
2006/11/2, Igor Vaynberg [EMAIL PROTECTED]:

seems like that should work, what version of wicket are you using? can you produce a quickstart that replicates the problem?

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread Eelco Hillenius
On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 heh you have a ton of css files

 any one of those can define something like this:

 textarea { width:300px; height:300px; }

 and that will override rows and cols attributes in html

 -igor


Yeah. And it is nested in a table, which might also be affected by
css. So your best bet of tracking down this issue is to isolate it as
much as you can; start by removing all CSS references and see whether
the problem exists.

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AttributeModifier for TextArea

2006-11-01 Thread dzenanr

Actually the problem was a missing point in front of textarea within
form.css.


dzenanr wrote:
 
 I have found the problem. It was CSS for a form - width 300px for the
 fieldset.
 
 Thank you for leading me towards the cause of the problem.
 
 /* form.css */
 
 /* ===[ begin ]=== */
 
 /*
 Title:   Form Design Style
 Author:  Dzenan Ridjanovic
 Influenced By:  
 http://www.picment.com/articles/css/funwithforms/
 Created: 2006-09-04
 Updated: 2006-09-04
 */
 
 fieldset {
   width:300px; 
   }
   
   legend {
 color: #ff;
 background: #ffa20c;
 border-style: 1px solid #781351;
 padding: 2px 6px;
 }
   
 label {
   text-align:right;
   width:70px;
   float:left;
   padding:0.2em;
   margin:0;
   margin-top:0.3em; 
   }
   
 .nobr {
   display:none; 
   }  
   
 .textfield {
   margin:3px;
   height:20px;
   width:200px; 
   }
   
 textarea {
   margin:3px;
   height:165px;
   width:200px; 
   }
   
 /* ===[ end ]=== */
 
 dzenanr wrote:
 
 ?xml version='1.0' encoding='UTF-8'?
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
  
 html
 
 head
  titledmRad Update Page/title
  meta name=author content=Dzenan Ridjanovic /
  link href=/dmLite-1.2/css/app.css type=text/css rel=stylesheet
 media=screen/
 style type=text/css media=screen
 @import css/box.css;
 @import css/cite.css;
 @import css/code.css;
 @import css/def.css;
 @import css/form.css;
 @import css/layout.css;
 @import css/layout2c.css;
 @import css/layout3c.css;
 @import css/link.css;
 @import css/list.css;
 @import css/marker.css;
 @import css/menu.css;
 @import css/msg.css;
 @import css/page.css;
 @import css/section.css;
 @import css/slide.css;
 @import css/table.css;
 /style
 script type=text/javascript !--/*--![CDATA[/*!--*/
 if (window.name=='') {
 window.location=/dmLite-1.2/app?wicket:interface=:27::INewBrowserWindowListener;
 }
 /*--]]*//script
 
 /head
 
 body
 
  div
 
  ensp;
   
 /dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:home::ILinkListener 
  Home
   
  
  ensp;
 
  
 /dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:context::ILinkListener 
  Context 
   
  
  div class=box-title
  spanDomain /span
  /div
  
  
   
 /div
  
  
  
  div
   
 
 /div
  div
 
   form
 action=/dmLite-1.2/app?wicket:interface=:27:entityEditFormPanel:entityUpdateForm::IFormSubmitListener
 method=post id=entityEditFormPanel_entityUpdateFormdiv
 style=display:noneinput type=hidden
 name=entityEditFormPanel_entityUpdateForm:hf:0
 id=entityEditFormPanel_entityUpdateForm:hf:0 //div
table
caption
spanComment/span
/caption
tr
 
thText/th
td
 
  span
  
  textarea cols=64 rows=8
 name=propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValueHandling
 many-to-many relationships is still complicated./textarea
  
  
  /span
   
 /td
/trtr
 
thSource/th
td
 
 span
  
  input value= type=text size=128
 name=propertyNameLabelValuePanelListView:1:valuePanel:propertyFeedback:propertyValue/
  
  
  /span
  
   
 
 /td
/trtr
thCreation Date/th
 
td
 
 span
  
  input readonly=readonly value=2006.05.05 type=text 
 size=16
 name=propertyNameLabelValuePanelListView:2:valuePanel:propertyFeedback:propertyValue/
  
  
  /span
  
   
 
 /td
/tr



tr
td
 
/td
td
Save
input type = submit value = +/
ensp; ensp;
Cancel
input value=Phi; type=submit name=cancel/
/td
/tr
 

/table
   /form
   
 /div
 
  
 
 /body
 
 /html
 
 
 /* table.css */
 
 /* ===[ begin ]=== */
 
 /*
 Title:   Table Design Style
 Author:  Dzenan Ridjanovic
 Influenced By:   http://www.simplebits.com/
 Created: 2006-09-03
 Updated: 2006-09-03
 */
 
   

Re: [Wicket-user] mountBookmarkablePage not working ?

2006-11-01 Thread Eelco Hillenius
That would be an easy test: deploy on tomcat or jetty and see what happens.

But it is unlikely the app server is at fault here. Are you sure you
mount the same class as for which you generate the link (e.g. do you
have classes with the same name in different packages)?

Eelco


On 11/1/06, smallufo [EMAIL PROTECTED] wrote:
 Hi , I am using wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 + Resin 2.1.16 +
 JavaEE5

 The code is as simple as any example.
 I don't know if it is Resin that cause this problem ...
 Anybody using Resin without this problem ???


 2006/11/2, Igor Vaynberg [EMAIL PROTECTED]:
  seems like that should work, what version of wicket are you using? can you
 produce a quickstart that replicates the problem?
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mountBookmarkablePage not working ?

2006-11-01 Thread smallufo
sorry , I found the problemIt's not related to wicket , it's related to eclipse for not compiling the latest version.Sorry for bother you :p2006/11/2, Igor Vaynberg 
[EMAIL PROTECTED]:not sure what to tell you, it works fine over here
http://www.wicket-library.com/wicket-examples/niceurldont think resin has anything to do with it as wicket is responsible for encoding those urls. set a breakpoint on your mount call and make sure it is really being called and you are doing it in application's init() and not the constructor
-igor
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Geoff hendrey
Hi,

I'd like to react to a couple of your points, bearing in mind that I'm not 
claiming to be right, just putting it out there for discussion.
See comments below

Date: Wed, 1 Nov 2006 09:29:58 -0800
From: Igor Vaynberg [EMAIL PROTECTED]
Subject: Re: [Wicket-user] shades, and caching
To: wicket-user@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

On 11/1/06, Geoff hendrey [EMAIL PROTECTED] wrote:

 Is the Hibernate L2 cache a distributed cache?


in hibernate it is a pluggable implementation. by default it uses ehcache
which as of 1.2 has clustering support afaik. but i hope it doesnt replicate
entities over the cluster and just replicates the evict calls instead.

The problem with a non-replicated cache is that, it doesn't work well for your 
use case -- serializing state accros members of a cluster. What will happen is 
that your state get's unserialized on some machine, then a so called sepuku 
eviction occurs cluster wide, and the fresh results get reloaded *from the 
database*, onto that single machine where your session now is live, and all the 
other nodes drop the televant stuff from cache. Certainly believe you are 
seeing benefit from your cache, but I suspect that most of the benefit is not 
in session replication or failover. You definitely will see benefits if you are 
doing N+1 loading, but why do N+1 loading?


the cache doesnt live in httpsession so that is ok. httpsession is the
important part because it is expensive to replicate for clustering so you
want to keep it as small as possible. of course expensive is a relative
?term.

I see this perspective. It's always a time vs. space tradeoff. You want to 
incur the cost of hitting the database, in order to minimize the amount of 
state you have to squirt between machines. However, I'd like to point out that 
unless you are using a distributed, hard cache, this architecture is just going 
to batter the database and turn it into a bottleneck, for some applications, 
and it might not be a good idea to assume the system has a distributed hard 
cache.

I think Shades might just be optimized enough that serializing the 
DatabaseSession probably only approximately doubles the space that you would 
need to serialize the Pojo's alone. It seems to me that if your pojos have a 
dozen or so primitive fields, that simply detaching the serializable pojo, and 
hanging onto it for attachment yields a better performing system than hitting 
the database once for each pojo being displayed on the page, when you attach. I 
think the determining factor is the size of the POJO's themselves. My rule of 
thumb would be, if the pojo's have a few dozen primitve fields, just serialize 
them out along with the pojo.


hope that example explains it. notice i didnt make cache transient to really
drive the point home. so when serialized the model only keeps the long id,
the other information is redundant and would be a waste to serialized and
replicate because

(a) it can be recreated

yes, but it is very expensive unless you use distributed cache, in which case, 
they are not really recreated, and you then you still have the volatility 
issue (b).

(b) db data is volatile, so it needs to be reloaded next request anyways.

I want to point out, that Shades is extemely efficient with regards to
 memory. First off, in Shades, POJO's loaded by Shades *never* have live
references to other POJO's. It's a radical design choice, but one I feel is
 justified, for both performance, and streamlining. In Shades, if you want to
 access a non-primitive field of a POJO, you must retrieve it explciitly by
 query. So when you serialize out a POJO, that was loaded by Shades, you
 never have to worry that it might have dragged an entire object-web out of
 the database with it.


yes, but you still dont want to serialize the pojo for the two reasons i
outlined in the above paragraph.

Is (a) is a hard/fast rule? I tend to think it depends on how big a footprint 
the POJO has.
And, data volatility depends on the application. Volatility can be addresses 
through optimistic oncurrency, which Shades uses. Also, I'm going to add read 
only queries to Shades, in which case there will be close to zero 
space-overhead associated with each POJO beyond the size of the POJO itself, so 
long as you don't plan on updating the data.

Considering the phonebook example, the query that puts the 10 items on the 
page, is a read-only query. When you go the detail page, there is only one 
record at a time that can be edited. So solve volatility, and state-size, in 
one fell swoop, by using read-only style queries for the listing pages, and 
regular queries, with optimistic concurrency for the edit pages.

This is a great discussion --- I think I will go add read only queries to 
Shades! :-)






 

Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates 

Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Igor Vaynberg
On 11/1/06, Geoff hendrey [EMAIL PROTECTED] wrote:
I'd like to react to a couple of your points, bearing in mind that I'm not claiming to be right, just putting it out there for discussion.i wasnt claiming you were wrong :) as you said you wanted a discussion.
 Is the Hibernate L2 cache a distributed cache?in hibernate it is a pluggable implementation. by default it uses ehcache
which as of 1.2 has clustering support afaik. but i hope it doesnt replicateentities over the cluster and just replicates the evict calls instead.The problem with a non-replicated cache is that, it doesn't work well for your use case -- serializing state accros members of a cluster. What will happen is that your state get's unserialized on some machine, then a so called sepuku eviction occurs cluster wide, and the fresh results get reloaded *from the database*, onto that single machine where your session now is live, and all the other nodes drop the televant stuff from cache.
in roundrobin clustering that might be somewhat true. but the eviction only occurs once the cached entity has been modified. so the impact of that is proportional to you write frequency.in sticky session with a backup buddy, which i think is a much better approach, this is not an issue because you work on the same node until failover, so you should have a fairly high hit rate.
also the point is not to replicate entities that you have cached in your session. you only store the id, and later retrieve it from cache.
 Certainly believe you are seeing benefit from your cache, but I suspect that most of the benefit is not in session replication or failover. You definitely will see benefits if you are doing N+1 loading, but why do N+1 loading?
this is a more general use case then n+1 loading, namely retrieval of objects via their database identity. this kind of lookup is very common/frequent in the webapp world. take a simple example of a shopping cart backed by a cookie and the shopping cart is shown in a left-nav frame of your app - so visible on every request. you want product names/stock quantity to always be up to date. your cookie stores the list of products and their quantities, then on every request when you render the shopping cart you have to load each one of those objects from the db to get access to their properties. you can either do a [select where id in()] or you can do load by id and bet on them being in the 2nd level cache.
there are also a lot of examples where there is no coherent list of objects, so a [select where id in()] is not possible, there you have no other choice but to do a lookup by id. keeping in mind there doesnt have to be many queries per request to cause high db load for busy apps.
the cache doesnt live in httpsession so that is ok. httpsession is the
important part because it is expensive to replicate for clustering so youwant to keep it as small as possible. of course expensive is a relative?term.I see this perspective. It's always a time vs. space tradeoff. You want to incur the cost of hitting the database, in order to minimize the amount of state you have to squirt between machines. However, I'd like to point out that unless you are using a distributed, hard cache, this architecture is just going to batter the database and turn it into a bottleneck, for some applications,
yep, that is the case in most web apps, db is almost always your bottleneck exactly for the reason you mentioned. and the point of the 2nd level cache is to make it much less so by taking a lot of load off it. you can also rewrite some queries to use n loading instead of a [select in()] and bet on your cache.
 and it might not be a good idea to assume the system has a distributed hard cache.
why not? the cache is part of your application's architecture. it is a service your application provides not something outside like the database or the application server. sometimes you even optimize your apps for this cache.
I think Shades might just be optimized enough that serializing the DatabaseSession probably only approximately doubles the space that you would need to serialize the Pojo's alone. It seems to me that if your pojos have a dozen or so primitive fields, that simply detaching the serializable pojo, and hanging onto it for attachment yields a better performing system than hitting the database once for each pojo being displayed on the page, when you attach. I think the determining factor is the size of the POJO's themselves. My rule of thumb would be, if the pojo's have a few dozen primitve fields, just serialize them out along with the pojo.
i dont know about that. take the phonebook's list page. you think serializing fields of all those 10 contacts is better then serializing 10 longs and betting on cache hit for all of them? i really dont think so. not only is your session smaller/faster replicated, but you are working with current data. if you serialized the properties of the pojo, on next request you would display stale data if it changed in between 

[Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException

2006-11-01 Thread smallufo
HiI am using Wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 (same problem with Spring 1.2.8 + Hibernate 3.0.5)I added OpenSessionInViewFilter in web.xml but still get LazyInitializationExceptionHere is my settings :
web.xml : context-param param-namecontextConfigLocation/param-name param-value/WEB-INF/src/app.xml,classpath*:applicationContext-*.xml/param-value /context-param
 servlet servlet-namecontext/servlet-name servlet-classorg.springframework.web.context.ContextLoaderServlet/servlet-class load-on-startup1/load-on-startup
 /servlet... (skip) servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern /servlet-mapping
 filter filter-nameOpenSessionInViewFilter/filter-name filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class /filter
 filter-mapping filter-nameOpenSessionInViewFilter/filter-name url-pattern/app/*/url-pattern /filter-mappingMyApplication extends WebApplication
protected void init() { super.init(); addComponentInstantiationListener(new SpringComponentInjector(this)); }In the application initialization progress , I do see Filter 'OpenSessionInViewFilter' configured successfully : 
http listening to *:8080srun listening to 127.0.0.1:6802INFO - Initializing filter 'OpenSessionInViewFilter'INFO - Filter 'OpenSessionInViewFilter' configured successfully
INFO - JDBC 3.0 Savepoint class is availableBut when I pass my object from one page to another page , and retrieve its set/list , I still get LazyInitializationException :WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = pagable, page = 
foo.bar.ItemPage, path = 1:itemListPanel:pagable.ItemListPanel$1, isVisible = true, isVersioned = true]]Root cause:org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: 
foo.bar.Item.images, no session or session was closedat org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected
(AbstractPersistentCollection.java:350)Can somebody tell me where goes wrong ?Thank you.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException

2006-11-01 Thread Johan Compagner
when was that object really loaded?In the same request? Or was it hold on to it between a request?johanOn 11/1/06, smallufo 
[EMAIL PROTECTED] wrote:HiI am using Wicket 1.2.2 + Spring 2.0 + Hibernate 
3.2 (same problem with Spring 1.2.8 + Hibernate 3.0.5)I added OpenSessionInViewFilter in web.xml but still get LazyInitializationExceptionHere is my settings :
web.xml : context-param param-namecontextConfigLocation/param-name param-value/WEB-INF/src/app.xml,classpath*:applicationContext-*.xml/param-value /context-param
 servlet servlet-namecontext/servlet-name servlet-classorg.springframework.web.context.ContextLoaderServlet/servlet-class load-on-startup1/load-on-startup
 /servlet... (skip) servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern /servlet-mapping

 filter filter-nameOpenSessionInViewFilter/filter-name filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class /filter
 filter-mapping filter-nameOpenSessionInViewFilter/filter-name url-pattern/app/*/url-pattern /filter-mappingMyApplication extends WebApplication
protected void init() { super.init(); addComponentInstantiationListener(new SpringComponentInjector(this)); }In the application initialization progress , I do see Filter 'OpenSessionInViewFilter' configured successfully : 
http listening to *:8080srun listening to 127.0.0.1:6802INFO - Initializing filter 'OpenSessionInViewFilter'
INFO - Filter 'OpenSessionInViewFilter' configured successfully
INFO - JDBC 3.0 Savepoint class is availableBut when I pass my object from one page to another page , and retrieve its set/list , I still get LazyInitializationException :WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = pagable, page = 
foo.bar.ItemPage, path = 1:itemListPanel:pagable.ItemListPanel$1, isVisible = true, isVersioned = true]]Root cause:org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: 
foo.bar.Item.images, no session or session was closedat org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected

(AbstractPersistentCollection.java:350)Can somebody tell me where goes wrong ?Thank you.

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax autocompletion troubles

2006-11-01 Thread Caleb Land
Check out this bug:http://issues.apache.org/jira/browse/WICKET-7For now I just converted all of my component swapping links to normal links instead of ajax ones. I'd try to fix that bug myself, but from the discussions on this mailing list about it, it seems like a low level Wicket refactor is required to fix it.
On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:



  


Hi,

The release notes of 1.2.3 state that the Ajax header contributions
should be gone. Since the 1.2.3 release is still not in Ibiblio I just
upgraded (1 Oct, 11:00 CET) my copy of the 1.x branch. I triple checked
that I am actually working with that copy.

Unfortunately there are still problems with autocompletion, both in IE
and FireFox. In my setup I have a AJAX-loaded panel that contains form
fields with autocompletion.

--IE 6.0--
In IE the autocompletion works, but each autocompletion handlers is
instantiated twice.
When I look at the source (I use the Full source plugin), I see the
autocompletion js included inline in the page. Below that you see the
following:

SCRIPT id=null src_=undefined!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_2_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:2:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPTSCRIPT id=null src_=undefined!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_3_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:3:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPTSCRIPT id=null src_=undefined!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_4_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:4:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPTSCRIPT id=undefined src_=undefined!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_2_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:2:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPTSCRIPT id=undefined src_=undefined!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_3_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:3:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPTSCRIPT id=undefined src_=undefined!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_4_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:4:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//SCRIPT

--FireFox 2.0--
In FireFox the autocompletion only works after a submit of the form.
After the first load of the panel (with Ajax) I also see autocompletion
js inline in the page header. Below that you see:
script src_=undefined id=!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_2_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:2:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//scriptscript src_=undefined id=!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_3_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:3:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//scriptscript src_=undefined id=!--/*--![CDATA[/*!--*/new Wicket.AutoComplete('maincontent_searchform_form_formElements_4_inputfragment_formelement','/rbrb/app?wicket:interface=:1:maincontent:searchform:form:formElements:4:inputfragment:formelement:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true');
/*--]]*//script
These pieces of _javascript_ are unfortunately not being executed.
Note that the id's are empty and there this weird src_ attribute. I
am sure how FireFox treats this. Also I wonder why the scripts are so
carefully commented. I guess that every browser that supports Ajax will
not need these comments.

I tried to debug the load phase with FireBug. Unfortunately my
_javascript_ is lacking way too much for this advanced stuff.

Any help is greatly appreciated.

Regards,
 Erik.


-- Erik van Oostenhttp://www.day-to-day-stuff.blogspot.com/



-Using Tomcat but 

Re: [Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException

2006-11-01 Thread smallufo
2006/11/2, Johan Compagner [EMAIL PROTECTED]:
when was that object really loaded?In the outmost page...
In the same request? Or was it hold on to it between a request?johanNo , it's not the same request. (pass to another page or PagingNavigator)Is it where the problem starts?Any way to solve this ?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] urlFor() + HeaderContributor.forCss() = extra path

2006-11-01 Thread Johan Compagner
so this:App maps to localhost/secure
secure is the context path specified in your server config for that web app yes?Then wicket does it right. you shouldn't have the context path in any urls you haveBecause that is something we do.johan
On 10/26/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
I have a reference to a class that I have successfully generating the stylesheet and I'm wanting to add this url using HeaderContributor.forCss(); but it's appending an extra context to the url.Example:App maps to localhost/secure
String css = /secure...forCss(css) outputs /secure/secure...-- Base Page --String css = / + urlFor(StyleSheet.class, new PageParameters());add(HeaderContributor.forCss

(css));

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException

2006-11-01 Thread Johan Compagner
yes don't hold objects in mem between requeststhat doesn't work. You have to reload them with the new hibernate session.Thats why we have LoadableDetachableModel (attach/detach on IModel)johan
On 11/1/06, smallufo [EMAIL PROTECTED] wrote:
2006/11/2, Johan Compagner [EMAIL PROTECTED]:

when was that object really loaded?In the outmost page...

In the same request? Or was it hold on to it between a request?johanNo , it's not the same request. (pass to another page or PagingNavigator)Is it where the problem starts?
Any way to solve this ?


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Phonebook app links

2006-11-01 Thread Johan Compagner
it seems so. Fix now: use the wicket filter instead of the servlet.johanOn 11/1/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:johan are you reading with us? i am looking at 
WicketFilter.SERVLET_PATH_HOLDER and looks like you forgot to implement placeholder-realpath resolution like you intended to.-igor

On 11/1/06, John Patterson [EMAIL PROTECTED] wrote:

Hi,I have checked out the latest wicket 2.0 code from apache and thephonebook from Sourceforge and everything compiles correctly afterchanging some onSubmit methods from protected to public.The phonebook home page displays correctly but no links work... maybe
because they have links like this:http://localhost:8080/phonebook/servlet?wicket:interface=:
2:createLink::ILinkListenerThanks,John.
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net

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

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Customizing Paging Navigation

2006-11-01 Thread Scott Sauyet
Is there a simple example around of how PagingNavigation can be customized?

I can't figure out what I'm doing wrong.  I *think* I'm following the 
example in the Javadocs, but my markup never matches my code.

If anyone has a live example floating around that I could examine, I 
would appreciate it.

Thanks,

   -- Scott


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Gustavo Santucho
  This is a great discussion

It really is.
Keep posting, both of you... ;-)


-
Gustavo.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Eelco Hillenius
On 11/1/06, Gustavo Santucho [EMAIL PROTECTED] wrote:
   This is a great discussion

 It really is.
 Keep posting, both of you... ;-)

I'm just waiting for some hard data instead of the talking ;)

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Igor Vaynberg
why dont you create a jmx wrapper for ehcache jars mr jmx? :)-igorOn 11/1/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:On 11/1/06, Gustavo Santucho 
[EMAIL PROTECTED] wrote: This is a great discussion It really is. Keep posting, both of you... ;-)I'm just waiting for some hard data instead of the talking ;)
Eelco-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Eelco Hillenius
I thought starting wicket-threadtest for load testing was a nice enough start.

Eelco

On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 why dont you create a jmx wrapper for ehcache jars mr jmx? :)

 -igor

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] getVariation()

2006-11-01 Thread Otan
Why can't I do this?public class MyPage extends WebPage {String variant;public MyPage(PageParameters p) {variant = 
p.getString(var);}public String getVariation() {return variant;}}getVariation() always return null as if 'variant' never get set in the constructor.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Carfield Yim
Excellent!

On 11/2/06, Erik van Oosten [EMAIL PROTECTED] wrote:
 Wicket will search all resource files with the names equal to the
 components in your component hierarchy, with your application as a last
 resort (as Martin shows in his e-mail).

 So for a MyApplication, with a MyPage containing a MyPanel Wicket will
 look in:
 1. MyPanel.properties (and _locale variants)
 2. MyPage.properties (..)
 3. MyApplication.properties (..)

 Actually, it even goes two steps further. Wicket will also look at
 property files for the base classes of MyPanel, MyPage and
 MyApplication. Secondly you can have different styles and variants.

   Erik.


 Carfield Yim schreef:
  Thanks for pointing out this, this is very useful. However according to
 
  http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html
 
  Look like if for page class MyPage.class, then it will use the bundle
  define at MyPage_[locate].properties, right?
 
  However, I guess most people like to put all bundles key value pair in
  single properties file so that it is easier to reuse and translate. I
  believe this can be done in wicket, anyone know how?
 
 
  On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
 
  Hi Carfield,
 
  There is also the wicket:message tag.
 
  I am trying to find documentation on the wiki but I failed. I guess
  you'll have to google for it.
 
   Erik.
 
  Carfield Yim schreef:
 
  Have read these two page:
 
  http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
  http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
 
  Look like I have 2 options:
  1) Have a of of span wicket:id=xxx/span at HTML and fill all those
  span at Java code.
  2) Have a lot of MyPage_[locate].html .
 
  Sound like both are not very ideal, as 1) need programmer add a long
  list of labels at java code, and 2) need designer keep multiple copy
  of HTML in sync manually.
 
  I just wonder if I have just have HTML template like
 
   html
  body
  span wicket:id = main_border
  {label.message_to_user}
  /span
  /body
  /html
 
  Then wicket will look it up from bundle without the programmer fill a
  long list of span component?
 
  --
  Erik van Oosten
  http://www.day-to-day-stuff.blogspot.com/
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Carfield Yim
sorry, one more question, can I involve messageformat class from
wicket:message tag?

On 11/2/06, Carfield Yim [EMAIL PROTECTED] wrote:
 Excellent!

 On 11/2/06, Erik van Oosten [EMAIL PROTECTED] wrote:
  Wicket will search all resource files with the names equal to the
  components in your component hierarchy, with your application as a last
  resort (as Martin shows in his e-mail).
 
  So for a MyApplication, with a MyPage containing a MyPanel Wicket will
  look in:
  1. MyPanel.properties (and _locale variants)
  2. MyPage.properties (..)
  3. MyApplication.properties (..)
 
  Actually, it even goes two steps further. Wicket will also look at
  property files for the base classes of MyPanel, MyPage and
  MyApplication. Secondly you can have different styles and variants.
 
Erik.
 
 
  Carfield Yim schreef:
   Thanks for pointing out this, this is very useful. However according to
  
   http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html
  
   Look like if for page class MyPage.class, then it will use the bundle
   define at MyPage_[locate].properties, right?
  
   However, I guess most people like to put all bundles key value pair in
   single properties file so that it is easier to reuse and translate. I
   believe this can be done in wicket, anyone know how?
  
  
   On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
  
   Hi Carfield,
  
   There is also the wicket:message tag.
  
   I am trying to find documentation on the wiki but I failed. I guess
   you'll have to google for it.
  
Erik.
  
   Carfield Yim schreef:
  
   Have read these two page:
  
   http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
   http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
  
   Look like I have 2 options:
   1) Have a of of span wicket:id=xxx/span at HTML and fill all those
   span at Java code.
   2) Have a lot of MyPage_[locate].html .
  
   Sound like both are not very ideal, as 1) need programmer add a long
   list of labels at java code, and 2) need designer keep multiple copy
   of HTML in sync manually.
  
   I just wonder if I have just have HTML template like
  
html
   body
   span wicket:id = main_border
   {label.message_to_user}
   /span
   /body
   /html
  
   Then wicket will look it up from bundle without the programmer fill a
   long list of span component?
  
   --
   Erik van Oosten
   http://www.day-to-day-stuff.blogspot.com/
  
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache 
   Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  Erik van Oosten
  http://www.day-to-day-stuff.blogspot.com/
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Igor Vaynberg
no, since wicket:message takes no arguments there is no need for messageformatthe output is the exact string defined in the properties file for the specified key.-igor
On 11/1/06, Carfield Yim [EMAIL PROTECTED] wrote:
sorry, one more question, can I involve messageformat class fromwicket:message tag?On 11/2/06, Carfield Yim [EMAIL PROTECTED] wrote: Excellent!
 On 11/2/06, Erik van Oosten [EMAIL PROTECTED] wrote:  Wicket will search all resource files with the names equal to the  components in your component hierarchy, with your application as a last
  resort (as Martin shows in his e-mail).   So for a MyApplication, with a MyPage containing a MyPanel Wicket will  look in:  1. MyPanel.properties (and _locale variants)
  2. MyPage.properties (..)  3. MyApplication.properties (..)   Actually, it even goes two steps further. Wicket will also look at  property files for the base classes of MyPanel, MyPage and
  MyApplication. Secondly you can have different styles and variants.   Erik.Carfield Yim schreef:   Thanks for pointing out this, this is very useful. However according to
 http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html  
   Look like if for page class MyPage.class, then it will use the bundle   define at MyPage_[locate].properties, right? However, I guess most people like to put all bundles key value pair in
   single properties file so that it is easier to reuse and translate. I   believe this can be done in wicket, anyone know how?   On 11/1/06, Erik van Oosten 
[EMAIL PROTECTED] wrote: Hi Carfield, There is also the wicket:message tag.
 I am trying to find documentation on the wiki but I failed. I guess   you'll have to google for it.Erik.  
   Carfield Yim schreef: Have read these two page: 
http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket   http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
 Look like I have 2 options:   1) Have a of of span wicket:id=xxx/span at HTML and fill all those   span at Java code.
   2) Have a lot of MyPage_[locate].html . Sound like both are not very ideal, as 1) need programmer add a long   list of labels at java code, and 2) need designer keep multiple copy
   of HTML in sync manually. I just wonder if I have just have HTML template likehtml
   body   span wicket:id = main_border   {label.message_to_user}   /span
   /body   /html Then wicket will look it up from bundle without the programmer fill a   long list of span component?
 --   Erik van Oosten   http://www.day-to-day-stuff.blogspot.com/  
 -   Using Tomcat but need to do more? Need to support web services, security?   Get stuff done quickly with pre-integrated technology to make your job easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___   Wicket-user mailing list   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user -
   Using Tomcat but need to do more? Need to support web services, security?   Get stuff done quickly with pre-integrated technology to make your job easier   Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___   Wicket-user mailing list   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user   --  Erik van Oosten
  http://www.day-to-day-stuff.blogspot.com/-
  Using Tomcat but need to do more? Need to support web services, security?  Get stuff done quickly with pre-integrated technology to make your job easier  Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to 

Re: [Wicket-user] Question about i18n

2006-11-01 Thread Carfield Yim
Thanks. By the way I just found that the key must existed otherwise
the application will not run.

I personally think as there is already default message for that tag,
may be we don't need to make it as requirement of have key at bundle?

On 11/1/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 MyApplication.properties
 MyApplication_nl_NL.properties
 MyApplication_fr.properties
 MyApplication_bg.properties
 MyApplication_jp.properties

 Martijn

 On 11/1/06, Carfield Yim [EMAIL PROTECTED] wrote:
  Thanks for pointing out this, this is very useful. However according to
 
  http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html
 
  Look like if for page class MyPage.class, then it will use the bundle
  define at MyPage_[locate].properties, right?
 
  However, I guess most people like to put all bundles key value pair in
  single properties file so that it is easier to reuse and translate. I
  believe this can be done in wicket, anyone know how?
 
 
  On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
   Hi Carfield,
  
   There is also the wicket:message tag.
  
   I am trying to find documentation on the wiki but I failed. I guess
   you'll have to google for it.
  
Erik.
  
   Carfield Yim schreef:
Have read these two page:
   
http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
   
Look like I have 2 options:
1) Have a of of span wicket:id=xxx/span at HTML and fill all those
span at Java code.
2) Have a lot of MyPage_[locate].html .
   
Sound like both are not very ideal, as 1) need programmer add a long
list of labels at java code, and 2) need designer keep multiple copy
of HTML in sync manually.
   
I just wonder if I have just have HTML template like
   
 html
body
span wicket:id = main_border
{label.message_to_user}
/span
/body
/html
   
Then wicket will look it up from bundle without the programmer fill a
long list of span component?
  
   --
   Erik van Oosten
   http://www.day-to-day-stuff.blogspot.com/
  
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 --
 a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
 for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
 at the a href=http://www.thebeststuffintheworld.com/;Best Stuff in
 the World!/a

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about i18n

2006-11-01 Thread Carfield Yim
Please ignore this, I just make some other mistake at my code and lead
me think the tag work in this way, in fact the key is not a
requirement as I expected before

On 11/2/06, Carfield Yim [EMAIL PROTECTED] wrote:
 Thanks. By the way I just found that the key must existed otherwise
 the application will not run.

 I personally think as there is already default message for that tag,
 may be we don't need to make it as requirement of have key at bundle?

 On 11/1/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
  MyApplication.properties
  MyApplication_nl_NL.properties
  MyApplication_fr.properties
  MyApplication_bg.properties
  MyApplication_jp.properties
 
  Martijn
 
  On 11/1/06, Carfield Yim [EMAIL PROTECTED] wrote:
   Thanks for pointing out this, this is very useful. However according to
  
   http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html
  
   Look like if for page class MyPage.class, then it will use the bundle
   define at MyPage_[locate].properties, right?
  
   However, I guess most people like to put all bundles key value pair in
   single properties file so that it is easier to reuse and translate. I
   believe this can be done in wicket, anyone know how?
  
  
   On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi Carfield,
   
There is also the wicket:message tag.
   
I am trying to find documentation on the wiki but I failed. I guess
you'll have to google for it.
   
 Erik.
   
Carfield Yim schreef:
 Have read these two page:

 http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
 http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket

 Look like I have 2 options:
 1) Have a of of span wicket:id=xxx/span at HTML and fill all those
 span at Java code.
 2) Have a lot of MyPage_[locate].html .

 Sound like both are not very ideal, as 1) need programmer add a long
 list of labels at java code, and 2) need designer keep multiple copy
 of HTML in sync manually.

 I just wonder if I have just have HTML template like

  html
 body
 span wicket:id = main_border
 {label.message_to_user}
 /span
 /body
 /html

 Then wicket will look it up from bundle without the programmer fill a
 long list of span component?
   
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
   
   
-
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  --
  a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
  for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
  at the a href=http://www.thebeststuffintheworld.com/;Best Stuff in
  the World!/a
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] getVariation()

2006-11-01 Thread Eelco Hillenius
Check that that constructor is actually called, and check that the var
parameter returns not null. If that is the case, your code should
work.

Eelco


On 11/1/06, Otan [EMAIL PROTECTED] wrote:
 Why can't I do this?
 
 public class MyPage extends WebPage {
 String variant;
 public MyPage(PageParameters p) {
 variant = p.getString(var);
 }
 public String getVariation() {
 return variant;
 }
 }
 
 getVariation() always return null as if 'variant' never get set in the
 constructor.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Igor Vaynberg
its good for load testing but it wont work for these types of stats.second level cache hit rate will highly depend on the type of application and usage patterns. as ive mentioned you need to tweak your app to increase the hit rate, its a custom job every time.
and then to truelly measure it you really do have to have a cluster of several physical machines to simulate real load on the session replication. its not very simple.maybe if we had something a bit more complex like a bug tracker and instrumented that for collecting stats that might work. geoff would have to create a pretty tight wicket+shades integration that would really take advantage of what shades can do to really have a good comparison though. our loadable detachable paradigm happens to work very well with second level cache, but doesnt map as nicely onto shades seems like
-igorOn 11/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
I thought starting wicket-threadtest for load testing was a nice enough start.EelcoOn 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote: why dont you create a jmx wrapper for ehcache jars mr jmx? :)
 -igor-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] more about caches, detachment, etc

2006-11-01 Thread Eelco Hillenius
Yeah, don't take my remark too seriously, I know it depends on many
factors. However, making things measurable can be valuable, even if it
doesn't correspond to any actual case closely. I was just poking :)

Eelco



On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 its good for load testing but it wont work for these types of stats.

 second level cache hit rate will highly depend on the type of application
 and usage patterns. as ive mentioned you need to tweak your app to increase
 the hit rate, its a custom job every time.

 and then to truelly measure it you really do have to have a cluster of
 several physical machines to simulate real load on the session replication.
 its not very simple.

 maybe if we had something a bit more complex like a bug tracker and
 instrumented that for collecting stats that might work. geoff would have to
 create a pretty tight wicket+shades integration that would really take
 advantage of what shades can do to really have a good comparison though. our
 loadable detachable paradigm happens to work very well with second level
 cache, but doesnt map as nicely onto shades seems like

 -igor


 On 11/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 
  I thought starting wicket-threadtest for load testing was a nice enough
 start.
 
  Eelco
 
  On 11/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   why dont you create a jmx wrapper for ehcache jars mr jmx? :)
  
   -igor
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user