Hi Clint,
I'd recommend to look in AjaxRequestTarget itself.
It has addChildren(parentInstance, Child.class) method with update all
children with type Child of this parent.
Check also AjaxRequestTarget.IListener.
Or add ParentClass#update(AjaxRequestTarget) so you can do:
AnotherClass#onEvent(ART
I want to create a parent panel that will have several child panels. I'm
making it so the parent panel will automatically add child components to
the AjaxRequestTarget via its logic and detecting which ones it detects
need to update. I can see how to make it work great if the AjaxLink calls
the par
I'm not sure if you need this for an ajax button but I think you can do
something similar for a normal button too. I achieved the same thing like
this:
1. Create a class ConfirmBehavior that extends AbstractBehavior.
2. Override onRendered -method with this (adds the div containing the dialog
html
Seems it may have been a known bug in wiQuery, I was wrong in thinking we
were running the latest wiQuery, and now post the update the generated JS
files have the correctly localised text strings.
2011/11/30 Steve Mactaggart
> I'm pretty sure its all UTF-8, as the actual page HTML returns fine w
Out of curiosity, why aren't you using ContextImage? That would help with
the contextual path for the logout.png.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4121323.html
Sent from the Users forum mailing list arc
BookmarkablePageLinks always generates a stateless url, thats kind of
the point...
-igor
On Tue, Nov 29, 2011 at 3:59 PM, Zilvinas Vilutis wrote:
> afaik BookmarkablePageLinks generate stateless URLs for stateless
> pages only, otherwise they act as regular links. Please correct me if
> I'm wron
I'm pretty sure its all UTF-8, as the actual page HTML returns fine with
the Russian text, and the static js files for localising the calendars and
such work, its just the dynamic JS files generated by WiQuery.
On Tue, Nov 29, 2011 at 11:26 PM, Martin Grigorov wrote:
> Hi,
>
> 2011/11/29 Steve Ma
afaik BookmarkablePageLinks generate stateless URLs for stateless
pages only, otherwise they act as regular links. Please correct me if
I'm wrong.
Regards
Žilvinas Vilutis
Mobile: (+1) 623 330 6048
E-mail: cika...@gmail.com
On Tue, Nov 29, 2011 at 12:29 PM, Andrea Del Bene wrote:
> That'
That's strange. BookmarkablePageLinks should generate a constant URL. Do
you pass them any PageParameters in the constructor? Have you checked if
links URL remains the same from a visit to your page to another?
They are already BookmarkablePageLinks.
--
View this message in context:
http://apa
They are already BookmarkablePageLinks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Link-Visited-Color-Doesn-t-Change-any-ideas-tp4119563p4120200.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Use bookmarkable page links?
Sven
On 11/29/2011 06:38 PM, eugenebalt wrote:
Thanks, any ideas on how to mark the links correctly as visited when the app
is currently running? That's the behavior the user expects.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Lin
Thanks, any ideas on how to mark the links correctly as visited when the app
is currently running? That's the behavior the user expects.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Link-Visited-Color-Doesn-t-Change-any-ideas-tp4119563p4120037.html
Sent from the Use
just wrote a new blog on how to use cdi conversations to make wicket
code simpler...
https://www.42lines.net/2011/11/29/leveraging-conversations/
feedback welcome
-igor
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.
Probably this is due to Wicket links which contain informations on page
version (it should be an incremental id). So each time you return to the
same page Wicket generate different values for href attribute because
version id has been incremented. That's way they seem not visited.
When you resta
I would create my own base Page (where all other pages extend from) and add the
desired logging statement there (onConfigure(), onBeforeRender()). Most of the
times you already have a common base page anyway …
Cheers,
-Tom
fachhoch wrote:
> I want to log all the pages users are viewing
Thank you very much Thomas, i will follow the way that you provided.
Also thank you for your response Ritesh.
Regards.
-
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dynamically-choosing-component-to-add-tp3955869p4119794.html
Sent from the Users f
Enable DEBUG for org.apache.wicket.Page and you will see messages
like: ending request for page " + this + ", request " + getRequest()
On Tue, Nov 29, 2011 at 5:23 PM, fachhoch wrote:
> I want to log all the pages users are viewing without any much detail
> just the page class name .
> is
I want to log all the pages users are viewing without any much detail
just the page class name .
is there any way I can get this without adding my own log statements in code
?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/logging-the-page-class-name-tp4119
Issue with redirect it seems to be some particular issue with:
http://code.google.com/apis/loader/
Espessialy with "google.load" function. That seems to be solved by forming
URL in following way:
https://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22v
I just got done with a problem similar to this. It may be because your
RepeatingView is useing ReuseIfModelsEqualStrategy. In my situation the
component never thought the value changed so it reused the old value. It
sounds like that is what is happening to you. My fix was to call
Component#modelCha
I have a page with links that redirect to other pages.
Upon clicking the original page again (after navigating away from it), the
links don't change their color to "visited"; they're the same color as
unvisited.
However, when I *restart my application* and go to that page, the link now
changes co
Ticket + quickstart.
We load .js resources from CDN in our app and there are no problems.
2011/11/29 Илья Нарыжный :
> Martin,
>
> Thank you, but in Wicket 1.5.3 browser come to some inconsistent state
> after that.
>
> 1) Browser fully redirected to google js page
> 2) In logs I have:
> Wicket i
Hey Thanks for the clarification..!!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Regarding-Reset-tp4115668p4119522.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscri
Martin,
Thank you, but in Wicket 1.5.3 browser come to some inconsistent state
after that.
1) Browser fully redirected to google js page
2) In logs I have:
Wicket is not defined
Wicket.Log.error("Wicket.FunctionsExecuter.processNext: " + e);
Thanks,
Ilia
2011/11/29 Martin Grigorov
> https:/
Hello,
I have a data table with a checkbox column, and I dont
want to loose the checks when a navigation link is clicked.
Since I'm not using AJAX here, all I would need is for the
navigation buttons to sumit the form.
("SubmittingNavigationToolbar", not"AjaxNavigationToolbar")
I just rediscove
After three weeks stuggling finally I found the problem.
I did not fill my POJO's PK which was a compound id contains three fields
because I did not want to filter for this columns. The result was that my
POJO's equals function always returned true and this is why it did not work
for me. Huh. Just
I had this problem during the migration from wicket 1.4 to wicket 1.5
The problems occurs under chrome, safari and wicket 1.5
Scenario with an AjaxEditableMultiLineLabel :
1. The user puts the focus on the AjaxEditableMultiLineLabel and edit the
field.
2. Without focusing out of the editable la
Hi
I am using RepeatingView to add dynamic text fields on a plus button
click in a panel. When I add new text field to the repeating view on a plus
button click and refresh it, the user input for the other text fields gone.
Does repeating view reconstructs the components on refresh?
How can I
Lucas,
I think you will have to do something similar to what AjaxSlider does.
1- Attach a div to your page and an AbstractDefaultAjaxBehavior to that div.
2- Use that behavior to construct callback URL for buttons and on Buttons
protected void execute(JsScopeContext scopeContext)
https://issues.apache.org/jira/browse/WICKET-4092
On Tue, Nov 29, 2011 at 3:20 PM, Илья Нарыжный wrote:
> Hello,
>
> I have following code in my wicket component:
>
> http://www.google.com/jsapi";>
>
>
> Everything is OK if component is visible from the begining. But if
> component is enabl
Hello,
I have following code in my wicket component:
http://www.google.com/jsapi";>
Everything is OK if component is visible from the begining. But if
component is enabled by AJAX, I have following in the logs:
*INFO: *
Initiating Ajax POST request on
1?3-1.IBehaviorListener.0-form-mbkView
Dear Forum,
I want to implement a modal window for confirming the deletion of objects. I
want to use Jquery confirmation dialog, just like on
http://jqueryui.com/demos/dialog/modal-confirmation.html this example .
Is there a way to add this Jquery script to my code and to know if the
delete butto
Hi,
you can use a RefreshingView, with the Model getting updated on the button
click, which will be storing the number of times the fields needs to be
added.
And in populateItem(), add the fields.
--
Ritesh
2011/11/29 Seçil Aydın
> Thomas and Hans, thank you for your responses.
>
> Mine issue i
I created a short example (Quickstart): http://cl.ly/3u2o260z1b3F441T1T1M
You need to care for your models yourself (for the TextFields), just an example
how to dynamically add components.
Cheers,
-Tom
Seçil Aydın wrote:
> Thomas and Hans, thank you for your responses.
>
> Mine issue is a
Hi,
2011/11/29 Steve Mactaggart :
> Hi All,
>
> We have completed a pretty extensive localisation of our large wicket
> application with great success, just about every string in the application
> is now happily served from our language xml files.
>
> But we have noticed some places our language c
Hi All,
We have completed a pretty extensive localisation of our large wicket
application with great success, just about every string in the application
is now happily served from our language xml files.
But we have noticed some places our language conversions are not coping.
Our issue is with Wi
Thomas and Hans, thank you for your responses.
Mine issue is a little bit different, as you can see in the sample picture.
When page is opened only one couple of textfield should be displayed.When
user clicks on button, couple of textfields should be added to the page.Is
there any way?
http://apa
Hi,
Thomas Götz wrote
>
> final TextField textField = new TextField("textField", new Model());
> textField.setVisible(false);
> add(textField);
> ...
>
Because textField is initially invisible, Don't forget to
textField.setOutputMarkupPlaceholderTag(true);
-
--
Regards,
Hans
http://
If you only need one TextField that should be displayed upon click on a button:
final TextField textField = new TextField("textField", new Model());
textField.setVisible(false);
add(textField);
AjaxButton button = new AjaxButton("button") {
@Override
protected void onSubmit(AjaxRequestTar
thank u. will go thru the same.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/duplicate-form-js-modal-window-tp4110289p4118440.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
Hi,
There is an example of rendering a Panel at
http://www.wicket-library.com/wicket-examples/mailtemplate
This is Wicket 1.5
On Tue, Nov 29, 2011 at 9:23 AM, nazeem wrote:
> I had worked around the problem by modifying the js to not to duplicate
> content and instead to remove the original cont
You can also use property files for holding label values.
-
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropdownChoice-with-ChoiceRenderer-does-not-use-idValue-for-setting-Model-tp4115836p4118392.html
Sent from the Users forum mailing list archive a
I had worked around the problem by modifying the js to not to duplicate
content and instead to remove the original content and show in popup. Later
on closing it puts back the content on the same node.
But in any case, i would like to know how to convert a component to rendered
html string.
pub
> 1.how do i use reset in java code.I have just declare a reset button in my
> html which is working as expected but wana know is there any other
> alternative of doin it.
A HTML input of type="reset" will by default do nothing server-side but just
reset input fields of a form to the initial valu
Many thanks.
I am also trying to add new textfield to the page when user clicks on a
button.
How can I do that? Is there any proper way?
-
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dynamically-choosing-component-to-add-tp3955869p4118343.html
Sen
45 matches
Mail list logo