On 19/02/14 17:13, Thiago H de Paula Figueiredo wrote:
> On Wed, 19 Feb 2014 11:48:10 -0300, Philip Aston
> wrote:
>
>>> I don't know. My ASM/bytecode experience is almost null. Is Plastic
>>> missing methods or other stuff so you can use some specific
>>> instructions? As far as I know, Howard c
On Thu, Feb 20, 2014 at 9:58 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
By the way, is there any reason preventing Tapestry team from incorporating
>> X-Forwarded-* headers support into Tapestry itself? This kind of
>> configuration is pretty standard nowadays.
>>
>
> Feel free
On Wed, 19 Feb 2014 18:48:02 -0300, wrote:
Hi!
Hi!
var db = function decorateBody() {
document.body.setAttribute("onload","setPosition();");
document.body.setAttribute("onScroll","setPosition();");
}
You're using JavaScript that looks like 10 years ago. Use event listeners
for
On Wed, 19 Feb 2014 18:31:44 -0300, Ilya Obshadko
wrote:
By the way, is there any reason preventing Tapestry team from
incorporating
X-Forwarded-* headers support into Tapestry itself? This kind of
configuration is pretty standard nowadays.
Feel free to post a JIRA about that.
--
Thiago
Hi,
Let Tapestry do the initialisation for you. This may help:
http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/robust
Cheers,
Geoff
On 20/02/2014, at 8:48 AM, wrote:
> Hi!
>
> Thanks for your hints, nevertheless I'm afraid problem is not solved... I'm
> importi
Hi!
Thanks for your hints, nevertheless I'm afraid problem is not solved... I'm
importing js file inside my component as you suggesting:
@Import(stylesheet = "MyComponent.css", library="MyComponent.js")
public class MyComponent {...}
Content of js is following:
function setPosition() {
// s
Tapestry is starting to stabilize; this preview release includes quite a
few bug fixes, including those from Thiago's "Month of Tapestry".
The beta-3 preview also includes upgrades to dependencies:
- Bootstrap 3.1.0
- CoffeeScript 1.7.1
- Less4J 1.2.4
Unfortunately, the tapestry-cdi module was pu
On Tue, Feb 18, 2014 at 10:34 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> I've posted it several hours ago. Did it reach the mailing list?
>>
>
> It did, but I only received it after I posted my message. :P Your solution
> is very elegant, by the way.
>
>
Thank you!
By the w
On Wed, 19 Feb 2014 14:54:07 -0300, Dmitry Gusev
wrote:
Another option could be to store some attribute in the request scope and
only call javaScriptSupport.addScript once on the server side.
JavaScriptSupport.addSCript() is deprecated in T5.4. In addition, I've
just noticed, he's doing a
Another option could be to store some attribute in the request scope and
only call javaScriptSupport.addScript once on the server side.
On Wed, Feb 19, 2014 at 8:19 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 19 Feb 2014 12:16:33 -0300, wrote:
>
> javaScriptSupport.
On Wed, 19 Feb 2014 12:16:33 -0300, wrote:
javaScriptSupport.addScript("decorateBody();"); in @AfterRender method.
It works, but when I use more of my components in one page,
"decorateBody();"
call is called x times, where x is number of components on the page.
That's very easy and Tapest
On Wed, 19 Feb 2014 12:16:33 -0300, wrote:
Hi everyone!
Hi!
Question 1: Is it possible to specify something "execute only once in
page" on component level? (call from page containing the components is
not
solution for me, I want to have my component "independent")
No.
Question 2: Is
On Wed, 19 Feb 2014 11:48:10 -0300, Philip Aston wrote:
I don't know. My ASM/bytecode experience is almost null. Is Plastic
missing methods or other stuff so you can use some specific
instructions? As far as I know, Howard created Plastic so he didn't
need to use ASM directly in Tapestry-IoC.
Hi everyone!
I've implemented component, which needs JavaScript function for proper
positioning and I need to set this function as 's "onload" and
"onScroll" events. So, I have .js file with my possitioning function and
also decorateBody() function which I need to call after page is created.
On 19/02/14 14:45, Thiago H de Paula Figueiredo wrote:
> On Wed, 19 Feb 2014 11:13:30 -0300, Philip Aston
> wrote:
>
>> Maybe I don't?
>>
>> I'm using Plastic standalone, without Tapestry.
>>
>> The "toString" implementation I showed in my previous mail is the place
>> I currently need the method
On Wed, 19 Feb 2014 11:13:30 -0300, Philip Aston wrote:
Maybe I don't?
I'm using Plastic standalone, without Tapestry.
The "toString" implementation I showed in my previous mail is the place
I currently need the method visitor; specifically so I can create an
array to pass to String.format().
On 19/02/14 14:08, Thiago H de Paula Figueiredo wrote:
> On Wed, 19 Feb 2014 09:37:14 -0300, Philip Aston
> wrote:
>
>> Hello,
>
> Hi!
>
>>
>> Unless I'm missing something, Plastic prevents an
>> InstructionBuilderCallback from accessing the underlying ASM method
>> visitor, and provides no other
On Wed, 19 Feb 2014 09:37:14 -0300, Philip Aston wrote:
Hello,
Hi!
Unless I'm missing something, Plastic prevents an
InstructionBuilderCallback from accessing the underlying ASM method
visitor, and provides no other way to add arbitrary byte code?
Why do you need that? Just curious. :)
Hello,
Unless I'm missing something, Plastic prevents an
InstructionBuilderCallback from accessing the underlying ASM method
visitor, and provides no other way to add arbitrary byte code?
Plastic is very useful, and way more pleasant than raw ASM, however I've
found I need to go off the tracks oc
19 matches
Mail list logo