Hi,
Is there any tutorial on using TapestryTestCase ? say, I'd like to test a
service which has Hibernate's Session injected thru constructor, any idea?
Thanks,
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-using-TapestryTestCase-tp14913469p14913469.html
Sent from the Tapes
So, you read this in mail box
Then I think I should repost this
Here is the code
Trip
I'm giving up, I still can't see it. Use a proper mail client.
Pai911 schrieb:
Sorry! The forum filter the definition
Now I escape the tag myself, and it appears.
Please see the original post!
I have to tell you that in my IE, this happens even when async="true" is set
Thank you!
Ulrich St
Hi!
What if you try
/*Put the content you want to be displayed right here*/
/*Don't use render block */
nhhockeyplayer wrote:
>
>
> Well the fact that one definition refers to the same ognl instance being
> "ognl:components.autoPagingContent" commonsense tells me I shouldn't even
> sho
Sorry! The forum filter the definition
Now I escape the tag myself, and it appears.
Please see the original post!
I have to tell you that in my IE, this happens even when async="true" is set
Thank you!
Ulrich Stärk wrote:
>
> I still can't see the DirectLink declaration you are using... Whe
Thanks Alejandro, this was indeed the problem.
Best,
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I too wish to override the header cells of my grid but I am not able to
get this to work. The cell override works correctly, but I am not able
to get the header override to work. I am on 5.0.7, here is a simplified
version of the code I am using:
You are absolutely correct. I had disabled "Build on frame deactivation"
setting and forgot that IDEA doesn't auto-compile like Eclipse. Thanks for
pointer.
I'll have to check out JavaRebel for my T4 work.
Regards,
Kevin
On 1/16/08 5:53 PM, in article
[EMAIL PROTECTED], "Alejandro
Scandroli"
Javarebel is sweet.
Regarding disabling-cache, I always disliked it (prefering the
enable-reset-service approach)
for performance and OOME issues. I had a greasemonkey script for this @
http://blog.andyhot.gr/a/java/2006/09/23/Implementing-a-Firefox-Plugin-for-Tapestrys-Reset-Service.html
but nowa
Hi Henrik
It sounds like you are using Acegi (or another security service).
This is what I think is happening:
Your Home page is not protected (it allows anonymous access), but that
javascript file IS. So when you go to your Home page your security
service blocks the access to the javascript file
I would like to have a way to force tapestry to flush/reload its caches
and I am wondering how best to get such functionality incorporated into
the Tapestry 5 framework. I am not sure what the best forum is to post
suggestions around T5 so I thought I would start here. If there is a
more appropriat
Hi Kevin
> Any thoughts on what I may be doing wrong?
Just to confirm, are you sure you are compiling?
Idea needs you to explicitly hit CRTL-SHIFT-F9 (to compile just one
class) or CTRL-F9 (make project)
That was my problem when I started working with Idea and Tapestry
(both 4 and 5).
BTW, I'm us
Hi again, I have a strange problem with my app.
When I have logged in the first time, my Home
page is not rendered, but instead I can see a
javascript file core.js (loaded by the asset service).
If I then press back (to the login form) and login
again, I will get the Home page as expected, and I c
Hi Michael,
Thanks for the advice. I added Jetty6 as a test dependency and wrote my own
class that's a more domain-specific version of the JettyRunner. I didn't
take your approach 100% because that class is a Tapestry test artifact and
as such, not part of the primary distribution.
Anyway, thin
Folks,
I am operating a page that contains a component.
Can you confirm my logic?
Pages have properties (so I used @Persist)
Components have parameters (so I used @Parameter)
Now the interaction/synchronization/update of these properties is performed
automatically... right?
This is what
Thanks for the reply Jesse.
Your directions have me up and running with T4 quite smoothly now. I think
I even wept a little. It's still not as nice as working with JettyLauncher,
but it's a remarkable improvement over what I was using.
I haven't been able to get class reloading working for T5 y
Hi,
Reading the doc on the loop component
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsloop
I can see that one of the parameter is encoder (PrymaryKeyEncoder) and
this one should be used for a loop inside a form.
I don't really
For the sake of completeness: I've solved this by enabling Tomcat
5.5's GZIP
compression in server.xml:
disableUploadTimeout="true" enableLookups="false"
maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150"
minSpareThreads="25" port="8080" redirectPort="8443"
Well the fact that one definition refers to the same ognl instance being
"ognl:components.autoPagingContent" commonsense tells me I shouldn't even
should be mucking with this... it should update automatically.
The fact that this component's PropertySelect doesn't even survive a page
I could be mistaken, but I think if you have the component in a loop, then
updateComponent("baseIdName") will apply to all of those components in the
loop . . . I.e., you don't have to specify each individual instance.
If you're running into issues with grouping though, you could surround the
the
more feedback...
I tried this explicitly
getResponseBuilder().updateComponent("tableSizeSelect_0");
and it did not update the select dom with the expected value that lives in the
other select dom
getResponseBuilder().updateComponent("tableSizeSelect");
Best regards Ken in nashua
From: [E
Ok, I fixed the ID issue...
But... it don't work.
What don't Work? more than one DOM referencing one instance of a tapestry
component/widget... namely a PropertySelect.
Here is the proof. I did view-source fro the browser to look at the markup.
markup...
...
Now will HTML crap out if
For T5, in lieu of jettyLauncher you might try looking into extending
the following class somewhere in your test sources:
org.apache.tapestry.test.JettyRunner
make a wrapper around it with a class that has a static main function.
there's an example of it in "tapestry-core" sources
org.apac
Well it's probably because the ID has changed now to
id="[EMAIL PROTECTED]"
OK, so I should use jwcid.Best regards Ken in nashua
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: bidirectional dom
interfaceDate: Wed, 16 Jan 2008 10:44:32 -0500
Well I tried this in the page that contains t
For tap 4:
-) Use the latest eap release if you use maven - they make tiny
improvements to that minefield with each release.
-) Under project settings make sure you un-check the option to build a
"war" file for your web facet. (also don't create an exploded
directory to run it in)
-) Make sure y
Pai is correct. UpdateComponent() must be passed a component ID. An
arbitrary ID does not work.
--
Kevin
On 1/16/08 12:40 PM, in article [EMAIL PROTECTED], "Pai911"
<[EMAIL PROTECTED]> wrote:
>
> Hi!
> Maybe you should make the division you want to update Tapestry components?
>
>
>
>
PAI,
I tried your suggestion on the ANY component.
My Gallery.script is being impacted now.
I cannot do the following:
// just paste a Loading text at bottom of table
// this worked previously to your suggestion
var divBlock = document.createElement("div");
divBlock.appendChild(document.
Hi all,
It's time for me to ask about IDEA and Tapestry again. I seem to go in
cycles with the whole thing.
Recent traffic indicates that there's now a decent number of people using
IDEA with Tapestry. My question is simply, how?
I've been using the third party Jetty integration plugin and set
The problem was that we had the two
following files:
trans.properties (default locale)
and trans_no.properties
This always ended up with values from
the first file.
Then we renamed the files:
trans_en.properties
trans_no.properties
and it worked, why - I do not know...
-
Hi,
I have been watching tapestry release semantics for many years now, as they
happen, as they impact the commercial field and related hurdles.
Given the maturity of the framework and it's concepts... is it reasonable to
ask for the following:
o Tapestry 5 be 100% commercially validated a
Im working on next release of this app.
Derby + Hibrenate + Spring + Acegi + Tapestry
in this release i will use derby az a standalone service instead of
embedded.
On Jan 16, 2008 8:23 PM, Daniel Jue <[EMAIL PROTECTED]> wrote:
> Nice! I really like working with Derby. If I could run it as a
I still can't see the DirectLink declaration you are using... Where is it?
Uli
Pai911 schrieb:
Hi! The related logic:
public abstract String getTab();
public abstract void setTab(String tabName);
/* Listeners */
public void switchTab(String tabName) {
this.setTab(tabN
Hi!
Maybe you should make the division you want to update Tapestry components?
nhhockeyplayer wrote:
>
>
> Well I tried this in the page that contains the component...
>
> public void refresh()
> {
> getResponseBuilder().updateComponent("headerSelect");
> getResponseBuil
Hi! The related logic:
public abstract String getTab();
public abstract void setTab(String tabName);
/* Listeners */
public void switchTab(String tabName) {
this.setTab(tabName);
}
I think it's more likely related to the version of IE
It seems to happen in certain
Nice! I really like working with Derby. If I could run it as a
service here (so that it stays up beyond tomcat restarts), I would.
BTW it works fine with Hibernate 3.3.2+ as far as I noticed.
On Jan 16, 2008 8:56 AM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> New release of phone b
better the regexp: !?*.java
2008/1/16, Mohammad Shamsi <[EMAIL PROTECTED]>:
>
> Or
>
> Go to File --> Settings
> expand Project Settings, click Compiler, then where it says "Resource
> Patterns:"
> add your favorite extension here (for example ;?*.tml;?*.css)
>
>
>
> On 1/16/08, Michael Lake <[EM
getResponseBuilder().updateComponent is the way to update parts of your
view.
Check if your html is correct.
On Jan 16, 2008 4:44 PM, Ken in nashua <[EMAIL PROTECTED]> wrote:
>
> Well I tried this in the page that contains the component...
>
> public void refresh()
> {
> getResponseBuilder().upda
Or
Go to File --> Settings
expand Project Settings, click Compiler, then where it says "Resource
Patterns:"
add your favorite extension here (for example ;?*.tml;?*.css)
On 1/16/08, Michael Lake <[EMAIL PROTECTED]> wrote:
>
>
> I've got my component library set up in the same fashion as the
>
Well I tried this in the page that contains the component...
public void refresh()
{
getResponseBuilder().updateComponent("headerSelect");
getResponseBuilder().updateComponent("footerSelect");
}
Since these are my dom references...
and this does not cut it.
I am looking at come
I've got my component library set up in the same fashion as the
"tapestry-core" project.
I really like this approach of having an integration test app in the
/src/test/app1 folder.
The problem is when I use IDEA to make the module before running a test.
some non-.java files(.tml, .css, etc) u
Just realized i can just inject them in the contribute method in the
module builder.
Sorry
Hugo Palma wrote:
> Is there any way i can access services from a dispatcher class ?
>
> Thanks.
>
>
--
Hugo Palma
LOGICAL SOFTWARE
Human Capital | E
Is there any way i can access services from a dispatcher class ?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You'll need to configure an appropriate resource loader
http://velocity.apache.org/engine/devel/developer-guide.html#configuring
_resource_loaders
-Original Message-
From: AngeloChen960 [mailto:[EMAIL PROTECTED]
Sent: 16 January 2008 03:01
To: users@tapestry.apache.org
Subject: T5: using
Hi all,
New release of phone book application with apache derby database support is
available here :
http://code.google.com/p/shams/
--
sincerely yours
M. H. Shamsi
Please post the DirectLink definition and the rest of the logic you
wrote to switch tabs.
Pai911 schrieb:
Dear all:
The following is the template for three tabs.
When each tab is clicked, switchTab listener should be invoked to set the
tab property
and asynchrounously update [EMAIL PROTECTED
It's not broken it's just not generating directory listings.
Uli
HongDa Tang schrieb:
http://howardlewisship.com/repository/ seems to be broken. Does anyone know of
a mirror site for http://howardlewisship.com/repository/ where I can use maven
to retrieve tapestry-spring library version 1.0.
Instructions on how to configure the correct maven repository can be
found at http://howardlewisship.com/tapestry-javaforge/ (linked to from
the tapestry-spring site):
howardlewisship.com
Tapestry @ JavaForge
http://howardlewisship.com/repository/
Also read this
http://www.nabble.com/
Dear all:
The following is the template for three tabs.
When each tab is clicked, switchTab listener should be invoked to set the
tab property
and asynchrounously update [EMAIL PROTECTED] component.
However, I found that in IE 6.0, the click of DirectLink will cause the
refresh of the whole p
Hi Folks,
I am impressed with this interface.
@EventListener(events = { "onchange" }, targets = { "pagingSpanSelect" },
submitForm = "myForm", async = true)
public void pagingSpanListener(IRequestCycle cycle)
{
}
It provides a nice interface from DOM into server side.
But How do I talk t
Dear Hong:
I also try to find the package myself for a while
and then I found this repository:
http://svn.javaforge.com/svn/tapestry/tapestry-spring/trunk
But I have no idea how can I get access to this repository.
So I went to here
http://javaforge.com/proj/sources/sccBrowse.do?proj_id=220&d
Hello,
I am generating beans on the fly (via ClassFactory and ClassFab) and
using the BeanEditor to edit them. This works fine. Now my questions:
1. I need to set some fields required. But they differ from user to
user. Is it possible to "tell" the BeanEditor which are required?
2. Is it
Your problem is not specific to Tapestry. You can use Velocity in a
Tapestry application just like you use anywhere else.
In this case, i think the problem is that your not setting the velocity
resource loader, and by default velocity tries to load the file you
provide from the current directory.
52 matches
Mail list logo