I am using Tapestry 4.0-rc-1.
In a DataPicker component, I have set up my custom
format for the date.
The date appears as something like 7 December 2005.
Now I would like to have a comma between the month and
year:
d ,
causes the following error :
Clas
Hi all,
Suppose there are two pages , Home.html and SecondPage.html
In Home.html there will be an button which will invoke page
SecondPage.html (just use Html script).
I add some features in SecondPage.html , but find out it is not
possible to run it , but as a matter of fact , if you just use
S
I see. I had assumed that a default implementation would have existed that
behaved like hivemind.BuilderFactory, that allowed nested set-object
elements.
-Scott
On Thu 8 December 2005 13:16, Howard Lewis Ship wrote:
> What you do is create a custom factory service to create your ASO, and
> you
What you do is create a custom factory service to create your ASO, and
you inject your dependencies into your custom factory, which can then
pass them on to the ASO.
On 12/7/05, Scott Russell <[EMAIL PROTECTED]> wrote:
> I have an application state object, that I would like to have services set on
Hi all,
could anybody give me a hint about the Javascript file handling in
Tapestry?
Thanks a lot.
Best regards,
Leon
--- Leon Pu <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> it seems the javascript .js file has to be treated as xml in Tapestry
> 3.0.3.
>
> But sine my .js file has been writen
Oops
This.. "Look at the jwc and class file for the Any component."
Should read... "Look at the jwc and java file for the Any component."
Geoff
On 12/7/05, Geoff Longman <[EMAIL PROTECTED]> wrote:
> Look at the jwc and class file for the Any component. Tapestry hooks
> up the following paramete
Look at the jwc and class file for the Any component. Tapestry hooks
up the following parameter with the value of the tag name in the
template...
The tag used to add this component in a template.
Looking at BaseComponentTemplateLoader.addTemplateBindings(IComponent
c
I have an application state object, that I would like to have services set on
whenever one is created (ie. standard dependecy injection, not annotation
injection or anything like that)
I tried this in my hivemodule.xml:
But I am getting an exception whe
>From Drew McAuliffe <[EMAIL PROTECTED]>:
> I've been running into a number of problems with building tapestry (RC1).
> The biggest problem I have is that the build structure is completely
> interdependent on HiveMind. While I can understand a need to have access to
> HiveMind, I don't see why I
A lot of the test compilation targets have "1.5" build directly into the xml
files instead of reading it from a props file. Also, a great deal of the
tests are completely 1.5 dependent, using varargs, autoboxing, and
annotations, so there's no way to compile them on 1.4. Also, there's no way
to run
Thanks for the quick response. I'll check out JIRA when I come up for air.
The other issues that lead me to constantly rebuild have already had issues
created, I believe. I've been able to get the patch code from the mailing
lists in one case and dealt with it myself in the other. I'll double-check
Drew McAuliffe wrote:
Maybe this is just a hole in the documentation? I hope so because for each
new release, I'm forced to rebuild both hivemind and tapestry due to 2
errors that have been mentioned on the list frequently in the past but never
actually addressed (jndi lookup problems with oc4j a
Tapestry is dependent on the *build scripts* used by HiveMind. I wrote
them out of frustration with maven 1.0, but I'm looking into Maven 2
for HiveMind (1.2) and Tapestry (4.1).
Those are problems you've identified; the framework and contrib code
is supposed to be compatible with JDK 1.3. I'll l
I've been running into a number of problems with building tapestry (RC1).
The biggest problem I have is that the build structure is completely
interdependent on HiveMind. While I can understand a need to have access to
HiveMind, I don't see why I should need the source of HiveMind, and it's
build s
I'm using tapestry 3.0.3.
I've been a struts/jsp developer for 4+ years but I've only been using
tapestry for a week or so. I have written a half dozen custom
components and so far, I really like tapestry.
I cannot figure out how to search the archives at
http://mail-archives.apache.org/mo
Where should the inline link reference (i.e. #sectionName) be appended to a
Tapestry URL in order for inline links to work?
If I implement my own BaseTagWriter my inline link reference (i.e.
#sectionName)
http://localhost/tap_comps/app?component=guidLink&page=dir1/SearchPage&service=direct&sessio
I thought he wanted to load arbitary fragments on an as needed
basis? If not then, yah, your approach is infinitely simpler, but if he
already has a library of fragments then he could just @Insert them via the
loader approach.
--- Pat
> -Original Message-
> From: Alan Cha
On Wednesday 07 Dec 2005 23:16, Patrick Casey wrote:
> If you don't want to do it via Tassel, just write a static method
> that loads it e.g.
Why go to all that trouble. Surely a simple "footer" component that has the
HTML that you want in your footer, and a jwc file
http://jakarta.apach
If you don't want to do it via Tassel, just write a static method
that loads it e.g.
Public static String load(String asset) {
File f = new File(asset);
FileInputStream fs = new FileInputStream(f);
ByteArrayOu
There is a tassel or tacos component called "include"
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 12/7/2005 4:06 PM
To: tapestry-user@jakarta.apache.org
Subject: How to include a fragment of HTML ?
Hello,
All pages generated by my webapp have the same
Hello,
All pages generated by my webapp have the same footer.
How to put the footer into a separate file and include
it in all the pages?
It was pretty basic and easy task in PHP or using
Apache SSI includes, but I don't really understand
how to do this in Tapestry...
Thanks for any
help!
--
Having been away from my Tapestry project for a while, I just
upgraded from 4.0b6 to 4.0rc1. Something that worked before is now
broken.
I map the extension "html" to pages using the external service, as
follows:
service="external" />
When I bring up my app's home page,
I have a page with a mix of ValidField and non-ValidField form
components (PropertySelection etc).
The ValidField components are validated declaratively by assigning
IValidators in the page specification.
The other components are validated programmatically in action listener
methods. When a vali
Is there a way to bind a column to one thing and then specify the key
for looking up the label as something else?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Thanks Joe! How did that hose any of the other components/services (i.e.
DirectLink, etc..).
Jason
On 12/7/05, Joe Trewin < [EMAIL PROTECTED]> wrote:
>
> I too had this problem - I understand why Tapestry does this, as URLs
> may be generated by services that contain subpaths, which would then
>
Hi all,
it seems the javascript .js file has to be treated as xml in Tapestry
3.0.3.
But sine my .js file has been writen into xml and all javascript
functions are inside
The first release candidate for Tapestry 4.0 is now available.
Tapestry is a component based web application framework that provides
lots of functionality with minimal Java coding, and creates an
environment that supports high levels of reuse.
This release fixes a number of minor bugs and a major
Hi,
Sorry about the noise. It was totally user error. I had a rogue
import statement on one of my framework classes (didn't bark compile
time because I was building on OSX).
Thanks,
Eric
On 12/7/05, Eric Schneider <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm attempting to deploy a Tapestry applic
We just don't use it, but it turns out that simply having it available
causes performance bottlenecks under load (see HIVEMIND-162). Removing
pieces that I don't use because they have performance impacts strikes me
as one of the big benefits of a configurable infrastructure like
Hivemind/Tapestry
Porcs-Makkay Ákos gmail.com> writes:
> I'm trying to use LDAP with my tapestry application, but I get an error:
>
> Exception invoking listener method onLogin of component Login: Failure
invoking listener method
> 'public java.lang.String com.ttdev.myapplication.Login.onLogin()' on
> $Login_222
Jeff Lubetkin zillow.com> writes:
> I’d like to remove the “client” related
> persistence strategies from the PersistenceStrategy configuration point.
Why do that?
> The only way I’ve figured out how to do this is to effectively recreate a
> bunch of the tapestry configuration so that I can co
Here's what's confusing to me. I know you are right about the inject
element. I think that goes in the component/page specification. As far
as the hivemodule.xml, I'm very confused by the documentation. There is
nothing in the docs showing a full example. I'm going to look at the
examples that come
Hi,
I'm attempting to deploy a Tapestry application (beta 11) on a machine
that already contains other Tapestry applications with identical jar
configurations. These other applications work flawlessly, but for
reasons unknown this app throws a NoClassDefFoundError looking for
com/apple/eawt/Appli
Earnshaw, Wayne fanniemae.com> writes:
> We have implemented J2EE security that restricts access to only friendly
> URLs.
> The TableComponent generates links that are based on unfriendly URLs
> e.g.
>
> /PhoneBook/?component=table.tablePages.linkPage&page=Home&servic
> e=direct&sp=AHome%2Ctabl
gcormier tapestryforums.com> writes:
> Basically, all my links on the left are in a list with elements and the
> non-selected ones have a certain class, while the current selection has a
> different style, and obviously, no link to click on.
Try:
Then define a getLinkClass() in y
Hi,
My i18n components badly appears on my pages. The pages themselves are OK
(in UTF-8 and showing accented chars OK) but the components are not.
Is there something special to tell tapestry that the components html files
are in UTF-8?
Thanks a lot.
-jec
--
Jean-Eric Cuendet
Riskpro Technologies
That'll do 'er. Thanks.
On 12/7/05, Bryan Lewis <[EMAIL PROTECTED]> wrote:
> This is something different... it looks like the first problem has been
> solved.
>
> Check your pageBeginRender() code. The method must be defined in your
> page if the page implements PageRenderListener, and vice versa
This is something different... it looks like the first problem has been
solved.
Check your pageBeginRender() code. The method must be defined in your
page if the page implements PageRenderListener, and vice versa. Check
that the method signature is correct.
Phil Ulrich wrote:
> I tried both of
I tried both of these (first in, then auto). Now I'm getting this instead:
java.lang.AbstractMethodError
company.package.Component$Enhance_9.pageBeginRender(Lorg/apache/tapestry/event/PageEvent;)V
On 12/7/05, Bryan Lewis <[EMAIL PROTECTED]> wrote:
> Try adding direction="in" or direction="aut
Try adding direction="in" or direction="auto" to the
declaration. According to the book on page 222:
direction Specifies how, if at all, you want to connect the
parameter binding to a property; defaults to custom,
which means no connected parameter property.
Phil Ulrich wrote:
> The
I looked in the examples and found the following:
@InjectState("visit")
public abstract Visit getVisit();
@InjectStateFlag("visit")
public abstract boolean getVisitExists();
This is fine for Java 1.5, but I'm still using 1.4...
Frank Russo
Senior Developer
FX Alliance, LLC
I'm a beginner. But I thought I s'd make an attempt to answer this question.
So I'm sorry if this is not what you are looking for.
Are'nt session objects stored in META-INF/hivemodule.xml in tapestry4 and
then injected into the page using element when using JDK < 1.5 ?
--- hivemodule.xml --
this is the preferred way.
in tapestry 4.0 the visit object itself is deprecated in favour of a
flexible configuration of different session/context state objects,
instead of the single visit/??? (forgot how it used to be called in 3.)
Look at the user guide in application state for details.
Che
I will be out of the office starting 12/07/2005 and will not return until
12/14/2005.
I will respond to your message when I return.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The preamble: Tap 3.0.3.
The quote: Page 237, "Tapestry in Action," Chapter 6, 'Creating
Reusable Components': "The enhanced subclass generated at runtime by
Tapestry includes the necessary fields, a get method, and a set
method."
The problem: Tapestry is exhibiting exactly the opposite behavior.
This may be a basic question, but it's not clear to me from the
documentation. Since the getVisit() method is deprecated in IPage in
4.0, what is the preferred way of getting access to the Visit object?
Frank Russo
Senior Developer
FX Alliance, LLC
Yes, good idea. But I am still using java 1.4, and
have no idea to enable annotation. Actually I think
cachable methods should be a solid method rather than
an abstract one.
Yunfeng Hou
--- "Dmitry I. Zubarovsky"
<[EMAIL PROTECTED]> wrote:
> Hello Yunfeng!
>
> Do not you think its also make
Not sure if this is exactly your problem, but I've seen this in the past
with other open source products. It comes from a conflict in log4j (if
you're not using log4j, then this is not your problem/solution.) In your
log4j.properties, you've probably set the log level to INFO or DEBUG,
etc. You'll
Hi Jeff,
the way you did it allows another developer to contribute the 'client'
strategy to your new configuration-point.
You may override the service tapestry.persist.
PropertyPersistenceStrategySource by adding an implementation to
one of your hivemodules:
Used by other services to loca
Hi all,
Yesterday, all of a sudden, my Tapestry application started to produce
extremely lots of logging. This slows down the system significantly. The stack
is Tapestry / Tomcat / Eclipse.
I don't now exactly where the problem should be searched but it seams like
tapestry classes are generat
Hi,
Is possible to delete item form ListEdit component source whithout using a
checkbox? I have a tabel where the end of a each row is a image. I'd like
to click on that image, and current row will be removed from the table,
but I am stuck whith this problem, is this even possible :)
Than
Here's what I do.
I run a cron job every night that takes the current production backup,
builds a new dev database, then runs a directory of sql that updates the
schema (or data). At first people complained they lost schema changes but
pretty soon they learned to create a file, run it then copy it
I too had this problem - I understand why Tapestry does this, as URLs
may be generated by services that contain subpaths, which would then
break relative links to assets. However, I'm not convinced that this is
the correct solution ...
To fix it for my application I implemented my own BaseTagWrite
Hi,
I have my database access configured using Spring and I inject relevant
spring:objects into Tapestry pages. Now I have also a custom EngineService
which I succeeded to instantiate using hivemind.xml quite blindly - looking
at/copying from examples. The problem is that I need spring object to be
Maybe you can try Kettle:
http://www.kettle.be/
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/viewtopic.php?p=11533#11533
m2f
55 matches
Mail list logo