Ivoneta,
MyAjaxPagingNavigator extends from my own PagingNavigator subclass.
But I have a problem my own class doesn't work...If I clicked to next
page, the entire page is refresh,
because AjaxPagingNavigationBehavior call onAjaxEvent() only if Navigator
class is AjaxPagingNavigator.class.
Hi Minas,
Providing code completion for component id's would be great! In particular in
the java code, slightly less so in markup.
Warnings for unknown component id's in java code would also be a very nice
feature! It would probably be useful to be able to suppress the warning with a
Thanks for the suggestion. Since our Wicket application is presently a
singular page, I can kind of imagine how this could work assuming the
'iframe' is embedded in the outermost part of the HTML (thus lies outside of
any potential AJAX refreshes by Wicket). It will also mean that we must
stick
Hi Krzysztof,
Sorry to hear that, I must admit I never thought of testing this with forms. I
just assumed that the form would have a wicket generated URL and that from that
point on it would work the normal way.
Regards,
Erik.
Op 02-12-10 16:32, Krzysztof Kowalczyk wrote:
Thank you
not sure if this would work, but create another pagemap for your large form
and submit to that (if you are trying to keep everything in the wicket
world). keep the default pagemap (null) for your short lived requests.
--
View this message in context:
I have a page with such definition :
public class CrudPageT extends Serializable extends WebPage
{
public CrudPage(PageParameters pps , AbstractDaoT dao)
{...}
}
and here is how I initialize the page :
CrudPageUser page = new CrudPageUser(pps , userDao);
the userDao is a Spring injected DAO
proxyClass.getSuperclass() gives you the dao type
On Tue, Dec 14, 2010 at 8:45 AM, smallufo small...@gmail.com wrote:
I have a page with such definition :
public class CrudPageT extends Serializable extends WebPage
{
public CrudPage(PageParameters pps , AbstractDaoT dao)
{...}
}
and
You could also have AbstractDao have a method like this:
public T ClassT getEntityType();
I assume you need the type in your DAO when constructing queries, so
you probably already have that set up somewhere.
On Tue, Dec 14, 2010 at 5:45 AM, smallufo small...@gmail.com wrote:
I have a page with
Hi.
I have TextArea component with shouldTrimInput() set to false. It has
AjaxFormComponentUpdatingBehavior(onblur) attached for validating
purpose. On every update it refresh itself. And after update newline
from the begining of textarea is trimmed.
I debug wickets up to getReponse().write
Hi ,
I tried :
dao.getClass() = class org.apache.wicket.proxy.$Proxy101
dao.getClass().getGenericSuperclass() = class java.lang.reflect.Proxy
dao.getClass().getSuperclass() = class java.lang.reflect.Proxy
But still unable to get the dao class
2010/12/14 Pedro Santos pedros...@gmail.com
keep calling superclass until its not a proxy
-igor
On Tue, Dec 14, 2010 at 3:28 PM, smallufo small...@gmail.com wrote:
Hi ,
I tried :
dao.getClass() = class org.apache.wicket.proxy.$Proxy101
dao.getClass().getGenericSuperclass() = class java.lang.reflect.Proxy
We were listed behind JSF, GWT, Struts 1, Seam, and Struts 2. But, we
beat out Grails, Stripes, and Tapestry.
http://www.zeroturnaround.com/java-ee-productivity-report-2011/
-
To unsubscribe, e-mail:
refreshRateModel = new ModelInteger();
refreshRateModel.setObject(coreDaoService
.getWallboardRefreshTimeInSeconds());
FormString viewerAjaxrefreshRateForm = new FormString(
viewerAjaxrefreshRateForm) {
@Override
Can you try with FormVoid instead of FormString
On Tue, Dec 14, 2010 at 4:12 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
refreshRateModel = new ModelInteger();
refreshRateModel.setObject(coreDaoService
.getWallboardRefreshTimeInSeconds());
Hi all,
make sure that the type of refreshRate is Integer.
Thanks
MBR
http://javajeedevelopment.blogspot.com/2010/12/brix-cms-apache-wicket-based-cms.html
2010/12/14 Martin Grigorov mgrigo...@apache.org
Can you try with FormVoid instead of FormString
On Tue, Dec 14, 2010 at 4:12 PM, nino
Hmmm.. wicket trims strings anyways?
2010/12/14 Michał Letyński mletyn...@consol.pl:
Hi.
I have TextArea component with shouldTrimInput() set to false. It has
AjaxFormComponentUpdatingBehavior(onblur) attached for validating purpose.
On every update it refresh itself. And after update newline
refreshRateTextField.setType(Integer.class) should help
PS
Model class (refreshRateModel instance) does not provide type info.
Check IObjectClassAwareModel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/1-5-integer-textfield-tp3087246p3087489.html
Sent from the
1. create patch and send it to JIRA :)
2. apply transformer behavior to a table component
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Invalid-html-rendered-with-DataTable-ex-empty-tfoot-element-tp3058934p3087508.html
Sent from the Users forum mailing list
Initially it was integer then changed it to string. Will try void
On Dec 14, 2010 4:16 PM, Martin Grigorov mgrigo...@apache.org wrote:
Can you try with FormVoid instead of FormString
On Tue, Dec 14, 2010 at 4:12 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
re...
Refreshrate are integer
On Dec 14, 2010 4:36 PM, moèz ben rhouma benrhouma.m...@gmail.com wrote:
Hi all,
make sure that the type of refreshRate is Integer.
Thanks
MBR
http://javajeedevelopment.blogspot.com/2010/12/brix-cms-apache-wicket-based-cms.html
2010/12/14 Martin Grigorov
Hi everybody,
I'd like to implement a mechanism of ETags in my wicket application.
What I would like to achieve is to avoid rendering of wicket model
components if it's not necessary.
In order to do this I'll keep a registry of modified elements and render
them only if they are changed.
What
Hi there,
In the private method Form#isMultiPart the visitor algorithm does not
check for components that implement IFormVisitorParticipant.
Here is my use case (I've been debugging quite some time to find the
source of recent problems I've encountered):
Within a form I have a nested
Here is the patch:
diff --git
a/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/DataTable.html
b/wicket-extensions/src/main/java/org/apache/wicket/ext
index 8b3ab5b..f19673f 100644
---
use the onConfigure to set the paging-toolbar
onConfigure(){
setVisible( getDataGrid().getTotalRowCount() != 0);
}
On Tue, Dec 14, 2010 at 3:39 PM, Daniel Soneira
daniel.sone...@joyn-it.atwrote:
Hi there,
In the private method Form#isMultiPart the visitor algorithm does not check
for
PagingToolbar is not my code.
It's a class of inmethod-grid (wicketstuff project). So I have no
influence on that. That's what I would do if it _was_ my code though ;)
Maybe inmethod-grid adapts the new onConfigure / onInitialize methods.
I'm currently using 1.4.1 which I _think_ is the latest
ops, I miss that, can u send a quickstart? The last version is 1.4.14, you
can use
dependency
groupIdorg.wicketstuff/groupId
artifactIdinmethod-grid/artifactId
version1.4.14/version
/dependency
On Tue, Dec 14, 2010 at 4:12 PM, Daniel Soneira
daniel.sone...@joyn-it.atwrote:
I'll try to put a quickstart together tomorrow.
I'm not really using maven in my tool chain (ant guy) so I get the
binary releases from here:
http://wicketstuff.org/maven/repository/
On 14.12.2010 19:21, Pedro Santos wrote:
ops, I miss that, can u send a quickstart? The last version is
you can get the jar at:
http://repo1.maven.org/maven2/org/wicketstuff/inmethod-grid/1.4.14/
On Tue, Dec 14, 2010 at 4:37 PM, Daniel Soneira
daniel.sone...@joyn-it.atwrote:
I'll try to put a quickstart together tomorrow.
I'm not really using maven in my tool chain (ant guy) so I get the binary
Anyone? Abstract: I have extended WiQuery Dialog with our own custom
dialog. I want the MyDialog to know if any child components are a Form,
being submitted via AJAX (AjaxFormSubmitBehavior). I need access to the
AjaxRequestTarget created by that ajax form submit so I can append
javascript to
More shocking to me is that so little bit know about Guice (well, this
actually is also my experience interviewing potential job candidates).
People are really missing something good.
Eelco
On Tue, Dec 14, 2010 at 6:33 AM, James Carman
ja...@carmanconsulting.com wrote:
We were listed behind
I changed the PagingToolbar to set the visibility at onConfigure to avoid
early initialize the QueryResult.
You can test on the next snapshot from now at
http://oss.sonatype.org/content/repositories/snapshots/org/wicketstuff/inmethod-grid/1.4.15-SNAPSHOT/
On Tue, Dec 14, 2010 at 4:40 PM, Pedro
I added this simple java script to showLoading ,
function wicketGlobalPreCallHandler() {
//alert('Before ajax call');
jQuery('#page').showLoading(
{
'addClass': 'loading-indicator-bars'
}
);
Hi everyone,
can I get an example how to implement the detach() method ? can someone
please post a detailed example ?
why and in which cases implementing detach() is important ?
thanks.
--
View this message in context:
If you would open this http://pastebin.com/XCpcgLzC once again and
look at the getImageUrl() method - you'll find your answer.
Regards
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
2010/12/14 Ladislav DANKO em...@1ac0.net:
The question is how to convert file path
That was accurate :)
Thank you!
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Mon, Dec 13, 2010 at 10:02 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
formcomponent.validate()
-igor
On Mon, Dec 13, 2010 at 6:56 PM, Zilvinas Vilutis cika...@gmail.com
I needed to authorize some pages not just by annotation but also based on
PageParameters.
I came up with this:
App.init()
((CompoundAuthorizationStrategy)getSecuritySettings().getAuthorizationStrategy())
.add(new RequiresRolesUnlessAdminAuthorizationStrategy(new
Roles(ADMIN)));
I was finally able to download the new version of WicketForge today (along with
some other plugins) since IntelliJ recently updated their caches.
Minas, the results are beautiful. ~minas++ !!!
:B
On Dec 1, 2010, at 5:59 PM, Minas Manthos wrote:
Thanks guys! I'm glad you like it... It's
Hi,
I've a Listview and the content of list is selected by a modal window.
The content of list should be validate to be required.
I've tried to create a custom validator , but I have no idea how to bind the
validator to the Listview.
Is it possible to validate the Listview as required before
You cant add IValidator to a ListView because it is not a FormComponent. You
can:
1. check ListView.getList() within Form.onSubmit() and call form.error(...)
if list is empty
2. create a form validator based on AbstractFormValidator and add it to the
form component
--
View this message in
He's really been doing a great job with it.
On Tue, Dec 14, 2010 at 6:49 PM, Brian Topping topp...@codehaus.org wrote:
I was finally able to download the new version of WicketForge today (along
with some other plugins) since IntelliJ recently updated their caches.
Minas, the results are
I am using wicket call handlers to identify when ajax request started ,
ended, failed etc.
Please tell me if it is possible to get more information about the ajax
request like componenet which made ajaxreqest or anything about the
component its class, its attributes etc?
function
Well, he couldn't have done it without you. Cheers to both of you guys :-)
On Dec 14, 2010, at 11:22 PM, Nick Heudecker wrote:
He's really been doing a great job with it.
On Tue, Dec 14, 2010 at 6:49 PM, Brian Topping topp...@codehaus.org wrote:
I was finally able to download the new
same result :
private void addViewerAjaxrefreshRateForm() {
refreshRateModel = new ModelInteger();
refreshRateModel.setObject(coreDaoService
.getWallboardRefreshTimeInSeconds());
FormVoid viewerAjaxrefreshRateForm = new FormVoid(
viewerAjaxrefreshRateForm) {
@Override
protected void onSubmit()
43 matches
Mail list logo