Hi,
I am using 4.0.2
It shows the id of the caller component for . So id is always got from the enclosing component even
though name isn't.
TextField.jwc has
which means that the id parameter actually gets bound to the idParameter
property, and not to the id property. That's why the ids com
if you have a component that extends or implements IWidget tapestry will
resolve the client side code using dojo.widget.byId...(It'll also parse your
widget for you inline so your whole app isn't bogged down by needless
parsing of the entire dom tree).
Look at Autocompleter in the svn source for
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
dojo.event.connect(dojo.b
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
re
Thanks Erik.
Couple questions...what do the following mean and how
are their values
populated?
1. time$
2. row
3. column
Thanks,
Josh
Erik Johansson wrote:
> Hi Josh,
>
> This is how I did it
>
> The tag:
> class="scheduleClicked"
> onclick="ognl:'javascript:switchClicked(' row ','
colum
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") ;
Th
i use log4J. try using that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Jesse !
Thank you for your quick reply !
But I already use
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 an event with
@EventListener. There is jus
Is this for Tap4.1 ?
name is a reserved parameter for TextField... there's no way to set it
yourself.
However, it's supposed to take its value from the id, so i would expect
it to work
as you describe...
What's the output when CustomComponent.html is
Karthik N wrote:
> Hi,
>
> I have a scen
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,
I have a scenario in which a custom component "wraps" a TextField
component.
CustomComponent.html
CustomComponent.jwc textfield snippet:
Page configuration of CustomComponent:
i find that the underlying TextField id hon
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 selecti
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,
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 t
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:
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: [
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:
widgetId="tableWidget" headClass="fixedHeader" tbodyClass="scrollContent"
enableMultipleSele
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 whic
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 4
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 compon
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 s
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
im
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
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 b
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:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/services/TestData
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 see
Also, just as an FYI a lot of the examples I've been seeing lately include
what appears to be a lot of redundant 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 particular co
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
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
yahoo
Hi,
I hope anybody could explain me why I get a Null Pointer Exception, if I
want to get access to field of an object. My method is similar to the
eshop-project of the book Enjoying web dev with Tapestry.
I tried to change the Listener-method onLogin as follows:
public void onLogin(IR
Hi Josh,
This is how I did it
The tag:
class="scheduleClicked"
onclick="ognl:'javascript:switchClicked('+row+','+column+');return false;'">
The javascript
function switchClicked(_row, _column){
if(document.getElementById('time$'+_row+'$'+_column).className ==
'scheduleClicked'){
do
Hi,
Can an @EventListener be used to subscribe to an event publised via a dojo
topic?
(dojo topics are described at
http://dojotoolkit.org/docs/dojo_event_system.html#using-topics-for-truly-an
onymous-communication).
cheers,
--
Ben Sommerville
32 matches
Mail list logo