Martin Grigorov-4 wrote
> AFAIK it is not known.
> The code looks pretty simple for IE8 to break.
> Which version of jQuery do you use ?
Hans Lesmeister 2 wrote
> It is 1.8.3., the one that is shipped with Wicket 6.8.
> I will try with Wicket 6.11 which is shipped with jQue
Hans Lesmeister 2 wrote
> Same behavior with jQuery 1.10.1. Okay, then I will create a ticket with a
> quick start then.
> Thanks for helping so far.
https://issues.apache.org/jira/browse/WICKET-5397
-
--
Regards,
Hans
http://cantaa.de
--
View this message in conte
Hi Martin,
Martin Grigorov-4 wrote
> AFAIK it is not known.
> The code looks pretty simple for IE8 to break.
> Which version of jQuery do you use ?
It is 1.8.3., the one that is shipped with Wicket 6.8.
I will try with Wicket 6.11 which is shipped with jQuery 1.10.1
-
--
Regards,
Hans
Hi Everybody,
To enable animation with JQuery on replacing a component with Ajax, we have
followed the construct with the "|"-Symbol (pipe) in the Javascript that is
added with target.prependJavaScript (see
http://wicketinaction.com/2013/02/replace-components-with-animation => Thank
you, Martin)
Hi Martin,
Martin Grigorov-4 wrote
> Please create a ticket with a quickstart and we will take a look.
> Thanks!
Quickstart attached
https://issues.apache.org/jira/browse/WICKET-5318
Thanks a lot
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wi
Hi all,
To deliver resources (mainly images) dynamically, we have created a custom
ResourceReference and mounted that to a path:
As long as the image is there and an inputstream can be retrieved from our
service, everything works fine. However if a stream is not available, we
throw an AbortExce
alidation.
> And the improved version at:
> https://github.com/code-troopers/wicket-jsr303-parsley
>
>
> On Thu, Jul 25, 2013 at 10:22 AM, Hans Lesmeister 2 <
> hans.lesmeister@
>> wrote:
>
>> Hi everybody,
>>
>> with HTML5 we now have this nice
Hi everybody,
with HTML5 we now have this nice browser built in validation showing a
bubble and a colored outline if a validation on a field does not pass.
However if I add an AjaxSubmitLink to the form, then the html5-validation is
no longer working. I have tried all kind of tricky things with
p
Hi,
dhongyt wrote
> I'm wondering if its because of hibernate? Its trying to get the query of
> the page to display but the query has been closed?
You have serialized an object which contains properties proxied by
Hibernate. On deserializing, the proxy tries to resolve with the now closed
embed
Hi Andrea,
great job. Thank you very much!
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-free-guide-updated-tp4659158p4659179.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi,
you can pass a IModel to the constructor as well. This model will
receive the currently selected Customer.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Get-the-selected-item-in-the-DropDownChoice-using-Scala-tp465
Hi,
you can put the checkbox in a panel and add the panel to the Column.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/anything-like-AjaxEditableCheck-tp4657730p4657732.html
Sent from the Users forum mailing list arch
you might be looking for Session.replaceSession()
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-create-a-new-Session-tp4657553p4657574.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi Andrea,
fantastic work! Thank you very much for sharing this.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Free-Wicket-guide-now-available-tp4657407p4657435.html
Sent from the Users forum mailing list archive at Na
https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Sending-Data-via-Javascript-and-AJAX-tp4657008p4657065.html
Sent from the Users forum mailing list archiv
Hi Michael,
Michael Chandler wrote
> To conclude, my issues stemmed from not properly linking from page to
> page. I did a lot of this:
>
> BookmarkablePageLink
>
> ("link", MyClass.class);
>
> Instead of this:
>
> Link
>
> ("link") {
> public void onClick() {
> setRespo
> Hans, like Martin said, this doesn't work, and I already tried it. When
> you
> use those options, it just renders the element tag with no contents.
Yes, I realised that too. I am sorry if my answer caused you effort.
> Thank you very much, guys! When you come to Brazil, the beer is on me :)
Martin Grigorov-4 wrote
> I.e. at the server side add "style='display:none'" to the Panel. Wicket JS
> will replace
> the old with the new one and then your fadeIn effect will show it.
And with:
panel.setVisible(false);
panel.setOutputMarkupPlaceholderTag(true);
the style-attribute is added for yo
Hi,
if I run your test, the result is just a space.
If I change the Date-Pattern to "HH:mm", the test goes green
May be you are in the wrong time-zone... :-)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/1-5-Stared-blind
Hi,
seems to me that some of the classes moved to
org.apache.wicket.request.resource
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Package-Not-Found-tp4466108p4466328.html
Sent from the Users forum mailing list archive a
Hi,
showCalculatorModel.setTxtIntrinsicValueCE(txtLtpPriceCE.getInput());
txtIntrinsicValueCE.modelChanged(); // <
target.addComponent(txtIntrinsicValueCE);
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/I-want-upd
Hi Daniel,
Daniel Watrous-2 wrote
>
> I tried putting in this:
> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
>
GAE does not allow you to start additional threads and that's what
setResourcePollFrequency(...) does I think
-
--
Regards,
Hans
http://cantaa.de
-
Hi,
hfriederichs wrote
>
> I'm trying to do this, to send an Event in the DataView's
> onBeforeRender(), but now I encounter another issue. On the receiving
> side of the Event, in the onEvent(Component component, IEvent event), I
> need a
> AjaxRequestTarget. Can I create an AjaxRequestTarge
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://
Hi,
you can add Javascript to the current AjaxRequestTarget in the
onClose-Method of your Modal Window, i.e. like:
AjaxRequestTarget.get().appendJavaScript(...)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/IAjaxIndi
Hi,
did you already try a call to form.modelChanged() in onUpdate?
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-broken-after-invalid-submit-tp3945964p3946955.html
Sent from the Users f
DataTable.setCurrentPage(int)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Jump-to-specific-page-of-AjaxFallbackDefaultDataTable-tp3878357p3878396.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi,
maybe you can override WebRequestCycleProcessor.respond:
but I did not try if that's too late as well
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-handle-errors-in-RequestCycle-onEndRequest-tp3824649p384624
Hi,
Maybe this http://code.google.com/p/jquery-images-ondemand/
and this http://api.jquery.com/scroll/ help
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Loading-items-in-repeater-the-facebook-twiiter-way-tp3780809p378
FeanorsCurse wrote:
>
> However, I still feel like that is an unnecessary step; I don't see any
> reason why the PropertyModel should not be enough on its own.
>
Please correct me if I am wrong: The model passed in tells the dropdown
which object from the list should be the active one shown. If
Hi,
FeanorsCurse wrote:
>
> Instead of using the getName()-method it's using toString, despite of what
> is set in the property model. As far as I understand, this is because
> getName() returns a String and not a UserAccountEntity itself.
> ...
> Any advice?
>
You can use a IChoiceRenderer a
You can take a look at DataTable.onPageChanged()
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3428429.html
Sent from the Users forum mailing list
Ernesto Reinaldo Barreiro-4 wrote:
>
> Yes you are right... but I think new PropertyModel(this,
> "selectedEintrag.vorname") will work I guess.
>
I guess you are right. That will work, but it is not very elegant to put a
reference to the page or panel into the model. He probably should not
over
Ernesto Reinaldo Barreiro-4 wrote:
>
> final Label vorname = new Label( "Vorname", new
> PropertyModel(selectedEintrag, "vorname"));
>
This option will not work because:
> selectedEintrag = item.getModelObject();
>
The reference "selectedEintrag" is overwritten.
-
--
Regards,
Hans
+1 for making Page.onInitialize() non-final. Since 1.4.12 we have migrated a
lot of code moving construction of the component hierarchies to
onInitialize. We are really very happy with the way it is now in 1.4.
+1 for clear documentation/Javadoc explaining proper use of onInitialize.
(Developers
Maybe you can find something here:
http://www.google.de/#q=wicket+jquery+integration&fp=1
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Integrating-jquery-scripts-with-wicket-tp3332998p234.html
Sent from the Users f
> I've to access the ComponentTag of my Panel but dont know how, except
> iam in "onComponentTag".
>
Yes, in onComponentTag of the surrounding WebmarkupContainer, you can get
and preserve the desired attributes and then remove them.
In onComponentTag of the TextArea you add the previously
Ernesto Reinaldo Barreiro-4 wrote:
>
> Is that really a stopper?
>
Well, that depends on the demands of the OP. IE6 is still used in many big
companies (and because IE6 is buggy concerning !important, it can be
(mis)used for nice CSS-hacks)
But what if the !important-directive is already used
Poko Booth wrote:
>
> Can't you just use !important at page CSS definition to override what
> the component defines as default?
>
"!important" is not recognized by all browsers (IE6 for instance)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wic
MattyDE wrote:
>
> But we now realize that its not the "umlauts" which create problems. its
> the ">"
>
> We was using but wicket interprets the first < inside the key-Attribute
> as closing tag. This is a bug right?
>
Hi,
I think it is generally good practice to not use special characters l
Not tested, but this is the way it should work (more or less...)
public class MyBean {
String question;
String answer;
// plus Getters and Setters...
}
public class Test extends WebPage {
public Test() {
add( new TestForm( "TestForm" ) );
}
@SuppressWarnings("serial")
public
hrbaer wrote:
>
> In a fit of despair I tried to replace my ListView component with a
> RepeatingView component to access either my "ListFragen" or
> "Frage"/"Input" - unfortunatelly without success :(
>
If you use a RepeatingView you can add any Component to it (I think) so
erzeugeEingabeFeld
>
> String htmlCodeInputfield = erzeugeEingabefeld( q );
> Label label = new Label( "Input", htmlCodeInputfield );
> label.setEscapeModelStrings( false );
> item.add( label );
>
>
Use a textfield instead of plain html. Bind it to a
hrbaer wrote:
>
>
>...
> protected void populateItem( ListItem item ) {
>
> final Entity e = item.getModelObject();
> item.add( new Label( "text", e.getName() ) ); e not null?
> item.add( new Link( "Details_Link" ) {
>
>
James Carman wrote:
>
> No, I mean in case the model is a LDM and they would be getting a
> "fresh" copy of the entity from the database, as opposed to a detached
> one.
>
Thanks James, that's a good hint
-
--
Regards,
Hans
http://cantaa.de
"Voetbal is heel erg simpel. Het moeilijkste a
Hi,
James Carman wrote:
>
> For safety, you probably want to get the entity from the item again,
> right?
>
Why would that be safer? You mean in case the item's ModelObject has been
replaced somewhere?
Cheers
Hans
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com
hrbaer wrote:
>
> I'm trying to get the entity of the choosen row.
> Can someone provide me how do achieve that? Thanks in advance!
>
protected void populateItem( ListItem item ) {
final Entity entity = item.getModelObject(); // cast
not needed
Hi,
hrbaer wrote:
>
>
> ...
> try {
> pm.makePersistent( ent );
> modal.show( target );
> target.add(feedback); <=== I guess this was missing
> }
>
> -
>
You need to add the feedback to the target on success as well
Cheers
Hans
syg6 wrote:
>
> ...
> setResponsePage(SecondPage.class) in FirstPage's constructor is called the
> url remains:
>
> http://localhost:8080/myapp/first
>
> when I am actually now on SecondPage? But when I call
> setResponsePage(ThirdPage.class) from SecondPageForm's onSubmit()
> (SecondPage cont
49 matches
Mail list logo