Re: table columns ajax update
Pedro, does it have or will it have capability to update some columns in a table with ajax timer ? table still is good but good to hear that you are doing major improvement in design ;) thank you ! -- regards, Vineet Semwal On Sun, Oct 4, 2009 at 3:57 AM, Pedro Santos wrote: > Hi Semwal, I'm currently working on Table class design to turn simple this > kind of extension. > > On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal > wrote: > > > can i update some columns in wicket-stuff table with ajax timer ? > > i have seen wicket-stuff table example but can't understand how to do it > .. > > > > -- > > regards, > > Vineet Semwal > > > > > > -- > Pedro Henrique Oliveira dos Santos >
Re: How to store/load strings shared by many (but not all) pages?
YourApplicationClass.properties sitting next to you YourApplicationClass.java/class will do the trick. all components/pages have access to properties stored there. -igor On Sat, Oct 3, 2009 at 8:32 PM, David Chang wrote: > I am reading <> and have this i18n/i10n-related question : > > Suppose that I have a string that is used on multiple (but NOT ALL) pages. > One solution is that I can put this string in the property files for each > page on which the string is used. > > Any other better solutions? > > Thanks for your input! > > > > > - > 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
Pagemap locked
I am getting seeing the following stack, but I'm not sure what the client is doing to cause this. Is there anyway I can tie this to the request logger to try and determine what they were doing that locked the pagemap? Thanks, java.io.FileOutputStream MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[TP-Processor17,5,main], giving up trying to get the page for path: 24 Begin of stack trace of Thread[TP-Processor17,5,main] java.io.FileOutputStream org.apache.wicket.protocol.http.request.InvalidUrlException:org.apache.wicket.WicketRuntimeException : After 1 minute the Pagemap null is still locked by: Thread[TP- Processor17,5,main], giving up trying to get the page for path: 24 Begin of stack trace of Thread[TP-Processor17,5,main] java.io.FileOutputStream.writeBytes(Native Method) java.io.FileOutputStream.write(Unknown Source) sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) sun.nio.cs.StreamEncoder.implWrite(Unknown Source) sun.nio.cs.StreamEncoder.write(Unknown Source) sun.nio.cs.StreamEncoder.write(Unknown Source) java.io.OutputStreamWriter.write(Unknown Source) java.io.PrintWriter.write(Unknown Source) java.io.PrintWriter.write(Unknown Source) org.apache.juli.FileHandler.publish(FileHandler.java:136) java.util.logging.Logger.log(Unknown Source) java.util.logging.Logger.doLog(Unknown Source) java.util.logging.Logger.log(Unknown Source) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1331) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:1334) com.steadystate.css.parser.SACParser.styleRuleDeclarations (SACParser.java:
Start a panel, border, or page with an XML declaration?
Hello, I am reading <>. The Tip on page 291 says "it is good practice to start your panels and borders (possibly your pages) with an XML declaration to force Wicket to work with them using the proper encoding". Does this mean that starting a panel, border, or page with something such as the following: -- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> ... -- is better than with: -- ... -- If yes, why do all the examples of the WIA book start simply with ...? Thanks for your help! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
How to store/load strings shared by many (but not all) pages?
I am reading <> and have this i18n/i10n-related question : Suppose that I have a string that is used on multiple (but NOT ALL) pages. One solution is that I can put this string in the property files for each page on which the string is used. Any other better solutions? Thanks for your input! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: table columns ajax update
Hi Semwal, I'm currently working on Table class design to turn simple this kind of extension. On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal wrote: > can i update some columns in wicket-stuff table with ajax timer ? > i have seen wicket-stuff table example but can't understand how to do it .. > > -- > regards, > Vineet Semwal > -- Pedro Henrique Oliveira dos Santos
Re: [ANN] wicket-dnd project
Well, google apps isn't what I call a performant hosting ;). 'In reality' (on your own server) dnd operations are as fast as any other AJAX roundtrip. Regards Sven Martin Makundi wrote: BTW, Why is the demo "very slow"? Is this what it is like in reality? ** Martin 2009/10/3 Ralf Eichinger : Sven Meier wrote: I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket. http://code.google.com/p/wicket-dnd/ I added it to the Wicket Wiki: http://cwiki.apache.org/confluence/display/WICKET/Related+Projects - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [ANN] wicket-dnd project
BTW, Why is the demo "very slow"? Is this what it is like in reality? ** Martin 2009/10/3 Ralf Eichinger : > Sven Meier wrote: >> >> I'm happy to announce wicket-dnd, a generic drag and drop framework for >> Wicket. >> >> http://code.google.com/p/wicket-dnd/ > > I added it to the Wicket Wiki: > http://cwiki.apache.org/confluence/display/WICKET/Related+Projects > > - > 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: [ANN] wicket-dnd project
Sven Meier wrote: I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket. http://code.google.com/p/wicket-dnd/ I added it to the Wicket Wiki: http://cwiki.apache.org/confluence/display/WICKET/Related+Projects - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: ProgressBar demo doesn't work for firefox 3.5.3
The UploadProgressBar does not work for me. -- View this message in context: http://www.nabble.com/ProgressBar-demo-doesn%27t-work-for-firefox-3.5.3-tp25717607p25729075.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [ANN] wicket-dnd project
Sven Meier schrieb: I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket. looks pretty slick! congrats. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [tinymce] problem adding/removing TinyMceBehavior dinamically
I get what the real problem is: tinyMce saves internally each "editor" that is added to a page in a list called, well, editors. When I remove the behavior from a textField, I should also call tinyMce.remove passing the editors as a parameter. I will try to do this but any help is appreciated :) This is for the checkbox that enable/disable the tinyMce behavior. I have a more subtle situation: I have a list of textFields and a button to add more. When I add a new field, I refresh the list via AJAX to show the new field. But, refreshing the list also causes the html id of any element in the list to change! So, when in the end I submit the form, tinyMce cannot find its editors anymore cause the parent DIV of the INPUT field that has an associated tinyMce editor just changed it's html id. Given that the id will change and there is no alternatives, I have to find a way to keep the associations or to clean all editors and recreate them at every list refresh. What is your suggesions? On Wed, Sep 30, 2009 at 5:20 PM, bgooren wrote: > > Well, that's what I meant with "preloading". You cannot use TinyMCE if > you're > loading its javascripts from your ajax request. If the TinyMCE scripts are > loaded from the containing page, then it will work (as you say). > > > nino martinez wael wrote: > > > > Actually AFAIK the resources just need to be on path, then you can pretty > > much do whatever you want. Could be what your definition of preloading > are > > :) > > > > I have a panel that are added by ajax so I had to make sure the resources > > used by that panel always where on the containing page. > > > > regards > > > > 2009/9/30 bgooren > > > >> > >> It's not possible to add TinyMCE dynamically due to the way TinyMCE > >> works. > >> What you can do however, is pre-load TinyMCE, and dynamically > >> enable/disable > >> it on a component. > >> > >> Daniele Dellafiore wrote: > >> > > >> > Hi. I have a problem with this example code: > >> > > >> > tinyMceBehavior = new TinyMceBehavior(); > >> > PropertyModel richProperty = new PropertyModel(model, > >> > "rich"); > >> > add(new AjaxCheckBox("switchRte", richProperty) { > >> > > >> > @Override > >> > protected void onUpdate(AjaxRequestTarget target) { > >> > if (getModelObject()) { > >> >textArea.add(tinyMceBehavior); > >> > } else { > >> >textArea.remove(tinyMceBehavior); > >> >tinyMceBehavior = new TinyMceBehavior(); > >> > } > >> > refresh(target); > >> > } > >> > }); > >> > > >> > the purpose is to have a checkbox that add and remove the > >> > TinyMceBehavior from a text area. > >> > It works fine but I have this problem: when I Submit the form the > >> > textArea is in after REMOVING the behavior, I have a javascript error: > >> > > >> > t.win.document is null > >> > > >> > firebug show the error in tiny_mce_src.js at line 5376 > >> > > >> > if (!r) > >> >r = isIE ? t.win.document.body.createTextRange() : > >> > t.win.document.createRange(); > >> > > >> > I am using tinymce 3.2.7 but the same problem occurs with tinymce used > >> > in trunk version of wicket-contrib-tinymce. > >> > > >> > the effect is that "submit" does not work. > >> > if I click on checkbox again, everything continue to work. > >> > Any idea? > >> > > >> > -- > >> > Daniele Dellafiore > >> > http://blog.ildella.net > >> > http://twitter.com/ildella > >> > > >> > - > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> > For additional commands, e-mail: users-h...@wicket.apache.org > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/-tinymce--problem-adding-removing-TinyMceBehavior-dinamically-tp25681833p25682644.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/-tinymce--problem-adding-removing-TinyMceBehavior-dinamically-tp25681833p25683255.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella
table columns ajax update
can i update some columns in wicket-stuff table with ajax timer ? i have seen wicket-stuff table example but can't understand how to do it .. -- regards, Vineet Semwal
[ANN] wicket-dnd project
Hi all, I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket. The API has not been fully stabilized yet but you are invited to take a first look: http://code.google.com/p/wicket-dnd/ Have fun Sven - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org