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

2013-06-25 Thread Taha Hafeez Siddiqi
Hi This might be a css issue. Does it happen on all browsers ? Do you see the same behaviour in this example http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/autocompletemixin ? Taha On 26-Jun-2013, at 12:05 PM, newbie newbie wrote: > Hi, > I have a autocomplete mixin. When t

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

2013-06-25 Thread newbie newbie
Hi, I have a autocomplete mixin. When the list of suggestions pop-up, it doesn't stay put in one place. If you scroll down the webpage, it will float down. If you scroll up, it will float up. I want it to stay at my TextField where the Autocomplete mixin is at. Here is my tml file

Re: Supporting Informal Parameters

2013-06-25 Thread Lance Java
Since you're mentioning renderinformals, you should be aware of this gotcha https://issues.apache.org/jira/browse/TAP5-1918

Re: Supporting Informal Parameters

2013-06-25 Thread Boris Horvat
You are right, the parent of the parent got it :) It is on the html tag :S On Wed, Jun 26, 2013 at 12:10 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 25 Jun 2013 19:03:26 -0300, Boris Horvat > wrote: > > By that I assume you mean just to define the mixin? Yea I hav

Re: Supporting Informal Parameters

2013-06-25 Thread Thiago H de Paula Figueiredo
On Tue, 25 Jun 2013 19:03:26 -0300, Boris Horvat wrote: By that I assume you mean just to define the mixin? Yea I have tried that nothing happened :( Believe me, something happened. Try giving it some CSS class and using Firebug or something like that to locate the element with that CSS c

Re: Supporting Informal Parameters

2013-06-25 Thread Boris Horvat
> > > Have you at least tried to use the mixin without any other changes to your > component and see what happens? By that I assume you mean just to define the mixin? Yea I have tried that nothing happened :( I guess then I will have to go with some custom logic that will identify what is the el

Re: Supporting Informal Parameters

2013-06-25 Thread Thiago H de Paula Figueiredo
On Tue, 25 Jun 2013 18:50:25 -0300, Boris Horvat wrote: I need to make sure that I "manually" render an element and then to close it. This is up to your code. The easiest way is to return a Block or component instance in beginRender(). This will allow I guess to the mixin to do its mag

Re: Supporting Informal Parameters

2013-06-25 Thread Boris Horvat
Hm... I am a bit lost here. According to the example public class Img { @Parameter(required=true, allowNull=false, defaultPrefix=BindingConstants.ASSET) private Asset src; @Mixin private RenderInformals renderInformals; void beginRender(MarkupWriter writer) { writ

Re: Supporting Informal Parameters

2013-06-25 Thread Thiago H de Paula Figueiredo
On Tue, 25 Jun 2013 18:27:10 -0300, Boris Horvat wrote: My problem is that I have around 5-6 different use cases textfield, textarea, progress, textfield with autocomplete, upload and so on... So I would like not to have a bunch of beginRender method that have conditions :( You don't need

Re: Supporting Informal Parameters

2013-06-25 Thread Boris Horvat
My problem is that I have around 5-6 different use cases textfield, textarea, progress, textfield with autocomplete, upload and so on... So I would like not to have a bunch of beginRender method that have conditions :( Is there any way to avoid this? On Tue, Jun 25, 2013 at 11:24 PM, Thiago H

Re: Supporting Informal Parameters

2013-06-25 Thread Thiago H de Paula Figueiredo
On Tue, 25 Jun 2013 17:45:58 -0300, Boris Horvat wrote: Is there any easy way to do this? Have you the seen RenderInformals mixin? Since I dont use beginRender/beforeRenderBody I am not sure how to do this. Have you tried using them? -- Thiago H. de Paula Figueiredo -

Re: jquery jgrowl params not working

2013-06-25 Thread Thiago H de Paula Figueiredo
On Tue, 25 Jun 2013 16:19:50 -0300, D.R. wrote: Hi @all, Hi! i want to use jgrowl for the alertmanager, in my .tml i have: Never, never, NEVER ever use expansions when passing values to parameters. Try (without the ${}) and the problem will probably go away. -- Thiago H. de Paula

Supporting Informal Parameters

2013-06-25 Thread Boris Horvat
Is there any easy way to do this? The website example is not that clear to me I guess. I have a component that displays different field depending on a property. So if I want to display textarea or textfield I pass a different parameter which then triggers a check and a different block is returned

jquery jgrowl params not working

2013-06-25 Thread D.R.
Hi @all, i want to use jgrowl for the alertmanager, in my .tml i have: and in my .java: public JSONObject getJgrowlParams() { JSONObject retour = new JSONObject(); retour.put("position", "center"); retour.put("header", "Error"); retour.put("beforeClose", "function

Re: Using javascript to submit a ajax form breaks it

2013-06-25 Thread Boris Horvat
Quite nice, but mine should be attached to the form... Then again if I reconsider my design :) On Tue, Jun 25, 2013 at 9:24 AM, Lance Java wrote: > I've recently added an onEvent mixin to tapestry-stitch which might be > useful. > > It listens on a client event and sends a configurable list of c

Re: jquery JGrowl exception

2013-06-25 Thread Jan Fryblik
Thanks for answer.The joke is, its not my component. Its component in Tapestry-jquery module. So if i understood correctly... it is a bug and i should report it, isn't it?BR,JanOn Mon, 24 Jun 2013 23:42:36 +0200, Thiago H de Paula Figueiredo wrote:On Mon, 24 Jun 2013 17:54:14 -0300, Jan Frybl

Re: Using javascript to submit a ajax form breaks it

2013-06-25 Thread Lance Java
I've recently added an onEvent mixin to tapestry-stitch which might be useful. It listens on a client event and sends a configurable list of clientside field values to a serverside event. http://tapestry-stitch.uklance.cloudbees.net/oneventdemo