no question, *I replaced:*
Link link = new Link("download"){
@Override
public void onClick() {
IResourceStream stream = new FileResourceStream(new File(path + fileName));
getRequestCycle().scheduleRequestHandlerAfterCurrent(new
ResourceStreamReques
thanks for the suggestion, but now it works
also from the documentation:
*https://cwiki.apache.org/WICKET/migration-to-wicket-15.html*
*Redirect to non wicket or external page*
suggests replacing old code :
*
getRequestCycle().setRequestTarget(new
RedirectRequestTarget("/usage.html"));*
with:
In Wicket 1.4.x I used
Link link = new Link("download"){
@Override
public void onClick() {
*IResourceStream stream = new FileResourceStream(new File(path +
fileName));
getRequestCycle().setRequest
I solved it.
I added TinyMceAjaxSubmitModifier class to my AjaxButton:
fc = new AjaxButton("button",form){
.
};
fc.add(new TinyMceAjaxSubmitModifier());
form.add(fc);
*In conclusion:*
I added *TinyMceBehavior *to my textarea field
and
I added *TinyMceAjaxSubmitModif
I have a panel where I have a form,feedback and textarea field done so:
//*add feedback panel*
final FeedbackPanel feedback = new FeedbackPanel("feedback");
feedback.setOutputMarkupId(true);
add(feedback);
//*add form*
Form form = new Form("form",
new CompoundP