Re: Modern javascript/html code generation, is Wicket the only one?

2013-12-03 Thread Paul Bors
Take your pick: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java On Tue, Dec 3, 2013 at 10:10 AM, Brown, Berlin [PRI-1PP] < berlin.br...@primerica.com> wrote: > This is more a general question. Is wicket pretty much the only > mainstream java framework that generates j

Modern javascript/html code generation, is Wicket the only one?

2013-12-03 Thread Brown, Berlin [PRI-1PP]
This is more a general question. Is wicket pretty much the only mainstream java framework that generates javascript calls from Java code. E.g. Wicket generates ajax code for those particular widgets. With the web moving to javascript heavy frameworks, does struts/spring mvc really stand up if

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread Igor Vaynberg
wicket can be used for any xml-based markup, not just html... -igor On Thu, Sep 29, 2011 at 1:16 AM, Martin Grigorov wrote: > Wicket uses (custom) XML parser when loading the HTML. > is a valid xml and thus it doesn't fail. > > HTML validator is a dirty job because different browsers implement

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread Martin Grigorov
Wicket uses (custom) XML parser when loading the HTML. is a valid xml and thus it doesn't fail. HTML validator is a dirty job because different browsers implement the specs differently ... :-/ On Thu, Sep 29, 2011 at 10:02 AM, manuelbarzi wrote: >> Wicket doesn't act as (X)HTML validator. It ne

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread manuelbarzi
> Wicket doesn't act as (X)HTML validator. It never did. but if you forget some closing tag, for instance, you might be sure it will complain... then why not validating other tags too, and fully validate (x)html. On Thu, Sep 29, 2011 at 9:56 AM, Martin Grigorov wrote: > Wicket doesn't act as

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread Martin Grigorov
Wicket doesn't act as (X)HTML validator. It never did. You may use https://github.com/dashorst/wicket-stuff-markup-validator for that On Thu, Sep 29, 2011 at 9:53 AM, manuelbarzi wrote: > sure, as you may have read, i already tested on wicket 1.5.0 and > renders ok. but from the point of view of

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread manuelbarzi
sure, as you may have read, i already tested on wicket 1.5.0 and renders ok. but from the point of view of validation, a textarea cannot be a single-closed tag, is an "illegal" code, as it goes against the spec (igor). On Thu, Sep 29, 2011 at 9:49 AM, Martin Grigorov wrote: > This is improved in

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread Martin Grigorov
This is improved in 1.5.0. We expand some HTML elements from to You are recommended to upgrade. On Thu, Sep 29, 2011 at 9:44 AM, manuelbarzi wrote: > tested on wicket 1.5.0 and paradoxically a single-closed textarea tag > does validate as "legal" too, like in wicket 1.4.17/18, and renders > co

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-29 Thread manuelbarzi
tested on wicket 1.5.0 and paradoxically a single-closed textarea tag does validate as "legal" too, like in wicket 1.4.17/18, and renders correctly, contrary to wicket 1.4.17/18. issue https://issues.apache.org/jira/browse/WICKET-4094 On Wed, Sep 28, 2011 at 7:30 PM, Igor Vaynberg wrote: > file

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread Igor Vaynberg
file a jira issue -igor On Wed, Sep 28, 2011 at 9:52 AM, manuelbarzi wrote: > right. > > may wicket html validation complain in future version for this > particular case. low priority issue... > . > > > > On Wed, Sep 28, 2011 at 6:42 PM, Igor Vaynberg > wrote: >> per html spec textarea must ha

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread manuelbarzi
right. may wicket html validation complain in future version for this particular case. low priority issue... . On Wed, Sep 28, 2011 at 6:42 PM, Igor Vaynberg wrote: > per html spec textarea must have a closing tag... > > -igor > > On Wed, Sep 28, 2011 at 9:25 AM, manuelbarzi wrote: >> TextAre

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread manuelbarzi
confirmed: a single self-closed textarea tag () makes rendering fail in this wicket version. it does not complain about textarea markup (neither html editor), but renders it containing the remaining html escaped inside, and setting a closing textarea tag at the end. only double opening-closing tex

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread Igor Vaynberg
per html spec textarea must have a closing tag... -igor On Wed, Sep 28, 2011 at 9:25 AM, manuelbarzi wrote: > TextArea is one-self-closed tag <.../>. > > should TextArea  two-opening-closing tags <...>... work fine. > > > > On Wed, Sep 28, 2011 at 6:18 PM, manuelbarzi wrote: >> this error happe

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread manuelbarzi
should a single closed textarea tag be a problem? neither html editor nor wicket markup validation complains about it. . On Wed, Sep 28, 2011 at 6:26 PM, Igor Vaynberg wrote: > sounds like a problem with your html... > > -igor > > > On Wed, Sep 28, 2011 at 9:18 AM, manuelbarzi wrote: >> this e

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread manuelbarzi
TextArea is one-self-closed tag <.../>. should TextArea two-opening-closing tags <...>... work fine. On Wed, Sep 28, 2011 at 6:18 PM, manuelbarzi wrote: > this error happens on this simple composite (wicket 1.4.17): > > Page >   |-Panel >      |-Form >         |-TextField >         |-TextFiel

Re: pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread Igor Vaynberg
sounds like a problem with your html... -igor On Wed, Sep 28, 2011 at 9:18 AM, manuelbarzi wrote: > this error happens on this simple composite (wicket 1.4.17): > > Page >   |-Panel >      |-Form >         |-TextField >         |-TextField >         |-TextArea >         |-TextField >         |-

pretty strange behavior with TextArea containing remaining output html code inside

2011-09-28 Thread manuelbarzi
this error happens on this simple composite (wicket 1.4.17): Page |-Panel |-Form |-TextField |-TextField |-TextArea |-TextField |-TextField |-Button |-Button when just rendering this simple page (no logic implemented yet), th

HTML code for null values in AbstractSingleSelectChoice

2009-08-11 Thread Stefan Lindner
Is there anything that stands against replacing with   For an empty option in a AbstractSingleSelectChoice? This would make an empty option valid in XHTML. ShallI open an issue o rare there any good reasons not to keep the current variant? Stefan

Re: Automatic inserting HTML code

2008-10-22 Thread Igor Vaynberg
ot;myImg", new ResourceReference ("myImg"))); > Now I need to automatically add the correspond HTML code > > to the web page when I use this component. > > E.G. > JAVA > . > add (new MyAjaxLink ("myLink") { > @Override > public void onClick (Ajax

Automatic inserting HTML code

2008-10-22 Thread Milan Křápek
. In constructor of this component I just add the image to it. add (new Image ("myImg", new ResourceReference ("myImg"))); Now I need to automatically add the correspond HTML code to the web page when I use this component. E.G. JAVA . add (new MyAjaxLink (&qu

Re: html code in component class

2008-10-10 Thread James Carman
he html that you've given.. >> >> >> >> -----Original Message- >> From: miro [mailto:[EMAIL PROTECTED] >> Sent: Fri 10/10/2008 12:20 AM >> To: users@wicket.apache.org >> Subject: Re: html code in component class >> >> >

RE: html code in component class

2008-10-10 Thread Seven Corners
his way the label will display only the html that you've given.. > > > > -Original Message- > From: miro [mailto:[EMAIL PROTECTED] > Sent: Fri 10/10/2008 12:20 AM > To: users@wi

RE: html code in component class

2008-10-09 Thread Serkan Camurcuoglu
l Message- From: miro [mailto:[EMAIL PROTECTED] Sent: Fri 10/10/2008 12:20 AM To: users@wicket.apache.org Subject: Re: html code in component class here the html again

Re: html code in component class

2008-10-09 Thread miro
want to write it once > and reuse it in the please twell me how ? > > > > Peter Ertl-3 wrote: >> >> If it's just a line use Label >> >> Am 09.10.2008 um 21:01 schrieb miro: >> >>> >>> Using panel I have to write a .html file which I dont

Re: html code in component class

2008-10-09 Thread miro
t; Using panel I have to write a .html file which I dont want to do >> becasue my >> html code is very little just a line , >> next option is Fragment but this is not clear, neither the api doc >> nor the >> wicket examples please can you give me small example

Re: html code

2008-10-09 Thread Timm Helbig
Hi, 1) I would choose a Panel 2) Sounds like Markup Inheritance would help you here. Create some Base Panel and then extend this class and the markup and include the different Components, if any. Hope this helps Regards, Timm Am Thursday 09 October 2008 19:08:25 schrieb miro: > I have a page

Re: html code in component class

2008-10-09 Thread Peter Ertl
If it's just a line use Label Am 09.10.2008 um 21:01 schrieb miro: Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples pleas

Re: html code in component class

2008-10-09 Thread miro
Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples please can you give me small example using fragment ? jwcarman wrote: > >

Re: html code in component class

2008-10-09 Thread James Carman
and I dont want a write a new .html file >>> and >>> just in my component i want to override some method which returns html >>> as >>> string for the component .Is this possible ? >>> -- >>> View this message in context: >>> ht

Re: html code in component class

2008-10-09 Thread miro
file >> and >> just in my component i want to override some method which returns html >> as >> string for the component .Is this possible ? >> -- >> View this message in context: >> http://www.nabble.com/html-code

Re: html code in component class

2008-10-09 Thread James Carman
which returns html as > string for the component .Is this possible ? > -- > View this message in context: > http://www.nabble.com/html-code-in-component-class-tp19903944p19903944.html > Sent from the Wicket - User

html code in component class

2008-10-09 Thread miro
like I have very little html and I dont want a write a new .html file and just in my component i want to override some method which returns html as string for the component .Is this possible ? -- View this message in context: http://www.nabble.com/html-code-in-component-class

html code

2008-10-09 Thread miro
html is very little and i dont want to create a html page instead I want customize the lookup of html ie just tell wicket use this html to render my custom component or give wickwet some html to render my component -- View this message in context: http://www.nabble.com/html-code

Re: How to send response without HTML code

2008-06-11 Thread Peter Ertl
I think this is what AbortWithWebErrorCodeException is for Am 11.06.2008 um 13:24 schrieb Erik van Oosten: Hi Milan, I think you should throw the exception AbortWithHttpStatusException. If you change your mind and want to set the HTTP status code, but provide content as well, then call some

Re: How to send response without HTML code

2008-06-11 Thread Erik van Oosten
Hi Milan, I think you should throw the exception AbortWithHttpStatusException. If you change your mind and want to set the HTTP status code, but provide content as well, then call something like ((WebResponse)getResponse).getHttpServletResponse().setStatus(HttpServletResponse.SC_...) in the c

Re: How to send response without HTML code

2008-06-11 Thread Milan Křápek
Thanks for response but this is not th exact thing I want. I need to know the name of wicket component, where can I get access to request from user and fill the response for him. All I need is some parent class of WebPage. But this object must return just http code without any HTML. (I was not a

Re: How to send response without HTML code

2008-06-11 Thread Johan Compagner
them some html pages in response) and > server requests that expect only "HTTP/1.0 200 OK" or something similar with > different return code. > In my application I translate the URL called by server to some WebPage > class. This is wrong because WebPage needs some HTML c

How to send response without HTML code

2008-06-11 Thread Milan Křápek
pplication I translate the URL called by server to some WebPage class. This is wrong because WebPage needs some HTML code on the response. And I get this exception : WicketMessage: Markup of type 'html' for component 'eu.optimsys.plm.pages.recorder.CreateCallRecord' not found.

Re: HTML code inside language file

2007-12-13 Thread Johan Compagner
Does wicket:message tag escape the html? Make a jira issue for this On 12/12/07, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > And is there a way to this without a label, houst with the ? > > On Dec 12, 2007 1:23 PM, Sébastien Piller <[EMAIL PROTECTED]> wrote: > > > Marco Aurélio Silva a écrit

Re: HTML code inside language file

2007-12-12 Thread Marco Aurélio Silva
And is there a way to this without a label, houst with the ? On Dec 12, 2007 1:23 PM, Sébastien Piller <[EMAIL PROTECTED]> wrote: > Marco Aurélio Silva a écrit : > > Hi > > > > I'm trying to use some HTML codes with internationalized page. For > example, > > some texts have words in italic and I

Re: HTML code inside language file

2007-12-12 Thread Sébastien Piller
Marco Aurélio Silva a écrit : Hi I'm trying to use some HTML codes with internationalized page. For example, some texts have words in italic and I need to use the tag. But when wicket renders the text the tag is showed on screen instead make the word italic. Any suggestion? Thank you Marco

Re: HTML code inside language file

2007-12-12 Thread Nick Heudecker
setEscapeModelStrings(false) I think that's it. On Dec 12, 2007 8:13 AM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to use some HTML codes with internationalized page. For > example, > some texts have words in italic and I need to use the tag. But when > wicket renders t

HTML code inside language file

2007-12-12 Thread Marco Aurélio Silva
Hi I'm trying to use some HTML codes with internationalized page. For example, some texts have words in italic and I need to use the tag. But when wicket renders the text the tag is showed on screen instead make the word italic. Any suggestion? Thank you Marco