Re: Websockets: Server to browser connection lost?

2017-03-09 Thread Gonzalo Aguilar Delgado
javascript is still initializing. So it's lost. If I delay it a little bit, few seconds everything goes smoothly. Of course I have to change this to let client tell when it's really ready to start the communication. Thank you for help! El 08/03/17 a las 18:30, Gonzalo Aguilar Delgad

Websockets: Server to browser connection lost?

2017-03-08 Thread Gonzalo Aguilar Delgado
Hello, As I told still doing testing with the web sockets. It seems that a reconnection doesn't fully work. I don't know why. If the connection is the first the browser does. It works nice. The server sends a message to the client (browser) and the browser responds with a request for data. That

Re: Websockets for graph data streaming

2017-03-08 Thread Gonzalo Aguilar Delgado
loove it! Best regards, El 07/03/17 a las 21:45, Martin Grigorov escribió: > Hi, > > On Tue, Mar 7, 2017 at 10:07 AM, Gonzalo Aguilar Delgado < > gagui...@level2crm.com> wrote: > >> Hi Martin, >> >> I must say I was working with websockets yesterday. And

PubSub from Javascript with Wicket.Event is possible?

2017-03-07 Thread Gonzalo Aguilar Delgado
Hello, Is it possible to send events that are managed inside Javascript without reaching the server? Instead of using a dedicated PubSub library I pretend to use the functionality inside Wicket to perform pubsub on javascript. My problem is that only examples I can find is like this, where a pub

Re: Websockets for graph data streaming

2017-03-07 Thread Gonzalo Aguilar Delgado
highcharts? D3js or >> similar... >> > The demo app for > http://wicketinaction.com/2012/07/wicket-6-native-websockets/ uses Google > Charts library without any Wicket component integration. > > >> >> Preview of the current work is this link: >> >> https://pbs.twimg.com/media/C6M_hG6WYAEeysz.jpg >> >> >> -- Gonzalo Aguilar Delgado *Level2 CRM* Gonzalo Aguilar Delgado Consultor CRM - Ingeniero en Informática M. +34 607 81 42 76 T. +34 918 40 95 78 E. gagui...@level2crm.com <mailto:gagui...@level2crm.com>

Websockets for graph data streaming

2017-03-05 Thread Gonzalo Aguilar Delgado
Hello, I'm using the fantastic Decebals dashboard, adding a widget json registry and some other improvements. The idea is to provide data streaming functionality like the one provided by graphana, kibana and friends. So the server will contain the datasources. And the dashboard will apply to one

Repeaters and feedaback panel (not reporting error after submit)

2014-11-04 Thread Gonzalo Aguilar Delgado
Hi all! We are using a RefreshingView to show some panels inside a form. This way we can add elements to a list of objects that will be processed after submit. The problem is that ajax on the items of the RefreshingView does not refresh after the submit button is hit on the form. We tried

Re: JQueryResourceReference is not rendered on JBOSS 7 AS 7.1.1

2014-10-31 Thread Gonzalo Aguilar Delgado
31/10/14 a las 12:34, Martin Grigorov escribió: Hi, It works well here with JBoss 8 (WildFly 8.1). On Fri, Oct 31, 2014 at 1:22 PM, Gonzalo Aguilar Delgado < gagui...@aguilardelgado.com> wrote: Hi, We built an application that depends on JQuery because we show graphs with morris and raph

JQueryResourceReference is not rendered on JBOSS 7 AS 7.1.1

2014-10-31 Thread Gonzalo Aguilar Delgado
Hi, We built an application that depends on JQuery because we show graphs with morris and raphael. And we discovered that @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); response.render(JavaScriptHeaderItem .forRefe

Re: XSS in wicket. Wicket fault or my fault?

2014-01-30 Thread Gonzalo Aguilar Delgado
g/projects/wicket/apidocs/6.x/org/apache/wicket/model/StringResourceModel.html Met vriendelijke groet, Kind regards, Bas Gooren schreef Gonzalo Aguilar Delgado op 30-1-2014 11:17: Hi Martin, This is how I've done it. label = new Label("message", getString(&

Re: XSS in wicket. Wicket fault or my fault?

2014-01-30 Thread Gonzalo Aguilar Delgado
;What is a model?" of the wicket free guide at: http://wicket.apache.org/guide/guide/modelsforms.html#modelsforms_1 Also, older Wicket in Action: http://www.javaranch.com/journal/2008/10/using-wicket-labels-and-links.html On Wed, Jan 29, 2014 at 12:26 PM, Gonzalo Aguilar Delgado < gagui...@

Re: XSS in wicket. Wicket fault or my fault?

2014-01-30 Thread Gonzalo Aguilar Delgado
e Technoactivity Payment Solutions main page. And it worked! El 30/01/14 10:03, Martin Grigorov escribió: Hi, On Wed, Jan 29, 2014 at 6:26 PM, Gonzalo Aguilar Delgado < gagui...@aguilardelgado.com> wrote: Hi there, I'm building an application for a client and my security advisor

Re: XSS in wicket. Wicket fault or my fault?

2014-01-30 Thread Gonzalo Aguilar Delgado
; of the wicket free guide at: http://wicket.apache.org/guide/guide/modelsforms.html#modelsforms_1 Also, older Wicket in Action: http://www.javaranch.com/journal/2008/10/using-wicket-labels-and-links.html On Wed, Jan 29, 2014 at 12:26 PM, Gonzalo Aguilar Delgado < gagui...@aguilardelgado.com&

XSS in wicket. Wicket fault or my fault?

2014-01-29 Thread Gonzalo Aguilar Delgado
Hi there, I'm building an application for a client and my security advisor told me about a XSS attack that can be performed on the site. When user logs-in I welcome they by Saying "Hello user". Hello ${realName}. Welcome to

Re: "Authorization" header in http

2013-04-29 Thread Gonzalo Aguilar Delgado
eaders. > > Your use case sounds like normal session tracking. Once authenticated you > bind a session. This way the servlet container will use either JSESSIONID > cookie or jsessionid request path parameter. > > > On Mon, Apr 29, 2013 at 3:23 AM, Gonzalo Aguilar Delgad

"Authorization" header in http

2013-04-28 Thread Gonzalo Aguilar Delgado
Hello, I'm using AuthenticatedWebApplication class to manage my login and roles. While it works well I want wicket to set the "Authorization" http header each time it does a request. I don't really know if this makes sense. The application is currently working in this context http://localhos

Re: Possible bug in ListView [Cannot change attributes in ListView div]

2013-02-24 Thread Gonzalo Aguilar Delgado
tItem)} method. > * > > Sven > > On 02/24/2013 02:40 AM, Gonzalo Aguilar Delgado wrote: > > Hello, > > > > I think I found something that may not be working right. > > > > I have an html that looks like: > > > > >

Possible bug in ListView [Cannot change attributes in ListView div]

2013-02-23 Thread Gonzalo Aguilar Delgado
Hello, I think I found something that may not be working right. I have an html that looks like: regionOne will be a listview and regionWidget will be one panel populated on populateItem. This is how it looks the class that will go to regionOne (listview)

Re: Submit form before handle onclick

2013-02-18 Thread Gonzalo Aguilar Delgado
process only form B. The values of the form components of A will > be available thru request.getPostRequestParameters().get("someFromA") > > > On Mon, Feb 18, 2013 at 10:56 AM, Gonzalo Aguilar Delgado < > gagui...@aguilardelgado.com> wrote: > > > Hi Martin,

Re: Submit form before handle onclick

2013-02-18 Thread Gonzalo Aguilar Delgado
Hi Martin, Ok. I will take a look to this but I think it's not the right solution. Suppose this: - PAGE Example| --- A <- This is a form. | B <- This is a form.|

Re: Submit form before handle onclick

2013-02-17 Thread Gonzalo Aguilar Delgado
the onclick handler, but how? Thank you in advance. El vie, 15-02-2013 a las 11:07 +0100, Sven Meier escribió:S venO n 02/15/2013 11:01 AM, Gonzalo Aguilar Delgado wrote: > > Hello, > > > > We have just a situation were the information of the form needs to be > > updated

Submit form before handle onclick

2013-02-15 Thread Gonzalo Aguilar Delgado
Hello, We have just a situation were the information of the form needs to be updated before handling an ajax "click" event. The page has a form, with a bean and some TextFields that update the properties in the bean. It has also an ajax component that also updates the bean. The problem is th

Re: Handling of Ajax response fails [Fragments]

2012-11-22 Thread Gonzalo Aguilar Delgado
gards El mar, 20-11-2012 a las 10:31 +0100, Gonzalo Aguilar Delgado escribió: > Hello, > > I'm doing a scaffolding application for wicket + dojo. I'm using > fragments to change between EDIT, UPDATE, DELETE screens. > > On each switch I have to reinitializate compo

Handling of Ajax response fails [Fragments]

2012-11-20 Thread Gonzalo Aguilar Delgado
Hello, I'm doing a scaffolding application for wicket + dojo. I'm using fragments to change between EDIT, UPDATE, DELETE screens. On each switch I have to reinitializate components on the changed zone of the web via javascript. I've implemented this in a clean and efficient way ( I think ), bec

Re: JSON response in wicket >= 6.0.0

2012-11-12 Thread Gonzalo Aguilar Delgado
Hello, Thank you a lot both!!! It's great to work with this framework and the delightful people that support it! Tnx! El lun, 22-10-2012 a las 12:07 +0200, Ernesto Reinaldo Barreiro escribió: > Hi Martin, > > Thanks for the clarification. > > > > > AJAX requests are handled int two steps

Re: JSON response in wicket >= 6.0.0

2012-10-21 Thread Gonzalo Aguilar Delgado
questCycle.get().scheduleRequestHandlerAfterCurrent(handler); > > } > > }); > > > > then use use behavior.getCallbackUrl() to generate the URL you need to use > > on client side to retrieve that JSON. > > > > > > On Sat, Oct 20, 2012 at

Re: JSON response in wicket >= 6.0.0

2012-10-20 Thread Gonzalo Aguilar Delgado
quot;, "UTF-8", "Your JSON HERE"); > > RequestCycle.get().scheduleRequestHandlerAfterCurrent(textRequestHandler); > > > > On Sat, Oct 20, 2012 at 4:00 PM, Gonzalo Aguilar Delgado < > > gagui...@aguilardelgado.com> wrote: > > > >> Hello, > >&

Re: JSON response in wicket >= 6.0.0

2012-10-20 Thread Gonzalo Aguilar Delgado
quot;, "UTF-8", "Your JSON HERE"); > > RequestCycle.get().scheduleRequestHandlerAfterCurrent(textRequestHandler); > > > > On Sat, Oct 20, 2012 at 4:00 PM, Gonzalo Aguilar Delgado < > > gagui...@aguilardelgado.com> wrote: > > > >>

JSON response in wicket >= 6.0.0

2012-10-20 Thread Gonzalo Aguilar Delgado
Hello, I was looking to some code and googling around but cannot find a suitable solution for my problem. I have an AbstractDefaultAjaxBehavior that I'm implemented the function respond(AjaxRequestTarget target) like this --- @Override protected void respond(AjaxRequestTarget

Re: Twitter Bootstrap in Wicket

2012-10-16 Thread Gonzalo Aguilar Delgado
Hello Chris, I can answer yes! But it's not working well for IE<9. It gave me big headaches. For the rest of the navigators it ran well... Here is a demo. You cannot login, sorry. http://www1.seglan.com/remesas-movistar/remesas/login?0 I used several projects: Bootstrap: http

Re: Validation with component not required

2012-10-16 Thread Gonzalo Aguilar Delgado
Hello Sven, I wanted to know when someone fills the field. It's really not necessary. I suppose this is the problem. Will check again. Thank you! El mié, 10-10-2012 a las 14:44 +0300, Martin Grigorov escribió: > Hi, > > On Wed, Oct 10, 2012 at 1:59 PM, Gonzalo Aguilar De

Re: Validation with component not required

2012-10-10 Thread Gonzalo Aguilar Delgado
think the actual behavior is different? > > Sven > > > On 10/06/2012 02:15 PM, Gonzalo Aguilar Delgado wrote: > > Hello, > > > > I've found a little issue with validators. > > > > When you set an StringValidator.ExactLengthValidator(9) into

Re: Validation with component not required

2012-10-10 Thread Gonzalo Aguilar Delgado
> This is exactly how it works. The following test shows it: > > > https://git-wip-us.apache.org/repos/asf?p=wicket.git;a=commitdiff;h=d3f3b43e > > Why to you think the actual behavior is different? > > Sven > > > On 10/06/2012 02:15 PM, Gonzalo Aguilar

Validation with component not required

2012-10-06 Thread Gonzalo Aguilar Delgado
Hello, I've found a little issue with validators. When you set an StringValidator.ExactLengthValidator(9) into a TextField it requires you to enter exactly 9 chars. This seems to be okay. But what happens when the field is not required. setRequired(false). What's the correct behavior?! It sh

Announce: Wicket and Dojo integration for Wicket 6.0.0

2012-09-14 Thread Gonzalo Aguilar Delgado
Hello, I'm doing some work integrating Wicket and Dojo. I've just taken the well done wiquery library and tried to go that way. But I'm diverging to optimize the library for Dojo great toolkit. Maybe you want take a look. There's not much done, but the core. Hope it's the place to announce.

Re: Do I need a custom ResourceAggregator

2012-09-08 Thread Gonzalo Aguilar Delgado
uot;).toString(),dojoDependencies)); } } ... } Is this correct way to do it? Best regards, El sáb, 08-09-2012 a las 21:35 +0200, Gonzalo Aguilar Delgado escribió: > Hello, > > I'm reimplementing my dojo interface again with version 6.0.0 of wicket. > &

Do I need a custom ResourceAggregator

2012-09-08 Thread Gonzalo Aguilar Delgado
Hello, I'm reimplementing my dojo interface again with version 6.0.0 of wicket. I need to replicate same functionality that gives ResourceAggregator + OnDomReadyHeaderItem. I mean, I need that every script that goes into the require when don is aggregated. require(["dojo/dom", "dojo/domReady!

Re: onSelectionChanged is not calling converters

2012-07-15 Thread Gonzalo Aguilar Delgado
Meier escribió: > Hi, > > DropDownChoice doesn't use converters, that's intended. > > What default model is your choice getting/setting values from/to? Do you > use a CompoundPropertyModel? > > Sven > > > On 05/14/2012 05:59 PM, Gonzalo Aguilar D

onSelectionChanged is not calling converters

2012-05-14 Thread Gonzalo Aguilar Delgado
Hello, I've just found working with 1.5.6 that DropDownChoice control that it may be not calling Converters. Because the model is still a string while calling to onSelectionChanged(Provincia provincia) and it fails: Caused by: java.lang.ClassCastException: java.lang.String cannot be cast t

Re: setReuseItems(true) + transactions = ERROR (Solved!)

2011-06-04 Thread Gonzalo Aguilar Delgado
leadDAO.save(object); leadDAO.flush(); } } }; Hope it helps someone. El sáb, 04-06-2011 a las 14:31 +0200, Gonzalo Aguilar Delgado escribió: > Oh man...

Re: setReuseItems(true) + transactions = ERROR (Solved!)

2011-06-04 Thread Gonzalo Aguilar Delgado
pring/hibernate example. You can use the Wicketopia example > as a template if you want. > > On Sat, Jun 4, 2011 at 6:01 AM, Gonzalo Aguilar Delgado > wrote: > > I removed transactional pointcuts to see if this removes the issue. > > > > But the problem got worse. It se

Re: setReuseItems(true) + transactions = ERROR

2011-06-04 Thread Gonzalo Aguilar Delgado
non-transactional one here Not even the first page is instantiated... Will search more... El sáb, 04-06-2011 a las 11:28 +0200, Gonzalo Aguilar Delgado escribió: > >Hi, > >are you sure your model is a LDM? > > Yes. Sure. Encapsulated by an Compo

Re: setReuseItems(true) + transactions = ERROR

2011-06-04 Thread Gonzalo Aguilar Delgado
>Hi, >are you sure your model is a LDM? Yes. Sure. Encapsulated by an CompoundPropertyModel. --- new CompoundPropertyModel(scaffoldableModel) --- /* * Need this because wicket serializes everything and need to reload it when * it's needed. This way wicke

Re: setReuseItems(true) + transactions = ERROR

2011-06-03 Thread Gonzalo Aguilar Delgado
Hi James, I added it already: - openSessionInViewFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFilter singleSession true

Re: setReuseItems(true) + transactions = ERROR

2011-06-03 Thread Gonzalo Aguilar Delgado
es" El vie, 03-06-2011 a las 09:26 +0200, Gonzalo Aguilar Delgado escribió: > Hi Sven, > > Thank you for the update. I will check why they are not detached... They > should. > > Tnx again. > - To uns

Re: setReuseItems(true) + transactions = ERROR

2011-06-03 Thread Gonzalo Aguilar Delgado
ects in your > row components. > > Best regards > Sven > > > On 06/03/2011 04:56 AM, Gonzalo Aguilar Delgado wrote: > > Hello, > > > > I used to refresh all the components in the listview for each http > > transaction. > > > > But now I

setReuseItems(true) + transactions = ERROR

2011-06-02 Thread Gonzalo Aguilar Delgado
Hello, I used to refresh all the components in the listview for each http transaction. But now I tried to use the: setReuseItems(true); When using a ListView. Documentation says that is a must (but I made it to work without it). The problem is that now the objects are serialized and deserial

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-06-02 Thread Gonzalo Aguilar Delgado
ery search for the whole database. Also still in alpha... I will setup some screenshots so you can see it in action. Have to port to dojo also. :D Too many things as I said. Tnx again. El mié, 01-06-2011 a las 16:43 -0400, James Carman escribió: > On Wed, Jun 1, 2011 at 3:41 PM, Gonzalo Ag

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-06-02 Thread Gonzalo Aguilar Delgado
Hi James, Yes, please, send me a .war. My e-mail has no limit in storage. gagui...@aguilardelgado.com El mié, 01-06-2011 a las 16:34 -0400, James Carman escribió: > On Wed, Jun 1, 2011 at 2:59 PM, Gonzalo Aguilar Delgado > wrote: > > > > Does it took long to program it

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-06-01 Thread Gonzalo Aguilar Delgado
de la gente estúpida en grupos grandes" El mar, 31-05-2011 a las 15:43 -0400, James Carman escribió: > Download the example application and run it and you can see it in action > On May 31, 2011 11:36 AM, "Gonzalo Aguilar Delgado" < > gagui...@aguilardelgado.com> wrote:

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-06-01 Thread Gonzalo Aguilar Delgado
tion > On May 31, 2011 11:36 AM, "Gonzalo Aguilar Delgado" < > gagui...@aguilardelgado.com> wrote: > > Hi James, > > > > I was looking for a lng time for scaffolding and found nothing. I > > need to take a review to wicketopia to see what it offers.

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread Gonzalo Aguilar Delgado
mes Carman escribió: > Wicketopia has a scaffold component already. Perhaps we can use some > of your ideas to enhance it? > > On Tue, May 31, 2011 at 9:41 AM, Gonzalo Aguilar Delgado > wrote: > > Hi again, > > > > too many things are going on. But I don't want

While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread Gonzalo Aguilar Delgado
Hi again, too many things are going on. But I don't want to lose the oportunity to let people join or upgrade what we are building. I've just created another project that uses wicket-dojo so I can test features in a real project. I have to upload the code to gitorious.org https://gitorious.org/

Re: wicket-dojo project (Should I change project name?)

2011-05-31 Thread Gonzalo Aguilar Delgado
1 a las 21:25 +0200, Martin Grigorov escribió: > Hi, > > On Sun, Mar 13, 2011 at 9:04 PM, Gonzalo Aguilar Delgado < > gagui...@aguilardelgado.com> wrote: > > > Hi Martin, > > > > Yes I knew about this but I thought it was obsolete. I tried to use some > &g

Re: New Wicket tutorial series

2011-03-13 Thread Gonzalo Aguilar Delgado
Nice work Tomasz!!! El sáb, 12-03-2011 a las 22:04 +0100, Tomasz Dziurko escribió: > Hello. > > As I am using Wicket for over two years, some time ago I decided to start > sharing my knowledge and write tutorial where I am showing process of > creating Wicket application from scratch. Actually

Re: wicket-dojo project (Should I change project name?)

2011-03-13 Thread Gonzalo Aguilar Delgado
dk-1.5-parent/dojo-parent as > well. I'm not sure whether you know or not. This project has been done with > Dojo 0.4 and Wicket 1.(2|3) and then partially upgrated to Dojo 1.1 and > Wicket 1.(4|5). > > And yes - this mailing list is the right place for such announcements and

wicket-dojo project (Should I change project name?)

2011-03-13 Thread Gonzalo Aguilar Delgado
Hi all, I started a new project to give support for dojo to the current wicket base 1.5. I don't know if it will reach much far but wanted to revamp the dojo support in wicket. I have not much time but will try to add widgets and more support when I need it in my projects. This is why I asked s

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-13 Thread Gonzalo Aguilar Delgado
a touch if you need help with this... gagui...@aguilardelgado.com -- Gonzalo Aguilar Delgado Consultor CRM - Ingeniero en Informática M. +34 607 81 42 76 "No subestimes el poder de la gente estúpida en grupos grandes" El vie, 04-03-2011 a las 10:44 +0200, Marti

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-04 Thread Gonzalo Aguilar Delgado
Yes I did it. It runs as I told but does not change body Martin Grigorov wrote: >Did you register this custom markup filter ? >See org.apache.wicket.markup.MarkupParserFactory javadoc to see how to do >it. > >On Fri, Mar 4, 2011 at 8:08 AM, Gonzalo Aguilar D

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Gonzalo Aguilar Delgado
tag.setModified(true); } } else if (tag.isClose()) { } } return tag; } } --

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-03 Thread Gonzalo Aguilar Delgado
Have you tried 1.5? -- Gonzalo Aguilar Delgado Consultor CRM - Ingeniero en Informática M. +34 607 81 42 76 "No subestimes el poder de la gente estúpida en grupos grandes" El jue, 03-03-2011 a las 20:09 +0200, Martin Grigorov escribió: > trunk from today

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-03 Thread Gonzalo Aguilar Delgado
Hi Will try it. Is there a complete example with the html in place there? Tnx - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Gonzalo Aguilar Delgado
whatever the Dojo theme depends on. >See org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler for >example. > > >On Thu, Mar 3, 2011 at 12:15 PM, Gonzalo Aguilar Delgado < >gagui...@aguilardelgado.com> wrote: > >> Hello Matt, >> >> It does n

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Gonzalo Aguilar Delgado
} >// Everything else goes into the . >else >{ >_body.add(c); >} >} >return this; >} >} > >-- >Matt > >On Mar 2, 2011, at 11:35 AM, Gonzalo Aguilar Delgado wrote: > &g

body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-02 Thread Gonzalo Aguilar Delgado
Hello, I'm building a wiJQuery equivalent for Dojo. And it seems to work nice with new wicket 1.5. HeaderContributions are really nice... Great work! But I ran into problems when trying to setup the themes. I have to put something like this in the body: But I rode a lot and discovered tha

Re: StringResourceModel - On the Fly

2010-09-06 Thread Gonzalo Aguilar Delgado
n, 06-09-2010 a las 18:41 +0200, Gonzalo Aguilar Delgado escribió: > Hi MSantos, > > I have similar problem. I want to localize a string inside a class, but > I think your approach is not the good solution. I will look around but > If someone has any alternatives please say... &g

Re: StringResourceModel - On the Fly

2010-09-06 Thread Gonzalo Aguilar Delgado
Hi MSantos, I have similar problem. I want to localize a string inside a class, but I think your approach is not the good solution. I will look around but If someone has any alternatives please say... Tnx. El lun, 06-09-2010 a las 06:00 -0700, msantos escribió: > Hello there. > > I am using

Serialization Problem

2010-06-22 Thread Gonzalo Aguilar Delgado
Hi there, I'm currently running out of ideas on this problem. When detaching the request wicket it's giving me a nasty Serialization exception problem. It happens that the error is: --- - Error serializing object class com.level2.portals.crm.wicket.report.

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Gonzalo Aguilar Delgado
sponse(question, > answer); > and then: > > > categoryComponent.add(QuestionComponentFactory.getComponent(question, > response)); > be sure of to work on the same response instance that is on your form model. > > On Tue, Nov 3, 2009 at

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Gonzalo Aguilar Delgado
> >I should build the form inside a component instead the page. And I > >should keep a reference > >to the dynamic model inside this component. > Not what I try to mean. So what's the way? > > your report: > >But as I have to build the form I do not have a dynamic model on page. > You can

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Gonzalo Aguilar Delgado
independent of your form build logic? You can. Figure out the best way to > your component. You can simple keep this model on an instance variable for > example. > > On Tue, Nov 3, 2009 at 7:22 AM, Gonzalo Aguilar Delgado < > gagui...@aguilardelgado.com> wrote: > > >

Dynamic Rendering and Common Paramenters

2009-11-03 Thread Gonzalo Aguilar Delgado
Hello Again! I have a form that I build dynamically based on a render parameter value. I'm using http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html I use the constructor: /** * Constructor */ public ViewModePage() { ...

Re: Where to put HTML files?

2009-11-03 Thread Gonzalo Aguilar Delgado
Thank you a lot to all for your commentaries... Everything exposed here seems to help me in one way or another. I will run a test for best approach and after decide the best way for me. Thank you again! El jue, 29-10-2009 a las 14:27 +0100, Martijn Dashorst escribió: > On Thu, Oct 29, 2009 a

Where to put HTML files?

2009-10-29 Thread Gonzalo Aguilar Delgado
Hi, I'm just wondering were to put html pages. Currently I using the same path as .java files. I created two compilation units, one for java and one for resources. After compiling both units are joined and put into the same folder. But this is tricky to handle as sources are compiled into jar an

Re: OpenSessionInViewFilter not working in portlets?

2009-09-14 Thread Gonzalo Aguilar Delgado
Hi Ate, Right! That was! Now it's working... I will have to deal with transactions now but I think it's working properly now. Thank you a lot. El lun, 14-09-2009 a las 10:02 +0200, Ate Douma escribió: > REQUEST > INCLUDE > FORWARD >

OpenSessionInViewFilter not working in portlets?

2009-09-12 Thread Gonzalo Aguilar Delgado
Hi, I'm trying to make the OpenSessionInViewFilter to work with my portlets but it seems that does not initialize nor work. Can you check if something is wrong, please? Thank you -- web.xml --

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-09-12 Thread Gonzalo Aguilar Delgado
wael escribió: > Happy to help, please see further answers below. > > 2009/8/17 Gonzalo Aguilar Delgado : > > > > > >> I have several suggestions. > >> > >> The order of the web filters are important. You could also try with > >> wit

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-09-12 Thread Gonzalo Aguilar Delgado
wael escribió: > Happy to help, please see further answers below. > > 2009/8/17 Gonzalo Aguilar Delgado : > > > > > >> I have several suggestions. > >> > >> The order of the web filters are important. You could also try with > >> wit

Re: Portlet and ... 2.0 (How to pass parameters?)

2009-08-19 Thread Gonzalo Aguilar Delgado
e()); > > But that's up to you :) > > Rob > > On 8/14/09 1:50 AM, Gonzalo Aguilar Delgado wrote: > > Hi all! > > > > I managed to do it with wicket 1.4. This is how: > > > > Define it in portlet.xml > > > > > > ... > &g

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
u sure that your filter ( /hibernate/*), get's hit? What's > your wicket filter url, the same or? No, It's different. Can I set it to just "/*"? Should I do it that way? Thank you very much for your answers... > > 2009/8/17 Gonzalo Aguilar Delgado : > > Ok. M

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
Ok. Maybe I don't understand... Let me show the situation. I have Spring + portlet + hibernate config with transactions working with the current configuration: I have my DAO objects under package com.level2crm.hibernate.enterprise.dao.contact And model under com.level2crm.model I configured one

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
at > >> org.apache.wicket.Component.internalBeforeRender(Component.java:1061) > >> at org.apache.wicket.Component.beforeRender(Component.java:1095) > >> at > >> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1751)

Wicket and Transactions

2009-08-14 Thread Gonzalo Aguilar Delgado
Hi, I've found that introducing a pointcut over my portlet and application makes Wicket to scream... It seesm that pointcut is effective but interfere with wicket normal init. I tried to setup the pointcut over the pages instead, where the hibernate daos are used but it has no effect. What can

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-14 Thread Gonzalo Aguilar Delgado
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1751) ... 109 more May this have something to do with selected configuration? Thank you again. El vie, 14-08-2009 a las 10:53 +0200, Gonzalo Aguilar Delgado escribió: > Hi again, > > For a shake of completeness y will provi

CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-14 Thread Gonzalo Aguilar Delgado
Hi again, For a shake of completeness y will provide two of the working configurations I've found to work. I would know what's the one correct and why. Someone can throw a little bit light on this issue, please? -=[ First Choice ]=- - web.xml -

Re: Portlet and ... 2.0 (How to pass parameters?)

2009-08-13 Thread Gonzalo Aguilar Delgado
}; It seems to work right. But means are subject of discussion... Tnx El jue, 13-08-2009 a las 13:43 +0200, Gonzalo Aguilar Delgado escribió: > Hi all!, > > I have some questions about parameter passing in portal environment. I > saw that WebPage class can have

Re: SV: Portlet and ... 2.0 (How to pass parameters?)

2009-08-13 Thread Gonzalo Aguilar Delgado
El jue, 13-08-2009 a las 14:46 +0200, Wilhelmsen Tor Iver escribió: > > But it will be the portlet class the responsible for handling > > processing. So the only way to pass information from the onClick > > function to the > > portlet application for rendering (for example) is using the portlet

Re: Portlet and ... 2.0 (How to pass parameters?)

2009-08-13 Thread Gonzalo Aguilar Delgado
. The other way to do it is with events. But this is not mature enough. El jue, 13-08-2009 a las 22:01 +0200, Rob Sonke escribió: > Could you maybe explain why you need it? Do you want to pass data inside > your portlet or to another portlet? > > Rob > > On 8/13/09 1:43 P

Portlet and ... 2.0 (How to pass parameters?)

2009-08-13 Thread Gonzalo Aguilar Delgado
Hi all!, I have some questions about parameter passing in portal environment. I saw that WebPage class can have access to the Application class but not the portlet class. This makes a little tricky to handle requests because: We can set session paramaters. And can call functions inside Applicat