Developing components in Tapestry is as easy as creating plain web
pages. Simply try the framework (with a tutorial) one afternoon and you
will see.
Regards
Pedro
El jue, 16-03-2006 a las 08:09 +0800, Annie Lim escribió:
> Hello,
>
> I have just started looking at Tapestry and was just wonderin
Wallpapers on theme "music".
music (http://music.xmlseek.com/music.html)
music download (http://music.xmlseek.com/music-download.html)
free music downloads (http://music.xmlseek.com/free-music-downloads.html)
music video (http://music.xmlseek.com/music-video.html)
download online music (http://mus
You can also use the standard ValidationDelegate and call
setComponent(null) before calling record. The *standard*
ValidationConstraint for this to pass in to the record method is
CONSISTENCY. I use this for cases when, say, the login failed because
there's already an admin logged in to a single
It sounds like what you need is to implement the authentication as a
hivemind service which can be injected whereever you need it.
Better yet: in both cases the username/password fields, submit button
(link?) and service could all be dropped into a custom component that
you could reuse anywhere yo
Can you show us the relevant code from the template/page file?
On 3/14/06, Ryan Pan <[EMAIL PROTECTED]> wrote:
> Hi all,
>When I use "DirectLink" to pass a object as parameter,I encountered this
> exception.
>Can anybody tell me how to solve this issue?
>
> Thanks,
> Ryan.
>
> java.lang.Ar
Don't feel bad. Anytime ANYONE posts performance benchmarks/comparisons,
many people will critique it. You just have to be darn sure that your
analysis is sound before you post (I'm not saying that it's not).
> Thanks for comments and pointing out potential issues.
> I am not an expert in Tapest
Thanks for comments and pointing out potential issues.
I am not an expert in Tapestry nor JSF and I did this benchmark because
I wanted to chose one of them, thus I could've made very obvious
mistakes.
Looks like I need to rerun the Tap4 test with Hivemind 1.1.1.
I hope this will improve Tap4 res
Hello,
I hava a form, and after submit it, a POI Workbook object in the form
listener will generate an excel file according to user inputs, and then
return the file to client by means of hooking and writing to the WebResponse
OutputStream.
Everything seems to work well, the workbook object
Well, using the code from the wiki, you can get to this
structure
WEB-INF
\pages (*.page + *.html + *.properties)
\components (*.jwc + *.html + *.properties)
AFAIK the template should be near its spec (if there is one)
but the spec can contain a special asset (named '$template')
that overrides th
Hi Izak,
also thanks for your answer!
On 16. Mär 2006 - 01:12:16, Izak Wessels wrote:
| A simple solution is to have all your .page/.html/.jwc files in
| different directories in your source directory. Then when you run your
| ant script, simply use the task to copy all the files to the
| centra
Hi Harvey,
thanks for your answer!
On 15. Mär 2006 - 14:10:38, Harvey, David wrote:
| [...]
| The .application file contains declaration of the pages and components,
| thus:
|
| And
|
Well, I already know this way of specifying the pages/components
(although I don't have them defin
On 15. Mär 2006 - 21:11:17, Andreas Andreou wrote:
| Could you please describe the directory structure that
| you want to achieve?
Sure:
WEB-INF
\- pages (*.page)
\- components (*.jwc)
\-templates (*.html)
Sincerly,
Andreas
--
Tapestry 4
Annie
>>> [EMAIL PROTECTED] 16/03/2006 8:28:16 am >>>
Which version of Tapestry?
-Original Message-
From: Annie Lim [mailto:[EMAIL PROTECTED]
Sent: Wed 3/15/2006 5:09 PM
To: tapestry-user@jakarta.apache.org
Subject: Tapestry component development tutorials
Hello,
I
Hi,
There is a "AnySubmit" that we use to wrap around radio buttons. Then we use
conditionals to hide the values.
regards,
Mark
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Tue 3/14/2006 5:51 PM
To: Tapestry users
Subject: Re: Show/Hide text fields
var elm
Which version of Tapestry?
-Original Message-
From: Annie Lim [mailto:[EMAIL PROTECTED]
Sent: Wed 3/15/2006 5:09 PM
To: tapestry-user@jakarta.apache.org
Subject: Tapestry component development tutorials
Hello,
I have just started looking at Tapestry and was just wondering if there wer
Hello,
I have just started looking at Tapestry and was just wondering if there were
any good tutorials on custom component development available.
Any help would be deeply appreciated.
Thanks,
Annie
--
Andreas,
A simple solution is to have all your .page/.html/.jwc files in
different directories in your source directory. Then when you run your
ant script, simply use the task to copy all the files to the
central WEB-INF directory. After the .war have been build, use the
task to delete all the f
> I'll recheck the issue on the text replacement,
> but the 3 times click seems weird. Is it possible for you to
> post your template html? or perhaps describe the exact components
> you're using?
It's possible to post everything, but I think it wouldn't be very practical
since I divide a lot of s
Denis Souza wrote:
>Just tried it with the latest code.
>
>It eventually works, but it seems that any buttons on the page have to be
>clicked on 3 times before it actually submits. Any buttons that appear
>before the upload field replace their text with their id after the first
>click (as all but
I'm using Tapestry 4. Here's how I've done it:
WEB-INF/ <-- this is where the web.xml, hivemodule.xml and my
.application files reside
The .application file contains declaration of the pages and components,
thus:
And
Then I have (for the user page)
WEB-INF/pages/authorization/user
Just tried it with the latest code.
It eventually works, but it seems that any buttons on the page have to be
clicked on 3 times before it actually submits. Any buttons that appear
before the upload field replace their text with their id after the first
click (as all buttons did before). The butto
I have a component with a parameter named rate and a session-scoped
property named rateProp. Both are to be ints.
I have my rate parameter declared as follows:
I have the rateProp declared as follows:
Kent,
Thanks very much. It works perfectly fine.
/H
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Paul, I'll try this later.
On 3/15/06, Paul Ferraro <[EMAIL PROTECTED]> wrote:
>
>
> Alternatively, if your initialization logic requires that Tapestry
> already be initialized, you can plug into Tapestry's initialization by
> contributing to the tapestry.init.ApplicationInitializers config
Could you please describe the directory structure that
you want to achieve?
Andreas Bulling wrote:
>Hi everybody,
>
>perhaps some of you have read about the problems I had (and still have)
>following the howto under
>http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF
>
>As it see
In Tapestry 3.x you can override org.apache.tapestry.ApplicationServlet
and override either init() or init(ServletConfig) and add your
initialization logic there.
If overriding init(ServletConfig), you must call super.init(config).
Paul
Mark Stang wrote:
> Hi,
> Any idea how this is done in 3.x?
Hi everybody,
perhaps some of you have read about the problems I had (and still have)
following the howto under
http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF
As it seems I can put the .page and .jwc files in different (sub-)directories
of WEB-INF but then Tapestry can't find
On 15. Mär 2006 - 16:51:15, Andreas Bulling wrote:
| And the .properties files have to stay under WEB-INF?
| Well, I did that but now I get the error message:
|
| ---
| Could not find template for component Home/border in locale de.
| ---
Perhaps, do I have to implement a custom ITemplateSourceDe
Hi,
Any idea how this is done in 3.x?
thanks,
Mark
-Original Message-
From: Paul Ferraro [mailto:[EMAIL PROTECTED]
Sent: Wed 3/15/2006 8:59 AM
To: Tapestry users
Subject: Re: Any tips to preload application on startup?
There are many ways to do this. Perhaps the most standard way is
Hello Eric
Thanks for the feedback. Here are some responses to your queries.
GlassFish has evolved from Sun Java System Application Server 8.1
codebase which itself was a significant bump up in terms of ease-of-use
and quality from the SunOne days.
You will find the GF admin interface signific
Hey list people
I am trying to implement a IBasicTableModel and this is what I have so far:
MyTable.java
public class MyTable implements Serializable {
private static final long serialVersionUID = -1345425240124508L;
private String title;
public ConversationsPlaceHolderTable()
Shreedhar,
I'm assuming GF is borrows a lot on the sunone app server. I think
we may be one of a few groups (on this mailing list at least) that
have deployed production Tapestry applications on the Sunone App
Server 7.0.
After spending many hours on different policy file configurations, we
de
There are many ways to do this. Perhaps the most standard way is to
register one or more javax.servlet.ServletContextListener objects in
your web.xml.
Details here:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html
Alternatively, if your initialization logic requires
On 15. Mär 2006 - 15:46:00, Kent Tong wrote:
| Put them in the same folder as the .page (or .jwc) files.
And the .properties files have to stay under WEB-INF?
Well, I did that but now I get the error message:
---
Could not find template for component Home/border in locale de.
---
Sincerly,
And
Andreas Bulling phoenix.hadiko.de> writes:
> | Do you really have /WEB-INF/Border.html?
>
> Well, that's the point: Where do I have to put the html files
> if I follow the above howto?
Put them in the same folder as the .page (or .jwc) files.
--
Author of a book for learning Tapestry (http://w
Maybe you should provide a different startup command for a "secure"
server...
asadmin start-secure-domain domain1
or
asadmin start-domain -secure domain1
-Original Message-
From: Shreedhar Ganapathy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 10:33 AM
To: Howard Lewis S
Hello Howard
Thank you for responding.
Without de-emphasizing the need to figure out security policy setting
for apps, here's some news that might help for deploying, running and
evaluating Tapestry apps with GlassFish.
After much feedback from the community, bearing ease-of-use in mind for
d
To override the default implementation of a hivemind service, use the
element in your hivemodule.xml.
e.g.
Paul
Giampaolo Tomassoni wrote:
> Dears,
>
> I need to relay on a session object instead of a client
You can use the AjaxEventSubmit component from tacos to achieve this sort of
behaviour. .It does require doing a post of the page, but not one that would
refresh the entire page. (using normal ajax semantics)
http://tacos.sourceforge.net/components/AjaxEventSubmit.html
jesse
On 3/15/06, Harvey, D
Hi all,
Is there support for calling an arbitrary Tapestry event handler from
JavaScript using Tacos and/or Dojo? I'm developing a proof-of-concept
where I'm listening for checkboxes in a list and modifying other
elements on the page based on what was checked without doing a page
post. I know
My lib directory shows:
hivemind-1.1.jar
hivemind-lib-1.1.jar
I'll see if I can figure out this maven thing and grab 1.1.1
I switched to Jetty 5.1.10 last night and saw marked improvement over the
Tomcat 5.5.15 I was using previously.
On 3/15/06, Sergei Dubov <[EMAIL PROTECTED]> wrote:
>
> Also
Korbinian,
Sitemesh is excellent and it's already used by Equinox.
With Sitemesh there is no configuration file that you need to constantly add
to each time a new page is added to the site. If I recall, there are only 3
files that need to be setup and one of the is simply adding a servlet filter
Also, it may be worthwhile to profile tests before publishing them
first. Could be your local configuration, right?
It'd be nice to know why T4 is slower then T3 in your case...
Serge
Alexander Varakin wrote:
Hi,
I ran a simple Tapestry vs JSF benchmark, results are posted on my blog:
http:
Tap4 has been very very fast so far for me. Near instant restarts.
Do try to use HiveMind 1.1.1...
Serge
Alexander Varakin wrote:
Hi,
I ran a simple Tapestry vs JSF benchmark, results are posted on my blog:
http://www.resupedia.com/blojsom/blog/Java/2006/02/28/Tapestry-vs-JSF.html
Alex
-
I'm experiencing some weird behaviour with component parameters.
They stay null, until the first abstract getter is run to access one of
them, then they are bound with the correct values.
Is this some kind of basic error that is my fault? If nobody knows an
obvious reason for this, I'll try to ad
Ryan Pan gmail.com> writes:
> I have a question in validation function of tapestry.
> When I store the error message through "delegate.record()" method,there
> will be always one error record stored in delegate,so I wanna how to store
> all validation error into delegate?
You can't have
Hugues mail.com> writes:
> Then, for each page, I am trying to get its IComponentSpecification:
>
> INamespace namespace = specificationSource.getApplicationNamespace();
>
> for (Iterator it = potentialPages.iterator(); it.hasNext();) {
> String pageName = it.next();
> IComponentSpecificati
Hi Kent,
thanks for your answer!
On 15. Mär 2006 - 12:19:53, Kent Tong wrote:
| which howto?
http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF
| Do you really have /WEB-INF/Border.html?
Well, that's the point: Where do I have to put the html files
if I follow the above howto?
Aslak Gronflaten gmail.com> writes:
> I'm wondering if it is possible to add a component library to the
> application, via a hivemodule.xml configuration contribution for
> example, so I won't have to alter
> the .application file (which in my case is autogenerated).
I don't think it's possible.
Nima Boustanian tn20.com> writes:
> I've been trying to assign values to my dynamic checkboxes, but can't
> really grasp how I should do it. I have been successful with
> generating them, but in Tapestry you'll need a abstract getter for each
> checkbox right? So how do I know which checkboxes
Andreas Bulling phoenix.hadiko.de> writes:
> I tried to follow the above Howto from the Tapestry Wiki but
> I get the error message:
which howto?
> ---
> Could not parse template context:/WEB-INF/Border.html
> ---
Do you really have /WEB-INF/Border.html?
> I've created "pages" and "components
did you have a look at tacos.sourceforge.net ? Their partial forms may be
just what you need ...
> -Original Message-
> From: Blšták Peter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 15, 2006 1:06 PM
> To: Tapestry users
> Subject: T4 form submit without validation, but storing fiel
Hi
It would be nice to have the opportunity to realize form submit without no
client and no server validation, but with storing of form field values
somewhere (in text format - like ValidationDelegate does in case of error).
Stored values (in text format) would be source of form field values d
1) There's a typo in the value of your
org.apache.tapestry.page-class-packages
2) You should reference the page as mmp:CRUD
3) AFAIK, you have to add a CRUD.page file in the library.
And if you add the file in the pages folder, you should also reference
it from the
.library file as
Mike Pestoric
Hey all
I have a table that I want to pass values from
source="ognl:posts"
columns="listOfConversations:Title:title,
Comments:childPosts.size, Author:externalAuthorId, Group"
class="tableheader"
rowsClass="ognl:beans.evenOdd.next">
Hi,
I have done the tree using Tacos in tapestry 4.0.
Now my requirement is i shld move the value selected from the tree to another
listbox using script.
If anyone has some idea,please share it!
m2f
Sent from www.TapestryForums.com
Read this topic onl
my first thought was: "dont believe a benchmark that hasnt been faked by
yourself"
sorry, but tapestry 3 dtd in t4, then the rest robert zeigler already
pointed at... it seems like a typical "why windows/linux/unix is better than
linux/windows/unix" studie or something like that...
Korbinian
If you *shudder* at tiles, whats your solution for that problem then ? - if
you, say, want to build a web-newspaper and have only in 1 place defined the
look ? ( yes, i saw the emoticon :P )
but seriously: do we have any alternative to tiles - and if yes, is there a
howto or sth. else without the
Did you use hivemind 1.1.1 for your tests? It has an important performance
fix ...
> -Original Message-
> From: Alexander Varakin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 15, 2006 5:41 AM
> To: tapestry-user@jakarta.apache.org
> Subject: Tapestry vs JSF benchmark
>
>
> Hi,
>
>
Dears,
I need to relay on a session object instead of a client cookie to handle the
user locale.
How am I supposed to override the RequestLocaleManager default implementation?
Also, since I would need to access session objects from the new implementation
of RequestLocaleManager, I would first
Yes I would have to agree that the startup time for my Tap4
application is horrid (no quantitative measures but compared to my
Struts apps which are larger by several degrees of magnitude). I
thought I read something by Howard that said T4 should be alot faster
because of less reflection being
61 matches
Mail list logo