but you dont have that kind of visibility. for example if you have a tabbed panel, how do you know what all the different component tab panels will use?-IgorOn 5/12/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
I just had an idea: how about require the programmer to inform the current page instance
wat is the possibility of inline scripting like...
On 5/12/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
I just had an idea: how about require the programmer to inform the current page instance to "register" all Ajax components he pretends to use, _before_ using them? This way the Ajax component c
i have tested with AttributeModifier to alter the behavior of a particular tag using Ajax via this inline stuff but for small length scripts anyway.
I did it in my own small way.
Created a Model, a Bean with a property which will hold the _javascript_ string and bound using PropertyModel to bind to
I just had an idea: how about require the programmer to inform the current page instance to "register" all Ajax components he pretends to use, _before_ using them? This way the Ajax component could return to the page everything it's going to need and then the page can load .js, .css, whatever in th
well, my concern is to make this automatic.for example:when a component contributes func whatever() { } through that contribution needs to magically merge.
or when a component contributes a { color:red; } that also has to magically get mergedbut from what i have seen there is no way to do that, yo
Hello Igor
not sure how iframes behave here, but it is possible to call
javascript functions in one frame, which is defined in another frame,
which then again can do anything with the calling frame. Done this a
couple of years ago (when frames where still en vogue ;), but as it
turned out, nothing
Looks like there's no problem adding styles. http://www.dynamicdrive.com/forums/archive/index.php/t-3459.htmlThis URL is not quite what it should be for, but demonstrates how CSS's can be changed without reloading a page. And I'm sure the same way new .js files can be added to a Head section dynami
basically what we are talking about is somehow capturing the componnet's header contribution and writing it out.so take datepicker, datepicker.html has a section. what we need to do is to somehow get that portion as a charsequence so that the ajax request target can dump it as part of component's
i dont think this is cool at all because it requires components to provide an alternate output unless we parse the
cool..var script = document.
createElement('script');
script.type = 'text/_javascript_'
;
script.src = 'snip.js';
document.getElementsByTagName('head'
)[0].appendChild(script);
if that works.. that should be doable.johanOn 5/4/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:thanks bruno! i will try t
Not sure I understand what needs to be done. I guess I'll wait until
tomorrow until the "that is how the output must look like" question is
solved.
Juergen
On 5/4/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
i guess in this case we need to capture the head output of the component
during ajax re
thanks bruno! i will try to take a look tonight and see if we can adapt these ideas.-IgorOn 5/4/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:I found some links that might be of great interest!
dynamic load _javascript_ from _javascript_
http://www.activewidgets.com/_javascript_.forum.6114.15/dynami
I found some links that might be of great interest!dynamic load _javascript_ from _javascript_
http://www.activewidgets.com/_javascript_.forum.6114.15/dynamic-load-_javascript_-from-_javascript_.htmlDojo Package System
http://dojo.jot.com/WikiHome/Documents/DojoPackageSystem_javascript_ Includeshtt
Ooops. I was wrong.
I just checked some stubs with the w3 validator, and they pass without a
hitch. Both XHTML 1.0 strict and transitional. XHTML 1.1 and 2.0 seem to
be fine as well.
Sorry.
Timo
Igor Vaynberg schrieb:
in that case i dont see how you can ever make this work in xhtml unless
i guess there can be a hidden iframe, but then the loaded js will not be part of the page because frames are isolated, no?-IgorOn 5/4/06, Rüdiger Schulz
<[EMAIL PROTECTED]> wrote:> in that case i dont see how you can ever make this work in xhtml
> unless you refresh the entire page.A twisted "solu
> in that case i dont see how you can ever make this work in xhtml
> unless you refresh the entire page.
A twisted "solution" using an invisible frame loading only JS comes to
mind ;-)
- Rüdiger
---
Using Tomcat but need to do more? Need to s
i guess in this case we need to capture the head output of the component during ajax render and dump it into the markup before the component.Juergen are you reading with us? do you think this is feasible?-Igor
On 5/4/06, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:
> right, and that is the main proble
in that case i dont see how you can ever make this work in xhtml unless you refresh the entire page.-IgorOn 5/4/06, Timo Stamm <
[EMAIL PROTECTED]> wrote:Igor Vaynberg schrieb:> right, and that is the main problem to solve. is a
> right, and that is the main problem to solve. is a
Igor Vaynberg schrieb:
right, and that is the main problem to solve. is a
right, and that is the main problem to solve. is a
Igor, I'm not sure if browsers support the "update head" thing (probably not), but one "first step" solution is to notify the component that it is been added through Ajax, so the component must generate a "load" function and return that function name to the Ajax call, so the Ajax JS can call that f
yes, there is a problem indeed with components that need head contribution and are added via ajax. the problem is that when the component is added via ajax its header contribution is ingored because the head section is not updated. so in case of the datepicker the js it needs is never added to the
I created
http://sourceforge.net/tracker/index.php?func=detail&aid=1472451&group_id=119783&atid=684975
Thanks for spotting it.
Eelco
On 4/18/06, Sebastian Scheid <[EMAIL PROTECTED]> wrote:
> > I use Wicket 1.2-rc1.
> > I use FormComponentFeedbackBorder, but when input error is occured, "*" is
>
and a special class/instance scopes? or the additional boolean?-IgorOn 1/24/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:i think scoping and multiple head tags are more flexible. is it harder to implement then the boolean solution?
you can for example sayblahblah
panel specific stuffthat way mult
i think scoping and multiple head tags are more flexible. is it harder to implement then the boolean solution?you can for example sayblahblah
panel specific stuffthat way multiple panels can have dojo-requirements contributions and not collide even though they are different classes.-Igor
On 1/24/
I've implemented on my latop a version which applies the "scope"
approach. I called it "skipDuplicates" though which is a boolean. It
gets evaluated before the headers body gets rendered. The advantage is
that we save some performance compared to an approach which first
renders the header part and
or support multipe .
originally i was thinking of setting this key in java somewhere which
would make it much more flexible. but if only class/instance is
required then ading an attr to wicket:head is probably easier.
-Igor
On 1/24/06, Jim McLaughlin <[EMAIL PROTECTED]> wrote:
Maybe the component
can we make it so there is some sort of a string key we provide for each contribution. it can default to the component.class.getName() which is the default currently right?-Igor
On 1/24/06, Jim McLaughlin <[EMAIL PROTECTED]> wrote:
Juergen Donnerstag wrote:> Are you saying your Panel inside is the
So, is there any plan to provide such feature ?
or just give some hints, so I can try it by myself ;-)
On 8/26/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
Yes, there seems to be a problem with components inside .
-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia
Yes, there seems to be a problem with components inside .
Juergen
On 8/26/05, pepone pepone <[EMAIL PROTECTED]> wrote:
> I trying what Stefan lindner says wicth wicket.1.1-b3 but is not
> working for me It´s only render childs head
>
> any ideas? thanks
>
> On 8/25/05, Stefan Lindner <[EMAIL P
I trying what Stefan lindner says wicth wicket.1.1-b3 but is not
working for me It´s only render childs head
any ideas? thanks
On 8/25/05, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> The HEAD parts of your HTML files can be inherited (using Wicket
> 1.1beta2 and above) by writing
>
> The parent
reference
does now.
Does this make sense or do I just now know enough about
resource references
in wicket?
-Igor
-----Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-use
-----Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre
application?
Then
or do I just now know enough about
resource references
in wicket?
-Igor
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket
?
-Igor
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre
appl
mage service that given an image name
from within a
package will write it to the response, kind of like a
resource reference
does now.
Does this make sense or do I just now know enough about
resource references
in wicket?
-Igor
-Original Message-----
From: [EMAIL PROTEC
Does this make sense or do I just now know enough about
resource references
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.n
now.
Does this make sense or do I just now know enough about
resource references
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourcef
Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre application?
Then that resourc
>>>
> >>>>>> webRequestCycle.add("photos", new CustomResource() { })
> >>>>>>
> >>>>>> and then URLs like:
> >>>>>>
> >>>>>> http:///app/customResources/photos/...
> >>&
eferences
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcerefe
one thing that makes me think adding parameterization to a subclass is
wrong is
that every Resource should be parameterizable. and that should really
have nothing
to do with where the resource is streamed from. one can even imagine a
resource
where the resourcestream implementation returned
uh, i don't know. maybe. the thing is, we've already got all these
cool ResourceStream classes
like StringResourceStream, FileResourceStream and UrlResourceStream.
maybe it's better to
just add the protected method that gives you the request parameters? I
could see us adding
DatabaseResour
e-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre application?
Then that resourcereference will becalled
h. very sneaky!
it's my middle name ;)
i like it. but maybe we can provide a little helper subclass so
people don't have to
do this to get resource parameters:
Map params = RequestCycle.get().getRequest().getParameterMap();
that takes a bit more knowledge of wicket than most people p
inal Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre application?
Then that resour
Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre applicatio
from within a
package will write it to the response, kind of like a resource
reference
does now.
Does this make sense or do I just now know enough about resource
references
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre application?
Th
ind of like a resource
reference
does now.
Does this make sense or do I just now know enough about resource
references
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wick
Of Johan
Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
but isn't this adding a esourcereference to youre application?
Then that resourcereference will becalled under the url:
/wicket-examples/images/resources/home/ima
ake sense or do I just now know enough about resource
references
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket
erence
does now.
Does this make sense or do I just now know enough about resource references
in wicket?
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 05, 2005 2:14 PM
To: wicket-user@lists.sourceforg
ow enough about resource references
in wicket?
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Johan Compagner
> Sent: Friday, August 05, 2005 2:14 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re:
lip A. Chapman
Sent: Friday, August 05, 2005 1:03 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: Problem
Gili wrote:
Jon, I think you need to give more information about
your actual
requirements. As I already mentioned, I have a simple servlet which
serv
ECTED] On Behalf Of
> Philip A. Chapman
> Sent: Friday, August 05, 2005 1:03 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: Problem
>
> Gili wrote:
> >
> > Jon, I think you need to give more information about
> your actual
> &
Gili wrote:
>
> Jon, I think you need to give more information about your actual
> requirements. As I already mentioned, I have a simple servlet which
> serves up images by ID and the ID is passed in via a HTTP POST (although
> originally I had it going via a HTTP GET and you could do this too
if you send a session id with the url or the header
Then the image can also be stale (not cacheable) Because it is session
bound
So we should try to avoid a session state being attached on a image
link (a static link ofcourse which doesn't change)
johan
Juergen Donnerstag wrote:
I don't ag
I filed a bug that basically states that we should be applying the same
behavior consistently across static Images and ResourceLinks to static
images.
Gili
Juergen Donnerstag wrote:
I don't agree. There are two ways for a jsessionid to be provided from
a browser to a servelt container. a) url p
I don't agree. There are two ways for a jsessionid to be provided from
a browser to a servelt container. a) url parameter b) http header. I'm
not really an expert on this but as far as I know it is a matter of
servlet container config and the reason there are two options is
because of SSL. The url
that is strange yes
It smells like that jsessionid should be reversed... the href should
have a jsession id and a img src not. (at least a static resource not a
completely dynamic one is session bound)
Gili wrote:
Another thing I noticed. The URL generated for tags contains
a "jsessionid"
62 matches
Mail list logo