SSL/TSL for the tapestry tynamo rest

2015-04-17 Thread Boris Horvat
Does anyone have any idea where to start with this? I have enabled the rest using tynamo resteasy so now I am wondering do I need to do anything special in the application to make it SSL/TSL protected? Is it as simple as enabling the SSL/TSL on the host and mapping the web.xml to the rest pattern

Re: IntelliJ and Tapestry testing

2015-01-30 Thread Boris Horvat
15 at 00:35:17 Stephan Windmüller < stephan.windmuel...@tu-dortmund.de> wrote: > On 30.01.2015, Boris Horvat wrote: > > > I have created a testng.xml and put details about my test class to run, > if > > I run this from maven all is working fine, but I can't get it

Re: IntelliJ and Tapestry testing

2015-01-30 Thread Boris Horvat
is no longer active because the IOC Registry has been shut down. java.lang.RuntimeException: Exception constructing service 'ApplicationGlobals': Proxy for service ApplicationGlobals is no longer active because the IOC Registry has been shut down. Does anyone know what is that about?

IntelliJ and Tapestry testing

2015-01-30 Thread Boris Horvat
I realized this might be a simple question so I hope a lot of people can answer it :) I have created a testng.xml and put details about my test class to run, if I run this from maven all is working fine, but I can't get it to run using an IntelliJ as it complains about the missing

Getting a page context in a embedded component

2015-01-25 Thread Boris Horvat
Hi all, What is the best way to let the component on same page know what was the context used on that page? I have a Header like component that should mark the page that is selected, As not all pages have context I would like to avoid passing context to the component directly if possible. I cou

How to override property files in tapestry

2014-11-08 Thread Boris Horvat
e.bind(ServiceBinder) (at TapestryIOCModule.java:49) for references to another service that is itself dependent on service 'SymbolSource'. I guess I can't use @Symbol at the same time I want to contribute to it Is my hierarchy even possible to achieve given all of this? -- Sincerely *Boris Horvat*

Re: zone on a

2014-09-23 Thread Boris Horvat
Html doesn't supprit div or any other tag in the middle of the table so browser will remove it. I have learned that the hard way. You have 3 options. Dont use table. Use ajaxformloop. Put zone inside the On 23 Sep 2014 12:02, "squallmat ." wrote: > Hi, > > I have a table, one of the row () has

Re: Are component parameters shared between sessions?

2014-09-18 Thread Boris Horvat
nce of the bound property should be handled by the > container. > > Robert > > GATAATGCTATTTCTTTAACGAA > > > On Sep 17, 2014, at 4:09 PM, Boris Horvat > wrote: > > > > I have never tried to initialize Filter in the field so I don't have such > > proble

Re: Are component parameters shared between sessions?

2014-09-17 Thread Boris Horvat
this problem, feel free to shout :) Thanks PS removing @Persist from selectedFilter did not help On Tue, Sep 16, 2014 at 2:56 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 15 Sep 2014 19:25:21 -0300, Boris Horvat > wrote: > > Reading a tapestry docume

Re: Tapestry onActivate messes up after submitting a form

2014-09-17 Thread Boris Horvat
On 15 September 2014 22:14, Boris Horvat wrote: > > > Sure I will answer them. Thanks for help in identifying this > > > > On Mon, Sep 15, 2014 at 10:18 AM, Lance Java > > wrote: > > > > > I've created an issue here: > > > https://github.c

Are component parameters shared between sessions?

2014-09-15 Thread Boris Horvat
f you need more code -- Sincerely *Boris Horvat*

Re: Tapestry onActivate messes up after submitting a form

2014-09-15 Thread Boris Horvat
> issue. > On 14 Sep 2014 23:27, "Boris Horvat" wrote: > > > Brilliant at least we figured out the issue here :) > > > > Any eta on the fix? I would be happy to test the fix :) > > > > On Sun, Sep 14, 2014 at 11:49 PM, Lance Java > > wrote: >

Re: Tapestry onActivate messes up after submitting a form

2014-09-14 Thread Boris Horvat
I was wrong. > > The workaround for now is to convert from string yourself. > On 14 Sep 2014 22:17, "Boris Horvat" wrote: > > > You are right, the implementation is different between the two cases. > > > >- eventContext = > > {org.apache

Re: Tapestry onActivate messes up after submitting a form

2014-09-14 Thread Boris Horvat
. the tapestry-cometd component > > I think there's something preventing type coercion (which passes through to > ValueEncoder). I'm guessing it's a different EventContext implementation in > the 2 cases. > -- Sincerely *Boris Horvat*

Re: Tapestry onActivate messes up after submitting a form

2014-09-14 Thread Boris Horvat
the serverside is attempting to push to > the old PushTarget (with the old page activation context value) before the > page refreshes. > -- Sincerely *Boris Horvat*

Re: Tapestry onActivate messes up after submitting a form

2014-09-14 Thread Boris Horvat
om the info... Thanks On Sun, Sep 14, 2014 at 8:47 PM, Lance Java wrote: > Ok, that's a bit of a bombshell you've just dropped there. For those > playing along at home it seems that you're using tapestry-cometd. Care to > share how you're using it? > On 13 Sep 2014

Re: Tapestry onActivate messes up after submitting a form

2014-09-13 Thread Boris Horvat
Sep 13, 2014 at 3:24 PM, Boris Horvat wrote: > From what I can see the fact that context becomes and array of Objects in > the end causes the issue, anyone seen something like this before? > > On Sat, Sep 13, 2014 at 3:20 PM, Boris Horvat > wrote: > >> Hi Lance, >> &g

Re: Tapestry onActivate messes up after submitting a form

2014-09-13 Thread Boris Horvat
>From what I can see the fact that context becomes and array of Objects in the end causes the issue, anyone seen something like this before? On Sat, Sep 13, 2014 at 3:20 PM, Boris Horvat wrote: > Hi Lance, > > yea it finds the encoder. As previously mentioned the first time I hit

Re: Tapestry onActivate messes up after submitting a form

2014-09-13 Thread Boris Horvat
re in > the "basepackage.entities" package (configurable). What packages are your > entities in? > > Try @Inject ValueEncoderSource and call getValueEncoder(Scene.class) > > Does it find a ValueEncoder? > -- Sincerely *Boris Horvat*

Re: Tapestry onActivate messes up after submitting a form

2014-09-11 Thread Boris Horvat
if (!scene.getProject().equals(user.getSelectedProject())) { > user.setSelectedProject(scene.getProject()); >} > >shotComponents = systemManager.getComponents(selectedShot, filter); >CollectionUtils.sortComponents(shotComponents); > } > -- Sincerely *Boris Horvat*

Re: Tapestry onActivate messes up after submitting a form

2014-09-10 Thread Boris Horvat
I know :) as I wrote in the previous mail I have tried both ways, but still not working On Wed, Sep 10, 2014 at 9:09 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 10 Sep 2014 15:40:25 -0300, Boris Horvat > wrote: > > public St

Re: Tapestry onActivate messes up after submitting a form

2014-09-10 Thread Boris Horvat
2014 at 7:37 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 10 Sep 2014 14:14:01 -0300, Boris Horvat > wrote: > > public List onPassivate() { >> >> List a = new ArrayList(); >> a.add(selectedScene); &g

Re: Tapestry onActivate messes up after submitting a form

2014-09-10 Thread Boris Horvat
wrote: > > > No, this is a new feature. > > > > Your onActivate methods are very complex. Have you considered a single > > onActivate(EventContext)? > > > > Perhaps the '-' in '-3' is just a presentation issue. > > > > I think the main culprit is likely to be your onPassivate(). Does it > return > > all 3 objects (when populated). > > > -- Sincerely *Boris Horvat*

Re: Tapestry onActivate messes up after submitting a form

2014-09-10 Thread Boris Horvat
Yea -3 is not propet db id, but what could have changed it into negative number...strange Is this partbof the 5.3.7 or 5.4 as I am still on the old offucial version. I can try it out tonight and see what happen Thanks On 10 Sep 2014 09:16, "Lance Java" wrote: > > Exception in method null, para

Re: Tapestry onActivate messes up after submitting a form

2014-09-09 Thread Boris Horvat
select* fields are marked with @Property @Persist So the question still remains, how come that tapestry fails to pick up that context is a number and then it fails to user hibernate ValueEncoder. Thanks for the help guys On Tue, Sep 9, 2014 at 8:38 PM, Boris Horvat wrote: > It i

Re: Tapestry onActivate messes up after submitting a form

2014-09-09 Thread Boris Horvat
< thiag...@gmail.com> wrote: > On Tue, 09 Sep 2014 04:10:22 -0300, Boris Horvat > wrote: > > Hi my methods look like this >> >> public boolean onActivate(Scene scene) { >> selectedScene = >> scene;//systemManager.getScene(Long.parse

Re: Tapestry onActivate messes up after submitting a form

2014-09-09 Thread Boris Horvat
e method - the only thing is that my url changes and it losses the context but onActivate is still triggered) Thanks On Tue, Sep 9, 2014 at 12:36 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 08 Sep 2014 18:21:42 -0300, Boris Horvat > wrote: > > Hi

Tapestry onActivate messes up after submitting a form

2014-09-08 Thread Boris Horvat
that fails to be converted into object. Is this behaviour expected? Do I need to add something special into the form to keep context properly passed? Thanks -- Sincerely *Boris Horvat*

Re: Provide application version in jetty pom definition

2014-08-21 Thread Boris Horvat
Found it. Thanks for help Cheers On Fri, Aug 22, 2014 at 12:05 AM, Boris Horvat wrote: > Alas still the same, but the other property is working fine...maybe I have > a bug somewhere and the information is lost... > > > On Thu, Aug 21, 2014 at 11:47 PM, Michael Gentry > wrot

Re: Provide application version in jetty pom definition

2014-08-21 Thread Boris Horvat
false > false > ... > > Maybe try it that way. > > mrg > > > > On Thu, Aug 21, 2014 at 5:16 PM, Boris Horvat > wrote: > > > Hi. > > > > Yea it is written correctly, probably when I was copy/pasting stuff

Re: Provide application version in jetty pom definition

2014-08-21 Thread Boris Horvat
't get e-mailed out very well, but you appear to have one > too many "tapestry." strings in your name and your name is missing a > bracket. Try: > > tapestry.application-version > > mrg > > > > On Thu, Aug 21, 2014 at 5:01 PM, Boris Horvat >

Provide application version in jetty pom definition

2014-08-21 Thread Boris Horvat
urn new MyService(props); } Any idea why is this not working? For the version I get some random number that means the version is not set so tapestry pick something Thanks -- Sincerely *Boris Horvat*

Re: Wait for the triggerEvent to finish

2014-07-15 Thread Boris Horvat
us who is calling the triggerEvent method? > > And what are you trying to do by using the callback? > > > On Sat, Jul 12, 2014 at 2:20 PM, Boris Horvat > wrote: > > > Hi everyone, > > > > I have a component that triggers the event, once the event is triggered,

Re: Wait for the triggerEvent to finish

2014-07-13 Thread Boris Horvat
rside. The first > event could put an AtomicBoolean or CountDownLatch onto the session. This > is then looked up by the onSuccess event and waitForCompletion() called. > On 12 Jul 2014 12:21, "Boris Horvat" wrote: > > > Hi everyone, > > > > I have a compone

Wait for the triggerEvent to finish

2014-07-12 Thread Boris Horvat
needs and it throws NPE. Is it possible to force the wait here so that I wait for the return of the callback and then proceed to the onSuccess method? Thanks -- Sincerely *Boris Horvat*

Re: Cometd-Tapestry IllegalStateException

2014-06-15 Thread Boris Horvat
gt; On 14 Jun 2014 18:58, "Boris Horvat" wrote: > > > Here is the url - http://postimg.org/image/b74chvzr7/ > > > > I will try to monitor the network traffic, but does you theory explains > why > > refreshing the page doesn't fix the issue? Could it be th

Re: Cometd-Tapestry IllegalStateException

2014-06-14 Thread Boris Horvat
request with JSESSIONID=XXX, > BAYEUX_BROWSER=YYY > 3. All future cometd requests should have JSESSIONID=XXX, > BAYEUX_BROWSER=YYY > > It's probably easiest to watch the traffic in the developer tools in your > browser (network traffic). > I'm guessing somewhere along t

Re: Cometd-Tapestry IllegalStateException

2014-06-14 Thread Boris Horvat
%21session%20%5Bat%20classpath%3Acom%2Fbomahabo%2Fflow%2Ftapestry%2Fcomponents%2Flayout%2FMenuProfile.tml%2C%20line%204%5D > On 14 Jun 2014 11:09, "Boris Horvat" wrote: > > > Well it is cookie bases session. This happens in the application that we > > run in local jetty as we

Re: Cometd-Tapestry IllegalStateException

2014-06-14 Thread Boris Horvat
> Are you using cookie based session or url based? > > Try inspecting the network traffic and ensure the cookie is being passed > each time. > > Is this a clustered setup? > On 14 Jun 2014 01:35, "Boris Horvat" wrote: > > > Hi Lance, I am not sure wh

Re: Cometd-Tapestry IllegalStateException

2014-06-13 Thread Boris Horvat
mponent and event handle in another? I assume not and also like I said it worked for the first few clicks. Any ideas? Thanks > > Admittedly the error message could be nicer than "!session" > On 13 Jun 2014 15:36, "Boris Horvat" wrote: > > >

Cometd-Tapestry IllegalStateException

2014-06-13 Thread Boris Horvat
push event but at some point in the near future. Has anyone seen something similar before? -- Sincerely *Boris Horvat*

Re: Using tapestry tml as a mail template

2014-06-11 Thread Boris Horvat
( templateName + > > ".ftl", > > locale, "UTF-8" ); > > > > StringWriter writer = new StringWriter (); > > > > template.process ( parameters, writer ); > > > > return writer.toString (); > >

Re: Using tapestry tml as a mail template

2014-06-11 Thread Boris Horvat
; StringWriter writer = new StringWriter (); > > template.process ( parameters, writer ); > > return writer.toString (); > > } catch ( IOException e ) { > > throw new RuntimeException ( e ); > > } catch ( TemplateException e ) {

Using tapestry tml as a mail template

2014-06-11 Thread Boris Horvat
for a given page and then redirecting that output to the database? Does anyone know any such examples? Cheers -- Sincerely *Boris Horvat*

Re: Tapestry ClassLoading errors

2014-06-08 Thread Boris Horvat
Glad to report that this resolved my issue. Thank you :) On Mon, Jun 2, 2014 at 11:59 PM, Lance Java wrote: > http://tapestry.apache.org/class-reloading.html > On 2 Jun 2014 22:49, "Boris Horvat" wrote: > > > Hm...I did not know about this. Will try it out over

Re: Refreshing a from in a Zone

2014-06-03 Thread Boris Horvat
gt; -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Sincerely *Boris Horvat*

Re: Refreshing a from in a Zone

2014-06-02 Thread Boris Horvat
Hm...I have just checked your example. You seem to have a table within a table...I can try to experiment with that. Thanks On Tue, Jun 3, 2014 at 1:38 AM, Boris Horvat wrote: > Well if the html that I have specified is illegal then I will have to > modify it and move the form outside

Re: Refreshing a from in a Zone

2014-06-02 Thread Boris Horvat
inside a Form, but perhaps you > could strip the example down, get it working, then try adding your Loop? > > > > > http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop > > > > Cheers, > > > > Geoff > > > > On 3 Jun 2014, a

Re: Tapestry ClassLoading errors

2014-06-02 Thread Boris Horvat
ces > should never reference component classes. > > Your service has a method: > refreshAjaxZones(Zone) > > This is the problem since Zone is a component. Try referencing the > interface ClientElement instead. > On 1 Jun 2014 12:41, "Boris Horvat" wrote: > > >

Re: Refreshing a from in a Zone

2014-06-02 Thread Boris Horvat
de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sun, 01 Jun 2014 13:02:33 -0300, Boris Horvat > wrote: > > Well from what I can see, it is not possible to put form in the middle of >> the table, so that means I will have to put it around the table. However >> for

Re: Tapestry ClassLoading errors

2014-06-01 Thread Boris Horvat
lled package. > > > >> http://tapestry.apache.org/class-reloading.html >> On 01/06/2014 4:58 am, "Boris Horvat" wrote: >> >> In what package should I put this component? Currently it resides in >>> >>> package com.bomahabo.flo

Re: Refreshing a from in a Zone

2014-06-01 Thread Boris Horvat
populate the same source. Is it possible to somehow tell tapestry to ignore those other loops? To disable them in a manner of speaking? On Sun, Jun 1, 2014 at 3:45 PM, Boris Horvat wrote: > Hi Geoff, > > I am not sure I follow what you mean? I have tried to integrate loop into >

Re: Refreshing a from in a Zone

2014-06-01 Thread Boris Horvat
< geoff.callender.jumpst...@gmail.com> wrote: > Probably nothing to do with your problem, but I don't think it's legal to > have ${values} outside of a cell. The same goes for the LinkSubmit. > > On 1 Jun 2014, at 6:11 am, Boris Horvat wrote: > > > Here is the code

Re: Tapestry ClassLoading errors

2014-06-01 Thread Boris Horvat
out of the tapestry controlled packages, > you can reference interfaces instead of concrete components. Make sure your > own interfaces are not in a tapestry controlled package. > On 1 Jun 2014 09:34, "Boris Horvat" wrote: > > > That does sound promising. Will try it

Re: Refreshing a from in a Zone

2014-06-01 Thread Boris Horvat
back? On Sat, May 31, 2014 at 10:11 PM, Boris Horvat wrote: > Here is the code that will trigger the issue (I needed a bit of time to > isolate everything sorry for the delay. > > The fact that loop is around element is what is triggeri

Re: Tapestry ClassLoading errors

2014-06-01 Thread Boris Horvat
; On 01/06/2014 4:58 am, "Boris Horvat" wrote: > > > In what package should I put this component? Currently it resides in > > > > package com.bomahabo.flow.tapestry.utility > > > > and it uses > > > > private AjaxResponseRenderer

Re: Refreshing a from in a Zone

2014-05-31 Thread Boris Horvat
May 31, 2014 at 10:09 PM, Boris Horvat wrote: > Hi, thanks for the quick response > > Thiago, the entire form is already in a zone. > > I don't think that stack trace will help but here it is > > Stack trace > >- > > org.apache.tapestry

Re: Refreshing a from in a Zone

2014-05-31 Thread Boris Horvat
va:76) - org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852) - org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171) On Sat, May 31, 2014 at 9:47 PM, Kalle Korhonen wrote: > On Sat, May 31, 2014 at 11:55 AM, Boris Horvat > wrote: > > &

Re: Tapestry ClassLoading errors

2014-05-31 Thread Boris Horvat
order to help with this issue? On Tue, May 27, 2014 at 5:50 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 27 May 2014 10:29:09 -0300, Boris Horvat > wrote: > > But it is only triggered in class re loading >> > > It could be a reloadable se

Refreshing a from in a Zone

2014-05-31 Thread Boris Horvat
require that the request method be POST and that the t:formdata query parameter have values. Am I doing something wrong? Is my scenario possible? Let me know if you need code samples Cheers -- Sincerely *Boris Horvat*

Re: Tapestry ClassLoading errors

2014-05-27 Thread Boris Horvat
I will try to search for the direct usage of the class and to remove it if I find it Thanks On Tue, May 27, 2014 at 5:50 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 27 May 2014 10:29:09 -0300, Boris Horvat > wrote: > > But it is only triggered i

Re: Tapestry ClassLoading errors

2014-05-27 Thread Boris Horvat
But it is only triggered in class re loading On 27 May 2014 15:11, "Taha Siddiqi" wrote: > It looks like a dependency problem. Two versions of tapestry-core in class > path perhaps. > > Sent from my iPhone > > > On May 27, 2014, at 5:30 PM, Boris Horvat >

Re: Tapestry ClassLoading errors

2014-05-27 Thread Boris Horvat
Anyone has any idea? On 24 May 2014 11:30, "Boris Horvat" wrote: > > Hi everyone, > > I have create a service to help me reload different ajax zone but I get > the following exception > > java.lang.LinkageError > loader constrain

Tapestry ClassLoading errors

2014-05-24 Thread Boris Horvat
javascript) { this.ajaxResponseRenderer = ajaxResponseRenderer; this.request = request; this.javascript = javascript; } Thank you :) -- Sincerely *Boris Horvat*

Re: Component ID

2014-04-26 Thread Boris Horvat
On Sat, Apr 26, 2014 at 8:25 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 26 Apr 2014 13:33:03 -0300, Boris Horvat > wrote: > > But is it expected for the things that are @Persist-ed to be shared in >> each iteration? >> > >

Re: Component ID

2014-04-26 Thread Boris Horvat
:29 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 26 Apr 2014 12:36:26 -0300, Boris Horvat > wrote: > > Hi, >> > > Hi! > > > >> I believe that I am doing something wrong but just wanted to confirm if >> that is the cas

Component ID

2014-04-26 Thread Boris Horvat
id. Any idea if I am doing something wrong or is this expected behaviour and I should pass the zone id as a parameter from outside of the component? Cheers -- Sincerely *Boris Horvat*

Tapestry 5.3 xsd in 5.3.7 version

2014-04-21 Thread Boris Horvat
Hi all, It would appear that tapestry 5.3.7 version doesn't contain xsd schema 5.3. I can only see 5.1 and 5.0. Is this expected? Cheers -- Sincerely *Boris Horvat*

Re: Passing null value into context

2014-04-14 Thread Boris Horvat
Ny server side event tyoe do you mean that I have to create link in java? I cant just pass EventContext to context parameter of pagelink. I tried that at it was take as a string of the EventContext toString method On 13 Apr 2014 15:48, "Lance Java" wrote: > This can be done using EventContext as

Passing null value into context

2014-04-13 Thread Boris Horvat
N Is it possible to somehow omit $N value? The only thing I can think if is to have 2 blocks of code with only differences in the context parameter. However that would be redundant in my mind and I would like to avoid it if possible. So is it? Thanks -- Sincerely *Boris Horvat*

Re: Jetty or NetBeans issue?

2014-03-28 Thread Boris Horvat
No problem here as well. What versions are you using? On 28 Mar 2014 10:00, "Rural Hunter" wrote: > I use netbeans+maven+tomcat+tapestry and there is no problem. > > 于 2014/3/28 16:51, John 写道: > >> I run my dev server using a Maven goal under NetBeans. Quite often Jetty >> becomes completely unr

Re: Tapestry5 - Weaves 3.0 repository

2014-03-25 Thread Boris Horvat
om github. > > I also submit a pull request so the original project creator can just merge > the changes. > > > > > > On Tue, Mar 25, 2014 at 5:20 PM, Boris Horvat >wrote: > > > Hi everyone, > > > > Does anyone know if Weaves 3.0 (https://github.co

Tapestry5 - Weaves 3.0 repository

2014-03-25 Thread Boris Horvat
automate the build). Cheers -- Sincerely *Boris Horvat*

Re: How to Declare JSONObject function ?

2014-03-21 Thread Boris Horvat
Fir me the solution was to use ut without jsonliterl, just put the name of the fuction without brackets On 21 Mar 2014 04:31, "john c" wrote: > First, I am using the latest, Tapestry/Tapestry-JQuery versions: 5.3.7 / > 3.3.7. > > I created draganddrop.js and put it under webapp/js. It has a simpl

Re: object based security (owner)

2014-03-15 Thread Boris Horvat
------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Sincerely *Boris Horvat*

Re: working with DOM and text for implementing realtime chat

2014-03-14 Thread Boris Horvat
ry-cometd should work as is under 5.4/jquery. > -- Sincerely *Boris Horvat*

Re: working with DOM and text for implementing realtime chat

2014-03-14 Thread Boris Horvat
Lance did you had any issues running it with 5.4. I plan to update my stuff in a month from now so just wondering is there is something to look out for On 14 Mar 2014 09:34, "Lance Java" wrote: > You could use tapestry-atmosphere > https://github.com/uklance/tapestry-atmosphere > https://github.c

Re: How to pass a javascript function in tapestry mixin

2014-02-26 Thread Boris Horvat
On Wed, Feb 26, 2014 at 1:02 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 25 Feb 2014 21:30:39 -0300, Boris Horvat > wrote: > > Sorry Thaigo, but I am not sure what you had in mind. >> If you think about >> That's something to

Re: How to pass a javascript function in tapestry mixin

2014-02-25 Thread Boris Horvat
g the function (that doesn't involve overwriting existing files) I will be happy to try it out. Cheers On Tue, Feb 25, 2014 at 3:10 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 24 Feb 2014 19:53:59 -0300, Boris Horvat > wrote: > > Anyone has any

Re: How to pass a javascript function in tapestry mixin

2014-02-24 Thread Boris Horvat
Anyone has any idea about this? :) On Sat, Feb 22, 2014 at 10:07 PM, Boris Horvat wrote: > In case it helps the method is defined like this > > function showUploadProgress() { > var showUploadProgress = function(id, fileName) { > alert(123) > $('.pho

Re: Zone and Event Link ID refresh

2014-02-23 Thread Boris Horvat
I have been able to trace the problem bact to the change in the zone id on java side. It is fune now :) Thanks On 23 Feb 2014 13:45, "Thiago H de Paula Figueiredo" wrote: > On Sat, 22 Feb 2014 17:51:16 -0300, Boris Horvat > wrote: > > Hi everyone, >> > > H

Re: How to pass a javascript function in tapestry mixin

2014-02-22 Thread Boris Horvat
ss; } Cheers On Sat, Feb 22, 2014 at 10:02 PM, Boris Horvat wrote: > Sadly I did posted it > > Communication with the server failed: null > Ajax failure: Status 200 for #{request.url}: null > Communication with the server failed: null > > Not much more info then this. In the c

Re: How to pass a javascript function in tapestry mixin

2014-02-22 Thread Boris Horvat
" : "{file} is too small, minimum file size is {minSizeLimit}.", "emptyError" : "{file} is empty, please select files again without it." } }, and then I can see the effects of the method (without parentheses the code doesn't work but the error is still present

Zone and Event Link ID refresh

2014-02-22 Thread Boris Horvat
re :S Cheers -- Sincerely *Boris Horvat*

Re: How to pass a javascript function in tapestry mixin

2014-02-16 Thread Boris Horvat
well that javascript wont work...I will have to find the right properties to trigger it :) On Sun, Feb 16, 2014 at 7:36 PM, Boris Horvat wrote: > As mentioned the code actually do what it was suppose to do, it is just > that it breaks ajax (some browser security concerns as it is sent fr

Re: How to pass a javascript function in tapestry mixin

2014-02-16 Thread Boris Horvat
$('#uploader').data('fileuploader')._options.onSubmit = > showUploadProgress; > > Didn’t test this, though. And of course this code works just as long as > the fileuploader library isn’t replaced by a newer one. > > T5-jQuery’s AjaxUpload component should provide a bette

Re: How to pass a javascript function in tapestry mixin

2014-02-15 Thread Boris Horvat
call. In addition, it's passing > the value resulting of calling showUploadProgress(), not passing the > function itself. It should have been new JSONLiteral(" > showUploadProgress"). > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Sincerely *Boris Horvat*

How to pass a javascript function in tapestry mixin

2014-02-15 Thread Boris Horvat
iguration to tapestry component? Cheers -- Sincerely *Boris Horvat*

Re: Keep the same form id after the zone refresh

2014-01-01 Thread Boris Horvat
nt > side html ids. the client side html ids happen to use the server side > component id for convenience. An onValidateFromMyForm() handler will we > triggered even if the MyForm form is nested and updated in a zone. > > > > > > On Tue, Dec 31, 2013 at 7:15 PM, Boris H

Re: Keep the same form id after the zone refresh

2013-12-31 Thread Boris Horvat
ld help me to catch this on client side not on server Cheers and happy new year :D On Tue, Dec 31, 2013 at 4:06 PM, Boris Horvat wrote: > Well I did used this before, and it worked fine... Also I believe that I > have read somewhere that I can use a property and pass it to the id field >

Re: Keep the same form id after the zone refresh

2013-12-31 Thread Boris Horvat
t; On 12/30/2013 9:14 PM, Boris Horvat wrote: > >> Yea that was my idea, to use javascript code to modify the id in order for >> the java side to be able to process the correct form, however this seems >> like ugly solution :) >> >> >> On Mon, Dec 30, 2013 at

Re: Keep the same form id after the zone refresh

2013-12-30 Thread Boris Horvat
uot;) (select > the form with the id started with "form") for javascript stuffs. Tapestry > creates a new id not only on the client side but also keep track the new id > underneath the hood (for security purpose, I guess) > > > On 12/30/2013 4:02 AM, Boris Horvat wro

Keep the same form id after the zone refresh

2013-12-29 Thread Boris Horvat
, but is there any better way to resolve this? Cheers -- Sincerely *Boris Horvat*

Re: TreeGrid in tapestry

2013-12-15 Thread Boris Horvat
code.google.com/p/tapestry5-treegrid/source/browse/trunk/tapestry5-treegrid/src/main/java/org/codelutin/tapestry/components/TreeGrid.java > > > > > > On Sun, Dec 15, 2013 at 11:22 PM, Boris Horvat >wrote: > > > >> Or if anyone has any other suggestion for t

Re: TreeGrid in tapestry

2013-12-15 Thread Boris Horvat
Or if anyone has any other suggestion for tree-like-table component I would appreciate that as well :) On Sun, Dec 15, 2013 at 1:05 PM, Boris Horvat wrote: > Does anyone know where can I find a usage for > https://code.google.com/p/tapestry5-treegrid/ > > Thanks > > -- &g

TreeGrid in tapestry

2013-12-15 Thread Boris Horvat
Does anyone know where can I find a usage for https://code.google.com/p/tapestry5-treegrid/ Thanks -- Sincerely *Boris Horvat*

Re: How does Tapestry SelectModelFactory pick the id

2013-12-02 Thread Boris Horvat
. I will take a look at the ValueEncoderSource as you suggestion. Thanks for the hint. Cheers On Tue, Dec 3, 2013 at 2:09 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 02 Dec 2013 21:27:25 -0200, Boris Horvat > wrote: > > Hm...This code of mi

Re: How does Tapestry SelectModelFactory pick the id

2013-12-02 Thread Boris Horvat
normal ValueEncoder On Mon, Dec 2, 2013 at 9:45 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > Could you please post the corresponding template and Java code? > > > On Mon, 02 Dec 2013 18:23:37 -0200, Boris Horvat > wrote: > > This is the html ou

Re: How does Tapestry SelectModelFactory pick the id

2013-12-02 Thread Boris Horvat
This is the html output of my code from before Company A Company B On Mon, Dec 2, 2013 at 9:15 PM, Boris Horvat wrote: > So does that mean that tapestry-hibernate will determine that this is a > "hibernate" class and it will create a ValueEncoder that will then pick the &g

Re: How does Tapestry SelectModelFactory pick the id

2013-12-02 Thread Boris Horvat
ly that it doesnt populate correct id into the options of the value but instead it puts there the output of toString() On Mon, Dec 2, 2013 at 8:46 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 02 Dec 2013 17:31:43 -0200, Boris Horvat > wrote: > > Hi

  1   2   3   >