://www.7thweb.net/wicket-jquery-ui/selectable/DefaultSelectablePage?7
<http://www.7thweb.net/wicket-jquery-ui/selectable/DefaultSelectablePage?7> ?
Thanks a lot, Chris
t and not only as tooltip?
Thanks a lot,
Chris
jb7'
}).addTo(map);
L.marker([51.5, -0.09]).addTo(map)
.bindPopup("<b>Hello world!</b><br />I am a popup.").openPopup();
L.circle([51.508, -0.11], 500, {
color: 'red',
fillColor: '#f03',
fillOpacity: 0.5
}).addTo(map).bindPopup("I am a circle.");
What is the best way to generate this code in wicket so that map makers can be
set dynamically?
I tried to insert it via add(new Label("script“,“...“) but in this case, all
the quotation marks are escaped in a wrong way (using \).
Thanks a lot, Chris
) {
info("selected " + items);
target.add(feedback);
}
Thanks a lot,
Chris
> Am 01.02.2015 um 17:58 schrieb Sebastien :
>
> Hi Chris,
>
> Please find hereafter the link to the sample:
> http://www.7thweb.net/wicket-jquery-ui/sortable/SelectableSortablePage
>
> Best regards,
> Sebastien.
Thanks a lot!
Chris
> Am 02.02.2015 um 08:12 schrieb Martin Grigorov <mailto:mgrigo...@apache.org>>:
>
> aps v3 JS API and if there is a way
> then look in WicketStuff integration to apply it.
the JS-code of all pages will be placed in the body.
How can I adapt this method, so that by default, all JS-code is placed in the
header, and only that of a certain page is put in the body tag?
Thanks, Chris
> Am 02.02.2015 um 08:05 schrieb Martin Grigorov :
>
> Hi,
>
> If y
questTarget target) {
}
});
...
Thanks,
Chris
, the event should fire only once so I would therefore need to delete
the attribute after that.
Is there a more elegant solution so that the „CSS event“ is fired once when
clicking the button?
Thanks,
Chris
-
To unsubscribe, e
n Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Feb 3, 2015 at 11:30 PM, Chris wrote:
>
>> Hi guys,
>>
>> I would like to control a DIV element when clicking on a button, so that
>> it sort of reacts to this event
I solved it via Javascript following the approach of
http://blogs.sitepointstatic.com/examples/tech/animation-api/index.html
<http://blogs.sitepointstatic.com/examples/tech/animation-api/index.html>.
thanks, Chris
> Am 03.02.2015 um 22:52 schrieb Warren Bell :
>
> Chris,
&g
e
public boolean isTemporary(Component component) {
return true;
}
});
target.add(getPage());
}
});
best regards,
Chris
> Am 03.02.2015 um 23:01 schrieb Martin Grigorov :
>
> On Tue, Feb 3, 2015 at 11:53 PM,
update.getTarget().add(container);
}
}
*
* AddItem *
public class AddItem {
private final AjaxRequestTarget target;
public AddItem(AjaxRequestTarget target) {
this.target = target;
}
public AjaxRequestTarget getTarget() {
return target;
}
}
Thanks.
Chris
d(feedback);
}
br, Chris
> Am 02.02.2015 um 17:44 schrieb Sebastien :
>
> Hi Chris,
>
> You're welcome!
>
> The list is already the Sortable's model object, if you are able to send
> the item hash, you are able to retrieve the item, then you just have to
> invoke
(event.getPayload() instanceof DeleteItem) {
DeleteItem update = (DeleteItem) event.getPayload();
update.getTarget().add(this);
}
}
Chris
> Am 04.02.2015 um 14:32 schrieb Grün Christoph :
>
> Sven - thank you. That solved it!
&g
(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
br, Chris
> Am 04.02.2015 um 20:09 schrieb Tobias Soloschenko
> :
>
> Hi,
>
> would you be so kind a
as
parameter? Is there another way to render the other panel or rewrite the
payload?
br, Chris
> Am 04.02.2015 um 20:41 schrieb Sven Meier :
>
> Hi,
>
> you're using a DeleteItem as payload of the event:
>
> send(getPage(), Broadcast.BREADTH, new Delete
(Component component) {
return false;
}
});
Thanks, Chris
(currentItem.getName())) {
ListUtils.move(currentItem, index, selectedItems);
}
}
}
Thanks a lot,
Chris
I have fixed it - it was because of calling the method within the for loop.
br, Chris
> Am 06.02.2015 um 17:56 schrieb Chris :
>
> Hi Sebastian,
>
> I am using the method #ListUtils.move to sort a list of domain objects as
> soon as the method #onUpdate is called within
, the #onselect
method would be called for this link.
Thanks a lot,
Chris
@Override
protected void populateItem(ListItem item)
{
item.add(new EmptyPanel("icon").add(AttributeModifier.append("class",
"ui-icon " + JQueryIcon.ARROW_2_N_S)));
item.add(new Lab
get target) {
}
@Override
protected void updateAjaxAttributes(AjaxRequestAttributes
attributes) {
super.updateAjaxAttributes(attributes);
attributes.setPreventDefault(true);
}
};
Chris
> Am 06.02.2015 um
ttributes(attributes);
attributes.setAllowDefault(false);
}
});
@Override
public void onSelect(AjaxRequestTarget target, List items) {
…..
Chris
> Am 06.02.2015 um 21:20 schrieb Martin Grigorov :
>
> Hi,
>
> On Fri, Feb 6, 2015 at 10:13 P
Thanks a lot, with #setAllowDefault(true) the #onEvent(AjaxRequestTarget
target) of the respective webmarkupcontainer is called. Nevertheless, after
that, the #onselect method of the sortable is called as well. How to prevent
this call?
br, Chris
> Am 06.02.2015 um 21:20 schrieb Mar
.setEventPropagation(AjaxRequestAttributes.EventPropagation.STOP);
}
});
br, Chris
> Am 08.02.2015 um 11:15 schrieb Sebastien :
>
> Hi Chris,
>
> Sorry for the mistake, its
> attributes.setEventPropagation(EventPropagation.STOP);
>
> Best regards,
> Sebastien.
>
Hi Sebastian,
i also tried it with the AjaxLink. It seems that the #onselect method is always
called first, and only after that the ajaxlink. So overriding the
#updateAjaxAttributes may not help?
thanks for your help!
Chris
> Am 08.02.2015 um 14:17 schrieb Sebastien :
>
>
Hi Sebastian,
thanks for the solution with #onConfigure - it works.
Would it also be an option to remove the item from the list and render
the sortable again,
instead of calling MySortable.this.onRemove?
Best regards
> Am 08.02.2015 um 19:13 schrieb Sebastien :
>
> Hi Chris,
>
Hi Sebastian,
currently, I am deleting the element that should be removed from the list and
render the view again.
I am not calling #onRemove, but the code works, too. Therefore, I wanted to ask
you if it is better to call #onRemove.
br, Chris
> Am 08.02.2015 um 19:55 schrieb Sebast
ources().add("images", new FolderContentResource(new
File("/opt/tomcat/webapps/test/images")));
Does someone know how to set it when using Jelastic?
Thanks a lot,
Chris
without no-arg constructors?
thanks a lot,
Chris
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Thanks a lot!
> Am 12.02.2015 um 20:12 schrieb Rodrigo Ribeiro Miguele
> :
>
> Just make your class implement an interface then use it instead your class
> when injecting your bean.
>
> 2015-02-12 16:17 GMT-02:00 Chris :
>
>> Hi,
>>
>> when injectin
Hi all,
I would like to update a list model when the user clicks on a certain link.
However, when the listPanel is rendered after clicking on the link, the model
seems not to be updated and still contains the old values.
How to fix this?
PAGE:
IModel> pModel;
public SomePage() {
pMo
Ajax Link onclick method as
pModel.setObject(someService.calculate()); seems to work.
Chris
> Am 15.02.2015 um 10:40 schrieb Francois Meillet :
>
> Hi Chris,
>
> The ListModel keeps a reference on the model created at the first occurence
> of that line
> p
behaviour and how can I change the settings so that
it works without Internet connection on the local Tomcat?
Thanks, Chris
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h
:-)
>
> Thank you.
>
> kind regards
>
> Tobias
>
> Am 16.02.15 um 21:27 schrieb Chris:
>> Hi all,
>>
>> When running a Wicket application, that is deployed locally on Tomcat, and
>> Internet being turned off, Ajax is not working and I am gettin
> kind regards
>
> Tobias
>
> Am 16.02.15 um 21:27 schrieb Chris:
>> Hi all,
>>
>> When running a Wicket application, that is deployed locally on Tomcat, and
>> Internet being turned off, Ajax is not working and I am getting null pointer
>> ex
Hi Tobias,
thanks a lot for your help - the problem was a Javascript file that was not
locally embedded but downloaded from the internet.
BR Chris
> Am 17.02.2015 um 07:51 schrieb Tobias Soloschenko
> :
>
> Hi,
>
> I had a look at AjaxFallBackButton L135 - nothing there
Ajax is
reloaded?
I tried both response.render(OnDomReadyHeaderItem.forScript("method();")); as
well as add target.appendJavaScript(„method();“); to the Ajax Link but this
seems not to be correct.
Thanks for any hi
e via:
response.render(JavaScriptReferenceHeaderItem.forReference(JS-File));
Thanks a lot,
Chris
> Am 03.04.2015 um 21:34 schrieb Sebastien :
>
> response.render is also correct if belonging to the component you are
> re-adding. Idem, the scope is the issue imo
> On Apr 3, 2015 9:31 PM
Hi Sebastian
with #updateAjaxAttribute it seems working - thanks.
But how to add this behavior to the Selectable component, i.e. for the
onSelect(AjaxRequestTarget target, List items) method?
best regards, Chris
> Am 03.04.2015 um 22:34 schrieb Sebastien :
>
> Maybe can you run
Hi all,
I would like to run the example
http://www.7thweb.net/wicket-jquery-ui/slider/AjaxSliderPage
<http://www.7thweb.net/wicket-jquery-ui/slider/AjaxSliderPage>, however, the
slider bar is not shown (only the value).
Which css/js file might I be missing?
Thanks, Chris
Hi Sebastian, thanks a lot - this helped!
Chris
> Am 04.04.2015 um 10:44 schrieb Sebastien :
>
> e
Hi Sebastian,
I downloaded the version 1.11.4 (using theme ‚start’) and included following
files:
- jquery-ui.css
- jquery-ui.js
- jquery-ui.theme.min.css
The table seems not to get converted in a bar, it is not visible. Should I
switch to 1.10.4?
Chris
> Am 04.04.2015 um 19:01 schr
br, Chris
> Am 04.04.2015 um 19:59 schrieb Sebastien :
>
> Hi Chris,
>
> I think it might be a version issue. wicket-jquery-ui is still based on
> 1.11.2 (seems I've missed 1.11.3 in February btw, strange)
>
> If you are using a standard theme, may
Hi Sebastian,
thank you for your valuable support, it works. I forgot that I had set a
Javascript Header Response Decorator in WicketApplication.
Is it possible to „deactivate“ this for certain pages so that the JS are loaded
from html > head?
Thanks, Chris
> Am 04.04.2015 um 21:11 s
Hi all,
I have a Javascript, that shows a footer with text & link on the bottom of a
Web page for some seconds.
Currently, it is loaded via
response.render(OnDomReadyHeaderItem.forScript(...));
How can I call a Wicket Webpage from the link of the footer?
Thanks, C
Thank you, Sebastian!
> Am 05.04.2015 um 13:23 schrieb Sebastien :
>
> Hi Chris,
>
> You can get the url of the page you want to point to using
> RequestCycle.get().urlFor(pageClass, pageParameterOrNullIfNone)
>
> B
nymore (target=null, etc.).
When I do not call footer_config JS, a default configuration is used for the
footer. With this default configuration Wicket & Foobar are working. How can I
correctly call the JS function so that it does not interfere with Wicket?
Thanks, Chris
foobar_config JS
Hi all,
I would like to create a download link to a PDF which is generated on the fly.
How can I transform the ByteArrayResource into an IResource Stream?
Thanks, Chris
Link pdfLink = new Link("linkPdf") {
@Override
public void onClick() {
Hi Martin,
thanks a lot, that worked!
Chris
> Am 07.04.2015 um 08:52 schrieb Martin Grigorov :
>
> Hi,
>
> Check ResourceLink component.
>
> Martin Grigorov
> Freelancer, available for hire!
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
&g
nks a lot,
Chris
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
address assigned by the internet provider.
How is this possible?
HttpServletRequest httpReq = (HttpServletRequest) req.getContainerRequest();
String clientAddress = httpReq.getRemoteAddr();
Thanks, Chris
-
To unsubscribe, e-mail
Thanks!
Chris
> Am 13.04.2015 um 09:50 schrieb Francois Meillet :
>
> Look at the getRemoteAddr(RequestCycle requestCycle) method from
> org.apache.wicket.protocol.http.request.WebClientInfo
>
> François Meillet
>
>
>
>
>
>
>
>
> Le 13 avr
Hi Martin,
thanks a lot for your answer!
Chris
> Am 14.04.2015 um 22:35 schrieb Martin Grigorov :
>
> Hi,
>
> You can use Session#clear() [1] to remove the history at the server side.
> It is not possible to clear the history in the user's browser though. See
> [2
- A14
- B1
- B12
- B13
- B2
C
D
Thanks, Chris
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi all,
I have a listmodel:
IModel> listModel = new
ListModel>(method.retrieveAlist());
Is it possible to feed the model from the original list but add additional
elements of type A to the model only, without being mapped back to the list?
thanks a lot,
st<>();
>
>as.addAll(method.retrieveAlist());
>
>as.add(...);
>
>return as;
>}
> });
>
> Positive side effect: The list of object is not kept in the session and
> always up-to-date.
>
> Have fun
> Sven
>
>
> On 17
am wondering why this takes so much time as only 1 panel/object should be
updated and not different objects simultaneously.
Does someone know a hint to speed up the rendering?
Thanks, Chris
-
To unsubscribe, e-mail: users
Hi,
the problem seems with the Breadth strategy that iterates over all object
panels.
How can I add a specific Panel as sink so that I can use the Exact strategy?
Currently, the page is added as sink.
Thanks,
Chris
> Am 17.04.2015 um 17:55 schrieb Chris :
>
> Hi all,
>
> I h
Hi,
I have now added directly the PoiListPanel as sink and used the strategy EXACT.
However, the rendering is still too slow.
How to improve this?
Thanks, Chris
> Am 17.04.2015 um 18:27 schrieb Chris :
>
> Hi,
>
> the problem seems with the Breadth strategy that iterates
gBehavior() {
protected void onUpdate(AjaxRequestTarget target) {
// Ajax actions here
}
});
Thanks, Chris
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi Sven,
the form is added to a panel.
Chris
> Am 18.04.2015 um 11:26 schrieb Sven Meier :
>
> Hi,
>
> is your RadioGroup is bound to in your markup?
>
> Sven
>
> On 18.04.2015 07:00, Chris wrote:
>> Hi all,
>>
>> I have a radio group with di
The html is as follows:
...
best regards, Chris
> Am 18.04.2015 um 13:14 schrieb Chris :
>
> Hi Sven,
>
> the form is added to a panel.
>
> Chris
>
>
>> Am 18.04.2015 um 11:
Hi Sven,
thanks a lot for your help!
I am using the jquery star rating JS to replace the radio boxes through stars -
with that it does not work. Without it I just tried it and AJAX works (thanks
for your feedback!)
Why might there be a problem with the jQuery JS?
br, Chris
> Am 18.04.2015
Rating JS is enabled:
radio16radio17radio18radio19radio20
br Chris
> Am 18.04.2015 um 13:46 schrieb Sven Meier :
>
> Hi Ch
ow). I have created a quick start project:
https://github.com/cat1000/AttrChange <https://github.com/cat1000/AttrChange>
Would you mind to have a look at it?
$attrchange.attrchange({
trackValues: true,
callback: function(e) {
}
});
Thanks, Chris
> Am 18.0
ar-rating/>
Chris
> Am 18.04.2015 um 18:28 schrieb Sven Meier :
>
> Hi,
>
> please give us the url of the plugin you're trying to use.
>
> Sven
>
> On 18.04.2015 16:44, Chris wrote:
>> Hi Sven,
>>
>> there is the JS plugin to detect changes in
allback: function (e) {
if ( $( this ).hasClass( "star-rating-on" ) ) {
$('input[name=radio1]').trigger('click');
}
}
});
The method #AjaxFormChoiceComponentUpdatingBehavior is n
icket:head
section of the html.
Moreover, if I load the $('.auto-submit-star').rating function via
- response.render(OnDomReadyHeaderItem.forScript("load();"));
the function is not executed. I have to provide it in a
$(document).ready(function().
Isn’t this the sam
ected value is " +
getComponent().getDefaultModelObjectAsString());
}
});
Thanks, Chris
> Am 18.04.2015 um 13:24 schrieb Sven Meier :
>
> Looks good.
>
> I've just added an AjaxFormChoiceComponentUpdatingBehavior to
> wicket-examples' RadioGroupPage and it
t based on the wicket-example „RadioGroupPage“
and put it here: https://github.com/cat1000/StarRating
<https://github.com/cat1000/StarRating>
It would be great if someone could have a look the conflict.
Thanks a lot,
Chris
> Am 18.04.2015 um 23:43 schrieb Chris :
>
> Hi Sven
Hi,
as shown in https://github.com/cat1000/StarRating , Ajax works but there is
still a problem with the callback function:
The callback function offered by the Rating plugin causes an infinite loop.
$('.auto-submit-star').rating({
callback: function () {…}
}
br, Ch
Sven, you are great!
Your solution works perfect.
Thanks a lot for your help!!
Chris
> Am 19.04.2015 um 11:55 schrieb Sven Meier :
>
> Hi Chris,
>
> I've opened a pull request.
>
> Hope this helps
> Sven
>
>
> On 19.04.2015 02:43, Chris wrote:
>
, selector)));
When the cancel rating link is clicked the id is undefined. I cannot make a JS
click event on this div, maybe as it is added later via the JS?
http://stackoverflow.com/questions/1551102/jquery-star-rating-plugin-and-cancel-rating-button
<http://stackoverflow.com/questions/155
Perfect - thanks a lot for the hint!
best regards, Chris
> Am 19.04.2015 um 22:43 schrieb Sven Meier :
>
> Hi Christ,
>
> for AjaxFormChoiceComponentUpdatingBehavior it is important that the click
> happens on one of the "radio" elements.
> If the selection is
t;OpenStreetMap</a>
contributors'
}).addTo(map);
// add a marker in the given location, attach some popup content to it and open
the popup
L.marker([51.5, -0.09]).addTo(map)
.bindPopup('A pretty CSS3 popup. <br> Easily customizable.')
.openPopup();
Thanks a lot,
Chris
PS: the map is generated using the Leaflet JS library <http://leafletjs.com>
> Am 20.04.2015 um 16:51 schrieb Chris :
>
> Hi all,
>
> I have a map panel whose height is dynamically calculated as it should always
> go till the bottom of the page and above, other ele
I have created a quickstart project: https://github.com/cat1000/Map
Thanks, Chris
> Am 20.04.2015 um 17:12 schrieb Chris :
>
> PS: the map is generated using the Leaflet JS library <http://leafletjs.com>
>
>
>
>> Am 20.04.2015 um 16:51 schrieb Chris :
>
I found the solution: I had to call the method invalidateSize(); on the map.
best regards, Chris
> Am 20.04.2015 um 18:02 schrieb Chris :
>
> I have created a quickstart project: https://github.com/cat1000/Map
>
> Thanks, Chris
>
>
>> Am 20.04.2015 um 17:12 sch
[name=\"%s\"]')[0];) be bound to the items so not the first input
field in the DOM tree is called?
The id of the items is given by Wicket...
Thanks Chris
> Am 20.04.2015 um 03:35 schrieb Chris :
>
> Perfect - thanks a lot for the hint!
>
> best regards, Chris
&
Ok, I have fixed it by setting the id for the list items and adapting the
callback function to select by id and then by name.
Chris
> Am 20.04.2015 um 21:53 schrieb Chris :
>
> Hi Sven,
>
> I have put the radio group in a list of items. Basically it works so when I
> click
Hi all,
I would like to delete the context ‚wicket‘ in the URL but do not like to set
another one (e.g. wicket/page?2 should become /page?2.
How is this possible?
Thanks, Chris
-
To unsubscribe, e-mail: users-unsubscr
nel("pList", pModel) {
@Override
public Component getLazyLoadComponent(String id) {
return new PListPanel("pList", pModel);
}
}).setOutputMarkupId(true);
} else {
add(new PListPanel("pList", pModel);
}
Thanks, Chris
662
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Apr 21, 2015 at 5:01 AM, Chris wrote:
>
>> Hi all,
>>
>> I would like to delete the context ‚wicket‘ in the URL but do not like to
>> set another o
(clientInfo.getProperties().isJavaEnabled()) …
br, Chris
> Am 21.04.2015 um 05:24 schrieb Andrew Geery :
>
> In AjaxLazyLoadPanel#getLazyComponent(String), you should be using the id
> parameter, not "pList", when creating the PListPanel.
>
> Andrew
>
> @Override
>
ket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Apr 21, 2015 at 2:09 PM, Chris wrote:
>
>> Andrew, thanks a lot!
>>
>> How could I in addition check if Javascript is enabled so that I can add a
>> default Panel in case if it is not
he original page content.
The client info properties are set.
Wicket App:
public void init() {
super.init();
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
Page:
WebClientInfo clientInfo = WebSession.get().getClientInfo();
clientInfo.getProperties()
Hi all,
would it be possible when having a submit link and a form+post, to nevertheless
transfer the page parameters in the url? Something like
action=„…?parameter=value"
Thanks, Chris
-
To unsubscribe, e-mail:
)component.
Would it be good practice to store this directly in the wicket session? How to
do this?
A second approach would be to store it in the user object and inject this
object in the individual components.
Could you give me a recommendation?
Thanks, Chris
Hi all,
how is it possible to refresh a page or panel on browser back? If the user
deletes an item and clicks on browser back to go to the last page, it is still
displayed which should not be the case.
Thanks a lot,
Chris
-
To
Hi, thanks a lot, I will try it out.
br, Chris
> Am 22.04.2015 um 10:58 schrieb lucast :
>
> Hi Chris,
> Have you tried the following?:
>
>
>
> In my case, the above solution was not properly redirecting to external url
> in production mode, so I resorted to u
Martin, thanks a lot for your explanations!
Chris
> Am 22.04.2015 um 08:05 schrieb Martin Grigorov :
>
> Hi,
>
> On Wed, Apr 22, 2015 at 4:48 AM, Chris wrote:
>
>> Hi all,
>>
>> I need so share a list of strings between some objects during a session
urn service.retrieveList();
}
Why is the service.retrieveList method called so often, I thought that this
call should be only made once?
Should I use another model?
Thanks!
Chris
> Am 22.04.2015 um 07:58 schrieb Martin Grigorov :
>
> Hi,
>
> Wicket disables caching for the pages [1]
gt; WebClientInfo clientInfo = WebSession.get().getClientInfo();
> clientInfo.getProperties();
>
> br Chris
>
>
>
>> Am 21.04.2015 um 14:29 schrieb Martin Grigorov :
>>
>> http://www.wicket-library.com/wicket-examples-6.0.x/hellobrowser/ shows it
>> https:/
on.getName();
}
@Override
public void setObject(Serializable object) {
person.setName((String) object);
}
}));
Thanks, Chris
> Am 22.04.2015 um 23:16 schrieb Sebastien :
>
> Hi Chris,
>
> #getObject is potentially called often, yes. You should never override
> #g
#renderHead method?
if (cookie == null) {
response.render(OnDomReadyHeaderItem.forScript("show();"));
cookieUtils.save(key, value);
} else {
response.render(OnDomReadyHeaderItem.forScript("hide();"));
}
Thanks, Chris
method is called again and this has a negative
impact on performance if the database is hit all the time. With the line above
this does not happen.
thanks for your feedback!
Chris
> Am 23.04.2015 um 00:30 schrieb Sebastien :
>
> Hi Chris,
>
> thanks - but if the page has many sub
.wicket.response.StringResponse cannot
be cast to org.apache.wicket.request.http.WebResponse
at
org.apache.wicket.util.cookies.CookieUtils.getWebResponse(CookieUtils.java:362)
at org.apache.wicket.util.cookies.CookieUtils.save(CookieUtils.java:304)
at org.apache.wicket.util.cookies.CookieUtils.save
should not be called as the list should be cached?
In my case, the method is called as soon as some part of the page is reloaded
via Ajax. Should this be the case?
Thanks for your help, Chris
IModel> poisModel = new ListModel() {
@Override
public List getObj
);
}
}
Thereby, I am getting following error. Has this something to do that some JS
file has to be referenced in the panel instead of page?
Thanks a lot,
Chris
ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
TypeError: undefined is not a function (evaluating
called although jQuery-1.11.1 seems to be
loaded (via wicket).
Why does this happen?
Thanks Chris
> Am 26.04.2015 um 18:02 schrieb Sebastien :
>
> Hi Chris,
>
> AFAIS, the only thing that I think it could typically cause an issue is
> "calcHeight()". But the error me
1 - 100 of 942 matches
Mail list logo