Hi
I have a use case of some thing like this
I have to render parent rows and child rows for the parent. This can be to
any level(some thing like tree)
I have created a component to render rows, and if the row is parent, I am
including the same component to render the child rows.
But Tapestry d
my
has custom element like below that created using custom ajax
California -- CA
Colorado -- CO
Connecticut -- CN
after the
A page in my app displays an table of scheduled items; each row has a button
that lets the user insert a new event - a row in the table.
The 'insert row' buttons are Submits, so the whole form posts and the page
re-renders. Because of this, it seemed important to have the form autofocus
on the fi
Yep, it sounds like fun. I'm curious to see your findings. I hope
that the balance is on Tapestry for the stronger architecture and
(reasonably) JSF for the market acceptance, but I'm sure there's some
worthwhile ideas somewhere inside JSF waiting to be stolen!
On Tue, Mar 30, 2010 at 3:24 PM, A
The origin of the problem is that the context passed to ZoneUpdater has only
one piece of information - the value of the option you selected. No other
context is received. So the server-side must get the rest of the context from
either (a) the session, eg. by saving country and city in the sessi
That's some great news for:
- tapestry
- the attendants
- yourself!
Way to go Igor.
On Tue, Mar 30, 2010 at 23:05, Igor Drobiazko wrote:
> Hi folks,
>
> in June I'll be speaking at Jazoon 2010 [1] in Zurich, Switzerland. I'll be
> presenting a 50 minutes talk "JavaServer Faces 2.0 vs. Tapestry 5
Thanks for replying.
I can't do that, since it's important that I don't catch that event for all
components. (There's a whole bunch of other ones that do something else.)
At this point, I just have per-component event handlers that delegate to a
fourth method.
Michael
On Tue, Mar 30, 2010 at 5
On Tue, 30 Mar 2010 17:52:02 -0300, Michael Prescott
wrote:
How do you catch an event from multiple components (but not all
components?)
As long as your trying to handle the same event, all you need to do is to
*not* specify a component id in @OnEvent or in the method name. You don't
k
How do you catch an event from multiple components (but not all components?)
You can't have multiple @OnEvent annotations on a single event handler
method, nor can you have the same t:id for multiple components. Does this
mean I need a separate event handler method (which of course could delegate
Hi folks,
in June I'll be speaking at Jazoon 2010 [1] in Zurich, Switzerland. I'll be
presenting a 50 minutes talk "JavaServer Faces 2.0 vs. Tapestry 5: A
Head-to-Head Comparison". More information about the presentation can be
found at my blog [2]:
[1] http://jazoon.com
[2]
http://blog.tapestry5
Just to show the example cleaner...
...
So, since everything is inside the "updateZone" combo, every field is refreshed
and lost their values.
Thanks!
- Everton
De: Everton Agner
Hi,
I'd like to know which is the cleaner way to work with nesting on Forms on T5.
I saw a project with the ZoneUpdater mixin... But, to preserve the values from
the Form - to reload them after the refresh - it needed to @Persist the values
and update them everytime the fields lost their focus.
On Tue, 30 Mar 2010 15:42:39 -0300, Dmitry Gusev
wrote:
My onActivate methods in such pages return nothing, they're void.
In this case, Tapestry expects your page to have a template so it has
something to render.
Should I change return type to something else? I know I can use
StreamRes
My onActivate methods in such pages return nothing, they're void.
So far I'm having this exception:
30.03.2010 17:56:55
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler
handleRequestException
SEVERE: Processing of request failed with uncaught exception: Page
task/RunJob did no
While I'm in London for three days of Tapestry 5 Training, I'll also be
giving an evening In The Brain Of talk ... on Tapestry, because there's
not that much else rattling around my brain lately. Whereas Ben's talk
was about lessons learned at the tail end of a Tapestry project, my
talk gives you a
On Tue, 30 Mar 2010 14:34:08 -0300, Juan Isern wrote:
Hi guys,
Hi!
does anyone if it's possible to put components/pages into some other
package instead of the default app/components app/pages?
The pages, componentes, mixins and base package names are fixed and can't
be changed. On the
Hi guys,
does anyone if it's possible to put components/pages into some other package
instead of the default app/components app/pages?
I'd like to group closely related components into (sub) packages for a
better organization.
Thanks!
--
View this message in context:
http://old.nabble.com/Gro
I'm looking for a way to change the icons used to sort the columns of the Grid
component. Since they are injected by relative path in the GridColumns and
since the CSS class does not change according to the current sort state, it
doesn't look like I could create a CSS rule and update the backgr
Thanks for the tips Thiago & Kristian they sound promising! I will give them a
try and let you know...
PS: I do absolutely love the static structure, dynamic behavior of Tapestry!
Cheers,
Peter
> so you want to generate a link in a grid and dependending
> on a parameter have a mixin attached.
I've noticed that in certain version of Safari, scriptaculous won't
auto-load some modules like effects. FF will just fine, which is what
I develop with. So it's sometimes puzzling why things don't work in
Safari (older versions, mostly) unless I explicitly include all of the
JavaScript fil
On Tue, 30 Mar 2010 13:13:54 -0300, Dmitry Gusev
wrote:
Hello,
Hi!
is it possible to have page class without (with empty) template?
It is. Pages do not need to have a template, as long as they aren't
rendered (returning something other than null or this in onActivate()).
--
Thiago H
Hello,
is it possible to have page class without (with empty) template?
It would be convenient to have such feature. I found that I have to create
empty templates for pages that I use as a task handlers on GAE (
http://code.google.com/intl/ru/appengine/docs/java/taskqueue/overview.html#Worker_URLs
I'm trying to include Chenille Kit (chenillekit-tapestry) 1.2.0 into my
Tapestry 5.1.0.5 project, but I'm getting an apparent incompatibility - an
exception gets tossed whenever I visit the page that uses the Chenille
DateTimeField. I've seen it both ways, apparently depending on which
service con
On Mar 30, 2010, at 12:46 AM, Kristian Marinkovic wrote:
> if you have multiple linksubmit components you can distinguish them
> by adding onSelectedFromSubmit1() or onSelectedFromSubmit2()
> action handler.
>
> the linksubmit component does not support a context parameter out of
> the box. if
On Tue, 30 Mar 2010 11:28:38 -0300, Stephan Windmüller
wrote:
Hi!
Hi!
Is it possible to change the class of a grid cell (not just the row or
column) based on the value of the property?
Yes! Just use the rowClass parameter.
For example I want to display all cells with the String "Corre
On Tue, 30 Mar 2010 11:26:38 -0300, Bryan Lewis
wrote:
I've been using the Upload component with good results. Now I need to
get the full client-side path where the file came from. I've tried
UploadedFile.getFilePath() but that gives me only the base filename, like
"foo.txt", not the abso
Hi!
Is it possible to change the class of a grid cell (not just the row or
column) based on the value of the property?
For example I want to display all cells with the String "Correct" green
and those with "Incorrect" in red.
TIA
Stephan
---
I've been using the Upload component with good results. Now I need to get
the full client-side path where the file came from. I've tried
UploadedFile.getFilePath() but that gives me only the base filename, like
"foo.txt", not the absolute path.
The comments in UploadedFile say that getFilePath()
Oh sorry, i didn't look at the JIRA database before posting, only the user
mailing list.
Thanks a lot, I will have a look.
2010/3/30 Ulrich Stärk
> I guess you are seeing https://issues.apache.org/jira/browse/TAP5-719
>
> Could you try with the latest 5.1 snapshot?
>
> Uli
>
>
> On 30.03.2010 1
I guess you are seeing https://issues.apache.org/jira/browse/TAP5-719
Could you try with the latest 5.1 snapshot?
Uli
On 30.03.2010 15:24, Christophe Cordenier wrote:
Hi,
I have a case where we use a linkSubmit component to submit a form, it
appears that the link is well linked to submission
Hi,
I have a case where we use a linkSubmit component to submit a form, it
appears that the link is well linked to submission process, but never enters
the following in the linksubmit.js
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.createHidden();
this.form.s
On Tue, 30 Mar 2010 05:02:07 -0300, Kristian Marinkovic
wrote:
hi,
Hi!
inject your resource as asset:
@Inject
@Path("classpath:data//file.jpg")
private Asset file;
and return the path:
public String getFileURL() {
return file.toClientURL();
}
This works for static a
That's also what I'm using.
Have you tried using the JS debugger in Safari? If you have Firebug
installed in Firefox, I'd try that one, too.
mrg
On Tue, Mar 30, 2010 at 8:51 AM, LiborGMC wrote:
>
> Thanks for the reply. I've tried your suggestions but it didn't helps me. I'm
> using Tapestry
Thanks for the reply. I've tried your suggestions but it didn't helps me. I'm
using Tapestry 5.1.0.5 with prototype.js 1.6.1. What version do you use?
Libor
I submit a form via JavaScript and it works in Safari, IE, and
Firefox. For me, I use:
$('myFormID').submit();
mrg
--
View this mes
Oh, one more thing ... mine is being done when responding to a click
on a hyperlink. I also had to kill the event (the hyperlink click):
Event.stop(event);
Where event is the event from the hyperlink in my onClick handler. My
form submit didn't work properly before adding this.
mrg
O
I submit a form via JavaScript and it works in Safari, IE, and
Firefox. For me, I use:
$('myFormID').submit();
mrg
On Tue, Mar 30, 2010 at 8:26 AM, LiborGMC wrote:
>
> Hi,
> thanks to issue with IE8
> http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924
> http://old.n
Hi,
thanks to issue with IE8
http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924
http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924
I removed all mixins and checkbox groups and I replaced them with simple
Javascript. But I struggling with strang
On Tue, 30 Mar 2010 09:08:19 -0300, Kristian Marinkovic
wrote:
so you want to generate a link in a grid and dependending
on a parameter have a mixin attached.
you can solve it by using a delegate that is directed to a block
(or component) that in one case contains a simple eventlink and
in t
so you want to generate a link in a grid and dependending
on a parameter have a mixin attached.
you can solve it by using a delegate that is directed to a block
(or component) that in one case contains a simple eventlink and
in the other case contains a eventlink with the attached mixin
tha
Hi Kristian,
Reading through what I wrote, I guess I could be clearer, here is more detailed
explanation.
I create a model that I attach to a component (a type of custom grid), its
populated with database records... some of the columns in the grid need to be
links, and I can create the various
hi peter,
i don't understand your problem entirely...
but have you considered using a EventLink
component instead of generating the link
manually. then you can easily attach a mixin
that renders some javascript using the
PagerRender service.
or do you mean a attribute by saying link property?
Hi!
Is it possible to attach a mixin on the fly to a 'generated' link?
I wanted to use component resources:
Link link = resources_.createEventLink(linkId, new Object[] {param1,param2});
for generating the link, but there doesn't appear to be a way to attach a link
property? I feel like I am mi
On 29 Mar 2010, at 4:29 pm, Mark Allan wrote:
On 29 Mar 2010, at 4:26 pm, Andreas Andreou wrote:
Are you using the the encoding flag of javac ?
I'll have a look. Right now, I'm just using mvn compile so will try
and find out what flags it passes to javac.
OK, I've done the following and
hi,
inject your resource as asset:
@Inject
@Path("classpath:data//file.jpg")
private Asset file;
and return the path:
public String getFileURL() {
return file.toClientURL();
}
g,
kris
Von:"Santiago W. Fernandez Lorenzo"
An: users@tapestry.apache.org
Datum: 30.03
if you have multiple linksubmit components you can distinguish them
by adding onSelectedFromSubmit1() or onSelectedFromSubmit2()
action handler.
the linksubmit component does not support a context parameter out of
the box. if you really need it you have to create your own component.
all you need
Hello,
I'm developing my first web application at Tapestry 5.
I have done a form to permit the users upload files (which are stored in
/resources/data/), now I need to create a link to permit the users
download that files.
I tried with:
- In the .tml file: ${file} -> It generates a link
46 matches
Mail list logo