[Wicket-user] question about showing components or not

2006-11-24 Thread Francisco Treacy
Hi wicketers, I would like to ask you what's the best way to perform the following: Say I have Products. There are Products that have a Photo and there are Products that don't. // Set data to the page add(new Label(product-description, product.getDescription()));

Re: [Wicket-user] [solved] question about showing components or not

2006-11-24 Thread Francisco Treacy
Thanks for your answers, I finally found the best practice solution to my problem, well, I think so. Remember I was looking for a way to switch on/off a part of my page (that of course includes declared components in page class and in html markup). I'll try to explain why some approaches

[Wicket-user] wicket-contrib-tinymce textareas

2007-02-04 Thread Francisco Treacy
Hi wicketers, I'm having a problem/ doubt with a particular TinyMCE setting and its implementation in the wicket-contrib-tinymce project. How can I change tinyMCE.init({ mode : textareas, ... }); for tinyMCE.init({ ... mode : exact, elements : elm1,elm2 }); or mode : specific_textareas

Re: [Wicket-user] wicket-contrib-tinymce textareas

2007-02-06 Thread Francisco Treacy
basic TextArea textarea=new TextArea(...); textarea.add(new TinyMceEnable()); -igor On 2/4/07, Francisco Treacy wrote: Hi wicketers, I'm having a problem/ doubt with a particular TinyMCE setting and its implementation in the wicket-contrib-tinymce project. How can I change tinyMCE.init

Re: [Wicket-user] wicket-contrib-tinymce textareas

2007-02-08 Thread Francisco Treacy
Iulian: great. Please let me know when this is commited (i just looked up in svn and there were no new commits to wicket 1.2 branch in contrib tinymce). Igor: I saw the attachment, but when I clicked over the link, it took me to a sourceforge error page I'll wait for Iulian's correction,

[Wicket-user] delete row and update view?

2007-02-08 Thread Francisco Treacy
I have a DataView fed by a SortableDataProvider to display a pageable and sortable table. In each row, I have a link to delete the current item. My problem is that I cannot find the way to remove from the view the item I just deleted in the database by clicking on the link. I need to refresh

Re: [Wicket-user] delete row and update view?

2007-02-09 Thread Francisco Treacy
will the dataview. when it refreshes it will call methods on the dataprovider again and refresh accordingly -igor On 2/8/07, Francisco Treacy wrote: I have a DataView fed by a SortableDataProvider to display a pageable and sortable table. In each row, I have a link to delete the current item. My problem

[Wicket-user] render to file?

2007-02-11 Thread Francisco Treacy
Hi all, Is there a possibility to render a Wicket page to a file instead to the browser? In fact, i need to make an 'HTML offline export' of all products stored in database... how would you do to accomplish this, including stylesheets and images? (i already tried wget but I'm having problems

[Wicket-user] alternative to fragments?

2007-02-11 Thread Francisco Treacy
Hi all, Fragments allow to do selections in page's content, but I find this way too complicated to accomplish a simple if statement: I have a form. Inside it, an upload field, for images. Besides it, a little image preview and a delete link. I would like to easily switch between preview +

Re: [Wicket-user] render to file?

2007-02-14 Thread Francisco Treacy
! Date: Sun, 11 Feb 2007 14:08:16 -0800 From: Igor Vaynberg Subject: Re: [Wicket-user] render to file? To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 does wget keep the cookie for session tracking? -igor On 2/11/07, Francisco

[Wicket-user] specifying html template

2007-04-01 Thread Francisco Treacy
Hi, We all know that in Wicket for a given ExampleView.java we have an ExampleView.html associated markup. How can I dynamically specify the HTML template from my Java page? I'm exceptionally needing this: if (product.getReference().equals(C25-L)) { // trigger some code to use

Re: [Wicket-user] specifying html template

2007-04-01 Thread Francisco Treacy
I answer myself: VARIATIONS! Thanks anyway, Keep on with good work, Francisco - Message d'origine De : Francisco Treacy [EMAIL PROTECTED] À : wicket-user@lists.sourceforge.net Envoyé le : Dimanche, 1 Avril 2007, 22h35mn 33s Objet : specifying html template Hi, We all know