Almost: mulitple contrib:Tables in a costume BaseComponent in a loop in a page.
I'm using tapestry 4 beta 13.
And to Ron - It's kind of a lot to post, surely more than 3 pages - But the
basic idea is that I'm implementing myself IBasicTableModel, my rows are my own
Object and I create columns my
hmm.. guess i better review them again!
On 1/18/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Hey ... this was in the labs!
>
> I'd like to add something like mode="cancel" to the Submit component
> that would generate that JavaScript for you. The only bug here is the
> lack of good document
Ah, even more reason to use dojo then :) No need to embed the script into
each table row.
On 1/18/06, nav C <[EMAIL PROTECTED]> wrote:
>
> The use case is to just change color, but the problem I have is to make
> the table component generate html which has javascript embedded in every
> row.
>
That is to say, you are not obligated to use the Tapestry Shell
component (though it is handy about writing a tag when needed).
You can certainly write your own similar component, or you likely will
have a Border-type component that can write those outer ,
, etc. tags.
On 1/18/06, Howard Lewis Sh
Alas, no; but the Shell component is not exactly required either, so
you can make your own if you have to.
On 1/18/06, Jason Dyer <[EMAIL PROTECTED]> wrote:
> Does anyone know if it's possible to disable html escaping in the Shell
> component? We were looking to include a bullet (•) character in
The use case is to just change color, but the problem I have is to make the
table component generate html which has javascript embedded in every row.
Thanks,
NavC
Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
That depends on what you want to happen with the row other than the color
changing. Is
A long time ago in this list (in 2003) Howard said that:
"If you servlet is named myservlet then Tapestry looks for
WEB-INF/myservlet.application"
I don't know if this still applies but you might want to check on that.
Ed Trembicki-Guy wrote:
Raul Raja Martinez estudiowebs.com> writes:
I
Hi
Currently I have a few classes that dynamically construct a table model
depending on the dataset given to them.
The problem I have at the moment is that when I first submit my form the
results are displayed correctly with no exceptions logged. However if I
resubmit the form while my results are
That depends on what you want to happen with the row other than the color
changing. Is that all, or do you want to be able to do something else based
on the color change?
You might want to look at http://dojotoolkit.org for an easy way to handle
js events.
On 1/18/06, nav C <[EMAIL PROTECTED]> wr
I needed to be able to change the color of a row when a checkbox is selected in
the row of a tapestry table, like in hotmail on selecting a mail in the mailing
list,color of the row changes.
I want to do this using Javascript and not a server-side refresh. Is there an
easy way to achieve the s
I don't think JPanel is going to be a fair comparison for layout logic.
Are you saying that you want to dynamically render a block of UI depending
on certain conditions? If that is the case then I would use Block and
RenderBlock components (check documentation) to do it. I use them myself
with no
but what I am looking for is a sort of component that is a flexible
container for other components that I allocate dynamically, just like in
Swing you have a JPanel that you can add components to
Is there a way to do JPanel in Tapestry?
John
- Original Message -
From: "Raul Raja Martine
Hi,
In Tapestry 4.0 I see a new way of exceptions handling by providing own
*Presenter implementations and placing service points into hivemodule.xml. It
was easy for me in case of StaleLinkExceptionPresenter and
StaleSessionExceptionPresenter, but it did not work for general excpetions.
Lucky me,
Isn't it in the jar? So unless you get the source I'm not sure you
can change it conveniently. Even if you pull the .js out of the jar (it's
plaintext) the bytecode for the .class will still load the .js out of the
jar won't it?
--- Pat
> -Original Message-
> From: Chris
Where is the datepicker.js file located? I need to make this modification also.
On 1/12/06, Rudolf Baloun <[EMAIL PROTECTED]> wrote:
> Nice! Big thx John Price.
>
> I fixed the bug, with modifing following line in Datepicker.js:
>
> from
> underDiv.innerHTML = " frameborder=\"0\">";
> to
> underD
Does anyone know if it's possible to disable html escaping in the Shell
component? We were looking to include a bullet (•) character in our
page title, but it's getting converted to • on output...
TIA,
-Jason
--
Microsoft's website has moved: http://www.microsoft.eu.org/
--
J
This is on my list of things that need to happen in 4.1; I've hit the
same problems others have, when I've tried to define new validators.
On 1/18/06, Ron Piterman <[EMAIL PROTECTED]> wrote:
> I hope this will be fixed in 4.1, but currently, AFAIK, there is only a
> hack you can use: in your proje
also if it is, it doesn't really mutter because it will be ignored...
http://issues.apache.org/jira/browse/TAPESTRY-698
created by : HLS on 10th October,
updated on 12th november,
forgotten on final release feaver
cheers,
Ron
Jesse Kuhnert wrote:
If it's not in JIRA it will probably never b
So my management is finally interested in hearing about the benefits of
Tapestry.
I'm partucularly interested in the following sections:
Benefits of using Tapestry (from the management perspective ie managers)
- Cost benefits
- Infrastructure
- Ease of applying business changes
- Support (so f
Aha -- it looks like Howard may already have addressed this:
http://issues.apache.org/jira/browse/TAPESTRY-22
His explanation is a little cryptic to me, but perhaps somebody who
understands Hivemind better than me can explain
P
On Jan 18, 2006, at 2:25 PM, Jesse Kuhnert wrote:
If i
I'll try to do that later today. This is a nasty one since it is
intermittent and only reproducible in IE. I'll see if I can get a
reproducible test case written and post to JIRA.
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 2:41 PM
To
Yael,
Let me make sure I've got this right:
You're rendering multiple contrib:Table components in a page, in a loop,
right?
So then when you go to click on any one of the tables' sort columns, you
wind up with issues, right?
What version of tapestry are you using?
Robert
Ron Piterman wrote
Ah, any chance you could file a sub-task on the existing jira issue, or fill
in more details?
On 1/18/06, Ben Dotte <[EMAIL PROTECTED]> wrote:
>
> Ok, I do see that bug in JIRA. But I think we had a separate issue with
> Internet Explorer specifically and had to fix it by avoiding @Submit for
> ca
Ok, I do see that bug in JIRA. But I think we had a separate issue with
Internet Explorer specifically and had to fix it by avoiding @Submit for
cancel buttons... even when they had the onclick javascript. Something
to the affect that the listener was getting called twice in separate
threads that e
The table is a very flexible but quite complex component -
I would give you a hand if I have your source code.
I need to see how you use the table, or, which ITableModel
implementation you use.
So please post the three files (class, jwc, html) and I will look at it.
Cheers,
Ron
The ITabl
If it's not in JIRA it will probably never be remembered. (It probably is
already, but not sure)
On 1/18/06, Paul Cantrell <[EMAIL PROTECTED]> wrote:
>
> A warning for those who use this hack: your app will mysteriously
> break when a future version of Tapestry adds a new validation
> message, and
A warning for those who use this hack: your app will mysteriously
break when a future version of Tapestry adds a new validation
message, and it isn't in your custom .properties file! I know this
from experience.
I agree that it would be really nice to have a better way to
customize this.
I think I grabbed that bug in JIRA, but didn't want to hit any of the form
related javascript stuff until the outer shell logic was done.
On 1/18/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Hey ... this was in the labs!
>
> I'd like to add something like mode="cancel" to the Submit compon
I've been pulled to another part of the project and have to let this
go for a while. Rest assured this thread is "starred" in my gmail!
Not sure how the server locale comes into it. It's the same IE browser
instance for both sites. Niether application platform (tapestry or
ASP) is setting any cont
Hey ... this was in the labs!
I'd like to add something like mode="cancel" to the Submit component
that would generate that JavaScript for you. The only bug here is the
lack of good documentation about this concept.
On 1/17/06, jeff emminger <[EMAIL PROTECTED]> wrote:
> alright i'll give that a
Hi,
I don't want to switch complete project structure because I'm using
AndroMDA and the MDA approach to modell the businesstier. This is
almost done and I just have to find the connex between ACEGI
security filter and the tapestry application context.
Is there no helper class ("magic" method c
> Raul Raja Martinez estudiowebs.com> writes:
>
> I don't think Tapestry cares, but why are you calling your .page
> DirectLink? again I don't think it does matter but is kind of awkward to
> call a .page "DirectLink" which is also a core tapestry component.
> I wonder if the order in which ta
It is six of one, half dozen of the other. Except. :)
Once you write the squeezer implemenation and register it, you no longer
have to think about it.
You reduced the duplicity in your code. :)
Robert
Patrick Casey wrote:
His problem as I understand it is a bit less easily resolved t
Kent Tong wrote:
>
> Well, if he'd like to treat say 123 as invalid because it
> only contains 3 digits, not 10, then this won't work. Setting
> the pattern to 00 will only affect the formatting,
> but not the parsing. 123 will still be accepted as valid.
>
Thats correct, so time to wr
His problem as I understand it is a bit less easily resolved than
that. The default data squeezer has some custom code for dealing with
primitives and the "pseudo-primitive" string class. When it runs into an
arbitrary object though, it just serializes it into a byte[] then runs
base64 enc
I am pursuing this issue with BEA, watch CR259956 for a patch, it could be a
week or three before they get a patch for me, but once they do, you'll be able
to just ask them for the patch.
m2f
Sent from www.TapestryForums.com
Read this topic online her
I think this is precisely what Marcus is addressing with his persistence
library at http://kickstart.sourceforge.net (soon to be showing up on a new
server with new name).
We both agree that this is a repetitive task that can/should be handled by
something.
On 1/18/06, Martin Strand <[EMAIL PROTE
Do you mean the DataSqueezer?
http://wiki.apache.org/jakarta-tapestry/DataSqueezer
Martin Strand wrote:
I often find myself doing this, stuffing an object id into a DirectLink
or storing an object id in a persistent page property and then
recreating the object in pageBeginRender. Can't Tapes
Yes.
Write a custom squeeze adapter implementation to handle your objects.
Robert
Martin Strand wrote:
I often find myself doing this, stuffing an object id into a
DirectLink or storing an object id in a persistent page property and
then recreating the object in pageBeginRender. Can't Tapes
FYI, tracked down Paolo's attachments to mail-archives.apache.org:
http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200512.mbox/[EMAIL
PROTECTED]
Can also find them on gmane.org:
http://article.gmane.org/gmane.comp.java.tapestry.user/29404
m2f -
I often find myself doing this, stuffing an object id into a DirectLink or
storing an object id in a persistent page property and then recreating the
object in pageBeginRender. Can't Tapestry handle this conversion instead?
I'm thinking of something like the "converter" parameter in the For
I must be dense or something--I can't locate the attachment with the WLS81
filter.
Has this fix made it into subversion by any chance?
Thanks, Roan
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/vi
A fairly standard approach is to not send the object out on the
directlink, but instead send out some sort of uniquely identifiable key and
the pull the object back out of persistent storage as the first operation in
your direct link.
If you're talking about DB objects, then putti
Disabling hot code replacement doesn't mean your web app reloads
instantly, it means it *never reloads*. The classloader loads the .class
file as it existed the first time a class was references and hangs onto that
version of the .class until the JVM cycles. That's why your annotation
chan
Did this change in 4.0? In 3.0.3 you didn't have to get this fancy,
you could just change your .application file.
This overrides the default renders for StaleLink, StaleSession, and
Generic Exceptions. It's then up to you to catch the error and do whatever
you want in
Hi, you can define your own StaleSession page, and there place anything
you want:
in your .application file add:
specification-path="tapestry/page/StaleSession.page"/>
I'm not sure this is what you want but
if you want to link externally to one of your pages you'll have to
implement the IExte
Hi Ron,
No, no progress whatsoever.
Every person I consulted with had plenty of ideas, but none helped.
Maybe I shouldn't have used tapestry to begin with for this project...
Thanks for caring.
Yael.
m2f
Sent from www.TapestryForums.com
Read this topi
I have a page with some product
Then i'm writing a review to this product(here is submit form).After session
time-out redirecting to Stalesession page.
How to add a link at StaleSession page to the productpage (as extracted from
the URL)?How to extract the adress from URL?
Домен .CO.UA БЕ
You don't have to declare components in a config file (.page or .jwc) if
you don't want to.
Tapestry supports implicit components that can be declared directly in
the html template.
For example:
June 26 2005
You can now use any html editor and move around the span tag as it was
an standalone
As usual it depends:
you are correct that often H persisted objects do need session due to "lazy"
settings, however I would say that heavy reliance on
"lazy" loading does not seem very reliable and convenient for me, and might
not benefit performance and convenience.
IMO manging transactions
I am trying to sort on a column in a contrib table. My table
definition is as follows:
Where I want to sort by companyName. When I have the '=' in front of
companyName I end up getting a noSuchPropertyException for
companyName. If I do not include th
I don't think Tapestry cares, but why are you calling your .page
DirectLink? again I don't think it does matter but is kind of awkward to
call a .page "DirectLink" which is also a core tapestry component.
I wonder if the order in which tapestry looks for things it's causing
this behavior,
just
Disabling reloading of the webapp did not help?
When I use hot code replacement I always disable reloading, so my webapp is
updated instantly. (Not always, eg. annotation changes are applied only on
restart for some reason... :(
BR,
Norbi
- Original Message -
From: "Bryan Lewis" <[E
Even though it does not answer your question you might want to take a
look at the current Trails CVS, it uses Tapestry 4, Hibernate, Spring
and I believe Acegi as well, I'm an currently using the Trails engine
both with Trails applications that use TrailsPage and with regular
Tapestry apps to g
I see the 'Hot Code Replace' section and the options are all checked.
When I save a modified java file, it does get built and the .class file
does get updated in the exploded webapp tree. This causes Tomcat to
reload the app -- my ServletContextListener methods tell me that the
context has been d
I hope this will be fixed in 4.1, but currently, AFAIK, there is only a
hack you can use: in your project create a new .properties file with the
same name and package as the properties file in the valid package in the
tapestry source.
Cheers,
Ron
Inge Solvoll wrote:
One very common need for m
hallo yael,
any progress?
Cheers,
Ron
yamsterdamer wrote:
Hi,
Does Anyone know how to access the link that is created in the column heading
in contrib table and change its content or attributes?
The goal is to make it stateful or add parameters to it.
thanks, yael.
Ron Piterman wrote:
you
One very common need for me is to change the messages that the tapestry
validators return on validation errors, to get the messages I want and to
achieve localization.
Is there a way to plug in these message keys globally, say in hivemodule.xml?
Or is the only way to specify which message to use e
thanks.
On 1/18/06, Norbert Sándor <[EMAIL PROTECTED]> wrote:
> Check out the "focus" parameter of Form
> (http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html).
>
> BR,
> Norbi
>
> - Original Message -
> From: "Chris Chiappone" <[EMAIL PROTECTED]>
> To: "Tapestry List"
I've been playing with mamboserver, and like how you allocate modules to a
slot on the template.
Anyone know how this can be achieved in Tapestry?
I might want to have a sort of parent component called "bannercell", and
then identify some components to stick into bannercell, maybe a search
compon
Check out the "focus" parameter of Form
(http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html).
BR,
Norbi
- Original Message -
From: "Chris Chiappone" <[EMAIL PROTECTED]>
To: "Tapestry List"
Sent: Wednesday, January 18, 2006 3:26 PM
Subject: Form Focus
I am usin
I am using tap 4 and have noticed that the first field in a form
always seems to have the focus. What is the best way to not give a
field focus until the user clicks in that field?
Thanks,
--
~chris
-
To unsubscribe, e-mail: [E
I always launch in debug mode for development. Eclipse 3.1.1, Jetty
5.1.8, Java 1.4.2 -- if it helps anyone.
/dev/mrg
-Original Message-
From: Yunfeng Hou [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 11:49 PM
To: Tapestry users
Subject: RE: First page display slowdown in v
Can someone tell me how the configuration for ognl resolution differs between a
servlet environment and a portlet environment?
I am trying to come up to speed with using Tapestry for Websphere Portal 5.1
I am developing using RAD 6.
I have successfully deployed the Hello World tutorial as a portl
I had the applet Object tag's codebase attribute pointing to
http://java.sun.com/
Changed it to https and it works now.
Thanks for the help.
Manoj
-Original Message-
From: Raul Raja Martinez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 6:45 PM
To: tapestry-user@ja
Hi everybody,
I'm trying to implement a tapestry application with the ACEGI-FilterChainProxy,
Tapestry 4.0, Spring, Hibernate software stack. The ACEGI part of
authentication
is already working with a tapestry login page which sends the request to the
typical j_acegi_security_check url. There t
Look in your applet tag, your page and inside your applet any references
to non secure items such as http://mysite/miimage.jpg or iframes without
a secure src="" or even an empty one. or flash movies with links to the
marcomedia site via http instead of https.
best regards.
Raul Raja.
Man
Nice!!
Keep up the good work!
/ted
On 1/18/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:
> My goal is not to re-write the n-th transaction interceptor-wrapper.
> Rather, my first focus is consistent tapestry integration. And treating
> hibernate sessions the way you used to treat your db-connect
Hi Manoj,
Are you sure it is the applet that is causing the problem and not any
links to jdk download that might be generated by the html tool? Any link
with http:, about:... will cause IE to display this warning. As far as I
know (and I looked pretty hard at one point) there is no way of avoiding
No. Those are submitted in a POST request, but not in the URL, the URL will
remain short. Of course you should be careful, because in this case the
hidden fields may grow very large, which may become a performance
bottleneck.
I didn't follow the discussion but if your page works with ActionLinks
That sounds like a good idea. But is the data in these fields not also
passed in the URL?
On Wed, 2006-01-18 at 12:59 +0100, Norbert Sándor wrote:
> Maybe embed those components in a Form...
> So big objects will be stored in hidden fields.
>
> BR,
> Norbi
>
> - Original Message -
> Fro
On an HTTPS enabled webapp, IE throws up the annoying popup warning
about secure and nonsecure items when it sees a page with an applet in
it. I cannot ask clients to change their browser settings. Is there a
way to avoid the IE popup ?
Manoj
Maybe embed those components in a Form...
So big objects will be stored in hidden fields.
BR,
Norbi
- Original Message -
From: "Stijn Christiaens" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, January 18, 2006 12:50 PM
Subject: ActionLink and DirectLink
Hello everybody,
Hello everybody,
previously I used ActionLink to do my dirty work, but it seems that this
is not such a safe approach. In transferring to DirectLink I am a little
bit unsure about how to continue.
I use my DirectLink with a listener and parameters. Unfortunately, the
parameter Object I have to pas
hi,
I have a component within a foreach, like this:
..
I like to access these components from java, but in the getComponent Map
I can only find ONE comDesc component. I expected comDesc$1, comDesc$2 ...
How can I
That's not so. I tested the plugin in IDEA 5.0.2(build 3542). The only catch
is that you have to download the zip file and install it yourself. You
should be able to use the plugin manager with IDEA 5.0.2 with the
0.2release when i comes out.
So it should work fine with 5.0.2 and newer versions.
The instant turn-around works *without* app-reloading. And I'm guilty of
liking it - without being a Ruby fan.
It's a feature of Eclipse and the JDK (>=1.4). Have a look at
Preferences/Java/Debug.
> -Original Message-
> From: Bryan Lewis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 1
On 1/17/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
> Ok. looking up the stack in the debugger it is obvious that Acegi is
> not the culprit. The string is screwed from the get go.
What's the locale on the server and on the String which handle that name?
That's different from the previous asp ha
78 matches
Mail list logo