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 k

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

Re: [Wicket-user] render to file?

2007-02-14 Thread Francisco Treacy
: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, Francisc

[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 + de

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

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

2007-02-11 Thread Francisco Treacy
As Eelco suggested, i put a breakpoint in the iterator and it the (stupid) problem appeared. The row was effectively deleted but the refreshing was only made in the DataProvider's constructor (not in the iterator)... so... I'm sorry... just started working with these :) Thanks... Francisco Da

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

2007-02-09 Thread Francisco Treacy
lete link is done executing the page will refresh and so 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 >

[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] 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, t

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

2007-02-06 Thread Francisco Treacy
ehavior, might help you get a head start. the usage is pretty 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 >

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

[Wicket-user] wicked wicket words :)

2006-11-27 Thread Francisco Treacy
Hi, I just wanted to know if it's indeed possible (and how) to change wicket control generated words such as :wicket:interface: , and all other *wicket* stuff all over the place (I've already stripped out wicket html tags and attributes). Eg. to put :application:stuff: instead. Because I shall n

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 ar

[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] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Francisco Treacy
Hi all, I know I'm not addressing the exact issue, but just my two cents: I needed to dynamically specify the src attribute of the img tag, and I couldn't find great examples for doing this. And I adopted the following: WebMarkupContainer flag = new WebMarkupContainer("flag-image-path"); flag.a