Re: [T5.4] Weird behavior with CSS files

2013-06-26 Thread Dimitris Zenios
Check out https://issues.apache.org/jira/browse/TAP5-2106 On Thu, Jun 27, 2013 at 4:45 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 26 Jun 2013 04:38:58 -0300, Serge Eby wrote: > > Hi, >> > > Hi! > > I am still planning an upgrade to 5.4 while playing with the lates

Re: Select onChange with a context value

2013-06-26 Thread mailingl...@j-b-s.de
Hi Ben! AFAIR you can pass a context but this value remains constant and is independent from the selection made. So at the very end I used bind like you did. Same problem applies to Checkboxes, so I do not know if Tapestry generally misses something or we simply did not find it yet... Why did

Problems with accessing my SSO from the service layer. request related NPE.

2013-06-26 Thread Jon Williams
Hi, For background info... I'm running 5.3.7 tapestry release. I'm trying to get a handle to a SSO from inside a service class... (warning...code failure ensues.) I have an SSO "Visit" here's the SSO's "injection" from my service class "UserServiceImpl"... private Visit getVisit() { R

Re: [T5.4] Weird behavior with CSS files

2013-06-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Jun 2013 04:38:58 -0300, Serge Eby wrote: Hi, Hi! I am still planning an upgrade to 5.4 while playing with the latest 5.4-SNAPSHOT. When launched, I get a cryptic error message that seems to be caused by the empty string in the url definition url(""). Is that valid CSS? I'm n

[T5.4] Weird behavior with CSS files

2013-06-26 Thread Serge Eby
Hi, I am still planning an upgrade to 5.4 while playing with the latest 5.4-SNAPSHOT. I have the following snippet in a shared CSS file: - /* Fix for Bootstrap theme errors in PrimeFaces: http://forum.primefaces.org/viewtopic.php?f=9&t=19250&start=10 */ .ui-state-error, .ui-widget-content .u

Re: Supporting Informal Parameters

2013-06-26 Thread Boris Horvat
Or I could just use @Component(inheritInformalParameters = true) On Wed, Jun 26, 2013 at 11:33 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 26 Jun 2013 17:36:44 -0300, Boris Horvat > wrote: > > So I guess that I have to add informal elements manually. Now the b

Re: Select onChange with a context value

2013-06-26 Thread Lance Java
I've just recently added a onEvent mixin to tapestry-stitch... it sounds like exactly what you're after http://tapestry-stitch.uklance.cloudbees.net/oneventdemo On 26 June 2013 18:14, Ben Titmarsh wrote: > Hi All, > > I am generating ~100 select items in a loop and would like to listen for > t

Re: jquery jgrowl params not working

2013-06-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Jun 2013 17:17:46 -0300, D.R. wrote: Then i just rebooted my server and it works with retour.put("beforeClose", new JSONLiteral("function(e,m) {alert('About to close this notification!');}")); That's a correct way of doing that. but not with: retour.put("beforeClose", "function(e

Re: jquery jgrowl params not working

2013-06-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Jun 2013 16:35:23 -0300, D.R. wrote: Hi, Hi! "beforeClose" : function(e,m) {alert('About to close this notification!');}, so without the quotes, but alert is not called. I've never used JGrowl, so I cannot answer about that. The resulting JSON object does seem correct. Have y

Re: Supporting Informal Parameters

2013-06-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Jun 2013 17:36:44 -0300, Boris Horvat wrote: So I guess that I have to add informal elements manually. Now the below given method works @AfterRender void addInformalElements(MarkupWriter writer) { for (Node node : writer.getElement().getChildren()) { applyI

Re: Supporting Informal Parameters

2013-06-26 Thread Boris Horvat
So I guess that I have to add informal elements manually. Now the below given method works @AfterRender void addInformalElements(MarkupWriter writer) { for (Node node : writer.getElement().getChildren()) { applyInformalElements(node.getContainer()); } } however

Re: jquery jgrowl params not working

2013-06-26 Thread D.R.
ok, i've figured out the following: on http://stanlemon.net/2013/03/16/jgrowl-1-2-11/ they write: updated to jGrowl today that fixes an issue when triggering the shutdown method so i did download the latest version of jgrowl and hardcore replaced the jquery.jgrowl.js in the file the version 2.1.12

Re: jquery jgrowl params not working

2013-06-26 Thread D.R.
Hi, i already have played with JSONLiteral, but had no luck. If i do a: retour.put("beforeClose", new JSONLiteral("function(e,m) {alert('About to close this notification!');}")); it renders: "jGrowlAlertManager" : [ { "dismissURL" : "/index.layout.jgrowl:dismiss", "jgrowl" : { "position" : "cente

Re: jquery jgrowl params not working

2013-06-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Jun 2013 14:51:29 -0300, D.R. wrote: whoops, usually i declare my components in the page class, but in this project i wanted to write less code. I've checked the docs about expansions and this topic is now clear to me, thank you Thiago for your answer and your hint. :) You was

Re: jquery jgrowl params not working

2013-06-26 Thread D.R.
whoops, usually i declare my components in the page class, but in this project i wanted to write less code. I've checked the docs about expansions and this topic is now clear to me, thank you Thiago for your answer and your hint. You was right, i don't get this error anymore, but it still don't w

Select onChange with a context value

2013-06-26 Thread Ben Titmarsh
Hi All, I am generating ~100 select items in a loop and would like to listen for the ajax onChange event for each of these. I am getting the event successfully using the following: ... ... public Object onChangeFromColourProfileOverride() { ... return gridZone.getBody(); } The value is se

Re: T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Woei Jye Wesley Too
the example shown were loaded during onEvent, assume that i can get the image loaded with inputstream and return as StreamResponse; upon changing selection as this for my t:select component @InjectComponent private Zone showPictureZone; @OnEvent(value=EventConstants.VALUE_CHANGED,component="packa

Re: NPE in Form on Websphere 8 after applying load

2013-06-26 Thread Cezary Biernacki
Hi Howard, I am not original poster, but according to his email it was (Tapestry 5.2.6). Cezary On Wed, 26 Jun 2013 08:43:54 -0700 Howard Lewis Ship wrote: > > What version of Tapestry? Necessary to figure out what line Form.java:406 > actually is. > > > On Mon, Jun 24, 2013 at 11:42 PM, Christ

Re: NPE in Form on Websphere 8 after applying load

2013-06-26 Thread Cezary Biernacki
Hi Howard, I am not original poster, but according to his email it was (Tapestry 5.2.6), so Form.java:406 could be this line: resources.triggerEvent(EventConstants.PREPARE_FOR_RENDER, context, null); Cezary On Wed, 26 Jun 2013 08:43:54 -0700 Howard Lewis Ship wrote: What version of T

Re: NPE in Form on Websphere 8 after applying load

2013-06-26 Thread Howard Lewis Ship
What version of Tapestry? Necessary to figure out what line Form.java:406 actually is. On Mon, Jun 24, 2013 at 11:42 PM, Christian Köberl < tapestry.christian.koeb...@gmail.com> wrote: > We have a quite strange behavior on IBM Websphere 8 / IBM Java 6 - we > get a NullPointerException in Form.j

jquery/datatable goes back to first page on reload

2013-06-26 Thread newbie newbie
Hi, My jquery/datatable is in a zone. It has a column with eventlinks. It has many records, thus many pages. If I press on an eventlink on page 5 for example, and reload the datatable, it will go back to page 1. I want it to stay at the current page, page 5. The solution I found for jquery is "bSta

Re: T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Lance Java
There's two options, both listed here http://stackoverflow.com/questions/16914673/serve-images-outside-web-application Be warned that using a local directory has issues with security, portability, transactions, clustering and thread safety. You might want to consider using a database or Amazon s3

T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Wesley Too
hi, currently i have a folder reside in C:\\mypic to store all the pictures. my tapestry page has a t:select bound to the event and zone update. when i select option in t:select, based on the value of the option i need to load the picture from C:\\mypic directory. the problem is this pictures

Re: T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Wesley Too
hi, currently i have a folder reside in C:\\mypic to store all the pictures. my tapestry page has a t:select bound to the event and zone update. when i select option in t:select, based on the value of the option i need to load the picture from C:\\mypic directory. the problem is this picture

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread Taha Hafeez Siddiqi
No :) But I would start with Chrome -> Right click around the autocomplete -> Inspect Element and start looking at the stylesheet. But again you are missing the point. Once you know it is not tapestry related, you should ask the question in related(css/js in this case) mailing list/forum. On 2

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread newbie newbie
Hi, Do you have any idea what to look for in the css? On Wed, Jun 26, 2013 at 3:25 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > I don't think it is a tapestry issue. You should check your css/js. > Something must be wrong there. > > > On 26-Jun-2013, at 12:29 PM, newbie newbie w

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread Taha Hafeez Siddiqi
I don't think it is a tapestry issue. You should check your css/js. Something must be wrong there. On 26-Jun-2013, at 12:29 PM, newbie newbie wrote: > Hi, > It happens in both IE and Chrome. In the jumpstart example, it stays at one > place. That is what I want. How do I do that? > > > On We

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread newbie newbie
Hi, It happens in both IE and Chrome. In the jumpstart example, it stays at one place. That is what I want. How do I do that? On Wed, Jun 26, 2013 at 2:46 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > Hi > > This might be a css issue. Does it happen on all browsers ? > > Do you se