Re: Layout Panel

2007-08-23 Thread Ernesto Reinaldo Barreiro
What about html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://wicket.sourceforge.net/; wicket:panel table cellpadding=2 cellspacing=2 tr td bMyDropDown:/b /td td select wicket:id=MyDropDown/select /td /tr tr td

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Ernesto Reinaldo Barreiro
Why not use NonCachingImage? regards Ernesto Nino Saturnino Martinez Vazquez Wael wrote: Hi How do I add keywords no-cache and etc, for a panel? Reason are that the panel carries a image and that gets cached so when my ajax call comes in and updates the model then the old image are shown..

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread Ernesto Reinaldo Barreiro
Probably your are missing a HeaderContributor adding the actual effects.js and prototype.js to your page? Just guessing... SantiagoA wrote: Hi, i try to use the Effect class of the scriptaculous jar in a testApp. My Code: Java: import org.wicketstuff.scriptaculous.effect.Effect; ... final

Re: Wicket OSGi

2007-11-14 Thread Ernesto Reinaldo Barreiro
We have gather some experience on using wicket and OSGi: we have been using them together for almost a year now. Instead of going the PAX way we chose to tie ourselves to equinox implementation of OSGi and we use some eclipse extensions to avoid class loading problems (look for

Re: Wicket OSGi

2007-11-14 Thread Ernesto Reinaldo Barreiro
OSGI? Thanks, Serge. 2007/11/14, Ernesto Reinaldo Barreiro [EMAIL PROTECTED]: We have gather some experience on using wicket and OSGi: we have been using them together for almost a year now. Instead of going the PAX way we chose to tie ourselves to equinox implementation of OSGi and we use

Re: Wicket OSGi

2007-11-16 Thread Ernesto Reinaldo Barreiro
Hi Igor, The main problem I see here is that there is not a single approach on building a wicket based OSGi application. For instance, we have taken a different approach to the one described in a previous e-mail. Moreover, as we had some code base already working when we decided go OSGi what

Re: Wicket OSGi

2007-11-16 Thread Ernesto Reinaldo Barreiro
David, Take a look here. http://www.eclipse.org/equinox/server/ They have bundled jetty as a pluging. So the only thing you have to do is start Jetty pluging as well. Don't know if other OSGi implementations offer something similar as well. Best regards, Ernesto dado wrote: Edgar, Cool!

Re: page refresh cleans my page state

2008-11-20 Thread Ernesto Reinaldo Barreiro
store the value on the session? make it a static member variable or store it at application level? it all depends on what you want: the value to change independently for each user or be the same for all users... Ernesto On Thu, Nov 20, 2008 at 11:30 AM, Singh Mukesh [EMAIL PROTECTED] wrote:

Re: Usage of getString with parameters (model?)

2008-11-22 Thread Ernesto Reinaldo Barreiro
unless it's really necessary On Tue, Nov 18, 2008 at 1:00 PM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Hi Eyal, If you open the Component class you will see a method: public String getString(final String key, final Component component, final IModel? model, final String

Re: NoSuchMethodError isEnabledInHierarchy() with DatePicker

2008-11-25 Thread Ernesto Reinaldo Barreiro
Maybe this is related to this commit http://svn.apache.org/viewvc?view=revrevision=711923 see http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java?r1=711923r2=711922pathrev=711923 It looks like your core wicket jar is not in synchrony your date-picker

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread Ernesto Reinaldo Barreiro
Something like: HTML wicket:extend script wicket:id=script type=text/javascriptalert('Hi');/script . /wicket:extend Java code: Label script = new Label(script, new ModelString()) { private static final long serialVersionUID = 1L; @Override protected void

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread Ernesto Reinaldo Barreiro
interface in your page and use IHeaderResponse.renderOnLoadJavascript() method in the implementation of the renderHead method.. Ernesto Reinaldo Barreiro wrote: Something like: HTML wicket:extend script wicket:id=script type=text/javascriptalert('Hi');/script

Re: Markup other than HTML

2008-11-27 Thread Ernesto Reinaldo Barreiro
What else do you want to generate? For XML maybe this link give you a hint: http://www.jroller.com/wireframe/entry/wicket_feedpage As for generating other things (e.g. PDF)... One idea could be navigate the component hierarchy and produce some document out of it. Of course, for doing this you

Re: IMG SRC URL in iframe.

2008-12-03 Thread Ernesto Reinaldo Barreiro
Why not mount a resource that is servicing back images based of the CID? Best, Ernesto On Wed, Dec 3, 2008 at 2:59 PM, Graeme Knight [EMAIL PROTECTED] wrote: Oh, My use case is this: 1) Load up HTML email content. This content has CIDs which need to be resolved to URLs. 2) I will put

Re: IMG SRC URL in iframe.

2008-12-03 Thread Ernesto Reinaldo Barreiro
be that difficult to get that working. I have seen this http://cwiki.apache.org/WICKET/how-to-create-dynamic-image-overlays.html example but don't if it will be of any help to you... Best, Ernesto Best On Wed, Dec 3, 2008 at 3:16 PM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Why

Re: IMG SRC URL in iframe.

2008-12-03 Thread Ernesto Reinaldo Barreiro
to you... Best, Ernesto Best On Wed, Dec 3, 2008 at 3:16 PM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Why not mount a resource that is servicing back images based of the CID? Best, Ernesto On Wed, Dec 3, 2008 at 2:59 PM, Graeme Knight [EMAIL PROTECTED]wrote

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Ernesto Reinaldo Barreiro
Hi, Did you solve the problem of servicing image contents of a previous post? Cheers, Ernesto Graeme Knight wrote: Hi Bruno, Right, that far I DID get. I have a Javascript file that contains the required Javascript for my editor. (Sorry, I don't have the code now): When the user hits

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread Ernesto Reinaldo Barreiro
CheckBox externalUploadCheckBox = new AjaxCheckBox(external,new PropertyModel(this, externalUpload)){ @Override protected void onUpdate(AjaxRequestTarget arg0) { } }; On Tue, Dec 9, 2008 at 10:31 AM,

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread Ernesto Reinaldo Barreiro
Sorry, sent to early... Maybe something like? CheckBox externalUploadCheckBox = new AjaxCheckBox(external,new PropertyModel(this, externalUpload)){ @Override protected void onUpdate(AjaxRequestTarget arg0) {

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread Ernesto Reinaldo Barreiro
You are welcome... On Tue, Dec 9, 2008 at 1:35 PM, itayh [EMAIL PROTECTED] wrote: Thanks a lot Ernesto, It works reiern70 wrote: Sorry, sent to early... Maybe something like? CheckBox externalUploadCheckBox = new AjaxCheckBox(external,new PropertyModel(this, externalUpload)){

Re: Hi!

2008-12-09 Thread Ernesto Reinaldo Barreiro
Hi Wadi, Sorry, but I do not understand your question... What do you mean by multiple wicket child is implemented? Regards Ernesto On Tue, Dec 9, 2008 at 2:51 PM, Wadi Jalil Maluf [EMAIL PROTECTED]wrote: Hi All! I would like to know if the multiple wicket child is implemented. Thanks in

Re: Hi!

2008-12-09 Thread Ernesto Reinaldo Barreiro
do you mean? wicket:panel .. wicket:child1/ .. wicket:child2/ /wicket:panel On Tue, Dec 9, 2008 at 3:04 PM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Hi Wadi, Sorry, but I do not understand your question... What do you mean by multiple wicket child is implemented

Re: IMG SRC URL in iframe - part 2.

2008-12-09 Thread Ernesto Reinaldo Barreiro
Hi Graeme, Yes more or less... As I said I do no longer have access to the code I wrote (it was for a project on my previous Job) but as far as I remember all I did was: 1-mount a resource for servicing files (I suppose I did the same way you are doing it;-) 2-generate HTML code asking for

Re: Hi!

2008-12-09 Thread Ernesto Reinaldo Barreiro
Thanks for the explanation! Ernesto On Tue, Dec 9, 2008 at 3:10 PM, Johan Compagner [EMAIL PROTECTED]wrote: yes something like that more: wicket:child name=child1/ dsfadsfsadf wicket:child name=child2/ On Tue, Dec 9, 2008 at 15:07, Ernesto Reinaldo Barreiro [EMAIL PROTECTED]wrote: do

Re: Using Wicket Pages for an Internal Request

2008-12-10 Thread Ernesto Reinaldo Barreiro
Hope this helps... http://www.nabble.com/Use-wicket-page-templates-not-for-webapplication-td19173648.html http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-HowcanIrendermytemplatestoaString%3F http://cwiki.apache.org/WICKET/use-wicket-as-template-engine.html Ernesto On Wed, Dec 10,

Re: JRPdfResource File not found error when using IE6

2008-12-10 Thread Ernesto Reinaldo Barreiro
I have found myself some weird behaviors with PDFs and IE... E.g. when trying to show a PDF in an iframe it would work for some versions of IE 6 and not with others (same IE6 but not exactly the same release). I never discovered why. Did you tried tricking it to think it is downloading a real

Re: Using Wicket Pages for an Internal Request...emptying Wicket Session?

2008-12-10 Thread Ernesto Reinaldo Barreiro
Hi Mike, I never tried myself to use what is explained on those links... so I cannot be of much help unless I start to guess things. In this case, I am in the middle of a Wicket/http request and using the BaseWicketTester as so: startPage(newly instantiated WebPage) followed by

Re: [OT] wicket users around the world

2008-12-11 Thread Ernesto Reinaldo Barreiro
I'm from Cuba, work in Barcelona, Spain francisco treacy wrote: to know a little bit more of our great (and vast) community, i was just wondering if you're keen on sharing where you come from and/or where you work with wicket... for instance, here argentinian/belgian working with wicket in

Re: Integrating Scheduler into Web Application

2008-12-11 Thread Ernesto Reinaldo Barreiro
Hi Will, Maybe this is more question for the quartz mailing list Probably you would want to have only one scheduler per application, so you should follow a singleton pattern. E.g. public class SchedulerLocator { private static Scheduler scheduler; public static Scheduler

Re: Integrating Scheduler into Web Application

2008-12-11 Thread Ernesto Reinaldo Barreiro
That of course, if you want to use Spring on your application. Why introduce another dependency for something so simple as creating a singleton? Besides then you will have to keep/maintain another XML file. Ernesto Michael O'Cleirigh wrote: Hello, Spring ships with a FactoryBean for the

Re: indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread Ernesto Reinaldo Barreiro
Maybe you use this idea http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+(for+both+Ajax+and+non-Ajax+submits) or create some kind of veil that is activated each time you have an AJAX request.The veil will prevent you from preforming any action while AJAX is active. I use

Re: Dynamic Simple (html) Components

2008-12-21 Thread Ernesto Reinaldo Barreiro
Hi, I see no contradiction in having your UI (declaratively) defined by a service and having panels (with associated HTML markup): that markup could match what you wanted on your definition. As you also suggest, you could use repeaters to create META-components that read your definition and

Re: Dynamic Simple (html) Components

2008-12-21 Thread Ernesto Reinaldo Barreiro
Hi, Component: TextField Required: True Type: String Length:30 Order: 2 (The order in which it needs to be displayed on the form) Defaul Value: some value and so on. An entry can also define a compound component (like a Wicket panel component made

Re: Multi-tap operations in Wicket

2008-12-22 Thread Ernesto Reinaldo Barreiro
See Application.getPageSettings().getAutomaticMultiWindowSupport() and the explanation given at javadoc. On Mon, Dec 22, 2008 at 11:39 AM, HHB hubaghd...@yahoo.ca wrote: Hey, Seam framework supports the multi-tab / multi-window operations, it isolates each process from the other

Re: Multi-tap operations in Wicket

2008-12-22 Thread Ernesto Reinaldo Barreiro
On Mon, Dec 22, 2008 at 2:35 PM, HHB hubaghd...@yahoo.ca wrote: This effects all the Wicket pages in the application, right? Seam folks advertise this feature as one of the gems of Seam framework, why Wicket doesn't shed more light on it? Common Wicket, no need to be humble this time :)

Re: Multi-tap operations in Wicket

2008-12-22 Thread Ernesto Reinaldo Barreiro
Hi Erik, Still one question remains... Should that feature be added to [1]? Or it is small enough to be discarded... Best, Ernesto [1]-http://wicket.apache.org/features.html On Mon, Dec 22, 2008 at 4:46 PM, Erik van Oosten e.vanoos...@grons.nlwrote: Glad that is out of the way :) Wicket

Re: Multi-tap operations in Wicket

2008-12-22 Thread Ernesto Reinaldo Barreiro
. Ernesto Reinaldo Barreiro wrote: Hi Erik, Still one question remains... Should that feature be added to [1]? Or it is small enough to be discarded... Best, Ernesto [1]-http://wicket.apache.org/features.html -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Applying Styles Through Java

2008-12-23 Thread Ernesto Reinaldo Barreiro
I think this might depend on your use case: 1-If your are creating a component and you want it to tune to look different on different parts of your pages it might be useful to have something like: component.add(new SimpleAttributeModifier(class, getMyStyleClassName()); So that you can change it

Re: DownloadLink, BIRT report

2008-12-31 Thread Ernesto Reinaldo Barreiro
Sure you can... Which part is giving you problems? The generation of the excel report with BIRT? Or the creation of the link? Best, Ernesto newbieabc wrote: Hello.. How can create a download link on a webpage, that converts a BIRT report to excel format and downloads to client machine?

Re: DownloadLink, BIRT report

2009-01-05 Thread Ernesto Reinaldo Barreiro
Hi, I already wrote to you in private and didn't noticed you were also posting to the list... Here is the transcript of my last two private e-mails . You have to download the BIRT runtime from http://download.eclipse.org/birt/downloads/ This is what you have to deploy with your

Re: DropDownChoice onchange event with AjaxEventBehaviour

2009-01-07 Thread Ernesto Reinaldo Barreiro
Hi, On Wed, Jan 7, 2009 at 1:19 PM, Yazeed Isaacs yaz...@switch.tj wrote: Hi I have a select box with an AjaxEventBehaviour linked to its onchange event. I want to perform the following but I need some help. When onchange occurs the following steps are implemented using the

Re: DropDownChoice onchange event with AjaxEventBehaviour

2009-01-07 Thread Ernesto Reinaldo Barreiro
Hi, Are you able to see the words processing...? From your post I thought what you wanted was to have some kind of feedback for a lengthy process and once it was finished then update the table and no longer show the processing... anymore... Best, Ernesto On Wed, Jan 7, 2009 at 1:59 PM, Yazeed

Re: DropDownChoice onchange event with AjaxEventBehaviour

2009-01-07 Thread Ernesto Reinaldo Barreiro
...@transactionjunction.co.za -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: 07 January 2009 03:08 PM To: users@wicket.apache.org Subject: Re: DropDownChoice onchange event with AjaxEventBehaviour Hi, Are you able to see the words processing

Re: Updating label using ajax on event

2009-01-19 Thread Ernesto Reinaldo Barreiro
See class AjaxSelfUpdatingTimerBehavior... Ernesto On Mon, Jan 19, 2009 at 11:40 AM, Gohan hal...@gmail.com wrote: Hi, I'd like to change the text of a Label when a certain event (callback) is received using Ajax. How should I go about? The event is not triggered by a user interaction but

Re: Example for presenting pdf in modal window

2009-01-27 Thread Ernesto Reinaldo Barreiro
Why not use an iframe as the content of the modal window and display there your PDF? I do not use modal-windows myself but showing the PDF inside an iframe on a Panel is not difficult to achieve with Wicket... So, I do not see why that wouldn't work with modal windows. Best, Ernesto On Mon,

Re: Example for presenting pdf in modal window

2009-01-28 Thread Ernesto Reinaldo Barreiro
Your are welcome! I'll add this to Wiki if I find the time... Cheers, Ernesto On Wed, Jan 28, 2009 at 4:35 PM, Per Newgro per.new...@gmx.ch wrote: Great Ernesto, this is exactly the solution i was looking for. Thanks alot for sharing this with us. I would suggest that you add it to the

Re: Ajaxified Notification

2009-01-30 Thread Ernesto Reinaldo Barreiro
Hi, On Fri, Jan 30, 2009 at 11:04 AM, PSkarthic kart...@touchpointindia.comwrote: Thank you for your reply. Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the client on particular situation. With AJAX timer behavior is the client that periodically makes a round trip

Re: How to personalise HTML content with Wicket ?

2009-02-02 Thread Ernesto Reinaldo Barreiro
: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Montag, 2. Februar 2009 12:04 An: users@wicket.apache.org Betreff: Re: How to personalise HTML content with Wicket ? For this case why not have table/table in a panel (or fragment) and use it instead of generating

Re: How to personalise HTML content with Wicket ?

2009-02-02 Thread Ernesto Reinaldo Barreiro
For this case why not have table/table in a panel (or fragment) and use it instead of generating the string by hand? IMHO that would be much more clear and consistent with wicket way of doing things... Best Ernesto On Mon, Feb 2, 2009 at 11:47 AM, Stefan Lindner lind...@visionet.de

Re: How to personalise HTML content with Wicket ?

2009-02-02 Thread Ernesto Reinaldo Barreiro
Wicket has very powerful means to do skinning... See http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html for a start... Besides that you could do all kind of tricks working with panels and component visibility: depending on conditions show one (hide one/replace with

Re: Ajax call URL

2009-02-03 Thread Ernesto Reinaldo Barreiro
If your question is how to obtain the callback URL see AbstractAjaxBehavior.getCallbackUrl(...) and its implementation... Ernesto On Tue, Feb 3, 2009 at 3:06 PM, Piotr Jakubowski pio...@gmail.com wrote: Hey, I need to somehow squeeze out from wicket the URL for the request that ie

Re: How to resolve tree issue?

2009-02-05 Thread Ernesto Reinaldo Barreiro
I haven't used tree from inmethod myself but I would bet that what you see is the result of DetachableTagGroupModel(tg.toString())... So either override your toString or change DetachableTagGroupModel to return what you want... (maybe look at the implementation to see how the node's text is

Re: Example for presenting pdf in modal window

2009-02-09 Thread Ernesto Reinaldo Barreiro
Hi, I just added a page summarizing the discussion on this thread to the Wiki. http://cwiki.apache.org/confluence/display/WICKET/Displaying+content++(e.g.+PDF%2C+Excel%2C+Word)+in+an+IFRAME Hope it can be of any help to other people. Ernesto On Wed, Jan 28, 2009 at 5:21 PM, Ernesto Reinaldo

Re: Making an invisible panel visible via AjaxLink

2009-02-19 Thread Ernesto Reinaldo Barreiro
Maybe setOutputMarkupPlaceholderTag(outputTag) can help you? On Thu, Feb 19, 2009 at 5:14 PM, rjilani jil...@lifebiosystems.com wrote: Hi: Gurus I am trying to make an invisible panel visible via Ajax link, but got stuck at a point where I don't know how to proceed further. Please see the

Re: how to avoid value set to null if value of textfield gets deleted

2009-02-25 Thread Ernesto Reinaldo Barreiro
What kind of model are you attaching to a the text field? Anyway, you could always do: public class EmptyStringModel extend WhatEverModelYouAreUsingString { .Constructors public void setObject(String value) { if(value != null) { super.setObject(value);

Re: determine which form was submitted

2009-02-25 Thread Ernesto Reinaldo Barreiro
Wouldn't it be enough to and onSubmit() {...} for each form and then you will know which one was submited? Ernesto On Wed, Feb 25, 2009 at 12:33 AM, Alexander Lohse a...@humantouch.de wrote: Hi, I have two forms on one page and need to toggle visibility of a container depending on which

Re: how to avoid value set to null if value of textfield gets deleted

2009-02-25 Thread Ernesto Reinaldo Barreiro
You are welcome. Ernesto On Wed, Feb 25, 2009 at 2:44 PM, SantiagoA s.auc...@gmx.de wrote: I used a PropertyModel. Now i use my own extended PropertyModel which overrides the setObject-Method quite similar to your proposal. Thanks for the Help. reiern70 wrote: What kind of model are

Re: Wicket + iframe Session Question

2009-02-26 Thread Ernesto Reinaldo Barreiro
I think InlineFrame is the guy... On Thu, Feb 26, 2009 at 12:47 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Arent there a InternalFrame or something already in wicket? I think this has been discussed before, search with nabble 2009/2/26 freak182 eman.noll...@gmail.com

Re: Uppercasing inputs

2009-03-04 Thread Ernesto Reinaldo Barreiro
Maybe: class MyUpperCaseModel extends WhatEverModelString { public void setObject(String value) { if(value != null) { super.setValue(value.toUpperCase()); } else { super.setValue(value); } } } and use MyUpperCaseModel instead of

Re: Uppercasing inputs

2009-03-05 Thread Ernesto Reinaldo Barreiro
://www.jeremythomerson.com/blog/2008/11/06/wicket-the-power-of-nested-models/ Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Ernesto Reinaldo Barreiro reier...@gmail.com Sent: Wednesday, March 04, 2009 9:43 AM To: users

Re: Only one session for logged user.

2009-03-06 Thread Ernesto Reinaldo Barreiro
Using a session listener to record session creation/destruction and them use that info to invalidate previous sessions where the user is the same? Ernesto On Fri, Mar 6, 2009 at 11:34 AM, Martin Bednář martin.bed...@triax.czwrote: Hello, In our application I must guarantee that user is

Re: Extensible wicket application

2009-03-12 Thread Ernesto Reinaldo Barreiro
Hi Daniel, Some comments inlined. On Thu, Mar 12, 2009 at 9:37 AM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: Firstly, thanks for you reply :) I have already read that document regarding wicket and OSGi, but I think it is written for more experienced users at OSGi. As I wrote before,

Re: Extensible wicket application

2009-03-12 Thread Ernesto Reinaldo Barreiro
: http://www.ops4j.org/projects/pax/wicket/ Here is a project that integrates Guice, Wicket, Hibernate, and OSGi: http://code.google.com/p/modulefusion/ -Richard On Thu, Mar 12, 2009 at 5:07 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi Daniel, Some comments inlined. On Thu

Re: Extensible wicket application

2009-03-12 Thread Ernesto Reinaldo Barreiro
unsolved. So I think I really do need help :) It seems to me, though, that this whole thing is much too complicated. I need only some simple loading of multiple jars :) But if it would work, I don't care how :) Thanks again! On Thu, Mar 12, 2009 at 10:07 AM, Ernesto Reinaldo Barreiro

Re: Extensible wicket application

2009-03-13 Thread Ernesto Reinaldo Barreiro
:) On Thu, Mar 12, 2009 at 10:24 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, I just created a very simple starting project for OSGi and wicket at: http://code.google.com/p/antilia/source/browse/#svn/trunk check out projects com.antilia.wstarter

Re: Extensible wicket application

2009-03-18 Thread Ernesto Reinaldo Barreiro
com.antilia.wstarter.demo_1.0.0 do you have any clue? :) big thanks for your help! On Fri, Mar 13, 2009 at 11:30 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: You will have to use bridge-servlet approach for that. As said the bridge-servlet will launch an equinox runtime and redirect your request

Re: Extensible wicket application

2009-03-19 Thread Ernesto Reinaldo Barreiro
http://www.eclipse.org/equinox/server/http_in_container.php Best, Ernesto On Thu, Mar 19, 2009 at 11:08 AM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: Well, now I have tried to run it in eclipse and it is running properly. On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro

Re: drag and drop

2009-03-19 Thread Ernesto Reinaldo Barreiro
I would use YUI drag and drop instead of scriptaculous. I was using scriptaculous for that purpose, I just implemented a table with draggable columns, but I had some issues with AJAX updates on IE: after first page reload draggables stoped to work because dropables had to be removed/recreated.

Re: Extensible wicket application

2009-03-19 Thread Ernesto Reinaldo Barreiro
the bundles, then exported them from eclipse. And then installed those bundles along with javax.servlet into the bridge application, bud I got the error when I tried to install wstarter-demo. Thanks a lot! On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote

Re: drag and drop

2009-03-20 Thread Ernesto Reinaldo Barreiro
... So, I switched to YUI and the problem was gone. Ernesto On Thu, Mar 19, 2009 at 10:19 PM, Stefan Lindner lind...@visionet.dewrote: It is still there. I had massive problems with updating dropable items in a table with ajax. -Ursprüngliche Nachricht- Von: Ernesto Reinaldo Barreiro

Re: Extensible wicket application

2009-03-20 Thread Ernesto Reinaldo Barreiro
...@gmail.com wrote: Right click - Export - Plugin development - Deployable plug-ins and fragments Have a nice day :) On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Did you exported them how? As equinox jar files or as simple jar files? Let me see

Re: Extensible wicket application

2009-03-20 Thread Ernesto Reinaldo Barreiro
One more thing. As far as I remember the servlet bridge makes a 'work copy' of the plugins folder if you see you make changes, export the plugins, and changes do not 'propagate' to the application, try deleting works/Catalina folder. On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro

Re: Extensible wicket application

2009-03-21 Thread Ernesto Reinaldo Barreiro
. and org.hibernate.exception.DataException: Could not execute JDBC batch update Could you (or possibly anyone else) help me with this? :) Thanks! On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: One more thing. As far as I remember the servlet bridge makes a 'work copy

Re: Extensible wicket application

2009-03-21 Thread Ernesto Reinaldo Barreiro
(autor, email, title, text, datum, ip, id) values (...) was aborted. and org.hibernate.exception.DataException: Could not execute JDBC batch update Could you (or possibly anyone else) help me with this? :) Thanks! On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro reier

Re: Extensible wicket application

2009-03-22 Thread Ernesto Reinaldo Barreiro
any actual work to do :) - Brill On 21-Mar-09, at 12:39 PM, Ernesto Reinaldo Barreiro wrote: useless thread? On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin br...@pappin.ca wrote: At the risk of starting another useless thread, this is what I do for images and other non HTML

Re: help with css and image background

2008-08-11 Thread Ernesto Reinaldo Barreiro
She's just trying to explain herself in a language that is not her own and that certainly she doesn't use for every day life... Have you ever been in such a situation? I know it well because I have been there myself... No need to be harsh... Best Regards, Ernesto. Daan van Etten wrote:

Re: ModalWindow gives Exception

2008-09-18 Thread Ernesto Reinaldo Barreiro
Maybe you are looking for this jar http://sourceforge.net/project/showfiles.php?group_id=97367package_id=104212 I'm using version version 1.4... Which is the one maven installed for me... Ernesto On Thu, Sep 18, 2008 at 10:10 AM, newbie_to_wicket [EMAIL PROTECTED]wrote: Hi, I'm using

Re: AjaxFallbackDefaultDataTable with ajax lazy loading - sorting and paging throws an IllegalStateException

2008-10-06 Thread Ernesto Reinaldo Barreiro
The problem is, as Igor pointed, you cannot re-render a component via AJAX if it has set setRenderBodyOnly(true)... Why? div wicket:id=testAjax pContent.../p /div will be renderend as pContent.../p instead of div id=someid pContent.../p /div So, there is no way wicket AJAX js can replace

Re: DHTML DnD best practice?

2008-10-17 Thread Ernesto Reinaldo Barreiro
Sorry, maybe I do not fully understand what you want to do but why won't you update the state of the server once a div is dropped. I have my own components that use drag and drop (e.g. tables with draggable/dropable columns) and what I do at the JavaScript side is something like: XXX.onDrop() {

Re: DHTML DnD best practice?

2008-10-17 Thread Ernesto Reinaldo Barreiro
Nice presentation: I didn't know about it. Cheers, Ernesto Neil McT wrote: Thanks for the reply. This is just the starter-for-ten I was looking for. I also found one of the London Wicket groups presentations ( http://londonwicket.org/content/LondonWicket-ListEditor.pdf

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Ernesto Reinaldo Barreiro
Hi, In my experience, almost two years using it, Wicket has a rather stable-backwarks-compatible API. Maybe the biggest API break I have experienced was when branch 2.0 was declared a dead end and early 2.0 adopters had to re-adapt their code back to 1.3.x... Even migrating to 1.4 generics was

Re: adding extra javascript call in CheckBox

2008-11-05 Thread Ernesto Reinaldo Barreiro
nickponico wrote: Thank you for your reply. Yes there is the Attribute Modifier, but i don't think it can help me. I try to explain shortly the problem: I have to modify a css class of a specific div: the DIV can't be managed by wicket (with wicket id), but only on html. What do you

Re: adding extra javascript call in CheckBox

2008-11-05 Thread Ernesto Reinaldo Barreiro
Do you get a JavaScript error? Maybe document.getElementById(myDiv).className=visible; will do the trick... Ernesto nickponico wrote: I've inserted this simple function in head of html: script type=text/javascript function show() { document.getElementById(myDiv).setAttribute(class,

Re: adding extra javascript call in CheckBox

2008-11-05 Thread Ernesto Reinaldo Barreiro
Following example does almost what you want (if I didn;t get you wrong). ChangeColorPanel.html wicket:panel div span wicket:id=colorPanel style= width: 10px; height: 10px; background-color: red; nbsp;nbsp; /span span wicket:id=red onclick= Red

Re: Reading an attribute that is set in a CSS file as a class

2008-11-16 Thread Ernesto Reinaldo Barreiro
I see two options: 1-Generate the css out for of some other data you can easily use at Java level (a velocity template maybe?) 2-Parse the CSS (e.g. with http://cssparser.sourceforge.net/)http://cssparser.sourceforge.net/ http://www.w3.org/Style/CSS/SAC/ For a project I had to use approach 2

Re: Reading an attribute that is set in a CSS file as a class

2008-11-16 Thread Ernesto Reinaldo Barreiro
, Ernesto On Sun, Nov 16, 2008 at 3:50 PM, James Carman [EMAIL PROTECTED]wrote: I was thinking about learning how to use TextTemplates to generate the CSS. Is there any good reference out there? On Sun, Nov 16, 2008 at 9:44 AM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: I see two

Re: Adding/Removing a AjaxSelfUpdatingTimerBehavior...

2008-11-17 Thread Ernesto Reinaldo Barreiro
Hi Graeme, I don't know if what follows is the best way... but when I export a file on my applications sometimes I want to display a progress bar to give users some feed back... I have done the following: public abstract class DefaultExportPanel extends Panel { /** * */ private static final

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Ernesto Reinaldo Barreiro
Why don't you just generate the CSS or parse it if that's not possible... With the former approach you will have the color before hand, with the latter you will have to locate it somewhere on the CSS. So, what is the best solution will depend on how you manage CSS on your application... Best,

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Ernesto Reinaldo Barreiro
to send you some code after I'm done, I can do that. On Mon, Nov 17, 2008 at 5:27 AM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Why don't you just generate the CSS or parse it if that's not possible... With the former approach you will have the color before hand, with the latter you

Re: Adding/Removing a AjaxSelfUpdatingTimerBehavior...

2008-11-17 Thread Ernesto Reinaldo Barreiro
Hi Graeme, On Mon, Nov 17, 2008 at 2:58 PM, Graeme Knight [EMAIL PROTECTED] wrote: Hi. Thanks for that. I was worried about removing behaviors - but thanks for the information. You are welcome! I'm going to look at how easy it is to change time on an AjaxSelfUpdatingTimerBehavior?

Re: Usage of getString with parameters (model?)

2008-11-18 Thread Ernesto Reinaldo Barreiro
Hi Eyal, If you open the Component class you will see a method: public String getString(final String key, final Component component, final IModel? model, final String defaultValue) throws MissingResourceException { } which finds a localizer... an Localizer after locating the key calls to

Re: Need Wicket Book

2009-08-18 Thread Ernesto Reinaldo Barreiro
Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time

Re: Need Wicket Book

2009-08-18 Thread Ernesto Reinaldo Barreiro
I'm from Cuba. I do not live there now but still have friends and family living there... On Tue, Aug 18, 2009 at 9:13 AM, Vytautas C(ivilis vytautas.civi...@gmail.com wrote: 10 bucks for a month? What country do you come from? Just curious :D cvl Ernesto Reinaldo Barreiro wrote: Well

Re: Need Wicket Book

2009-08-18 Thread Ernesto Reinaldo Barreiro
Well, maybe you can hire some friends of mine living over there... Right now I do live and work in Spain where the minimal wage is a bit higher;-) Best, Ernesto On Tue, Aug 18, 2009 at 5:39 PM, James Carman jcar...@carmanconsulting.comwrote: Well, if you're ever looking for work, just let me

Re: Is it possible to let messages in a FeedbackPanel contain links?

2009-09-02 Thread Ernesto Reinaldo Barreiro
Individual messages are created via the factory method protected Component newMessageDisplayComponent(String id, FeedbackMessage { Serializable serializable = message.getMessage(); Label label = new Label(id, (serializable == null) ? : serializable.toString());

Re: Is it possible to let messages in a FeedbackPanel contain links?

2009-09-02 Thread Ernesto Reinaldo Barreiro
wrote: Perfect !. I'll give it a try. Thanks On Wed, Sep 2, 2009 at 11:55 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Individual messages are created via the factory method protected Component newMessageDisplayComponent(String id, FeedbackMessage { Serializable

Re: Help on wizard solution...

2009-09-09 Thread Ernesto Reinaldo Barreiro
Or have the complete definition on the database and use a factory approach to generate the steps and the content of the steps... That way you don't to hide/show anything but generate what you want, e.g. using repeaters, out of some predefined wizard defining grammar... Best, Ernesto On Wed, Sep

Re: Panel not using generics

2009-09-09 Thread Ernesto Reinaldo Barreiro
What's the meaning you want to attach to the missing generic parameter? Best, Ernesto On Wed, Sep 9, 2009 at 12:23 PM, Kurt Zitze g...@gmx.net wrote: hey, why does the panel is not using generics for type safety? regards -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla

Re: Panel not using generics

2009-09-09 Thread Ernesto Reinaldo Barreiro
The main point I could object is that you might have panels that are not associated to a model... and then you will still have to pass a model object type to avoid unchecked warnings... I know I could always use PanelVoid, or PanelObject, but as a user I would not like to be forced to do that all

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Ernesto Reinaldo Barreiro
Why not include a script containing hideBusysign() On the page you are navigating to? Y Best, Ernesto On Fri, Sep 11, 2009 at 7:50 AM, Robert McGuinness robert.mcguinness@gmail.com wrote: I applied the busy indicator techniques found here:

  1   2   3   4   5   6   7   8   9   10   >