Yes indeed.
Is it possible that wicket is updating for example 2 Component's of 2
different users with the same Component identifiers?
Maybe that's why Wicket is unable to process the action for a link one of
the 2 Components.
2010/6/25 Rodolfo Hansen [via Apache Wicket]
Try to use:
yourDDC.add(new AjaxFormComponentUpdatingBehavior(onchange)
{
@Override
protected void onUpdate(AjaxRequestTarget target)
{
target.addComponent(yourGridComponent); //like MyGrid.this
}
});
--
View this message in context:
Hi All,
I'm new to Wicket and I'm studying it using Wicket in Action. As you
surely know, this book is based on Wicket 1.3, that does NOT use
generics, while the current version is 1.4 and DOES use them (as will do
the next ones).
Put aside this page:
Hi *,
I would like to test the markup of my (Ajax-)updated component. Until now i
simply used String.contains(String). But this is very fragile on markup
manipulation in my code.
So i would like to get the tags inside the ajax-response CData section and
simply extract everything (analogous to
Hi Doug
As described in the javadoc, the replaceSession() only replaces the
(underlying) HTTP Session to help against session fixation attacks.
What is your goal exactly? If the user logs in and still has an earlier
session, that that one will be destroyed?
In that case consider to use
If the link elements are wicket component then you could do:
add(new SimpleAttributeModifier(id, menu1));
or
setMarkupId(menu1);
For some reason the first method worked fine but the second method
didn't.
-
To unsubscribe,
For some reason the first method worked fine but the second method
didn't.
setMarkupId() needs to be combined with setOutputMarkupId(true);
- Tor Iver
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
I find that when I delete objects from my ListView, my model object for the
ListView still contains a reference to the object. When the view tries to
render, the object is already removed from the database and I get a null
response on my hibernate load(). I use opensessioninview and when I check
Hi All,
I'm new to Wicket and I'm studying it with Wicket in Action. As you
surely know, this book is based on Wicket 1.3, that does NOT use
generics, while the current version is 1.4 and DOES use them (as will do
the next ones).
Put aside this page:
Arh, ok, that explains it.
-Original Message-
From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no]
Sent: Friday, 25 June 2010 8:55 PM
To: users@wicket.apache.org
Subject: SV: Programmatically set CSS 'id' in an a href.. tag
For some reason the first method worked fine but the second
How are you managing transactions?
On Fri, Jun 25, 2010 at 7:27 AM, pieter claassen
pieter.claas...@gmail.com wrote:
I find that when I delete objects from my ListView, my model object for the
ListView still contains a reference to the object. When the view tries to
render, the object is
No, my DAO's inherit from HibernateDaoSupport and I just go with the
defaults.
Regards,
Pieter
On Fri, Jun 25, 2010 at 2:22 PM, James Carman ja...@carmanconsulting.comwrote:
How are you managing transactions?
On Fri, Jun 25, 2010 at 7:27 AM, pieter claassen
pieter.claas...@gmail.com wrote:
are you using a loadable detachable model or?
2010/6/25 pieter claassen pieter.claas...@gmail.com
I find that when I delete objects from my ListView, my model object for the
ListView still contains a reference to the object. When the view tries to
render, the object is already removed from
Yes, I reload the objects using my DAOs but, I have 2 MySQL databases on the
backend and so far have not been using @Transactional. This might be the
problem.
Now I just have to figure out to configure tx:annotation-driven
transaction-manager=txManager / for more than one transaction manager
These discussions might be of interest to you:
https://jira.springsource.org/browse/SPR-3955
http://forum.springsource.org/showthread.php?t=27754
On Fri, Jun 25, 2010 at 9:34 AM, pieter claassen
pieter.claas...@gmail.com wrote:
Yes, I reload the objects using my DAOs but, I have 2 MySQL
Looks like if you use Spring 3.x, you can do it. You have to use the
value of the @Transactional annotation to figure out which tx
manager to use.
On Fri, Jun 25, 2010 at 9:58 AM, James Carman
ja...@carmanconsulting.com wrote:
These discussions might be of interest to you:
Is that tomcat 7??
But t seems that we dont clean up our page saving thread.
That sounds like a leak to me. Application.shutdown or something should clean
up that
- Original message -
Anybody seen this before?
SEVERE: Error filterStart
Jun 24, 2010 3:24:06 PM
Yes, it may be something with the wicket session.
Can you send me a quickstart with the issue??
On Thu, 2010-06-24 at 23:22 -0700, david_ wrote:
Yes indeed.
Is it possible that wicket is updating for example 2 Component's of 2
different users with the same Component identifiers?
Maybe that's
If that is the issue, it can be solved by overriding the method that sets
the id? But is it possible?
2010/6/25 Rodolfo Hansen [via Apache Wicket]
ml-node+2268555-1340689353-232...@n4.nabble.comml-node%2b2268555-1340689353-232...@n4.nabble.com
Yes, it may be something with the wicket
On 06/25/10 09:17, Alessandro Bottoni wrote:
Hi All,
I'm new to Wicket and I'm studying it using Wicket in Action. As you
surely know, this book is based on Wicket 1.3, that does NOT use
generics, while the current version is 1.4 and DOES use them (as will do
the next ones).
Put aside this
Hello all,
I would like to extend the Markup Inheritance example
(http://wicket.apache.org/examplemarkupinheritance.html) by replacing
the content part of the page (i.e. the wicket:child) using Ajax.
I tried to replace the BookmarkablePageLink on the BasePage with an
AjaxLink but this does not
What you are trying to accomplish doesn't require markup inheritance.
You can use a panel and replace it with an Ajax link.
That panel could be nested within wicket children participating in
markup inheritance, but that's another matter. The panel should be
the component added to the
Thank you so much for your reply. I tried using getCallbackScript on my
dropdown box. But it is never been called and also the fetch value on the
wicket side returns null for the dropdown box.
Not sure where I am doing wrong. Please suggest.
My code is as below..
There are some components in wicket that seem to be associated with a
form, but I can't get them to actually submit the form.
Or at least, I can't get them to submit the form, if I have a hierarchy
of FORM - PANEL - COMPONENT/RADIOCHOICE
For example, I can create a submitlink or button and
If you want to do this, you are basically using the single-page paradigm
where your content is always a panel. Basically you just create a single
page, and then all of your content goes into panels instead of pages with
markup inheritance. Then swap the panel in your link and add it to the ajax
Hello,
I'm building a webapp in wicket which will be a redirect from other webapp.
The other webapp will send me a string , what is the best way to get this
string from the wicket application? and how to do it?
Thanks a lot,
Marcelo
--
View this message in context:
How are you sending the string? As a query string parameter, a JMS message,
something in the database?
On Fri, Jun 25, 2010 at 2:17 PM, d2marcelo d2olive...@gmail.com wrote:
Hello,
I'm building a webapp in wicket which will be a redirect from other webapp.
The other webapp will send me a
Do you mean that App1 will redirect to something like
http://wickethost/WicketApp/homepage?myArgument=theValue
If so, see:
http://wicketbyexample.com/api/wicket/1.4.6/org/apache/wicket/PageParameters.html
If not, please clarify the use case.
Ed.
On Fri, Jun 25, 2010 at 3:17 PM, d2marcelo
Gmail has a good enough spam-filter, so don't worry
On 6/24/10 3:45 AM, midikem wrote:
Hi can u please put the mail invisible. When you search on google on your
mail you get all the posts from this forum, that you have posted, and i dont
want my mail to be vissible to other people, due to
I'm open to suggestions on this. What is a simple way to send the string .
This is coming from a webapp written in a diff java framework. jsf
Possibility a simple get to the url with the string or use RESTfull service.
Trying to be away from database option. I'm not familiar with jmx.
Depends on what your String is. Do you mean that you need to redirect a
user from app one to app two, and you could pass this string in the URL (as
a query parameter)? If s, just create a wicket bookmarkable page and use
the PageParameters to get the string.
Jeremy
On Fri, Jun 25, 2010 at 2:38
So , I assume I don't have to do anything on the application class.
But on the home page class, I would get PageParameters passed in the
constructor like so?
public class MyApp extends WebPage {
public MyApp (PageParameters params) {
}
--
View this message in
yes
On Fri, Jun 25, 2010 at 2:43 PM, d2marcelo d2olive...@gmail.com wrote:
So , I assume I don't have to do anything on the application class.
But on the home page class, I would get PageParameters passed in the
constructor like so?
public class MyApp extends WebPage {
That's correct.
APP 1 will call APP2 and pass the string like ABCDEFG in the url..
I was just thinking if this is the best way to do it.
Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Get-data-from-main-application-tp2268839p2268873.html
Sent from the
Hi all,
I need a url similar to the following example
www.example/test?url=map/myMap.swf
But urlFor constructs the followng
www.example/text/url/map/myMap.swf/
The last slash makes that the swf will not be correctly added.
Why RequestCycle.get().urlFor is not doing what I do expect?
your page is probably mounted with the default mounting strategy, which uses
the seo-friendly folder style parameters. instead, you should mount that
page with the QueryStringUrlCodingStrategy
On Fri, Jun 25, 2010 at 3:07 PM, Fernando Wermus
fernando.wer...@gmail.comwrote:
Hi all,
I need a
Hi,
The page loads address panel with couple of text fields . When the search is
made for a particular address id, the address panel is rendered twice (one
panel with the data, the second panel without the data). Not sure how to
avoid re-rendering of panel twice,
setResponsePage(getPage())
thanks
On Fri, Jun 25, 2010 at 5:09 PM, Jeremy Thomerson jer...@wickettraining.com
wrote:
your page is probably mounted with the default mounting strategy, which
uses
the seo-friendly folder style parameters. instead, you should mount that
page with the QueryStringUrlCodingStrategy
On
I believe the cause -- and I've reproduced locally -- is this HTML:
tr
wicket:id=shipperAddressPanel/tr
Don't dump content into the tr
Try changing this to
tr
td
div wicket:id=shipperAddressPanel/
/td
/tr
And see if it fixes the issue.
Ed.
Ed,
Thanks for your reply. I already tried this. But still the problem exists.
:(
setResponsePage(getPage(this)) seems to be the work around for this issue.
But the problem is, the other inputfields that have values on this page are
lost when the panel is re-rendered.
I am not sure how to
Hmm, I took a working example that replaces a panel using an AJAX link
and altered the HTML to match what you have and, hey presto, after
clicking the link I have two versions of the panel content. Reload
and I have one again.
I don't have the code in front of me, but I'll take a look again
Hi, I am unable to addres this need and have to ask the group.
I am using the ajax approach to validate each field on a form. See the
following:
div wicket:id=fullNameBorder
input type=text wicket:id=fullName /
/div
If the above field gets focus and loses the focus without any value in it,
42 matches
Mail list logo