i just think it's strange, I'd have thought that there would have been
one and only one official JPA 2 api one could depend on. But I see my
suspicion was correct.
Thanks to all for replying on this non wicket topic..
2010/9/8 Korbinian Bachl - privat korbinian.ba...@whiskyworld.de:
in fact the
Rodolfo Hansen wrote:
How can I use Wicket.Ajax.Request to post a json string to a
DefaultAjaxBehaviour?
Maybe this could help:
http://josephonit.wordpress.com/2010/09/02/wicket-providing-json-content-through-ajax/
On the Javascript side I basically did something like this:
function
Hi Korbinian,
in fact the current is 2.1.1, but 2.0.0 is reference implementation and
for the JPA 2.0 API it wont matter what 2.0.x it is (see scope provided
here - just API);
actually, I meant the javax.persistence-API, which can be referenced
with eclipse:
dependency
Hi,
I would like to fire an ajax event every time the user changes the
selection of the choices
e.g. he switches from 'wiki' to 'wicket' with keys or mouse
Which function is necessary to fire such an event on the client side?
I never did sth. similar to this and tried (without success + a long
Oh, didn't know that - thx :)
in fact I haven't yet had any situation where I needed the JPA-API from
maven but not any persistence library as well; Nino, for what is it good
for in your case?
Best
Am 09.09.10 09:34, schrieb Jan Kriesten:
Hi Korbinian,
in fact the current is 2.1.1, but
add AjaxFormComponentUpdatingBehavior to your dropdownChoice.
new AjaxFormComponentUpdatingBehavior(onchange) {
@Override
protected void onUpdate(AjaxRequestTarget target) {
//do the needed stuff here...
}
})
The onUpdate() will be
Hi All,
I just wanted to ask how to go about creating a component that would mimic
radio group or dropdown choice functionality, but be displayed as a set of
buttons? Basically the choices would be displayed as toggle buttons. When
pressing a button, it would be activated and the model changed to
Hi Pieter,
thanks for your quick response! And sorry, I didn't mention that I am using
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField
from wicket extensions. Or did you have another autocomplete component
in mind that I am not aware of?
Nevertheless I tried the
http://docs.jquery.com/UI/Button?
Ernesto
On Thu, Sep 9, 2010 at 12:38 PM, Early Morning goodmorning...@gmail.com wrote:
Hi All,
I just wanted to ask how to go about creating a component that would mimic
radio group or dropdown choice functionality, but be displayed as a set of
buttons?
Hi Peter,
Looking at the code I think you'll need to touch wicket-autocomplete.js.
Copy it to your project and override
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior#renderHead(IHeaderResponse)
so that it loads your .js file.
Then make
Ben benarjee_g at yahoo.com writes:
Here is my panel1
...
add(new ImageQualityForm(imageQualityForm, new
CompoundPropertyModel(imageQuality), aform));
}
private static class ImageQualityForm extends Form {
public ImageQualityForm(String id, IModel model,
I also need a provider library, but just think it's strange that the
JPA API are bound into the provider library and a independent.
regards Nino
2010/9/9 Korbinian Bachl - privat korbinian.ba...@whiskyworld.de:
Oh, didn't know that - thx :)
in fact I haven't yet had any situation where I
Unfortunately I cannot upgrade... :/
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Radio-buttons-in-modal-window-in-IE6-tp2403103p2532743.html
Sent from the Wicket - User mailing list archive at Nabble.com.
On Wed, Sep 8, 2010 at 9:35 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Sorry to spam but I am wondering where the JPA 2.0 Spec are cant find
it in maven...
groupIdorg.apache.geronimo.specs/groupId
artifactIdgeronimo-jpa_2.0_spec/artifactId
version1.1/version
--
Marcelo
Hi,
I'm using WicketDND to allow for drag and drop in my application. How ever I
have problems when trying to drag a tr that contains another table (i.e. I
want to drag a component whose html contains a table). I believe the reason
to be that the inner table is located on top of the tr (it fills
Hello list
I have a very strange problem. I have some Ajax buttons on a webpage.
They switch between list and detail view and start the edit mode. All of
them are replacing a form tag on the page.
When clicking on them in the wrong sequence, I get this error in the
Wicket Ajax Debug Window:
Nice,
I implemented something very similar to that actually; and now I
actually also need to send json from the client...
On Thu, 2010-09-09 at 09:31 +0200, Joseph Pachod wrote:
Rodolfo Hansen wrote:
How can I use Wicket.Ajax.Request to post a json string to a
DefaultAjaxBehaviour?
Hi Martin,
your instructions helped a lot! Now I can send an ajax request via * and
recieve the request via **
But the problem is that the javascript function 'doUpdateChoices' will
only update the choices-divs
and not all the targets that I added in the java method 'onSelectionChange'.
Do you
This is the eleventh maintenance release of the 1.4.x series and brings over
fifty bug fixes and improvements.
* Subversion tag: http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.11/
* Changelog:
Should localizer.getString() work with a null Component? Some of the
getString() forms say it's optional, but it didn't work for me until I passed
the component.
LONG VERSION:
I'm working with RadioChoices in a RefreshingView driven by a Map.
The standard choices localizations
true=Yes!
Hi all,
I have a Form with the default model being a CompoundPropertyModel. I have
added the DateTimeField component to the form. I wish to prepopulate the
time fields but not the date.
I have tried a few different things but all have their various issues.
Anyone have any ideas?
Many thanks in
very strange indeed. do you have any behaviors that write directly to
the response? even that, i dont think, would cause this. create a
quickstart and attach it to a jira issue.
-igor
On Thu, Sep 9, 2010 at 7:33 AM, Adrian Wiesmann awiesm...@somap.org wrote:
Hello list
I have a very strange
put the date value you want prepopulated into the model object
-igor
On Thu, Sep 9, 2010 at 9:20 AM, vp143 vishal.po...@cipriati.co.uk wrote:
Hi all,
I have a Form with the default model being a CompoundPropertyModel. I have
added the DateTimeField component to the form. I wish to
Hi
I have a IE Issues
i have some css styles with images all the styles are displayed in Mozilla
Firefox perfectly
but in IE Some of the features are not supporting .if i change CSS file it
is effecting in Mozilla.
is their any solution to this problem
--
View this message in
Try stackoverflow.com
2010/9/9 arunarapole arunakumm...@gmail.com:
Hi
I have a IE Issues
i have some css styles with images all the styles are displayed in Mozilla
Firefox perfectly
but in IE Some of the features are not supporting .if i change CSS file it
is effecting in Mozilla.
is
Hi Johan,
try adding a class attribute on your outer tr (e.g. class=dragging)
and configure the drag source accordingly:
new DragSource(...).drag(tr.dragging)
Sven
On 09/09/2010 04:05 PM, Johan Haleby wrote:
Hi,
I'm using WicketDND to allow for drag and drop in my application. How ever
I tried that previously but then the field becomes NULL within the POJO
I think this is what you mean:
If i have: setDefaultModel(new CompoundPropertyModel(Item));
where Item object contains checkinDate field
I create the component: DateTimeField checkinDateField = new
Hi Peter,
Use wicketAjaxGet() instead of Wicket.Ajax.Request.get().
The former uses the latter and knows how to process the xml response
returned by AjaxRequestTarget.
On Thu, Sep 9, 2010 at 5:54 PM, Peter Karich peat...@yahoo.de wrote:
Hi Martin,
your instructions helped a lot! Now I can
Item.checkinDate=new Date()
-igor
On Thu, Sep 9, 2010 at 10:52 AM, vp143 vishal.po...@cipriati.co.uk wrote:
I tried that previously but then the field becomes NULL within the POJO
I think this is what you mean:
If i have: setDefaultModel(new CompoundPropertyModel(Item));
where Item object
I'm sure this is probably rather simple, but what would be the best way to
issue a javascript command from a wicket action?
That's vague so here's a more specific example. I have an existing app that
has a button. When that button is clicked, the event is handled by Wicket to
perform some action
In some cases there are no work arounds (css that generically applies to
both).
We ended using css_browser_selector
(http://rafael.adm.br/css_browser_selector/) and this works well for us.
Alternatively you could try generating different pages based on the browser
from the server but I don't
Figured it out, nothing to do with Wicket (sorry but I was getting
desperate).
If it helps anyone...we had to enable httpOnly on our server and the page in
question was trying to make sure we only uploaded to our current session.
Well turns out that httpOnly causes statefull Java Applets to
You can use the AjaxRequestTarget to emit javascript back to the
browser like this:
target.prependJavascript(alert('sent from the server'););
Typically you would have placed the javascript method definitions into
the page so they would exist already in the browsers DOM and then you
would
hi
It looks like the jquery files need to be included through a normal page load.
Contributing these headers through Ajax doesn't work, I guess it's due to the
use of $(document).ready(function(), which isn't triggered on ajax refresh.
I tried to find a jquery workaround for that but without
instead of $(document).ready(function() use wicket's
iheadercontributor's response.writeondomreadyjavascript
-igor
On Thu, Sep 9, 2010 at 1:09 PM, Joseph Pachod
josephpac...@thomas-daily.de wrote:
hi
It looks like the jquery files need to be included through a normal page
load.
Michael O'Cleirigh wrote:
You can use the AjaxRequestTarget to emit javascript back to the
browser like this:
target.prependJavascript(alert('sent from the server'););
Typically you would have placed the javascript method definitions into
the page so they would exist already in
I've been reading books, articles, blogs about Wicket page serialization. I
don't get it. Specifically, I don't get the need and/or benefits.
Most references state that page serialization addresses the back button
issue. If a user presses the browser's back button, doesn't the browser
simply
The trick is that each link/form points to a specific version of
your page in the cache, so you can be sure that you're dealing with
the same component hierarchy.
On Thu, Sep 9, 2010 at 4:17 PM, Mike Dee mdichiapp...@cardeatech.com wrote:
I've been reading books, articles, blogs about Wicket
Does that mean if the back button is used to go back to a URL like this:
http://myurl/myapp/?wicket:interface=:3
and the SHIFT-REFRESH button is used (hard refresh), that Wicket will pull
the page out of its cache rather than calling the app to regenerate the
page?
--
View this message
instead of $(document).ready(function() use wicket's
iheadercontributor's response.writeondomreadyjavascriptthanks for the answer
I do so for my own stuff, but jquery plugin don't.
similarly, the core jquery file import won't work when added through ajax.
Hi Martin, hi Pieter!
wow! This works now and I thought one has to write ajax assembler to
make it running ...
Thanks a lot!
Are the ajax functions documented anywhere?
Regards,
Peter.
Hi Peter,
Use wicketAjaxGet() instead of Wicket.Ajax.Request.get().
The former uses the latter and knows
dunno then, you may want to talk to jquery people and see what they
recommend. we cant really fire the onload event again because some
scripts may have already been executed...like i said, see what jquery
folks say.
-igor
On Thu, Sep 9, 2010 at 1:38 PM, Joseph Pachod
josephpac...@thomas-daily.de
Rodolfo,
If you're asking about Wicket application settings, then yes, it's set to
default 2-pass request processing with buffered pages rendering.
I thought the way the link is implemented it should not matter since I
thought I would write directly into the HttpServlet output stream.
And I
On Thu, 2010-09-09 at 14:11 -0700, DmitryM wrote:
Rodolfo,
If you're asking about Wicket application settings, then yes, it's set to
default 2-pass request processing with buffered pages rendering.
I thought the way the link is implemented it should not matter since I
thought I would
Rodolfo,
No, I didn't test it w/WireShark or similar packet sniffer.
I can give it a shot...
I only tested it in Safari and FireFox (the matter is I only care about
Safari, or, rather, WebKit) for now, this would be an app to be accessed
from the phone.
The behaviour of the browsers (including
Hi Mike,
Excellent, thanks for the info. I was still on older versions of those
artifacts (1.4.1). Will see about upgrading.
regards,
Steve
On 08/09/2010, at 11:44 AM, Michael O'Cleirigh wrote:
Hi Steve,
Wicketstuff-core artifacts have been released through the oss.sonatype.org
I use onDomReady functionality at many places in my jWicket jQuery-integration.
I don't know of any general problem (no guarantee that there isn't one) with
jQuery and Wickets onDomReady.
Of course you have to ensure that the library (and perhaps additional files) is
loaded in correct order
47 matches
Mail list logo