What is the best way to create a Table that can recieve Ajax Updates

2009-12-15 Thread Daniel Ferreira Castro
Guys, I need to create a Table that will display JMS Messages and be ajax sensitive to a TreeView that is on the same page and I would like to use the javax.jms.Message class as a model of Columns, and add 3 extra columns to my model that are 2 checkboxes and a button. My difficulty is to underst

Problems with Ajax updating components

2009-12-14 Thread Daniel Ferreira Castro
Guys, I searched inside the list before posting that, but nothing was clarifying so I will ask here for help. My application have a Component that renders a List of Links. These links represents JMS Modules present on a domain that I am reading. After I click over one of the links A second compo

Image path alternatives

2009-04-20 Thread Daniel Ferreira Castro
I have a problem to solve. I have a file path that is outside the wicket application path. This path is used to store product images and my goal is to design a screen with a resultset that show the products and their images by its side. What is the best way to do that? I have the search showing

Re: Transformin a form into a component

2009-04-01 Thread Daniel Ferreira Castro
Thanks, it worked. :) On Wed, Apr 1, 2009 at 3:49 PM, Igor Vaynberg wrote: > put it into a panel > > -igor > > On Wed, Apr 1, 2009 at 11:46 AM, Daniel Ferreira Castro > wrote: > > I have a doubt about componentizing a Form. > > > > If I create a class, MyFor

Transformin a form into a component

2009-04-01 Thread Daniel Ferreira Castro
I have a doubt about componentizing a Form. If I create a class, MyForm.java, that extends Form Inside of it I declare all the form componets. After that I create the markup with all the components present on MyForm.java. I call it MyForm.html If I want to use it on a page, like MyPage for inst

Re: drag and drop

2009-04-01 Thread Daniel Ferreira Castro
I was reading the drag and drop thread, started on March 19th and trying to use the *yui *ajax implementation as the yui example suggests.But I am recieving an exception like that It is wierd because I declared the class field TargetSlot as transient. No matter if I declare it as transient or not

Ajax and FileUpload

2009-03-27 Thread Daniel Ferreira Castro
Guys, I know that XmlHttpRequest does not support upload. But maybe there is someone that managed a workaround for this case. Then I start to look around on the internet and found those two links. - http://blog.demay-fr.net/index.php/2007/12/07/93-simulate-ajax-file-upload-with-wicket - http://ww

Re: WYSIWYG component

2009-03-25 Thread Daniel Ferreira Castro
I solved the problem. The problem was due a incompatibility of TinyMCE with AjaxTabbedPanel. After I change it to TabbedPanel it worked. On Tue, Mar 24, 2009 at 6:19 PM, Daniel Ferreira Castro wrote: > I am still trying to make tinymce work on my project. But I only get a > simple tex

Re: WYSIWYG component

2009-03-24 Thread Daniel Ferreira Castro
the Project Restarted the jetty and launched the application. Nothing happened. Please, could anyone help me? On Fri, Mar 13, 2009 at 7:32 PM, Daniel Ferreira Castro wrote: > Great :) Thanks :) > The Exception stopped from ocurring, but I still have the problem of only > showing a TextArea wi

Re: WYSIWYG component

2009-03-13 Thread Daniel Ferreira Castro
Great :) Thanks :) The Exception stopped from ocurring, but I still have the problem of only showing a TextArea without the look of an WYSWYG edit text area. I looked inside https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples/src/main

Re: Propper Way to Use StringResourceModel

2009-03-13 Thread Daniel Ferreira Castro
t is not a ResourceBundle. On Fri, Mar 13, 2009 at 11:46 AM, Igor Vaynberg wrote: > each component is a resource bundle, not a model. you can use > component's getstring(..) to read any resource you want. > > -igor > > On Fri, Mar 13, 2009 at 4:19 AM, Daniel Ferreira Cast

Propper Way to Use StringResourceModel

2009-03-13 Thread Daniel Ferreira Castro
I have seen some examples of Pages that uses the StringResourceModel to read properties inside property files. But the examples that I saw shows that I need to create a StringResourceModel for each property that is inside my property file. So, If I have a Login page that have 3 properties, like l

Re: Depricated HeaderContributor.forJavaScript?

2009-02-26 Thread Daniel Ferreira Castro
Another doubt about this subject. I have overriden the addHeaders method like below. How should I do to make wicket write the charset property/attribute? @Override protected void addHeaders() { add(JavascriptPackageResource.getHeaderContribution(Index.class,"./javascript/jquery.js")); a

Re: WYSIWYG component

2009-02-25 Thread Daniel Ferreira Castro
By commenting the line SpellCheckPlugin spellCheckPlugin = new SpellCheckPlugin(); it runs, but appears only a TextArea without tools...a single TextArea. Why? :) On Wed, Feb 25, 2009 at 9:31 PM, Daniel Ferreira Castro wrote: > I did it. > > But now I am recievieng an error whn acce

Re: WYSIWYG component

2009-02-25 Thread Daniel Ferreira Castro
escribed on the > wicketstuff site. > > > > On Wed, Feb 25, 2009 at 5:20 PM, Daniel Ferreira Castro > wrote: > > > I am readig it now :) > > > > But I am not seeing a way to insert it as a dependency on my pom.xml > > (Maven). > > What is the latest version tha

Re: WYSIWYG component

2009-02-25 Thread Daniel Ferreira Castro
t-contrib-tinymce > > > > Daniel Ferreira Castro wrote: > > > > Guys, > > > > Maybe u know something about. > > Is there any *WYSIWYG* solution to use with Wicket? > > Ok, let me explain it better. I wanna make a way to an administrator be > > able

WYSIWYG component

2009-02-25 Thread Daniel Ferreira Castro
Guys, Maybe u know something about. Is there any *WYSIWYG* solution to use with Wicket? Ok, let me explain it better. I wanna make a way to an administrator be able to register a newsletter to send to it's clients. And I would like to be able to put an *WYSIWYG* interface on the page to be able

Propper Way to Format Money

2009-02-25 Thread Daniel Ferreira Castro
I would like an opinion about what is the propper, or more recommended, way to format a TextField to show money? Should I declare it TextField or TextField? And to format it with the money symbol ( Like US$) while you type? Any ideas? -- "Two rules to succeed in life: 1 - don´t tell people ever

Re: Drop Down Box - Ajax Behaviour

2009-02-19 Thread Daniel Ferreira Castro
The method getHibernateTransaction is a need :) Hibernate complains if I try to do a select without an active transaction. But this is not the case, it is working fine - no runtime errors - so it is ok at the moment :) My problem is that After I submit the form, inserting on the bank a new Categor

Re: Drop Down Box - Ajax Behaviour

2009-02-18 Thread Daniel Ferreira Castro
add(categoriaForm); closeTransaction(); closeSession(); } Please, can anyone help me? On Mon, Feb 16, 2009 at 7:34 PM, Daniel Ferreira Castro wrote: > *This is my form source code* > > package com.jasp.ecommfwk.pages.forms; > > import java.io.Serializable; > impo

Re: Wicket source code using Maven

2009-02-16 Thread Daniel Ferreira Castro
Thanks On Mon, Feb 16, 2009 at 10:43 PM, Igor Vaynberg wrote: > mvn eclipse:eclipse -DdownloadSources=true > > -igor > > On Mon, Feb 16, 2009 at 5:38 PM, Daniel Ferreira Castro > wrote: > > How to do to be able to download the source code of Wicket throught > Ma

Wicket source code using Maven

2009-02-16 Thread Daniel Ferreira Castro
How to do to be able to download the source code of Wicket throught Maven? I tried to insert it on my project pom, but didn't have success wicket-snaps http://wicketstuff.org/maven/repository true

Re: Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
*This is my form source code* package com.jasp.ecommfwk.pages.forms; import java.io.Serializable; import java.util.List; import org.apache.log4j.Logger; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior; import org.apache.wicket

Re: Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
> > Visit: http://jvdrums.sourceforge.net/ > LinkedIn: http://www.linkedin.com/in/egolan74 > > P Save a tree. Please don't print this e-mail unless it's really necessary > > > On Mon, Feb 16, 2009 at 2:13 PM, Daniel Ferreira Castro > wrote: > > > I read

Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
I read the examples of Ajax Forms and I am trying to adapt it to my needs. I have a form with a input text, a drop down box, a feedback panel and a submit button. My submit is an ajaxButton. My form setsOutputMarkupId(true); My dropdown sets OutputMarkupId(true); When I submit my form it inserts

Re: Tabbed Page

2009-02-13 Thread Daniel Ferreira Castro
I am trying to figure out what tag is beeing expected... This is my base page markup http://www.w3.org/TR/html4/loose.dtd";> [tabbed panel will be here] This is my basepage implementation public class BasePage extends WebPage { private final Listtabs = new ArrayList();

Re: Tabbed Page

2009-02-13 Thread Daniel Ferreira Castro
each Panel class? On Wed, Feb 11, 2009 at 11:43 AM, Thomas Mäder wrote: > What's the problem? A TabbedPanel is a Panel, so you can return it from > ITabl.getPanel(). > > Thomas > > On Wed, Feb 11, 2009 at 12:21 PM, Daniel Ferreira Castro < > dfcas...@gmail.com > >

Tabbed Page

2009-02-11 Thread Daniel Ferreira Castro
Is it possible to have other tabbed pannels inside a tabbed panel? Imagine the example http://wicketstuff.org/wicket13/ajax/tabbed-panel.1 If I click on first tab, instead of showing This is tab-panel 1 it would show, or at least I would like to, show another tabbed panel with tabs and those would

Re: Ajax Example Page Problem

2009-02-09 Thread Daniel Ferreira Castro
of artifacts seem to be too high...it makes harder the understand and adapt it. On Mon, Feb 9, 2009 at 11:41 AM, Thomas Mäder wrote: > Actually stating what the errors are might help. > > Thomas > > On Mon, Feb 9, 2009 at 2:38 PM, Daniel Ferreira Castro > wrote: > > > I

Ajax Example Page Problem

2009-02-09 Thread Daniel Ferreira Castro
I am having some difficulties to understand the example present on http://www.wicket-library.com/wicket-examples/ajax/todo-list.1 The problem as a matter of facts is that the example is full of inner classes and I am trying, using Eclipse, to make all of them Top Level Classes but everytime I do t

A doubt regarding "best-practices"

2009-02-05 Thread Daniel Ferreira Castro
In lots of books about wicket I can see a Page implementation declaring a Form as an inner class of the Page. Of course that this is, in part, a personal preference. I think, in my opinion, that the approach of declaring the Form as an inner class makes the code more "dirty". I mean, the Page clas

Re: Feedback Panel

2009-01-31 Thread Daniel Ferreira Castro
ickettraining.com> wrote: > >> You can do everything you've asked for with css. Just google "css ul" or >> "css ul no bullets", etc. You can view source on a rendered FeedbackPanel >> to see the classes it uses. Really, it's made to be very cu

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
e straight-forward. > > On Fri, Jan 30, 2009 at 7:08 AM, Daniel Ferreira Castro > wrote: > > > No bullets att all will fit the case :) > > > > On Fri, Jan 30, 2009 at 11:01 AM, Erik van Oosten > >wrote: > > > > > Well, I am assuming you want either a

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
k at the Wicket examples to see some CSS customization. > > Regards, > Erik. > > > > Erik van Oosten wrote: > >> Again, change it with css. >> >>Erik. >> >> Daniel Ferreira Castro wrote: >> >>> And if I don´t wanna a unum

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
margin-left: 6px; >margin-bottom: 20px; >padding: 0; >width: 90%; >} > > francisco > > On Fri, Jan 30, 2009 at 1:07 PM, Erik van Oosten > wrote: > > The HTML that is rendered by FeedBackPanel provides enough styling that > you >

Re: Problems running wicket application on Jetty - Help please.

2009-01-30 Thread Daniel Ferreira Castro
u have exported in eclipse - that is an > eclipse specific feature. > > -igor > > On Thu, Jan 29, 2009 at 4:30 AM, Daniel Ferreira Castro > wrote: > > I know that this can be a little "gray zone problem", but let me ask > anyway. > > > > I went to t

Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
Hi, I am looking around internet "but I still haven´t found what I am looking for" - (Bono, do not sue me) I would like to customize a Feedback Panel in a way that error messages are displayed as Red, info as Green and Warn as Yellow (I will need to change the background of this panel to make it

Problems running wicket application on Jetty - Help please.

2009-01-29 Thread Daniel Ferreira Castro
I know that this can be a little "gray zone problem", but let me ask anyway. I went to the quickstart, http://wicket.apache.org/quickstart.html, e executed the command bellow 1) mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -Darchetype

WicketRuntimeException

2009-01-19 Thread Daniel Ferreira Castro
Morning all guys, I am looking for this error on Google, but till now without success, for the reason of why this error occurs.. Can anyone help me? Thanks in advance. == Stacktrace ==