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

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

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

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

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

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 igor.vaynb...@gmail.comwrote: put it into a panel -igor On Wed, Apr 1, 2009 at 11:46 AM, Daniel Ferreira Castro dfcas...@gmail.com wrote: I have a doubt about componentizing a Form. If I create a class, MyForm.java

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 -

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 dfcas...@gmail.comwrote: I am still trying to make tinymce work on my project. But I only get

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

Re: Propper Way to Use StringResourceModel

2009-03-13 Thread Daniel Ferreira Castro
, it is not a ResourceBundle. On Fri, Mar 13, 2009 at 11:46 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: 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 Castro dfcas

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

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

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 TextFieldString or TextFieldFloat? 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

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

Re: WYSIWYG component

2009-02-25 Thread Daniel Ferreira Castro
/STUFFWIKI/wicket-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 to register a newsletter to send to it's clients. And I

Re: WYSIWYG component

2009-02-25 Thread Daniel Ferreira Castro
, as described on the wicketstuff site. On Wed, Feb 25, 2009 at 5:20 PM, Daniel Ferreira Castro dfcas...@gmail.comwrote: 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 that is compatible to wicket 1.4-rc2

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 dfcas...@gmail.comwrote: I did it. But now I am recievieng an error whn

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

Re: Drop Down Box - Ajax Behaviour

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

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: Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
: 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 dfcas...@gmail.comwrote: I read the examples of Ajax Forms and I am trying to adapt

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

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 repositories repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url snapshots

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 igor.vaynb...@gmail.comwrote: mvn eclipse:eclipse -DdownloadSources=true -igor On Mon, Feb 16, 2009 at 5:38 PM, Daniel Ferreira Castro dfcas...@gmail.com wrote: How to do to be able to download the source code of Wicket throught

Re: Tabbed Page

2009-02-13 Thread Daniel Ferreira Castro
for each Panel class? On Wed, Feb 11, 2009 at 11:43 AM, Thomas Mäder thomas.mae...@devotek-it.chwrote: 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 wrote

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 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 META HTTP-EQUIV=CACHE-CONTROL

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

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

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 thomas.mae...@devotek-it.chwrote: Actually stating what the errors are might help. Thomas On Mon, Feb 9, 2009 at 2:38 PM, Daniel Ferreira Castro dfcas

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 class

Re: Feedback Panel

2009-01-31 Thread Daniel Ferreira Castro
the classes it uses. Really, it's made to be very customizable and quite straight-forward. On Fri, Jan 30, 2009 at 7:08 AM, Daniel Ferreira Castro dfcas...@gmail.comwrote: No bullets att all will fit the case :) On Fri, Jan 30, 2009 at 11:01 AM, Erik van Oosten e.vanoos...@grons.nl wrote

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

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

2009-01-30 Thread Daniel Ferreira Castro
not see what you have exported in eclipse - that is an eclipse specific feature. -igor On Thu, Jan 29, 2009 at 4:30 AM, Daniel Ferreira Castro dfcas...@gmail.com wrote: I know that this can be a little gray zone problem, but let me ask anyway. I went to the quickstart, http

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
; width: 90%; } francisco On Fri, Jan 30, 2009 at 1:07 PM, Erik van Oosten e.vanoos...@grons.nl wrote: The HTML that is rendered by FeedBackPanel provides enough styling that you can do this with CSS. Regards, Erik. Daniel Ferreira Castro wrote: Hi, I am

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
at 7:08 AM, Daniel Ferreira Castro dfcas...@gmail.comwrote: No bullets att all will fit the case :) On Fri, Jan 30, 2009 at 11:01 AM, Erik van Oosten e.vanoos...@grons.nl wrote: Well, I am assuming you want either a numbered list, or no bullets at all. If you want something else

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

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