i probably could modify it, but am not sure if its worth it or not.
but i guess there must be a few ppl out there with an older version,
who would benefit from this. so will give it a try, if not then
perhaps somebody else could give it a try.
-
Rui Pacheco wrote:
Hi all
This is not a pure Tapestry question, but I believe you have seen this
before and might be able to give me some guiding light.
I have a web application, which I am splitting into several fragments,
ie,
components, each one rendering content stored in a database. I jus
I got it ;-)
http://myfaces.apache.org/tomahawk/jscookmenu.html
2006/7/18, Scott Russell <[EMAIL PROTECTED]>:
You know, you could always take the jscookmenu source code and modify it
to be
Tapestry 3 compatible. I doubt it would very difficult to do.
-Scott
On Tuesday 18 July 2006 09:23, Pet
You know, you could always take the jscookmenu source code and modify it to be
Tapestry 3 compatible. I doubt it would very difficult to do.
-Scott
On Tuesday 18 July 2006 09:23, Peter Dawn wrote:
> nay. too risky. its a bit too late in the process for me to upgrade, i
> might break something. w
Where can I find a release of JSCook (Tap4 here ;-) )?
I found one at http://forum.mamboserver.com/showthread.php?t=10994 but it
seems it's for mambo only? Or it just an ads...?
2006/7/18, Peter Dawn <[EMAIL PROTECTED]>:
nay. too risky. its a bit too late in the process for me to upgrade, i
mig
When you say "direct link", do you mean a @DirectLink component which
calls a listener? Or, do you mean a @PageLink?
> I am curious if what I have been experiencing with pageValidate is normal
> behavior. My pageValidate gets called when I click on a direct link that
> goes to another page. I w
Why reinvent the wheel? Try tapernate:
www.carmanconsulting.com/tapernate
You can use anonymous/anon to check it out from the SVN repository.
> Hi all,
>
> I have tried to implement a Servlet Filter but my Tapestry 4 app will not
> take it... I get some weird errors - is it not supposed to work
has anybody tried to implement a help system using tapestry. within my
web app i want to implement a help manual and i am debating on whats
the best way of implementing this.
just a pop-up ie window would do fine or even something in dhtml. has
anybody thought of implementing something like this.
Your data should be ready to display when you enter each for-loop. If not then
you are
mixing too much logic into your interface. Consider moving the logic back into
Java.
With your data ready to display you can test your condition at the outset of
the for-loop and
set the appropriate backg
I am curious if what I have been experiencing with pageValidate is normal
behavior. My pageValidate gets called when I click on a direct link that
goes to another page. I would have expected pageValidate should only get
called when visiting only the enclosed page.
--
~chris
i think i follow most of it.
first to answer your question, this information is coming from the db
and changes on the fly.
second i am not sure how to check this at the beginning of the foreach
loop, i mean how can i check for the contents of an individual cell.
also my foreach loop generates eac
What's the problem?
You can test your condition at the beginning of the row, when writing the
component, so
that you generate something like or
I'm sure you've got past this.
You mention "when certain text is received", does this mean from user input in
the midst of
the table row or fro
Using a SPAN element is completely arbitrary. If you're worried about
markup formatting semantics in the template, then just use another
element.
You _could_ enounter all kinds of validation errors by putting tables
inside of spans (block element inside inline element is invalid), but
you can jus
I'm using Tap3 and am soliciting opinions on a good method for
preventing XSS (Cross-Site Scripting) and ugly HTML from being input and
displayed on my Tapestry application.
* Is there any facility for this in Tapestry that I haven't found yet
that's leverageable?
* Do you prefer a solution that w
guys,
i have a table with a foreach condition within it. now the code
generates a bunch of table rows based on my condition.
now within my last column, i have a condition where if a certain text
is received the background colour of that cell changes. now what i
want to do is, if that text is rec
nay. too risky. its a bit too late in the process for me to upgrade, i
might break something. will probably upgrade straight to 5 now.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Upgrade! ?
On 18 Jul 2006 at 8:47, Peter Dawn wrote:
> tried it, but noo. jscook is not compatible with tap3. looks like
> i am gonna have to find a way for krysalis to work.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
I found this example somewhere, can't remember now... (I must keep bookmarking,
I must
keep bookmarking...)
[from A.html]
Edit
Del
[from A.page]
That wasn't hard.
The question you we
What you have suggested is in fact what I am already doing for the date entry /
update. I'm
also having to use a special method in my .java file to retrieve the format
whenever I want to
display a date in this format.
My problem is that this is a significant amount of coding required on each
As you say... not pretty.
mc
On 17 Jul 2006 at 14:59, Shing Hing Man wrote:
> It is not very pretty. You could try the following.
>
>
>
>
>
> ognl:new
> java.text.SimpleDateFormat(getMessages().getMessage('format_date'))
>
>
>
>
> Shing
> --
I downloaded the source of these projects just to have a look - I wasn't into
running JBoss
(fear of the unknown), so I've never seen them run either.
I started with this tutorial from John Reynolds:
http://weblogs.java.net/blog/johnreynolds/archive/2004/10/tapestry_compon_1.html
There's lots
Hi all,
I have tried to implement a Servlet Filter but my Tapestry 4 app will not
take it... I get some weird errors - is it not supposed to work?
I have also read about the ServletRequestServicerFilter but I cannot find
any decent documentation - is there any? ... I lack documentation about man
tried it, but noo. jscook is not compatible with tap3. looks like
i am gonna have to find a way for krysalis to work.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rui.,
What you're worrying about is a non-issue. Components are rendered
serially (one after another), thus the connection will be reused. You
should use a connection pool of course (C3p0 recommended). Thus you can
take it from the pool, return it back from one component, and it will be
picke
Not if you set the maximum size of the pool to some reasonable number.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 1:18 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultane
I am using a connection pool.
My problem is, if each one of those 9 components retrieve a connection from
the pool for each page rendered, multiplied by the number of users, this
could lead to a quick exhaustion of resources.
On 7/17/06, James Carman <[EMAIL PROTECTED]> wrote:
Yes, a connection
Yes, a connection pool does help a bit. I didn't see where they were using
a pool before. So, you're right, if the connections are being pooled
properly, nothing will be opening/closing.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matt Welch
Sent: Mo
This seems to be much ado about nothing:
1) He likely won't be actually "opening" or "closing" 9 connections in a
request. I hope it's a safe assumption that a connection pool is being used.
2) Unless I'm mistaken about Tapestry's architecture, these 9 separate
components won't be processed sim
Well, what you do is tell your pool to wait until one comes back into the
pool. So, you set your maximum pool size to something like 200 (if your db
can handle more, do more if needed) connections. That, along with using
only one connection per request cycle should help out.
-Original Messag
If I make my components wait, won't I be stalling the creation of the page?
Under heavy loads, how feasible will that be?
On 7/17/06, James Carman <[EMAIL PROTECTED]> wrote:
Oh, if you're worried about simultaneous connections to the database, you
don't have to worry. You can set the maximum s
Oh, if you're worried about simultaneous connections to the database, you
don't have to worry. You can set the maximum size of your pool to some
reasonable number. Then, have your components wait until a connection is
available in the pool.
-Original Message-
From: Rui Pacheco [mailto:[
So, you'd be okay with opening/closing 9 connections to the database during
each request cycle? I'd think it would be better to just use one during the
entire request cycle.
-Original Message-
From: kranga [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 12:40 PM
To: Tapestry users
Even if all components ask for their own connection, assuming components
release connections when they are done, you would still expect only 1
connection in use (though it may physically travel on upto 8 different
connection, there is only 1 connection open at any given time).
A much better op
I have several components. Each will retrieve one connection from the pool,
do its thing and return it.
If they are done one at the time, then its great for me. But if each user
that calls the page causes 9 simultaneous connections to open, I'll need to
revise my strategy.
On 7/17/06, James Carm
Our technique is for the Web Designer to create a "sample" of the screen.
Sometimes we don't have time to wait so developers design the screen, but we
prefer the former. Once the screen is designed, there may be custom components
that developers create. For the most part, we don't have a lot
+1 For JS Cook
Cheers,
PS
On 7/17/06, Murray Collingwood <[EMAIL PROTECTED]> wrote:
Dump Krysalis and use JS Cook Menu. It is much easier to customise and
also allows better
integration with your java code for generation.
I tried Kysalis initially but then I wanted to show different options
Unless all components ask for their own connection, which I think is what
they were saying.
-Original Message-
From: kranga [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 11:28 AM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components r
Unless I'm missing something, you will not be using 9 connections as the
components will render in serial order. So you will make 9 requests over a
single connection.
- Original Message -
From: "James Carman" <[EMAIL PROTECTED]>
To: "'Tapestry users'" ; "'Tapestry users'"
Sent: Mond
I wanted to see the example provided by Tapestry-4.0.2 to test the
contrib:Table component but I have the same error than here :
http://howardlewisship.com/blog/2005/10/even-easier-tapestry-examples.html
Any clue about how I can run the Workbench project?
Thanks
2006/7/17, Kristian Marinkovic <
Many thanks!
On 7/17/06, James Carman <[EMAIL PROTECTED]> wrote:
Use a threadlocal variable to hold the connection for the current request.
Set the value from your pool using a WebRequestServicerFilter and make
sure
you clean it up at the end of the request.
-Original Message-
From: Ru
Use a threadlocal variable to hold the connection for the current request.
Set the value from your pool using a WebRequestServicerFilter and make sure
you clean it up at the end of the request.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:3
Hmmm. I am not using Hibernate, the learning curve is too steep for this
project.
Can you sugest a way to solve this with handwritten code?
On 7/17/06, James Carman <[EMAIL PROTECTED]> wrote:
All code within one request can easily just use one connection. That's
what
we do with Tapernate.
--
this could help:
http://www.nabble.com/Dynamic-translators-tf1229928.html#a3255867
define your formatter as a bean and define the pattern using
message:date_pattern
greetings,
kris
Shing Hing Man
All code within one request can easily just use one connection. That's what
we do with Tapernate.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:13 AM
To: Tapestry users; Tapestry users
Subject: A bit OT: how to manage database connections f
Hi all
This is not a pure Tapestry question, but I believe you have seen this
before and might be able to give me some guiding light.
I have a web application, which I am splitting into several fragments, ie,
components, each one rendering content stored in a database. I just realised
my index p
Hello All,
It seems that Tapestry (or Hivemind) generates invalid classes that
are not associated with any ProtectionDomain, there was already a but
like that
http://issues.apache.org/bugzilla/show_bug.cgi?id=28202
And I presume that it was fixed, however I have similar problems right
now with
hi,
that's true... but it's only the template... it is more important how
your generated page looks like. the spans disappear in the
generated page.
g,
kries
Blackwings
It is not very pretty. You could try the following.
ognl:new
java.text.SimpleDateFormat(getMessages().getMessage('format_date'))
Shing
--- Murray Collingwood <[EMAIL PROTECTED]>
wrote:
> Hi all
>
> I'm a little new to Tapestry so I may
If you are writing data to a table use contrib:Table and never look back.
Another absolutely
fabulous component that I now use on every single table I ever create.
Cheers
mc
On 17 Jul 2006 at 15:47, Blackwings wrote:
> Ok for the select ;-)
> But what about the tr in a table?
>
>
>
>
Ok for the select ;-)
But what about the tr in a table?
Header 1
Header 2
Header 3
something
to put
somewhere here
Data info 1
Data info M
Data info 3X
Footer
2006/7/17, Murray Collingwood <[EMAIL PROTECTED]>:
For a select control use Sele
For a select control use SelectionModel to pass the options to your component.
Then you
don't need any @For loop in your html.
In your table component you could code your Tapestry on the statement. eg
Cheers
mc
On 17 Jul 2006 at 11:13, Blackwings wrote:
> Hi,
>
> I noticed something i
Dump Krysalis and use JS Cook Menu. It is much easier to customise and also
allows better
integration with your java code for generation.
I tried Kysalis initially but then I wanted to show different options for
different users - it was
very difficult to customise. I then tried JS Cook Men
Hi all
I'm a little new to Tapestry so I may be missing something, happy for anybody
to point me in
the right direction. I'm currently running Tapestry 4.0.2
I want to standardise my date format for the entire application to dd/MM/.
I decided that
the best place to do this while allowin
Generating links usually involves using the engine service for the link type
you want created. If it is the PageService then I would inject that (
tapestry.services.Page) and call getLink() on it.
On 7/17/06, Peter Dawn <[EMAIL PROTECTED]> wrote:
I have been trying to integrate the krysalis men
I think there is another solution more simple and handle by Tapestry. I
think you can declare a page "version" as accessible directly from outside
using a static URL and Tapestry serialize the page as a static page.
Check this page :
http://tapestry.apache.org/tapestry4/tapestry/ComponentReferenc
I got it!
But the solution is rather low-level.
First, I had to modify my form listener to return an ILink:
public ILink onSubmit()
Then, I had to create the ILink using LinkFactoryImpl:
@InjectObject("service:tapestry.globals.WebRequest")
public abstract WebRequest getWebRequest();
@Inje
Hi everybody,
we have a rather large application that runs with homegrown framework
and that we will migrate to tapestry. Since spindle is not available for
tap 4 yet it has been decided to start with t3 and later move to t4.
The problem is that this application is based on a modular design and
m
Hi,
I noticed something interresting about DOCTYPE. In fact, if a designer give
me a XHTML1.0 transitional compliant html template, when I mark the tag and
add some tags the html is not anymore compliant :
elem1
elem2
elem3
elem4
The cannot be place after a and
Hello,
I have a page which is requested through a DirectLink. This page contains a
form listener:
public void onSubmit().
The problem: When the form is successfully submitted, the URL for the newly
reloaded page lacks the service/listener parameters that were present in the
originall request to
Hello,
Look at the end of this email ;o)
[quote]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[/quote]
Just send a n empty email at [EMAIL PROTECTED]
.apache.org
200
How do I unsubscribe from this mailing list? I've tried all of these
addresses but the mails keep bouncing back.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
61 matches
Mail list logo