Wizard vs WicketTester

2020-04-03 Thread Maxim Solodovnik
Hello All,

I'm trying to to test Wizard with WicketTester
Wizard is the component with "splitted" form which is partially submitted
multiple times
FormTester allows only single submit

it's not a problem to create second FormTester BUT lastRendered page ===
'null' after submit :(

Maybe I'm doing something wrong?

BTW there is no tests for Wizard in Wicket code base, only WizardModel is
tested

-- 
Best regards,
Maxim


Re: best way to get wysiwyg with wicket

2020-04-03 Thread Martin Spielmann
Hi,

if your app uses Bootstrap and you are OK to stay with HTML, you can
have at the SummernoteEditor from the excellent wicket-bootstrap-
extenstions library. Example here:
https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/bc567ae0f77497216720f909e1b2e55a929e25cd/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/pages/SummernotePage.java
We use it all the time and it's simple yet powerful.
I don't think the image feature is supported out-of-the-box, but I
imagine it should not be too hard to add.

Apart from that, the idea to go with markdown sounds also promising.
Best regards,
Martin

On Fri, 2020-04-03 at 20:24 +0200, Korbinian Bachl wrote:
> Hi,
> 
> I need to be able to let complete novices edit and write nicely
> formatted texts in an backend thats powered by wicket (required e.g.:
> H1-H4, normal text, bold text, images - only simple stuff mostly).
> In the past I used the ckeditor but that outputs html and Im not sure
> that cluttering font sizes and stuff like that into anything that
> needs later be to transformed to be used on either desktop or mobile
> in the year 2020 is still as sufficent as it was 10 years ago. So I
> stumbled over markdown that might be a way to avoid this, but not
> sure If I missed somthing better?
> 
> Beside, has any of you an idea where to look at to put this together
> with wicket, especially as I need to be able to have them insert
> images from some gallery picker that gets its image-resources from
> some kind of dataprovider.
> 
> Any idea or solution is greatly appreciated. I know this is not pure
> wicket related stuff but I hope its still ok to ask here.
> 
> Best,
> 
> KB
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: best way to get wysiwyg with wicket

2020-04-03 Thread Maxim Solodovnik
Here are couple examples
http://www.7thweb.net/wicket-jquery-ui/plugins/wysiwyg/WysiwygEditorPage?1
https://github.com/wicketstuff/core/tree/master/tinymce3-parent
https://github.com/wicketstuff/core/tree/master/tinymce4-parent


On Sat, 4 Apr 2020 at 01:24, Korbinian Bachl 
wrote:

> Hi,
>
> I need to be able to let complete novices edit and write nicely formatted
> texts in an backend thats powered by wicket (required e.g.: H1-H4, normal
> text, bold text, images - only simple stuff mostly).
> In the past I used the ckeditor but that outputs html and Im not sure that
> cluttering font sizes and stuff like that into anything that needs later be
> to transformed to be used on either desktop or mobile in the year 2020 is
> still as sufficent as it was 10 years ago. So I stumbled over markdown that
> might be a way to avoid this, but not sure If I missed somthing better?
>
> Beside, has any of you an idea where to look at to put this together with
> wicket, especially as I need to be able to have them insert images from
> some gallery picker that gets its image-resources from some kind of
> dataprovider.
>
> Any idea or solution is greatly appreciated. I know this is not pure
> wicket related stuff but I hope its still ok to ask here.
>
> Best,
>
> KB
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-- 
Best regards,
Maxim


best way to get wysiwyg with wicket

2020-04-03 Thread Korbinian Bachl
Hi,

I need to be able to let complete novices edit and write nicely formatted texts 
in an backend thats powered by wicket (required e.g.: H1-H4, normal text, bold 
text, images - only simple stuff mostly).
In the past I used the ckeditor but that outputs html and Im not sure that 
cluttering font sizes and stuff like that into anything that needs later be to 
transformed to be used on either desktop or mobile in the year 2020 is still as 
sufficent as it was 10 years ago. So I stumbled over markdown that might be a 
way to avoid this, but not sure If I missed somthing better?

Beside, has any of you an idea where to look at to put this together with 
wicket, especially as I need to be able to have them insert images from some 
gallery picker that gets its image-resources from some kind of dataprovider.

Any idea or solution is greatly appreciated. I know this is not pure wicket 
related stuff but I hope its still ok to ask here.

Best,

KB

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: ERROR org.apache.wicket.protocol.http.WebApplication.storeBufferedResponse

2020-04-03 Thread Thorsten Schöning
Guten Tag Sven Meier,
am Mittwoch, 1. April 2020 um 21:09 schrieben Sie:

> Seems WebPageRenderer thinks it has to store the rendering result and
> redirect to it.
> That's definitely nothing something you want to have when using
> ComponentRenderer.

Agreed, but I couldn't find yet why it thinks so. Additionally, as I
get the correct render result, the redirect target seems to be the
expected outpout anyway? So is trying to buffering the "problem" here
or the redirect already or both?

> There's probably something in your setup that triggers this redirect 
> (e.g. page url changes after render).

I can't think of dealing with URLs beyond "setAutomaticLinking", but
will have a look at this later: Im rendering HTML and some plain-text
format using Wicket, in the latter case transforming HTML-links using
TransformerBehavior to something like the following:

> Linktext:HREF

And the error really gets only logged when rendering HTML, NOT when
rendering plain text. The app used to render both formats and their
base page is the same, though. Difference is markup and things like
TransformerBehaviour.

> Maybe we could improve ComponentRender so it never redirects.

And throw an exception to find that unexpected redirect or simply
ignore it at all? If that redirect-by-accident leads to wrong results,
an exception w9ould be good. Otherwise in my case I might not care too
much, as results are simply as expected.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail: thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Kendo Material update from 8.3.0 to 8.6.0 adds 'user-select:none'

2020-04-03 Thread Manfred Bergmann
OK, thanks.

I'll check with the Kendo people.




Martin Grigorov-4 wrote
> Hi Manfred,
> 
> On Thu, Apr 2, 2020 at 6:23 PM Bergmann Manfred 

> mb@

> 
> wrote:
> 
>> Hi.
>>
>> We’ve just realized that none of the texts when changing this library
>> version are selectable/copyable.
>> Is this intentional?
>>
> 
> It sounds like the change is in Kendo Material sources, not in Wicket
> JQuery UI, so the question should be addressed to Kendo Material
> developers.
> 
> 
>> How can it be fixed other than reverting to 8.3.0?
>>
> 
> You can always overwrite any CSS rules by adding your own CSS rules
> *after*
> the ones you want to overwrite.
> E.g.:
> https://kendo.ui/.../material.css"/>
> https://my.server.com/my-overwrites.css"/>
> Martin
> 
> 
>>
>>
>> Manfred
>> -
>> To unsubscribe, e-mail: 

> users-unsubscribe@.apache

>> For additional commands, e-mail: 

> users-help@.apache

>>
>>



--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Kendo Material update from 8.3.0 to 8.6.0 adds 'user-select:none'

2020-04-03 Thread Martin Grigorov
Hi Manfred,

On Thu, Apr 2, 2020 at 6:23 PM Bergmann Manfred 
wrote:

> Hi.
>
> We’ve just realized that none of the texts when changing this library
> version are selectable/copyable.
> Is this intentional?
>

It sounds like the change is in Kendo Material sources, not in Wicket
JQuery UI, so the question should be addressed to Kendo Material developers.


> How can it be fixed other than reverting to 8.3.0?
>

You can always overwrite any CSS rules by adding your own CSS rules *after*
the ones you want to overwrite.
E.g.:
https://kendo.ui/.../material.css"/>
https://my.server.com/my-overwrites.css"/>

Martin


>
>
> Manfred
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>