Re: [Wicket-user] Page lifetime in wicket

2007-07-22 Thread Lec
By default which temp directory does all the all pages stored into? Johan Compagner wrote: With wicket 1.3 (and the SecondLevelCacheSessionStore thats default in 1.3) only one page is kept in (session)memory this is the active page that is just rendered. All other pages (for backbutton)

Re: [Wicket-user] Sessionless Wicket?

2007-07-22 Thread Lec
Yeah, you can give provide a HINT that they shouldn't be stored (that they are stateless) by overriding getStatelessHint on the components you put on the page. Note that if there is just one stateful component on the page, that'll trigger the page to be marked as stateful UNLESS you

[Wicket-user] some errors appear in wicket-example 1.3beta2

2007-07-15 Thread Lec
I just run through the library sample - http://wicketstuff.org/wicket13/library/ Supposedly, if you don't key in the title and author field, it will show error as it has FormComponentFeedbackBorder component wrapped around the title and author fields. but in wicket1.3 beta2, it seems like it

[Wicket-user] Why wicket-phonebook 1.3 doesn't reload and run in glassfish?

2007-07-03 Thread Lec
I have been trying to figure out a reason as to why wicket-phonebook 1.3 couldn't be executed anymore after reloading in glassfish but it can be done in tomcat 5.x...I could reload it in glassfish without seeing error on the glassfish console, but if i type the URL pointing to the

[Wicket-user] Error reloading wicket-phonebook - wicket1.3 in glassfish

2007-06-30 Thread Lec
If i deploy the war file and run it, it works fine for the first time. But if i reload the exploded directory in glassfish, it gave me this strange error. So Im wondering if anybody know what this error means... What strange is, this doesn't happen in tomcat 5.1.x.x but in glassfish. And it 's

Re: [Wicket-user] Error reloading wicket-phonebook - wicket1.3 in glassfish

2007-06-30 Thread Lec
resource () is not available. And i had no chance at all to trace what error caused the http 404. Take note, this is only happened when I reload in glassfish. I had no problem reloading in tomcat. Would be appreciated if somebody can give me a pointer here. Thanks Lec wrote: If i deploy the war

Re: [Wicket-user] Paging data without using DataProvider.size() ?

2007-06-30 Thread Lec
hie Gwyn, May be this will help - read all the threads http://www.nabble.com/RE%3A--Contract-for-%22Iterator-IDataProvider.iterator%28int-first%2C-int-count%29%22-tf1395451.html#a11057660 Gwyn wrote: Hi, Anyone got any suggestions as to the best way to provide a paging

Re: [Wicket-user] Error reloading wicket-phonebook - wicket1.3 in glassfish

2007-06-30 Thread Lec
How does the code look like to kill off the ehcache Thread I tried ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); LogFactory.release(contextClassLoader); but it doesn't work igor.vaynberg wrote: On 6/30/07, Lec [EMAIL PROTECTED] wrote

Re: [Wicket-user] where can i get the wicket1.3 documentation

2007-06-27 Thread Lec
hmm..how about site for the javadoc wicket1.3 extension? and where is the site that I download all these 1.3 javadoc? thanks If you mean 1.3 api javadoc, it is here: http://www.wicketstuff.org/wicket13doc/ - This SF.net

Re: [Wicket-user] where can i get the wicket1.3 documentation

2007-06-26 Thread Lec
thanks guyz ptrthomas wrote: On 6/26/07, Lec [EMAIL PROTECTED] wrote: Im just wondering where can i get the wicket1.3 documentation. Been searching around but to no avail Would be appreciated if somebody point me to the site. -- If you mean 1.3 api javadoc, it is here: http

[Wicket-user] where can i get the wicket1.3 documentation

2007-06-25 Thread Lec
Im just wondering where can i get the wicket1.3 documentation. Been searching around but to no avail Would be appreciated if somebody point me to the site. -- View this message in context: http://www.nabble.com/where-can-i-get-the-wicket1.3-documentation-tf3980393.html#a11299683 Sent from the

Re: [Wicket-user] IDataProvider.size()

2007-06-11 Thread Lec
verify, but I don't think memory will be an issue there. -- Jeremy Thomerson jthomerson AT users DOT sourceforge DOT net On 6/10/07, Lec [EMAIL PROTECTED] wrote: Why would want to cache the result? what happened if the results returned are big and if that s not enought, what will happened

Re: [Wicket-user] IDataProvider.size()

2007-06-11 Thread Lec
Eelco, What i mean is that, you don't necessary have to cache the result just do the paging lists. you can directly call the db to query the page just like that... void iterator( int first, int count) { db.getPage( parameter, first, count ).iterator(); } int size() {

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

2007-06-11 Thread Lec
/07, Lec [EMAIL PROTECTED] wrote: Igor, if calling paging 1,2,3 n each time requires a call to iterator(first, count) and size(), which means a call to db, wouldn't this way, it ll give a bottleneck at the database layer? Imagine there are about concurrent 5000 users doing

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

2007-06-10 Thread Lec
Igor, if calling paging 1,2,3 n each time requires a call to iterator(first, count) and size(), which means a call to db, wouldn't this way, it ll give a bottleneck at the database layer? Imagine there are about concurrent 5000 users doing the pagingim sure the database will

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

2007-06-10 Thread Lec
? Lec wrote: Igor, if calling paging 1,2,3 n each time requires a call to iterator(first, count) and size(), which means a call to db, wouldn't this way, it ll give a bottleneck at the database layer? Imagine there are about concurrent 5000 users doing the pagingim sure

Re: [Wicket-user] IDataProvider.size()

2007-06-10 Thread Lec
Why would want to cache the result? what happened if the results returned are big and if that s not enought, what will happened if 5000 concurrent users are accessing the paging and hence caching a potential big records returned? the memory of the server will be eaten away right? Timo Stamm

[Wicket-user] Getting error - java.lang.VerifyError: class wicket.behavior.AbstractAjaxBehavior overrides final method getComponent.()Lwicket/Component

2007-06-06 Thread Lec
What does this error means? I got this error when I my webapp war into another newer version of application server. I have been trying to figure out the whole day finding what the root problem is, but still couldn't find any. Help needed

Re: [Wicket-user] Getting error - java.lang.VerifyError: class wicket.behavior.AbstractAjaxBehavior overrides final method getComponent.()Lwicket/Component

2007-06-06 Thread Lec
is that, it runs fine during the war file loading up, but as when the webapp runs during runtime, it just generate this error. Anyway, hope this will provide one of the trace that could help if somebody face the same problem as me in the future. *wink* *wink*^O^3 Lec wrote: What does this error means? I got

Re: [Wicket-user] How to position the panel tab

2007-05-31 Thread Lec
Do you happen to know the attribute and its value for setting the position to the right? Timo Rantalaiho wrote: On Wed, 30 May 2007, Lec wrote: I need some guidance. By default, normally we will see either a panel tab or multiple tab appear on the far left of the screen. How do we

[Wicket-user] How to position the panel tab

2007-05-30 Thread Lec
I need some guidance. By default, normally we will see either a panel tab or multiple tab appear on the far left of the screen. How do we position them ( the panel tabs ) in such a way that they will appear on the far right rather than the left? -- View this message in context:

Re: [Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-23 Thread Lec
document.getElementById('paragraph').click() On 5/22/07, Lec [EMAIL PROTECTED] wrote: How do you invoke the eventhandler onclick() within public void onClick( AjaxRequestTarget target ) and why would you want to do that for? Gerolf Seitz wrote: you could try to invoke the click

Re: [Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-22 Thread Lec
not to trouble myself for now. Any other workaround to this? Johan Compagner wrote: AjaxRequestTarget has an own method now for giving a component focus: http://wicketstuff.org/wicket13doc/org/apache/wicket/ajax/AjaxRequestTarget.html On 5/21/07, Lec [EMAIL PROTECTED] wrote: That's what I

Re: [Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-22 Thread Lec
with click() in firefox. onclick() worked like a charm. hth, gerolf On 5/22/07, Lec [EMAIL PROTECTED] wrote: This portion of code works in IE public void onClick( AjaxRequestTarget target ) { target.appendJavascript(document.getElementById ('paragraph').click();) } but it DOESN't

Re: [Wicket-user] Check the mime type of uploaded file and its binary content

2007-05-21 Thread Lec
Thanks Johan Lec wrote: How to check the binary contents of the uploaded file. For example, to prevent the fake file being uploaded, because I really want to check if the uploaded file is really the pdf file or image file. How can you do it? I realise checking the mime type of the file

[Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-21 Thread Lec
Im trying to figure out a way to make button behave as if it's like a link component upon clicked. I want a button to archieve the same behaviour as link, and upon clicked, a particular html region will be focused or displayed, just like the same behaviour when you setAnchor in link component.

Re: [Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-21 Thread Lec
();); } }); Tracing back the error, it said has no properties. what does that mean? Timo Rantalaiho wrote: On Mon, 21 May 2007, Lec wrote: component. But the thing now is that, button doesn't provide any method to set an anchor

Re: [Wicket-user] Check the mime type of uploaded file and its binary content

2007-05-18 Thread Lec
How do I do that? Any pointer? igor.vaynberg wrote: you want to check the received bytes as the file is being uploaded? -igor On 5/18/07, Lec [EMAIL PROTECTED] wrote: How to check the binary contents of the uploaded file. For example, to prevent the fake file being uploaded

Re: [Wicket-user] use images in pagingNavigator

2007-04-21 Thread Lec
keep the wicket id's and markup hierarchy intact in your html file. The only reason you would need to re-implement is if you actually want to add new components to the links. But hopefully I just demonstrated two ways to avoid that. -Ryan On Apr 21, 2007, at 12:40 AM, Lec wrote

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Lec
above. by default ajaxpagingnavigator repaints the ipageable, when that is a table tag (datatable) it works fine, when it isnt you have to do a bit more work. -igor On 4/19/07, Lec [EMAIL PROTECTED] wrote: Hie Igor, Just to provide more info on theGridView doesn't work

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Lec
know where to begin and what I'm missing now. A sample skeleton code will greatly help me to understand the correlation here. :) Any helps for me on this? igor.vaynberg wrote: On 4/20/07, Lec [EMAIL PROTECTED] wrote: I didn't repaint it. It's just the WebMarkupContainer component that I missed

Re: [Wicket-user] How to get desired DataTable layout

2007-04-19 Thread Lec
Hie Igor, I need to check with you. I noticed GridView only works in PagingNavigator but not in AjaxPagingNavigator, and to have it working in AjaxPagingNavigator, I tried implementing a IPageable interface into GridView but it wasn't fruitful. As far as I know and If im right about