On Tue, Nov 30, 2010 at 4:23 AM, nivs wrote:
>
> Hi
>
> I have a question related to using a collection (Set) within a
> PageableListView. At runtime I get an exception
>
Hi, you are trying to make an component that depend on the collection
elements sequence work with a not sequenced collection.
When an transparent resolved component is rendered, it is able to correctly
resolve any wicket:id in the inner html object because it delegates the
Component#get to its parent, and it is able to know who are its children
components traversing the html at at the markupStream object.
So this special
Look for any setVisible(false) or isVisible implementation changing your
form visibility in an undesirable way. Basically you user in clicking in an
not visible in the hierarchy submitting component.
On Fri, Nov 26, 2010 at 2:12 PM, Douglas Ferguson <
doug...@douglasferguson.us> wrote:
> I have a
ail in this discussion thread for why it is wrong.
>
> Regards,
> Erik.
>
>
> Op 17-11-10 21:05, Pedro Santos schreef:
>
> I think it is to specific. You can override the Session on your app an
>> catch
>> this situation like:
>>
>> private voi
I think it is to specific. You can override the Session on your app an catch
this situation like:
private void writeObject(java.io.ObjectOutputStream out) throws
IOException {
if (Application.get() != null &&
Application.get().getConfigurationType().equals(Application.DEPLOYMENT)) {
ample page does not change
> between successive refreshes, it was pointless to store multiple versions of
> it.
>
> Cheers,
>
> Andrew.
>
>
> -Original Message-
> From: Pedro Santos [mailto:pedros...@gmail.com]
> Sent: 17 November 2010 12:11
> To: users@
You has an statefull page in the quickstart, so each refresh generates a new
page version. As you are tracking the file maintained by the DiskPageStore,
you are seeing what is going on at the secondary memory: page after page
versions being stored. You can use an stateless page if you don't want to
If I correctly remember, I had the same problem, solved by calling
page.setVersioned(false)
On Fri, Nov 12, 2010 at 2:30 PM, Martin Grigorov wrote:
> Hi GAE users,
>
> I'm trying to run Wicket 1.5 application in Google AppEngine and I'm
> experiencing problem for which I cannot find a solution so
Hi guys, can you give a try?
https://issues.apache.org/jira/browse/WICKET-3108?focusedCommentId=12931123&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12931123
On Thu, Nov 11, 2010 at 10:05 AM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:
> It is real, i
I mean: http://wicket.apache.org/help/
On Wed, Nov 10, 2010 at 2:55 PM, Pedro Santos wrote:
> There are good information at
> http://wicket.apache.org/contribute/patch.html
>
>
> On Wed, Nov 10, 2010 at 5:49 PM, Henrique wrote:
>
>> No problem...I'll keep for a li
There are good information at http://wicket.apache.org/contribute/patch.html
On Wed, Nov 10, 2010 at 5:49 PM, Henrique wrote:
> No problem...I'll keep for a little while and if it persists I can
> fill a ticket.
> What's the URL for wicket's jira?
>
>
If you don't solve your problem, do you mind to fill an ticket on JIRA with
an quickstart demonstrating the problem?
On Wed, Nov 10, 2010 at 5:17 PM, Henrique wrote:
> Yes, even in what would be the "second" submit, with all the right
> input entered.
>
> It's as if the form just stopped respond
On Wed, Nov 10, 2010 at 12:03 PM, Henrique wrote:
> The business logic is a simple access to a DAO to save what the user
> has entered into the form, like so:
>
> public void onSubmit() {
>
> Item item = (Item)getModelObject();
>
> User us
I think you need to implement the AjaxPagingNavigator#onAjaxEvent method and
add the currentPage component on target.
On Tue, Nov 9, 2010 at 4:20 PM, vp143 wrote:
>
> Thank you both for your responses- I totally forgot about it being dynamic.
>
> However, I have tried both code snippets above bu
Use an dinamic model, ex:
Label currentPage = new Label("currentPage", new
AbstractReadOnlyModel() {
public String getObject() {
return pagination.getPageable().getCurrentPage();
}
});
On Tue, Nov 9, 2010 at 2:04 PM, Vishal Popat wrote:
> Hi all,
>
On Mon, Nov 8, 2010 at 1:34 PM, MattyDE wrote:
>
> Hi Folks,
>
> i abuse the ListView Component (2 of them nested) to iterate over a bunch
> of
> type-save objects to build my own GridView Component, which works very
> well.
>
> But now, i want to spare out the showing of some rows in the outer L
I'm using frames to that, but I'm not a big fan of this solution.
On Wed, Oct 27, 2010 at 9:43 PM, gouthamrv wrote:
>
> Is there way I can combine a JSF component and a Wicket component on the
> same
> web page?
>
> I have a menu bar component created in Wicket and a form component is
> created
use the formCoponent.getRawInput()
On Wed, Oct 27, 2010 at 12:24 PM, Anna Simbirtsev wrote:
> Hi,
>
> I am using AjaxSubmitLink and I have setDefaultFormProcessing(false)
> to avoid form validation. The only problem is that none of the form
> values get submitted. If I need to get the value of on
.
>
> -----Ursprüngliche Nachricht-
> Von: Pedro Santos [mailto:pedros...@gmail.com]
> Gesendet: Dienstag, 26. Oktober 2010 12:37
> An: users@wicket.apache.org
> Betreff: Re: problem with Dropdown List
>
> Hi Mehmet, I think you need change this line:
>
>
Hi Mehmet, I think you need change this line:
@Override
protected void setTDokar(TDokar dokart)
{
dokar = *docType*; -->
DocSearchPage.this.*docType
*=* *dokart;
}
anywa
If you have n MyPanelData on a page, you will be fine with the
RepeatingView. Otherwise use the Listview to generate the correct number of
items with MyPanel each render.
On Mon, Oct 25, 2010 at 8:19 PM, Jan Ferko wrote:
> well, I have all fields which have to be create dynamicaly grouped in on
If you are using an AjaxFallbackButton then you need to check for NPE
On Mon, Oct 18, 2010 at 6:05 PM, meduolis wrote:
>
> Hi, do we need to check if target is null? Is it possible to get null
> pointer
> exception here?
>
> Example
>
> onSubmit(AjaxRequestTarget target, Form form) {
>//
Are you using an static model at the list view? See if your objects on it
correctly implement the hash and equals method...
I can't wonder why at the response your browser is trying to leave the page
:S
On Mon, Oct 18, 2010 at 1:07 PM, armandoxxx wrote:
>
> Hey ...
>
> 10x for your fast reply ...
Remove the element at the list view model list rather then at the list view
components list. About the 'leave page' message, see if at your form
onsubmit method there is some redirect rule implemented.
On Mon, Oct 18, 2010 at 12:23 PM, armandoxxx wrote:
>
> Hey ppl
>
> Need a little help with my
Hi Gerolf,
sorry to take so much time to reply, but I would like to merge our
components. I think it will be interest to do that now when Wicket Stuff
devs are updating their projects to maintain it up to date with Wicket 1.5
version.
I'm planning bring the wicketstuff-jmx-panel to the core Wicket
Won't be reasonable use ResourceBundle directly in your case? Like:
ResourceBundle.getBundle( *.properties, locale).getString("msgResult")
Otherwise StringResourceModel just would delegate your call to this api...
On Mon, Sep 6, 2010 at 10:00 AM, msantos wrote:
>
> Hello there.
>
> I am using th
You can use javascript call handlers, ex:
Wicket.Ajax.registerPreCallHandler(
function(){
window.onbeforeunload = function() {
return "There is some activity going on, please wait until
the activity indicator disappears";
};
}
);
Wicket.Ajax.registe
https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax+rewriting
On Wed, Sep 1, 2010 at 12:34 PM, Igor Vaynberg wrote:
> that should be renamed to wicket-later, not happening in 1.5
>
> -igor
>
> On Wed, Sep 1, 2010 at 7:32 AM, Pedro Santos wrote:
>> https://cw
https://cwiki.apache.org/WICKET/wicket-15-ajax.html
On Wed, Sep 1, 2010 at 9:32 AM, Vladimir Kovalyuk wrote:
> Consider this javascript generated by AjaxFallbackLink:
>
> wicketShow('overlapping-div');var
> wcall=wicketAjaxGet('../../?x=Gusbl7hNSWOo5OPifLRHlQ',function() {
> ;wicketHide('overlapp
gt; Alec
>
> On Tue, Aug 31, 2010 at 8:13 AM, Pedro Santos wrote:
>> actually, if you re-render the component after hide it, it will to be
>> visible... perhaps you can add some callback on the close handler that
>> updates the visibility property on the wicket component.
&g
actually, if you re-render the component after hide it, it will to be
visible... perhaps you can add some callback on the close handler that
updates the visibility property on the wicket component.
On Tue, Aug 31, 2010 at 11:08 AM, Pedro Santos wrote:
> Use javascript to do that, for exam
Use javascript to do that, for example:
var target = document.getElementById('somecomponentid');
target.style.position = 'relative';
var close = document.createElement("span");
close.innerHTML = 'x';
close.style.position = 'absolute';
close.style.top = 0;
close.style.right = 0;
close.onclick = fun
I think it is fixed: https://issues.apache.org/jira/browse/WICKET-2828
On Thu, Aug 26, 2010 at 5:50 PM, Clément Tamisier <
clement.tamis...@gmail.com> wrote:
> Hi,
>
> I am using wicket 1.4.6 and AjaxTabbedPanel class.
> I add and remove tabs dynamically.
> I have an exception when i remove the l
IModel#setObject
On Wed, Aug 18, 2010 at 11:33 AM, Alis wrote:
>
>
> Hello! I need help. How do i clear input the user in the autocomplete?
>
> With what method?
>
> Thank you!
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Object-AutoComplete-Clear-Input-tp23
Hi Joe, take a look at the ModalWindow component, it require the described
confirmation to exit the current page. As I remember, this is implemented
with javascript on the modal.js
On Thu, Aug 5, 2010 at 10:36 AM, Joe Hudson wrote:
> Hi, I'm wondering if anyone has had to tackle this before and m
e:
> Dear Pedro,
>
> thank you! Do you have any code snipplet or just a function name for
> google?
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Pedro Santos [mailto:pedros...@gmail.com]
> Gesendet: Donnerstag, 29. Juli 2010 22:21
> An: users@wicket.a
Yes, use javascript to reach that functionality. For instance, you can add
an AjaxFormComponentUpdatingBehavior for the onchange event of your
DropDownChoice. At the onUpdate method implementation, you can append the
needed javascript to open your new window.
On Thu, Jul 29, 2010 at 4:58 PM, Stefa
Hi Bernard, did you call setRequired method on your FormComponentPanel input
components?
like: formComponentPanel.fieldOne.setRequired(true)
On Thu, Jul 29, 2010 at 4:33 PM, wrote:
> Hi,
>
> org.apache.wicket.markup.html.form.FormComponentPanel
> aims to act to the outside world as one component
rkup : onblur="alert('update')"
>
> Based on what you said, it looks like you are suggesting adding the
> javascript method in the Java code.
>
>
> -Original Message-
> From: Pedro Santos [mailto:pedros...@gmail.com]
> Sent: Wednesday, July 21, 2010 2:
You can override the getAjaxCallDecorator method from
AjaxFormComponentUpdatingBehavior and return an IAjaxCallDecorator that
append your custom javascript
On Wed, Jul 21, 2010 at 10:26 AM, Brown, Berlin [GCG-PFS] <
berlin.br...@primerica.com> wrote:
> With the onblur ajax calls, is it possible t
Hi Brown, I think it is unfair say that Wicket present an unexpected
behavior with the markup, because every functionality are well documented. I
saw some situations where some one complain that the "id" tag attribute
value was changed. But the Component documentation is clear saying that this
attr
Hi Martin, I'm suspect answering this question, because I like the current
design that treat authorization restriction as an exception. You can
override the logRuntimeException method on your app RequestCycle and
implement rules to hide the authorization exception from the log.
About to have an cle
Hi Martin, the AuthorizationException handle mechanism that redirect
response to the AccessDeniedPage is implemented at
AbstractRequestCycleProcessor response method.
You can set the "onunauthorizedaccess" page at the accessDeniedPage property
on the ApplicationSettings.
I don't understand what do
Hi Nivedan, Jeremy write " IModel as a private variable" and James
"Your form can edit two different objects. It will edit whatever you bind
your fields to"
If you have an form with some fields for some bean, and other fields for
other beans, you can do something like:
class panel {
private m
You can use an IAjaxCallDecorator to disable buttons and re-enable them with
the ajax request completes
On Wed, Jul 14, 2010 at 7:53 PM, Alex Grant wrote:
> I have ModalWindows whose content contains OK AjaxButtons, which, assuming
> validation passes, will do some processing and then close the M
from wicket-contrib-tinymce.
> Would you care to explain little more about integration?
>
> Peter
>
>
>
>
>
> ____
> From: Pedro Santos
> To: users@wicket.apache.org
> Sent: Thu, July 8, 2010 5:09:08 PM
> Subject: Re: Wicket wicket-contri
Hi, you can use an DropDownChoice to present the available styles for your
app, and allow user to select one.
Example:
public class StyleSelect extends DropDownChoice {
public StyleSelect(String id, List options) {
super(id, options);
setModel(new IModel() {
public Object get
someFlag is an static variable?
2010/7/8 Conny Kühne
>
> I have an AjaxButton with
>
> @Override
> public boolean isVisible() {
> return someFlag;
> }
>
> In a race condition, if user B sets someFlag to false, and then user A
> clicks the button A gets the following exception
>
> org.apache.wi
Hi David, there are a lot of methods that escape the characters, for
instance you can use org.apache.wicket.util.string.Strings.escapeMarkup
method. But they make sense when you are writing an xml, like the page
returned to browser.
On Tue, Jul 6, 2010 at 9:08 AM, David Chang wrote:
> In Spring
Hi Chris, if you simple want to add an javascript effect to an browser
component, there is no need to use an wicket integration with an javascript
frameworks. About the browser compatibility, use only the component api
provided by the javascript framework, there is no reason to have browser
aware j
UI state as properties in the component should be to fine, see if using
session relative urls the problem remains
On Mon, Jul 5, 2010 at 4:10 PM, Anh <7za...@gmail.com> wrote:
> Hi,
>
> I'm having trouble on how to best implement something simple:
>
> I'm frequently finding the need to have 2 Mod
you can use the appendJavascript method from the AjaxRequestTarget like:
target.appendJavascript ("alert('some message')");
On Thu, Jul 1, 2010 at 1:21 PM, Maris Orbidans wrote:
>
> Wicket experts,
>
> I have a form with Ajax submit button. Upon completing ajax request
> I want to show javascrip
your custon IValuePersister you will need to override the Form
getValuePersister method.
As SignInPanel is using the SignInForm, that is an final class, you may want
to copy and past the SignInPanel code to do that.
On Thu, Jul 1, 2010 at 9:31 AM, Pedro Santos wrote:
> If you have non as
If you have non ascii characters on your cookie, it can to be problematic on
tomcat considering that their understanding is that this is not allowed by
RFC 2109. You can require help to customize the cookie header parser on the
tomcat user list.
http://www.ietf.org/rfc/rfc2109.txt
" NAME=VALUE
one way around is to set the form as not persistent and don't present the
rememberMe checkbox
On Thu, Jul 1, 2010 at 7:35 AM, Mathias wrote:
>
> Hi,
>
> i have a problem with the wicket signinpanel/form and non-ascii (Swedish)
> characters. Whenever a user enters a username with, for example 'å'
Basically make sure that the state "selected" is on the component model
before the user change the page. Maybe you need to put an
AjaxFormComponentUpdatingBehavior or AjaxFormChoiceComponentUpdatingBehavior
at your "item checked"
On Tue, Jun 22, 2010 at 2:02 PM, Fernando Wermus
wrote:
> Hi all,
>
nest Fragments so that I can support multiple
> levels of tabs?
>
> Thanks,
>
> Alec
>
> On Mon, Jun 14, 2010 at 11:17 AM, Pedro Santos
> wrote:
> > wicket:container are meant to don't output invalid markup when using
> > repeaters. You can use AjaxTabbedP
ainer components at runtime because they don't have HTML ids
> and hence cannot be reference via AJAX. Is that right?
>
> Thanks
>
> On Mon, Jun 14, 2010 at 10:11 AM, Pedro Santos
> wrote:
> > "I am working with a web designer who delivers a single HTML page
"I am working with a web designer who delivers a single HTML page which
should display a panel with tabs."
Simply use javascript
With "arbitrary number of", " loaded from the database at runtime"
Is preferable to implement an component at server side with the tabs
assemble and presentation rules.
Hi Alec, you can create an wrapper panel, that receive as parameter an
component, in your case an fragment, to use in your tabbed panel. Actually I
think that will to be more natural if the ITab interface had an getTab
method, that return an Component object instead of the getPanel one, since
there
I believe that passing the page where user click "Add" as parameter to the
wizard is an simple solution to has an reference to set on the cancel
response.
On Fri, Jun 4, 2010 at 3:55 AM, Swanthe Lindgren <
swanthe.lindg...@megasol.se> wrote:
> Hello all.
> I our application we have a lot of searc
Do you searching for an wizard implementation?
http://www.wicket-library.com/wicket-examples/wizard/
On Fri, Jun 4, 2010 at 11:49 PM, David Chang wrote:
> Hi, I would like to do a multiple page form. For example, I have a two-page
> form. Both pages have a few fields that need validation. The fir
2 or 3 since there is no relevant state on the server side you want to
consider to implement the component visibility rule.
On Tue, Jun 1, 2010 at 7:37 AM, Iain Reddick
wrote:
> Say I have a form with a check box that, when checked, shows some other
> field (i.e. it controls the visibility of oth
http://www.jeremythomerson.com/blog/2008/11/wicket-quickstart-tutorial/
On Fri, May 21, 2010 at 4:16 PM, David Alves wrote:
> Hum... quickstart?
> What's that?
>
> David
>
> On May 20, 2010, at 6:07 PM, nino martinez wael wrote:
>
> > Damn, what about making a quickstart, and we can see if we can
If I understand, you need to use the value of the text field on the page on
your modal panel. Pass it as parameter to the modal panel, as constructor
parameter for instance.
add( new AjaxButton(""){
onSubmit(requestTarget){
(...)
modal.setContent(new ModalPanel("", textField.getVa
Hi, just an idea:
class EmptyMessage extends Label{
EmptyMessage(Model listModel, String message){
super(new AbstractReadyOnlyModel(){
getObject(){
listModel.getObject().size()==0?message:null;
}
});
}
}
On Mon, May 17, 2010 at 8:06 AM, Ayodeji Aladejebi wrote:
> I thin
Your ChoiceRenderer can implement IHeaderContributor and add your javascript
to IHeaderResponse object, since when the user change the value on the
selection component, the page will to be re-rendered
On Mon, Apr 19, 2010 at 4:54 PM, Alexandros Karypidis wrote:
> Hi,
>
> I'm using a tags, proper
Hi, you can override the isEnable method and implement your rule, like:
new BookmarkablePageLink
{
boolean isEnabled() {
return form.getState() == allowedState;
}
}
or you can add the link higher in the component hierarchy, don't as an form
child.
On Mon, Apr 19, 2010 a
Hi Dan
On Mon, Apr 19, 2010 at 2:04 PM, Dan Haywood wrote:
> Another form-related question.
>
> I can see how to install a validator on a Form - Form#add(IFormValidator) -
> but it seems that AbstractFormValidator, the adapter, always requires a
> specific FormComponent to be specified in its e
WicketAjaxDebug.original = WicketAjaxDebug.logError;
WicketAjaxDebug.logError =
function(msg){WicketAjaxDebug.original(msg);console.log(msg);};
On Tue, Mar 30, 2010 at 7:11 AM, Martin U wrote:
> Hi Folks,
>
>
> have everyone of you any experience in catching the wicket-ajax and
> js-errors with t
You can add to your application an Localizer that return the user designated
verbiage for the string key "null"
On Wed, Mar 24, 2010 at 12:51 PM, Matthias Keller
wrote:
> Hi Brad
>
> You'd probably have to subclass DropDownChoice and override the method
> getDefaultChoice() to return whatever val
Put then in the top-level directory of a web module.
http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html#bnadz
"A web module has a specific structure. The top-level directory of a web
module is the *document root* of the application. The document root is where
JSP pages, *client-side* class
The ListView itens are rebuild every render. So the original field that you
made reference from the feedback filter, is longer presented by the
ListView. Take a look at
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/
and the ListView.setReuseItems javadoc
On Wed, Mar 24, 20
Hi, give you page an constructor that your application IPageFactory know how
to create. For instance, use the PageParameters. If your request cycle don't
find your page in the session page map, and don't know how to create it, you
got the mentioned exception.
On Tue, Mar 23, 2010 at 3:44 AM, Ferna
About the first question:
http://www.jarvana.com/jarvana/view/org/apache/wicket/wicket/1.4.0/wicket-1.4.0-javadoc.jar!/org/apache/wicket/markup/html/form/AbstractSingleSelectChoice.html#setNullValid%28boolean%29
On Mon, Mar 22, 2010 at 7:06 AM, Ivan Dudko wrote:
> Hello guys!
>
> I am trying to
Hi, take a look at:
http://markmail.org/search/?q=list%3Aorg.apache.wicket.users+from%3A%22Pedro+Santos%22+view#query:list%3Aorg.apache.wicket.users%20from%3A%22Pedro%20Santos%22%20view+page:1+mid:442snjhrd3mjyjl2+state:results
about how to remove the border, you can implement the designated space
Take a look at:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/table-parent/table/src/main/java/org/wicketstuff/table/cell/renders/LenientTextField.java
hope it give you some ideas.
On Sat, Mar 20, 2010 at 1:41 PM, rock stone wrote:
> Hi,
>
> I have implemented a data table
You can use FormComponent#valid() method to make them valid, an still
present the validations messages.
On Mon, Mar 15, 2010 at 2:59 PM, Anna Simbirtsev wrote:
> Hi,
>
> How can I remove error message for a specific component?
> In the Component.class, it checks that the component is valid the fo
Yes, for example you can add an ajax behaviour to you page, and using his
callback url mount an script like
wicketAjaxGet(callbackUrl + '&key=' + event.keyCode);
on your div onkeyup event.
On Fri, Mar 12, 2010 at 6:55 AM, Istvan Soos wrote:
> Hi,
>
> Is there a way to combine onkeyup e
One method will return an url that address the behavior, the another one
will to return an script that send an ajax request to that behaviour.
the usage in javascript looks like:
document.location = generatedUrlReturnedByBehaviour;
eval( generatedScriptGeneratedByBehaviour);
On Thu, Mar 4, 2010 at
Consider to use OpenSessionInViewFilter
http://static.springsource.org/spring/docs/1.2.9/api/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.html
The doc: "Intended for the "Open Session in View" pattern, i.e. to allow for
lazy loading in web views despite the original transact
You may want use setNullValid method
On Wed, Feb 24, 2010 at 6:55 AM, saravana kumar wrote:
> Hi,
>
> My DropDownChoice have Values like follows
> Choose One(default for wicket)
> One
> Two
> Three
> If i choose one,some panel disabled and enabled
> If i choose two,some panel disabled a
About share your application IStringResourceLoader objects with your thread
?
On Wed, Feb 10, 2010 at 9:25 AM, Matthias Keller
wrote:
> Hi Ernesto
>
> Thanks for your reply. This would basically be possible but very
> complicated because the threads need dozens to hundreds of values, so it
> woul
You are calling setReuseItems method from listview. From it api:
" if you modify the listView model object, than you must manually call
listView.removeAll() in order to rebuild the ListItems. "
On Mon, Feb 8, 2010 at 10:55 AM, Alexander Monakhov wrote:
> Hi, friends.
>
> Could you help me with s
If I understand, you can override getOnClickScript from Button to return an
javascript that set the innerHTML property of your form component as an
parameter. Maybe providing an hiding field, and setting it value with:
"value = document.getElementById("+myForm.getMarkupId()+").innerHTML"
On Tue, F
Similar:
http://old.nabble.com/javascript-confirm---seems-to-work-fine-with-link-markup-but-not-with-button-markup-td27242553.html
On Thu, Jan 28, 2010 at 5:00 PM, Josh Kamau wrote:
> Hi Team
>
> lnkDelete.add(new SimpleAttributeModifier("onClick","return confirm('Are
> you
> sure you want to De
Then this image will to be the same for all sessions. If you don't want that
object on your session, make sure at getImageData method implementation that
you are always creating your chart object, and not keeping it in any
instance variable.
On Thu, Jan 28, 2010 at 8:28 AM, Gaetan Zoritchak <
g.
t;)
>@Override
>protected void onError(AjaxRequestTarget target, Form form)
>{
> System.out.println("Inside contact link's onError is
> called.");
>target.addComponent(contact_feedback);
>
now ;-)
>
> I use LoadableDetachableModel to avoid the call to detach() method. It does
> not seem that is the right way. Somebody can explain me why ?
>
> Stéphane
>
>
> Pedro Santos a écrit :
>
> by calling getDefaultModel inside onClick, you get an reference to the
>>
gives the same errors in the feedback panel.
>
> On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos wrote:
>
> > Take a look at the AjaxButton if you need an asynchronous submit, and
> > implement your onError handlers with:
> >
> > target.addComponent(
> myFeedbac
ect.
>
>
>
> contact_form.add(new FeedbackPanel("popup_feedback", new
> ContainerFeedbackMessageFilter(contact_form) ));
>
> On Tue, Jan 26, 2010 at 1:32 PM, Pedro Santos wrote:
>
> > Do you have an feedback panel on the model? If don't, add one and see if
> > yo
Do you have an feedback panel on the model? If don't, add one and see if
your form don't pass in some validation like on required field.
On Tue, Jan 26, 2010 at 4:07 PM, Anna Simbirtsev wrote:
> Hello,
>
> I have a modal window that is used to create a contact and needs to submit
> data to the s
public void onClick() {
> // TODO : check the refresh issue
> getNewsDao().delete(item.getModelObject());
> ourLogger.debug("News deleted");
> getDefaultModel().detach();
>
missing line: call detach method just after delete your item.
On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos wrote:
> Call news.getDefaultModel().detach(), and look for more info about
> detachable models.
>
> http://cwiki.apache.org/WICKET/detachable-models.html
>
> On Tue, Ja
Call news.getDefaultModel().detach(), and look for more info about
detachable models.
http://cwiki.apache.org/WICKET/detachable-models.html
On Tue, Jan 26, 2010 at 1:35 PM, Stéphane Jeanjean <
stephane.jeanj...@softeam.com> wrote:
> Hi,
>
> I don't use Hibernate. My persistence layer uses JDBC.
You can override getPreconditionScript method to test an counter value on
document object. When you refresh the page, you got a new document.
On Tue, Jan 26, 2010 at 10:05 AM, Sam Barrow wrote:
> Is there any way to make the AjaxSelfUpdatingTimerBehavior execute X
> number of times and then stop
(wrapped model). Just wondering if there was a
> technical reason behind it.
>
> Sent via BlackBerry from T-Mobile
>
> -Original Message-----
> From: Pedro Santos
> Date: Mon, 25 Jan 2010 13:03:16
> To:
> Subject: Re: Generics
>
> Basically the list view depend
Basically the list view depend from List interface due some calls to his
get(index) method. It means that the order of the components on the
collections, are meaninful to the component. If it is not your case (order,
item indexes doesn't matters), you can use an wrapper model in an list view,
like:
> I need to use wrapOnAssignment:
>
> new ResourceModel("myResourceKey").wrapOnAssignment(this)
>
> Is this the correct approach, or should I be doing it differently?
If the model of AjaxLabelLink is just an property you have created, yes this
is the correct aproach.
> I looked briefly at the sou
You are putting view objects inside the model of other view object. Models
are meant to keep your application domain data, and over that you create
your view. So:
For what MyPanel was designed?
1 - For present MyData
container.add(new ListView("panels", panels) {
protected void populateItem
201 - 300 of 525 matches
Mail list logo