Re: TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
You are right. I used a TextField. Thx! Am 28.05.14 15:49, schrieb Sven Meier: "cripsFld" is a TextArea? TextArea#onComponentTag(): public void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { checkComponentTag(openTag, "t

Re: TextArea and Collection as Model

2014-05-28 Thread Sven Meier
"cripsFld" is a TextArea? TextArea#onComponentTag(): public void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { checkComponentTag(openTag, "textarea"); The exception indicated you have some other component here. Sven

Re: TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
ver Am 28.05.14 15:23, schrieb Sven Meier: Hi, Wicket calls validators after conversion, thus if you have TextArea>, your validator has to be IValidator>. Let your CripBlockConverter do the format checking, I don't see the need for your converter. >But now Wicket complains 'Co

Re: TextArea and Collection as Model

2014-05-28 Thread Sven Meier
Hi, Wicket calls validators after conversion, thus if you have TextArea>, your validator has to be IValidator>. Let your CripBlockConverter do the format checking, I don't see the need for your converter. >But now Wicket complains 'Complains' means what? Sven

Re: TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
I solved now this problem by subclassing TextArea and over-writing convertInput(). But now Wicket complains if I reference this field as in my HTML template. I must declare it as but I need a Does someone know how to achive this? Bye, Oliver Am 28.05.14 14:27, schrieb Oliver B. Fischer

TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
Hi, I use a |TextArea| component in a form so that users can enter a set of IP addresses. The target model is of type |Collection|. I have written a validator to validate the raw user input an a converter to convert the string input into a collection of strings (|Collection|). Now I cannot

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Gabriel Landon
I remember having the same problem on a project I've done last year. Here's the code I'm using (I think that it's the "TinyMceAjaxSubmitModifier" that is important) : final TextArea textArea = new TextArea("property", getModel());

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Girts Ziemelis
nymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664309.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: us

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread jchappelle
The original issue is pretty old but tinymce in a modal window worked in 1.5 and it is not working in 6.13.0. I guess I'm going to have to redesign my pages to not use the tinymce in a modal window. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea

Re: tinymce textarea in a modal window not letting to type

2014-02-06 Thread Andrea Del Bene
ext: > http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscr

Re: tinymce textarea in a modal window not letting to type

2014-02-05 Thread jchappelle
I am having this same issue in wicket 6.13.0. Any fixes as of yet? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html Sent from the Users forum mailing list archive at Nabble.com

Re: tinymce textarea in a modal window not letting to type

2014-01-23 Thread fachhoch
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663912.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-un

Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
here is my code trying with tinymce and modalwindow wicket and tinymce 6.12.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663886.html Sent from the Users forum mailing list archive at

Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
appended to target for tinymce to work this script is not complete. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663884.html Sent from the Users forum mailing list archive at Nabble.com

RE: Modifying model output to TextArea

2013-10-15 Thread dgn
You nailed it asking about convertToString(). In the custom converter I'd taken great care in converting the TextArea input to List. Then, somewhat blindly, in convertToString() just took that List and returned a toString() which, as as List toString() does, returned the enclosed objects w

RE: Modifying model output to TextArea

2013-10-15 Thread Paul Bors
ss up your workflow. ~ Thank you, Paul Bors -Original Message- From: dgn [mailto:david_nei...@hms.harvard.edu] Sent: Tuesday, October 15, 2013 2:45 PM To: users@wicket.apache.org Subject: Modifying model output to TextArea I'm stumped in how to modify model output for redisplay on a

Modifying model output to TextArea

2013-10-15 Thread dgn
I'm stumped in how to modify model output for redisplay on a web page after confirmation. I have a TextArea> that gets added to a form. On submission I have a custom converter that work fine to transform the input into a model object with the same type of member. After form submit th

Re: Problem with AjaxButton and textarea CKeditor.

2013-08-03 Thread Raul
I've solved it myself, in case anyone finds it useful, pass the link where is the solution http://stackoverflow.com/questions/7657816/ckeditor-ajax-issue -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-AjaxButton-and-textarea-CKe

Possible bug with AjaxButton and textarea.

2013-08-03 Thread Raul
Hi, I have a form with a textarea using CKEditor, I need to send the contents of the textarea to the server. When using a standard Button, content is submit correctly, but when AjaxButton type, the data is not sent to the server. I tried to remove the comportamient CKEditor, and AjaxButton if it

Re: TinyMCE and textarea : validation problem

2011-12-29 Thread ricmancio
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 an

Re: TinyMCE and textarea : validation problem

2011-12-28 Thread Michal Letynski
How your submit button looks like ? You need to copy value from tiny to textarea. tinyMCE.triggerSave(true,true); Look at the TinyMceAjaxButton and TinyMceAjaxSubmitModifier. Regards, Michal W dniu 2011-12-28 20:20, ricmancio pisze: I have a panel where I have a form,feedback and textarea

TinyMCE and textarea : validation problem

2011-12-28 Thread ricmancio
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",

Re: creating a textarea with a radiobutton using Listview

2011-10-12 Thread wholalotta
context: http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3899670.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

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

2011-09-29 Thread Igor Vaynberg
.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 validati

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

2011-09-29 Thread Martin Grigorov
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

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

2011-09-29 Thread manuelbarzi
om 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 1.5.0. &

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

2011-09-29 Thread Martin Grigorov
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 1.5.0. >> We expand some HTML elements from to

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: > Thi

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

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 Vaynb

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:

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, man

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

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,

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, manuelbar

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 >      |

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 >         |-TextAr

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

Re: creating a textarea with a radiobutton using Listview

2011-09-27 Thread wholalotta
://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3848282.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: creating a textarea with a radiobutton using Listview

2011-09-26 Thread wholalotta
target.addComponent(inputForm); } }; item.add(a); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3844783.html Sent from

Re: creating a textarea with a radiobutton using Listview

2011-09-26 Thread manuelbarzi
nt to do that. > >                ListView listView = new ListView("list", data) >                { > >                    @Override >                    protected void populateItem(final ListItem item) { >                            NameWrapper wrapper = >

Re: creating a textarea with a radiobutton using Listview

2011-09-26 Thread wholalotta
uot;list", data) { @Override protected void populateItem(final ListItem item) { NameWrapper wrapper = (NameWrapper)item.getModelObject(); item.add(new TextArea("name", new PropertyModel(wrapper, "name"

Re: creating a textarea with a radiobutton using Listview

2011-09-23 Thread manuelbarzi
> First I created one checkbox and one textfield for each line. And when the > user selects the checkbox I was able to set the related boolean values > succesfuly. But I needed to put a restriction. Only one checkbox can be > selected to submit the form in the followıng structure.

Re: creating a textarea with a radiobutton using Listview

2011-09-22 Thread wholalotta
the form in the followıng structure. Textarea checkbox Textarea checkbox Textarea checkbox Textarea checkbox So I decided to put radiobutton instead of checkboxes..So you are saying that this cant be done neither radiobuttons nor checkboxes. Do I have to implement some javascrıpt code to block

Re: creating a textarea with a radiobutton using Listview

2011-09-22 Thread manuelbarzi
", new Model(Boolean.FALSE), >                                                adminRadioGroup)); > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3833068.html > Sent f

Re: creating a textarea with a radiobutton using Listview

2011-09-22 Thread wholalotta
Radio("radioCheck", new Model(Boolean.FALSE), adminRadioGroup)); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3833068.html Sent from the Users for

Re: creating a textarea with a radiobutton using Listview

2011-09-22 Thread manuelbarzi
populateItem(ListItem item) { >                                        NameWrapper wrapper = > (NameWrapper)item.getModelObject(); >                                        item.add(new TextArea("name", new > PropertyModel(wrapper, "name")))

Re: creating a textarea with a radiobutton using Listview

2011-09-21 Thread wholalotta
oid populateItem(ListItem item) { NameWrapper wrapper = (NameWrapper)item.getModelObject(); item.add(new TextArea("name", new PropertyModel(wrapper, "name"))); final RadioGroup adminRadioGroup

Re: creating a textarea with a radiobutton using Listview

2011-09-21 Thread manuelbarzi
etIndex(); >> } >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3829760.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >>

Re: creating a textarea with a radiobutton using Listview

2011-09-21 Thread manuelbarzi
ex >        ((Item)item.getParent().getParent()).getIndex(); > } > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3829760.html > Sent f

Re: creating a textarea with a radiobutton using Listview

2011-09-21 Thread wholalotta
) { // cell index item.getIndex(); // row index ((Item)item.getParent().getParent()).getIndex(); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3829760.html Sent from the Users

Re: creating a textarea with a radiobutton using Listview

2011-09-21 Thread manuelbarzi
may repeaters usage help you https://cwiki.apache.org/WICKET/listview-and-other-repeaters.html . On Wed, Sep 21, 2011 at 1:08 PM, wholalotta wrote: > Hi, > > I want to create a form which contains textareas and radiobuttons line by > line like; > > Textarea Radiobutton >

creating a textarea with a radiobutton using Listview

2011-09-21 Thread wholalotta
Hi, I want to create a form which contains textareas and radiobuttons line by line like; Textarea Radiobutton Textarea Radiobutton My object to fill via a form contains two fields; public Class Line () { private String textInput; private Boolean isSelected; } My aim is to take some

Re: textarea

2011-03-30 Thread Thierry Peng
On 03/30/2011 11:19 AM, Martin Grigorov wrote: no, it doesn't cache it seems the textarea is not involved at all in the ajax request processing and its model is not needed On Wed, Mar 30, 2011 at 10:52 AM, Thierry Peng wrote: Quick question about textareas I have on a panel two compone

Re: textarea

2011-03-30 Thread Martin Grigorov
no, it doesn't cache it seems the textarea is not involved at all in the ajax request processing and its model is not needed On Wed, Mar 30, 2011 at 10:52 AM, Thierry Peng wrote: > Quick question about textareas > > I have on a panel two component, a textarea with a xml and a labe

textarea

2011-03-30 Thread Thierry Peng
Quick question about textareas I have on a panel two component, a textarea with a xml and a label. the label gets updated (via ajax)but the textarea not. form2.add(area = new TextArea("userdata", new LoadableDetachableModel() { @Override protected S

RE: Wicket TextArea - Current Buffer Size?

2011-01-16 Thread Corbin, James
Thanks Jeremy. I thought AjaxFormComponentUpdatingBehavior was the appropriate behavior. I'll try again. J.D. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Sunday, January 16, 2011 4:24 PM To: users@wicket.apache.org Subject: Re: Wicket Tex

Re: Wicket TextArea - Current Buffer Size?

2011-01-16 Thread Jeremy Thomerson
excuse spelling, formatting, or compiler errors On Jan 16, 2011 5:18 PM, "Corbin, James" wrote: Is it possible to get the current character count from a TextArea component in Wicket by attaching an AjaxEventBehavior? I successfully capture an onkeypress event, but not sure how I am supposed to

Wicket TextArea - Current Buffer Size?

2011-01-16 Thread Corbin, James
Is it possible to get the current character count from a TextArea component in Wicket by attaching an AjaxEventBehavior? I successfully capture an onkeypress event, but not sure how I am supposed to get the raw input in the TextArea. I know that the model won't be updated until the pos

Re: New lines are trimmed in textarea after ajaxrefresh

2010-12-14 Thread Martin Makundi
Hmmm.. wicket trims strings anyways? 2010/12/14 Michał Letyński : > Hi. > I have TextArea component with shouldTrimInput() set to false. It has > AjaxFormComponentUpdatingBehavior("onblur") attached for validating purpose. > On every update it refresh itself. And after u

New lines are trimmed in textarea after ajaxrefresh

2010-12-14 Thread Michał Letyński
Hi. I have TextArea component with shouldTrimInput() set to false. It has AjaxFormComponentUpdatingBehavior("onblur") attached for validating purpose. On every update it refresh itself. And after update newline from the begining of textarea is trimmed. I debug wickets up to getRepon

Re: TextArea StringValidator and DateValidator

2010-07-22 Thread Nivedan Nadaraj
scriptionTxtArea must be wicket:id of your TextField > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Re-TextArea-StringValidator-and-DateValidator-tp2298113p2298722.html > Sent from the Wicket - Use

Re: TextArea StringValidator and DateValidator

2010-07-22 Thread vov
Create XML file that named same with your class and put ot it YOUR TEXT HERE is not between ${minimum} and ${maximum} characters long instead studyDescriptionTxtArea must be wicket:id of your TextField -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Re-TextArea

Re: TextArea StringValidator and DateValidator

2010-07-21 Thread Nivedan Nadaraj
Hi All This is related to validating two types of Form components with Wicket 1.4.9 1.Validating a TextArea using the StringValidator to check for a min and max length. studyDescriptionTxtArea.add(StringValidator.lengthBetween(1, 255)); When I tested with a text content that triggers this

Re: formsubmitbehaviour and textarea with tinymce behaviour

2010-05-05 Thread Josh Glassman
http://wicketbyexample.com/wicket-tinymce-some-advanced-tips/

formsubmitbehaviour and textarea with tinymce behaviour

2010-05-05 Thread tubin gen
I have a form with a checkbox , text and a textarea with tinymce behaviour. I addedAjaxFormSubmitBehavior to the checkbox here the code add(new CheckBox("concur"){ { add(new AjaxFormSubmitBehavior(ResolveFindingForm.this,"onChange"){ @Override protected void onSubm

SV: TinyMCE + TextArea + Jackrabbit

2010-05-04 Thread Wilhelmsen Tor Iver
> Using wicketstuff tinymce 1.4.1 attached to a TextArea, it seems I > cannot get it to stop escaping the resulting HTML: > > TextArea textArea = new > TextArea("threadSubjectTextInput", new Model("")); > textArea.setEscapeModelStrings

TinyMCE + TextArea + Jackrabbit

2010-05-04 Thread Wilhelmsen Tor Iver
Using wicketstuff tinymce 1.4.1 attached to a TextArea, it seems I cannot get it to stop escaping the resulting HTML: TextArea textArea = new TextArea("threadSubjectTextInput", new Model("")); textArea.setEscapeModelStrings(false); Tiny

Re: TextArea in repeater doesn't update it's model

2010-02-12 Thread Igor Vaynberg
pagina; >  final Label codi; > final TextArea valor; > SubmitLink link; >  final AccTextosWrapper tWrapper = (AccTextosWrapper)arg0.getModelObject(); >  pagina = new Label("pagina", tWrapper.getPagina()); >  codi = new Label("codi",tWrapper.getCodi()); >  c

Re: TextArea in repeater doesn't update it's model

2010-02-12 Thread Rubén khanser
Ok i got it solved using a Form in each row that contains the textarea and the submitlink. Thanks El 12 de febrero de 2010 09:53, Rubén khanser escribió: > It still doesn't work. Do I need a form inside my repeater? > > protected void populateItem(Item arg0) { > Label pagin

Re: TextArea in repeater doesn't update it's model

2010-02-12 Thread Rubén khanser
It still doesn't work. Do I need a form inside my repeater? protected void populateItem(Item arg0) { Label pagina; final Label codi; final TextArea valor; SubmitLink link; final AccTextosWrapper tWrapper = (AccTextosWrapper)arg0.getModelObject(); pagina = new Label(&q

Re: TextArea in repeater doesn't update it's model

2010-02-11 Thread Igor Vaynberg
submit link if you want the values to be submitted >> back to the server >> >> -igor >> >> 2010/2/11 Rubén khanser : >> > I have an AjaxFallBackLink that executes an update in a service, but i >> need >> > the textArea of the same row to be u

Re: TextArea in repeater doesn't update it's model

2010-02-11 Thread Rubén khanser
ce, but i > need > > the textArea of the same row to be updated. I have wasted all morning but > i > > can't still make it work. > > > > I reached this point: > > > > DataView dv = new DataView("dataView",ldp) { > > private stat

Re: TextArea in repeater doesn't update it's model

2010-02-11 Thread Igor Vaynberg
you need to use a submit link if you want the values to be submitted back to the server -igor 2010/2/11 Rubén khanser : > I have an AjaxFallBackLink that executes an update in a service, but i need > the textArea of the same row to be updated. I have wasted all morning but i > can

TextArea in repeater doesn't update it's model

2010-02-11 Thread Rubén khanser
I have an AjaxFallBackLink that executes an update in a service, but i need the textArea of the same row to be updated. I have wasted all morning but i can't still make it work. I reached this point: DataView dv = new DataView("dataView",ldp) { private st

Re: making tinyMce TextArea readonly

2010-01-12 Thread fachhoch
s(TinyMCESettings.Toolbar.third, new > ArrayList()); > setToolbarButtons(TinyMCESettings.Toolbar.fourth, new > ArrayList()); > > setToolbarAlign(TinyMCESettings.Align.center); > setToolbarLocation(TinyMCESettings.Location.top); > setStatusbarLocatio

Re: making tinyMce TextArea readonly

2010-01-12 Thread Steve Swinsburg
izing(true); setHorizontalResizing(true); } } It's then used like so: TextArea otherInformation = new TextArea("otherInformation", new PropertyModel(userProfile, "otherInformation")); //add TinyMCE control otherInformati

Re: making tinyMce TextArea readonly

2010-01-12 Thread fachhoch
k. > http://old.nabble.com/making-tinymce-textarea-read-only-td23160313.html#a23170821 > > //Swanthe > > tubin gen wrote: >> I ma trying to make TextArea with TinyMce behaviour readonly , I added >> the following custom settings but it did not work >> tinyMCE

Re: TextArea with list of strings.

2009-12-04 Thread Igor Vaynberg
overrwrite getmodelvalue() and convert it to string there -igor On Fri, Dec 4, 2009 at 2:10 PM, Sam Barrow wrote: > I'll try that. > What about the problem with the square brackets? I can't find a function > to override that allows me to format the text inside the textarea

Re: TextArea with list of strings.

2009-12-04 Thread Sam Barrow
I'll try that. What about the problem with the square brackets? I can't find a function to override that allows me to format the text inside the textarea On Fri, 2009-12-04 at 14:01 -0800, Igor Vaynberg wrote: > ok, override convertValue() instead of convertInput() and then the >

Re: TextArea with list of strings.

2009-12-04 Thread Igor Vaynberg
>> > locale) >> > { >> >                return value.toString(); >> >        } >> > >> > } >> > >> > >> > On Fri, 2009-12-04 at 12:16 -0800, Igor Vaynberg wrote: >> >> you should do convertToObject() call in a tr

Re: TextArea with list of strings.

2009-12-04 Thread Sam Barrow
) > > { > >return value.toString(); > >} > > > > } > > > > > > On Fri, 2009-12-04 at 12:16 -0800, Igor Vaynberg wrote: > >> you should do convertToObject() call in a try block, catch any > >> exception an

Re: TextArea with list of strings.

2009-12-04 Thread Igor Vaynberg
); >        } > > } > > > On Fri, 2009-12-04 at 12:16 -0800, Igor Vaynberg wrote: >> you should do convertToObject() call in a try block, catch any >> exception and throw a conversionexception >> >> -igor >> >> On Fri, Dec 4, 2009 at 11:32 AM, Sam Bar

Re: TextArea with list of strings.

2009-12-04 Thread Sam Barrow
eturn value.toString(); } } On Fri, 2009-12-04 at 12:16 -0800, Igor Vaynberg wrote: > you should do convertToObject() call in a try block, catch any > exception and throw a conversionexception > > -igor > > On Fri, Dec 4, 2009 at 11:32 AM, Sam Barrow wrote: > > &g

Re: TextArea with list of strings.

2009-12-04 Thread Igor Vaynberg
you should do convertToObject() call in a try block, catch any exception and throw a conversionexception -igor On Fri, Dec 4, 2009 at 11:32 AM, Sam Barrow wrote: > > I am trying to make a TextArea that allows you to input a list of > strings (separated by a newline) and turns that li

TextArea with list of strings.

2009-12-04 Thread Sam Barrow
I am trying to make a TextArea that allows you to input a list of strings (separated by a newline) and turns that list into a Collection. I had it working but it was kind of hacked together, I'm trying to do it the clean way now. I have it working except for two things: If I give it an

Re: making tinyMce TextArea readonly

2009-12-03 Thread Swanthe Lindgren
You have to download the source and repack it with new javascripts to make it work. http://old.nabble.com/making-tinymce-textarea-read-only-td23160313.html#a23170821 //Swanthe tubin gen wrote: I ma trying to make TextArea with TinyMce behaviour readonly , I added the following custom

RE: making tinyMce TextArea readonly

2009-12-02 Thread Alex Rass
e who knows how to wants to help? -Original Message- From: tubin gen [mailto:fachh...@gmail.com] Sent: Wednesday, December 02, 2009 11:34 AM To: users Subject: making tinyMce TextArea readonly I ma trying to make TextArea with TinyMce behaviour readonly , I added the following custom

making tinyMce TextArea readonly

2009-12-02 Thread tubin gen
I ma trying to make TextArea with TinyMce behaviour readonly , I added the following custom settings but it did not work tinyMCESettings.addCustomSetting("readonly : true"); tinyMCESettings.addCustomSetting("mode : textareas"); please suggest me how to make it readonly ?

tinymce textarea hidden in form

2009-11-02 Thread tubin gen
My form has tinymce text area so I added TinyMceAjaxButton , now due to new requirements sometimes I have to hide tinymce textarea , anytime I hide tinymce text area the TinyMceAjaxButton submit button does not work , Is there a way I can use the TinyMceAjaxButton without tinynmce

RE: Form Data Not Available When Testing a TextArea component

2009-09-25 Thread Caristi, Joe
Thank you. That was it. I appreciate the help! -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, September 25, 2009 12:22 PM To: users@wicket.apache.org Subject: Re: Form Data Not Available When Testing a TextArea component clickLink() ? shouldnt you

Re: Form Data Not Available When Testing a TextArea component

2009-09-25 Thread Igor Vaynberg
clickLink() ? shouldnt you be submitting the form? links dont submit forms afaik. -igor On Fri, Sep 25, 2009 at 8:21 AM, Caristi, Joe wrote: > I have a very simple Wicket web page with one TextArea for data entry on a > form.  This is contained in a NavomaticBorder.  The form works pr

Form Data Not Available When Testing a TextArea component

2009-09-25 Thread Caristi, Joe
I have a very simple Wicket web page with one TextArea for data entry on a form. This is contained in a NavomaticBorder. The form works properly, as the data is successfully saved to the database when the Submit button is clicked. My JUnit test fails however, because the data is null. I am

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
t; first on the uploaded file, and then another time on the textarea when > pressing the wizard's next button. > > I tried replacing my "fixup" with this one but got a big fat > java.lang.NoSuchFieldException > on getDeclaredField( name) line in the co

Re: upload file content to textarea

2009-09-16 Thread Sam Zilverberg
I'd rather use some other method than mine, because with mine the validation of input is done twice when uploading. first on the uploaded file, and then another time on the textarea when pressing the wizard's next button. I tried replacing my "fixup" with this o

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
nd creating a correct object model (Set)  out of it, >> then setting the modelObject of the textarea to be this filtered one. > > Good, so you got the upload part working. > > By reflection I mean that instead of setting model object you could do > this, if necessary: >

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
Hi! > I currently solved this problem by "filtering" the input from the uploaded > file and creating a correct object model (Set)  out of it, > then setting the modelObject of the textarea to be this filtered one. Good, so you got the upload part working. By reflection I m

Re: upload file content to textarea

2009-09-16 Thread Sam Zilverberg
orks so i could use it in my project. ??how does the behaviour know how to update the clock?? I currently solved this problem by "filtering" the input from the uploaded file and creating a correct object model (Set) out of it, then setting the modelObject of the textarea to be this fil

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
1. You know how to upload file? http://www.wicket-library.com/wicket-examples/upload/single -> or ajax upload http://blog.demay-fr.net/index.php/2007/12/07/93-simulate-ajax-file-upload-with-wicket 2. Just put the file contents into textarea with jafa reflection. 3. AJax update the textarea: h

Re: upload file content to textarea

2009-09-16 Thread Sam Zilverberg
sounds good, but how do I do this? :) On Wed, Sep 16, 2009 at 9:45 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > You could ajax update the textarea after upload, with the content that > you want? If you do not want to set the model object then you will > h

  1   2   >