You can definitely build a xdomain version of dojo, but I don't think it
will provide as much utility for your needs as much as a simpler approach.
I've done similar things, but used a little proxy service in the backend to
perform the task. For example, looking up geographic data using the
Not currently.
Topics also normally are associated with sending objects when things happen,
so I'm not sure a good solution would be had to make this generic
enough...Ie the objects could be anything..Dom nodes, arbitrary json
structures, etc...
Maybe if I knew more about the problem topics are
Also, just as an FYI a lot of the examples I've been seeing lately include
what appears to be a lot of redundant div enclosures around content you
want to update.
I've worked very hard to make sure the component id logic is universally
correct, so you should be able to just reference a
It's hard to say without knowing what it is you are doing..
I usually use @Script templates for most of my js logic as it allows me to
write javascript within a javascript friendly template for interacting with
components and doing other nice things like loops/ifs/etc...
The below statements
I think the best examples are probably those that tapestry uses itself.
Here is one example of loading a hivemodule config and testing services
that was added by James Carman:
Thank you Dave for an excellent answer. Clear as crystal.
As the coward I am I will implement the check instead of the hash.
Peace in return,
Malin
On 9/6/06, David Harkness [EMAIL PROTECTED] wrote:
Malin Ljungh wrote:
This means I will have to check on the details page that the item to be
I've been using a DateTranslator for a TextField to format a date, and it
has worked fine.
Now I'm trying to to the same with an Insert, but my translator is just
ignored.
Doesn't the Insert component support translator? Where can I find
documention about the translator property?
Malin
I think translator is only applicable to a form
component if it implements the interface
org.apache.tapestry.form.TranslatedField. Please check
out the java doc on TranslatedField.
http://tapestry.apache.org/tapestry4/tapestry/apidocs/index.html
The Java class of the Insert component does not
Hi!
I took some dojo code, from their tests (hope nobody will be upset ) ,
and i made a tapestry component out of it.
Is an animation and the good part is that is working.
Well the component is of no real use.. just a sample of how it can be done.
But i'm not sure that this is the way it
Forgot to say : is for tapestry 4.1
Alex
On 9/10/06, Alexandru Dragomir [EMAIL PROTECTED] wrote:
Hi!
I took some dojo code, from their tests (hope nobody will be upset )
, and i made a tapestry component out of it.
Is an animation and the good part is that is working.
Well the
Hi,
In http://www.nabble.com/tapestry-email-service-tf1659362.html#a4507486
tapestry email servcie we had a pluggeable email service. IMonitor has been
removed in 4.1 which is being used by this email service, how do I fix this
email service now? Is there another service out there working with
Hard to say.What are you trying to do that IMonitor used to provide?
On 9/10/06, livelock [EMAIL PROTECTED] wrote:
Hi,
In http://www.nabble.com/tapestry-email-service-tf1659362.html#a4507486
tapestry email servcie we had a pluggeable email service. IMonitor has
been
removed in 4.1 which
Hi there !
I am trying to connect a dojo SortableTable via the @EventListener
annotation to Tapestry (4.1.1, latest build from svn).
In my component html file I have something like this:
table id=addressTable dojoType=SortableTable
widgetId=tableWidget headClass=fixedHeader
Sorry for this one :-)
Should be: '... with much effort but no success ... ' :-)
I trying to do so the whole evening - without effort :(
Bye,
Gary
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
The table won't be parsed into a dojo widget by default. (Tapestry turns
this off..)
You can probably add a single line of js to parse it out though:
dojo.widget.createWidget(dojo.byId(addressTable));
On 9/10/06, Gerald Schöffel [EMAIL PROTECTED] wrote:
Sorry for this one :-)
Should be:
guys,
the upload component, displays a browse button, through which the user
is only able to select a single (one) file at any one time. i want the
user to select the source folder and i will pull all files within that
folder with a certain extension instead of selecting each file
manually.
is
Since your code has no access whatsoever to the client's filesystem, I
doubt this is possible.
You'd probably need to write a Java applet or something, but I'm not sure
what restrictions apply to them.
Martin
On Mon, 11 Sep 2006 03:07:40 +0200, Peter Dawn [EMAIL PROTECTED] wrote:
guys,
Peter Dawn wrote:
guys,
the upload component, displays a browse button, through which the user
is only able to select a single (one) file at any one time. i want the
user to select the source folder and i will pull all files within that
folder with a certain extension instead of selecting
Hi,
I have a scenario in which a custom component wraps a TextField
component.
CustomComponent.html
input jwcid=textField/input
CustomComponent.jwc textfield snippet:
component id=textField type=TextField
inherit-informal-parameters=yes
binding name=id value=id/
binding
thanks guys. yes i couldnt find anything in tapestry documentation
either so i figured that tapestry would be independent of this.
anyways lets see if i can find a way around this. thanks again.
-
To unsubscribe, e-mail: [EMAIL
Hi Jesse !
Thank you for your quick reply !
But I already use
binding name=parseWidgets value=ognl:true /
in my shell component. So the widget is created and functional (clicking
on a header sorts the table and so on).
The only 'issue' I have is binding the call to onSelect to
i use log4J. try using that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok, me again ... could not give up on this ...
So I cleaned up my code and learned how to use the @Script-tag ...cool
thing :-)
When connecting manually, the following code will work:
dojo.event.connect(dojo.widget.byId(tableWidget), onSelect, window,
addressDisplay_selectAlert) ;
This
Gary,
If you change
@EventListener(events=onSelect, elements=addressTable)
to
@EventListener(events=onSelect, targets=addressTable)
then Tapestry will render the event script using dojo.widget.ByID
(elements hooks to html elements, targets hooks to components/widgets)
Hope that helps
regards,
Hi Ben,
thank you for your reply ! I tried it right away ...
Would be too cool if this will work ... but for me it does not :(
When using targets=..: tapestry is looking for a component like in
[EMAIL PROTECTED] ... but internally Tapestry is again connecting via
25 matches
Mail list logo