All, below is a sample of what I'd like to be able to do, but I can't seem
to figure out a way to make it work
t:loop source=widgets value=widget
div t:type=prop:viewElementType/
/t:loop
Is there a way to do this or a binding that would do this? Basically I need
a way to
Somewhere in the documentation it says that all pages are components,
so i guess that all components and pages (that are special kinds of
components) will automatically reload.
2007/5/29, Martin Grotzke [EMAIL PROTECTED]:
Hi,
is the class reloading in T5 limited to component classes as
I've just tried a javascript writeback hack (trying to keep it
tapestry-ish, yet it's a hack for sure)
basically, the dialog's form elements are Any's so they populate
correctly, but don't submit to tapestry. then when the submit button is
clicked they Any's values are sucked into some hidden
On Wed, 2007-05-30 at 13:44 +0700, Ted Steen wrote:
Somewhere in the documentation it says that all pages are components,
so i guess that all components and pages (that are special kinds of
components) will automatically reload.
Then the question is what's required to get it to work.
For me
Le mercredi 30 mai 2007 à 07:28 +, Martin Grotzke a écrit :
For me changed classes are not picked up automatically, when running
mvn jetty6:run...
If it's working for you, what's your setup, or did you do anything
special to support class reloading? Is it connected with a context
reload
The only error I have is :
# java.lang.ClassNotFoundException
caught an exception while obtaining a class file for papo.pages.Start
exception
java.lang.RuntimeException: Error obtaining injected value for
field papo.pages.Start._userService: No service implements the
interface
Ok I found the problem and it was not my code but the packages!!
Services and modules have to be in papo.services, if I declared in web.xml
tapestry.app-package with papo.
But I was able to declare my builder in AppModule but I still doesn't
achieve to create my own module, in the same package,
http://jira.opensymphony.com/browse/OGNL-84
2007/5/29, Jesse Kuhnert [EMAIL PROTECTED]:
OGNL errors? Hmmm. When you do file them the best place is here:
http://jira.opensymphony.com/browse/OGNL
Please do file them when you get a chance as I'm not as comfortable making
a
release knowing
https://issues.apache.org/jira/browse/TAPESTRY-1527
2007/5/29, Jesse Kuhnert [EMAIL PROTECTED]:
Can you file a bug for this ?
On 5/29/07, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
I've been playing with the @Dialog component and EventListener
annotations,
and I am facing a
Hi,
I'm desperately looking for the sources of hivemind 1.1.1
I can find a tagged 1.1 version, and the trunk is 1.2.1 - or so the pom
suggests
Where is 1.1.1?
Thanks,
-J.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On 5/30/07, Jan Vissers [EMAIL PROTECTED] wrote:
Hi,
I'm desperately looking for the sources of hivemind 1.1.1
I can find a tagged 1.1 version, and the trunk is 1.2.1 - or so the pom
suggests
Where is 1.1.1?
Included in the distribution tarball?
--
regards,
Robin
Hi, All.
How can I generate URL for the listener method in my component? I need that
for my javascript function that must send async request to that URL. I can't
use DirectLink component because the element that will send request is
generated dynamically in another javascript function on the
I'm looking at adding cometd type functionality to the tapestry
4.1.2-snapshot application that I'm currently developing. I would like
to do it as follows:
Have only one cometd subscription per page. This would be bound to a
javascript function that would have the updates sent to it, much like
You should have this
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
on your html page.
I assume that's what cause the problems
On 5/30/07, erwin_br [EMAIL PROTECTED] wrote:
I am from brazil... I am study tapestry and there is something that i could
understand.
i would
erwin_br a écrit :
i would like to construct a web page using front page or publisher and put
into the components tapestry but don´t work
EX: i do the screnncast 5...no problem work fine.but if i edit the
start.html with publisher or front page and put some html tags then when i
run
Hi,
I'm starting a new project for a customer of ours and want to use
Tapestry 4.1.1 on Oracle's J2EE container - OC4J.
Having tested various aspects of this T version on 10.1.3 - I'm pretty
keen on using this version, however there are issues...
Firstly I ran into a known issue with
Thanks Jonathan,
I'm down to just one tapestry-generated validation error now.
I'm still getting the language attribute on script tags (example below),
i've looked through the tapestry source and the scripting stuff seems a
bit complicated, even if I tell the component to not use client side
Checking the (Tapestry) code:
public IAsset createAbsoluteAsset(String path, Locale locale, Location
location)
{
Resource base = new ClasspathResource(_classResolver, path);
Resource localized = _localizer.findLocalization(base, locale);
if (localized == null)
Digging deeper, and deeper...
In DefaultClassResolver this method:
public URL getResource(String name)
{
String stripped = removeLeadingSlash(name);
URL result = _loader.getResource(stripped);
return result;
}
returns null for 'dojo/' ...
smells like a class
Hi,I'm new to Tapestry and was making a search on google to find out some more
about what people are saying about it but came across this post by Kent Tong-
http://www.nabble.com/Problem-loading-dynamic-image-using-ajax-tf3805423.htmlHas
this Tapestry book author, high profile user and commiter
Ex: This wokr fine
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titlemusiclib Start Page/title
/head
body
table t:type=grid rowsPerPage=10 pagerPosition=both
source=tracks
t:parameter name=ratingCell
Ex: This wokr fine
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titlemusiclib Start Page/title
/head
body
table t:type=grid rowsPerPage=10 pagerPosition=both
source=tracks
t:parameter name=ratingCell
erwin_br a écrit :
FRAME SRC=coluna1.html NORESIZE SCROLLING=YES
* org.apache.tapestry.ioc.internal.util.TapestryException
Failure parsing template context:WEB-INF/Start.html: Attribute name
NORESIZE associated with an element type FRAME must be followed by the '
= ' character.
Even if you were somehow able to make it work the way you wanted that
particular application would never work in IE. IE won't allow you to update
tr elements like that - you can update data within a td element but that's
about it.
On 5/30/07, Paulo Ramos [EMAIL PROTECTED] wrote:
Hi,
I
You have to use the corresponding IEngineService service for the type of url
you are generating.. That is how everything in the system (including form
urls) are generated. Each service has different requirements on the object
type passed in but it's all more or less like:
Looking at the javascriptdoc (like javadoc for javascript) linked to from
here:
http://tapestry.apache.org/tapestry4.1/javascript/index.html
http://tapestry.apache.org/tapestry4.1/jsdoc/index.html
You can find that the tapestry.version property is a global javascript
reference to the current
Yes I'd love to get it going Craig. I'm sure Alex from Dojo and Greg from
jetty would be happy to see it done as well.
I can make myself available to resolve whatever hurdles need moving / etc in
Tapestry to make this happen.
On 5/30/07, Craig Spry [EMAIL PROTECTED] wrote:
I'm looking at
Yep. Sounds like oracle is messing with your classloader. I love oracle
java software. I love oracle java software.
On 5/30/07, Jan Vissers [EMAIL PROTECTED] wrote:
Digging deeper, and deeper...
In DefaultClassResolver this method:
public URL getResource(String name)
{
String
Thanks, but i just want to update data within a td element. The tr
update is just an example. I tried update data within a div inside a
td element and it didn't work.
Any ideas?
Paulo Ramos
Jesse Kuhnert escreveu:
Even if you were somehow able to make it work the way you wanted that
No I'm not sure based on the data given. I have an application running
with almost the exact same setup and everything is working fine. I noticed
that you are setting your rows property on each render - is it consistent ?
Perhaps something is getting confused about changing state.
I would
Andrew,
sorry I can't help you on that. I guess get out and grep for script. Try
putting a breakpoint on the rendering methods, and see what happens.
Ciao,
Jonathan O'Connor
XCOM Dublin
Andrew Ingram
cirile now i try this:
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titlemusiclib Start Page/title
/head
FRAMESET COLS=30%, 70%/
FRAME SRC=coluna1.html/
FRAMESET ROWS=20%, 80%/
FRAME SRC=linha1.html/
FRAME SRC=linha2.html/
body
/body
/html
the
My original code:
---
Html :
form jwcid=form
table jwcid=Tabela
td class=lineWithBorderNoWrap nowrap=nowrap
jwcid=accaoColumnValue
a href= jwcid=MoreInfoLinkMore Info/a
div jwcid=MoreInfoAjax
I think you're going down the wrong path with page injection. Try using
@Parameter to declare/inject a parameter to pass the page. You can
either make your parameter a String and use cycle.getPage(pageName) like
Andreas suggested or make it an IPage or ILoginPage to pass the page
directly.
Sorry to bother, I will be brief.
The location is Greenock, Scotland, the company is CIGNA International
(current website, still an ASP one, cigna.co.uk). The project is
expanding and we are looking for another Tapestry developer, plus to
myself, to work on the front end.
Cheers,
Alexander
Well - okay then...
let me rephrase my question - is there any known record of people using
T4.1.1 on OC4J 9.0.4 or OC4J 10.1.2.xxx
Thx,
-J.
Jesse Kuhnert wrote:
Yep. Sounds like oracle is messing with your classloader. I love
oracle
java software. I love oracle java software.
On
url() references in a stylesheet a relative to the stylesheet.
url(images/bg.gif) will generate a proper URL to a real resource, and
Tapestry won't attempt to interpret it as an action request URL.
On 5/30/07, petros [EMAIL PROTECTED] wrote:
I have the following error in my log file
Tapestry pages are static in structure: you don't just create components on
the fly. This is necessary for Tapestry's view on scalability and
clustering.
What you can do is define th components you want and select which one
renders at any give time. This is how the Grid and BeanEditForm
I'm not sure, Kent sort of dropped out of the project, but is still a
committer.
Kent had a very different view of what Tapestry 5 should be, and it really
was more like Wicket. It was Tapestry without the concept of parameters and
bindings ... really a lot more like Swing. A container, such
@Persist isn't about database persistence; it is about a value persisting
from one request to the next, or beyond.
Tapestry uses a redirect-after-post for actions, including form submits.
Thus if the data is stored persistently, usually in the HttpSession, it is
gone on the second request, the
hint:
assuming your css is in webapp/css,
url(images/bg.gif) would point to webapp/css/images/bg.gif
url(/images/bg.gif) would also point to webapp/css/images/bg.gif
url(../images/bg.gif) would point to webapp/images/bg.gif
I was just solving this issue with my code as well.
BTW- I noticed
Howard you read my mind, ideally dynamic components would be great, but I
ended up just defining several blocks and then delegating which one to show,
small price to pay for the flat out RAD of T5.
-Jon
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent:
The ClassLoader held by org.apache.hivemind.impl.DefaultClassResolver
has this:
[ClassLoader:
[[D:\ora\ocj10_1_2_0_2\j2ee\home\applications\eva\eva-web-1.0.0\WEB-INF\classes],
[D:\ora\ocj10_1_2_0_2\j2ee\home\applications\eva\eva-web-1.0.0\WEB-INF\lib\backport-util-concurrent-4.1.1.jar
That's a jetty configuration setting. I don't remember the exact place /
config option but you can find it in the jetty confluence site somewhere.
Something to do with windows file locking.
On 5/30/07, Daniel Jue [EMAIL PROTECTED] wrote:
hint:
assuming your css is in webapp/css,
I'm not sure. Only the wonderful oracle java developers know for sure I'm
guessing.
You can try messing with that or searching oracle related things for
configuring / changing the classloader settings. Tapestry will ultimately
defer class (and class resource) resolution up to whatever class
On Wed, May 30, 2007, Howard Lewis Ship wrote:
I have a page class which keeps form data like this:
| // class MyForm
| private Person _person;
| private String _homepage;
The class Person consists of several fields:
| // class Person
| private String _firstName
| private String
Here is the DateInput component for t5:
http://juanemaya.blogspot.com/2007/05/tapestry-5-date-input-component.html
I am not sure if that's the best way to do it. I think that building the
date in the year set is not the best way but well, i am learning slowly :)
Thanks a lot for ur help!
On
Hi Paul I've been in a very similar situation(but in tap4 with tacos)
you're in. To solve it I decided to implement my own Dialog component which
can be contained inside a form, and this worked fine for me. I've controlled
the show and hide issue with Javascript and css. So the component its
My application is working fine in Jetty but not in Tomcat.
I've already followed the deployment instructions found here (
http://tapestry.apache.org/tapestry5/tomcat.html ). I confirmed that my
classes are being jarred up by Maven and put into the WEB-INF/lib
directory.
Using JDK 1.5.0_11, and
Reading specification of getResource() ...
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String)
Finds the resource with the given name. A resource is some data
(images, audio, text, etc) that can be accessed by class code in a way
that is
Just a FYI,
this seems to work well, although the code surrounding the component
looks better when you replace these lines in your components'
templates:
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
/head
body
...content here...
/body
/html
with this:
I would say that oracle hasn't interpreted the specification strictly but
incorrectly. Ie they are wrong and fuc#$ up - again.
I've been doing this kind of resource loading for years - loading icons and
such from swing applications as well as variety of others. I've managed to
keep oracle out
I've been doing this kind of resource loading for years - loading
icons and
such from swing applications as well as variety of others.
Ok - but these are in fact examples of individual files,
could it be that 'directories' have been interpreted differently by this
implementation?
And... is
Hi Juan,
First, Good job.
after, some questions:
Where can i download?
com.dodo.community.web.util.SelectModelUtil
com.dodo.util.DateUtils
What about ClientElement interface?
Thanks
Marcus
Hey Juan -
umm ... 2 cents..
if you have a minute, maybe let me know what i'm missing ..
(thanks!)
Here is the DateInput component for t5:
http://juanemaya.blogspot.com/2007/05/tapestry-5-date-input-component.html
I am not sure if that's the best way to do it. I think that building the
date in
Hi Matt. Yes, i am already aware of this problem and reading how to do it in
T5. If anybody has any suggestions i will appreciate it.
On 5/30/07, Matt Kerr [EMAIL PROTECTED] wrote:
Hey Juan -
umm ... 2 cents..
if you have a minute, maybe let me know what i'm missing ..
(thanks!)
Here is the
sorry marcus. I just added the code to the blog. Anyway this is the link:
http://www.geocities.com/jmayaalv/DateInput.zip
ClientElement is T5 interface.
On 5/30/07, Marcus [EMAIL PROTECTED] wrote:
Hi Juan,
First, Good job.
after, some questions:
Where can i download?
10.1.3 returns
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/KLPD-Eva/eva-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/dojo/
for '/dojo' - which in plain english means, it works ok.
I notice that this version of OC4J uses a different classloader:
Hi, not sure if this is a problem or intended behavior:
I have a t:block at the bottom of my template, but still inside the body.
If I have this in a table,
tdt:selectsessionleveltype /t:delegate to=typeOfSesionLevel //td
where typeOfSesionLevel returns a block, The block rendered by
Good luck. ;)
p.s. You can always just switch to software not written by bad programmers -
like jboss or something. It must work reasonably well if it's good enough
for google.
On 5/30/07, Jan Vissers [EMAIL PROTECTED] wrote:
snipped/
I'm thinking about filing a service request/bug with
Hi,
For us T5 works fine with Tomcat or Jetty.
mvn tomcat:run (inside app dir)
or build war file and deploy:
mvn war:war (inside app dir, war will be in appdir/target)
Marcus
I'd love to be able to support jquery / others as addition javascript
handlers. ...Perhaps this is something we can address in the 4.1.3 dev
cycle.
On 5/29/07, Paul Stanton [EMAIL PROTECTED] wrote:
(4.1.1)
I'm using a dojo dialog to dynamically display a form. I've noticed that
when I scroll
Check this:
in POM.XML, use
tapestry-release-version5.0.5-SNAPSHOT/tapestry-release-version
or
tapestry-release-version5.0.4/tapestry-release-version
the command mvn jetty:run works?
Marcus,
Thanks for the reply. I've been able to get it to work with mvn
tomcat:run and mvn jetty:run, but not by deploying the war to a separate
instance of Tomcat. I'll keep at it. It's not looking like it's a
Tapestry bug... it appears to be a classloading issue involving
JAXP/Xerces.
:) I created a Callback registered @afterRender inside DateInput.java and
that did the trick!
thanks a lot for your suggestions Mark!
(the post and code in my blog already has all changes)
On 5/30/07, Juan Maya [EMAIL PROTECTED] wrote:
Hi Matt. Yes, i am already aware of this problem and
Juan,
Don't forget to complete, in your blog:
You can use the component like this:
.
Done.
Thanks.
On 5/30/07, Marcus [EMAIL PROTECTED] wrote:
Juan,
Don't forget to complete, in your blog:
You can use the component like this:
.
A trick to make it all work is to explode the tapestry jars into
WEB-INF/classes
-It does workbut it can get messy
-Jon
-Original Message-
From: Joel Wiegman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 11:48 AM
To: Tapestry users
Subject: RE: T5: Works in Jetty but not
You can make the Shell use a custom AjaxShellDelegate, here's the default
implementation
http://svn.apache.org/viewvc/tapestry/tapestry4/tags/4.1.1/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java?view=markup
btw, i'd go for the 4.1.2 version
On 5/30/07, Jan Vissers
Hi,
Thanks for your suggestion. I am wondering whether a custom
AjaxShellDelegate will effectively change the fact that the getResource()
to dojoPath and tapestryPath are called - as this is what causing me
problems at the moment.
Or to put in other words - will this be sufficient to make the
There should not be any difference; I'd have to see your code to determine
what's going on.
On 5/30/07, Martin Dietze [EMAIL PROTECTED] wrote:
On Wed, May 30, 2007, Howard Lewis Ship wrote:
I have a page class which keeps form data like this:
| // class MyForm
| private Person _person;
Just noticed your constructor. Don't do that.
The Person object that you create will become the default value for this
property, rather than null. This is documented.
On 5/30/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
There should not be any difference; I'd have to see your code to
Hi,
I would like to include reusable HTML snippets which contain Tapestry code
(jwcid) tags rather than build an actual component. There have been several
posts that I searched through and the answer was to build a component, though
I'm not sure if that will help in my case as I would like
hi, I have a login pane which embeded in a dojo dialog. And when login
successful, I want the dialog close. In my Login.java I wrote
public void doLogin() {
//...
Dialog dlg = (Dialog)getComponent(loginDialog);
dlg.hide();
}
div jwcid=[EMAIL PROTECTED]
I am a Tapestry newbie getting up to speed on Tap 5. I am working on an
application with extensive co-branding requirements.
As I understand things, there is - by default - a tight coupling between
a component class name and its template path. For example - if a
component has a FQCN of...
There are internal services that can be overridden to handle those kinds of
situations.
The goal is to create something that works amazingly well for all the more
typical cases, then start going after these others. Often it will involve
moving a private interface out into the public space ...
A feature! On purpose, to remove redundancy from the URL. The goal is to
allow you to select a longer class name but get a short URL.
On 5/30/07, petros [EMAIL PROTECTED] wrote:
I just noticed the following:
My tapestry page com.glintech.jumpstart.tapestry.users.UsersList is
translated in
77 matches
Mail list logo