Here are some links from the WIKI you can start with:
http://wiki.apache.org/jakarta-tapestry/FrequentlyAskedQuestions/SpringHibernate
https://betterpetshop.dev.java.net/
This page http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring used to
explain how to integrate with Tap3 but it's been upd
hi,
Let's say i am creating a component B which inherits from component A, which is
in a library , i have no access.
public abstract class B extends A {
}
i change some methods in B etc. Now my question. In the component A there are
many assets declared in .jwc
How can i use these asset
I have read spring documentation and try to search in google...
but it's seem i still don't get what it means and how to configure it (not
clear enaugh for me)
coud anybody help me
how to integrating tapestry 3.0.3 and spring
i hope this forum would like to help me
thnx
DaY
I have read spring documentation and try to search in google...
but it's seem i still don't get what it means and how to configure it (not
clear enaugh for me)
coud anybody help me
how to integrating tapestry and spring
i hope this forum would like to help me
thnx
DaY
Well, you can either give it a different extension (like .htm or something)
or just let Tapestry parse the plain HTML and it won't find any components,
so it'll do nothing.
-Original Message-
From: Jun Tsai [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 9:23 PM
To: Tapestry users
I'v saw the Tapestry41Roadmap(
http://wiki.apache.org/jakarta-tapestry/Tapestry41Roadmap).
So when can it beta? I can't wait for it :)
Are you using instance variables such as?:
private String text;
public String getText() {
return this.text;
}
public void setText(String text) {
this.txt = text;
}
The approach above should not be used but instead you should use:
public abstract String getText();
public abstract void setTe
hi,all
I want to produce static html in my tapestry application. How to do it?
Thanks.
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
Hi,
Could someone help me on the second parameter of this method?
getLink(boolean post, Object[] params);
What should I give as params in my case:
I Want a URL on MyPage passing 2 extra parameters: uid=34455 and
status=success
URL should be something like
http://server:port/servlet/MyPage.
That's no directive of the .page file, these are meta-tags within the
section of the html. Usually Safari makes the most problems with
no-caching tags. The following works for me on Safari, IE and Firefox.
Thanks a lot. I
On 24. Mär 2006 - 11:17:19, Fernando Padilla wrote:
| You have to declare the component first ( within the .jwc, .page or
| through annotations ). [...]
Thanks for that! It works now ;-)
-
To unsubscribe, e-mail: [EMAIL PROTECTE
the getEntries method in this would not be thread safe if it's not abstract
right? i don't think this would work for me if it's not
On 3/24/06, Mike Snare <[EMAIL PROTECTED]> wrote:
>
> What does getEntries look like? If it goes to the database than it
> makes perfect sense.
>
> why not:
>
> pub
For historical purposes I modified the OnJava code as follows..
private void releaseQueuedRequest( HttpServletRequest request )
{
HttpSession session = request.getSession(false);
if (session == null) {
return;
}
...
}
[EMAIL PROTECTED]
03/24/2006 12:18 PM
Plea
What does getEntries look like? If it goes to the database than it
makes perfect sense.
why not:
public abstract Collection getCachedEntries();
public abstract void setCachedEntries(Collection col);
public Collection getEntries {
Collection cache = getCachedEntries();
if (cache == null) {
For Tapestry 3
http://article.gmane.org/gmane.comp.java.tapestry.user/19946/match=ignatyev+submit
Tapestry 4 was supposed to have 'delay' parameter but I do not see it in the
documentation
Garrick Toubassi <[EMAIL PROTECTED]> wrote: Greetings,
I am new to Tapestry, but am I long time WebObjects
I have a table view component and i want to use session paging
I have it configured like this:
I was expecting the paging to be done through the session but this is not
working. It goes back to the database every time.
What am I d
Greetings,
I am new to Tapestry, but am I long time WebObjects developer. I am in the
process of creating some simple tapestry apps to test the concepts, and am
working through "Tapestry in Action" in the process.
One issue I am facing is the order in which form values are propagated back
into t
That did it.
The only problem I have is that I have to downcast the result of
getRelativeResource to a ClasspathResource in order to use it in the
constructor for PrivateAsset.
I hate to downcast from interfaces, but it's a cleaner solution than
my previous one.
Thanks,
-Mike
On 3/24/06, Geoff
If you have a page in the same package you could (this is ugly)
Ipage page = cycle.getPage("foo");
page.getSpecification().getSpecificationLocation().getRelativeResource()
yada yada
of course you could inject a component in the same package and do the same.
In fact, if you used an absolute
I was (using tapestry 3.0.3) trying to chase down the “locked after a
commit” problem yesterday and I found three different solutions:
1. Make a request filter as per:
http://www.onjava.com/pub/a/onjava/2004/03/24/loadcontrol.html?page=2
Problem detailed below…
2. Change the engine to squash th
Yep. I'm using the DefaultClassResolver in the current implementation
(see the OP).
The images folder is relative to the location of the component. If
the component is in /com/components/MyComponent, then the images are
all in /com/components/images.
It seems that the ideal solution would be a
what about new DefaultClassResolver() ?
Also, what exactly is the relative path to your images? Your
component/images ?
On 3/24/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
>
> Bad me. I'm still on T3.
>
> Geoff
>
> On 3/24/06, Mike Snare <[EMAIL PROTECTED]> wrote:
> > IResourceResolver has be
We're all painfully aware of that, Spindle Guy...
Sorry, couldn't resist!
On 3/24/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
> Bad me. I'm still on T3.
>
> Geoff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Bad me. I'm still on T3.
Geoff
On 3/24/06, Mike Snare <[EMAIL PROTECTED]> wrote:
> IResourceResolver has been moved to HiveMind as the ClassResolver and
> the IEngine::getClassResolver method has been deprecated with a
> statement saying that the better way to get the resolver is to inject
> it a
I had a typo, i meant to say "This (Home )page in invoked by doing a
rd.forward from another servlet"
On 3/24/06, Asim Khaja <[EMAIL PROTECTED]> wrote:
>
> I have a page that implments the IExternalPage interface, that based on
> certain parameters forward the user to another Tapestry Page that ha
I have a page that implments the IExternalPage interface, that based on
certain parameters forward the user to another Tapestry Page that has a form
in it. This pages in involved by doing a rd.forward from antoher servelet
RequestDispatcher rd =
_mobileWebPageServletContext.ge
You have to declare the component first ( within the .jwc, .page or
through annotations ). While you're declaring it you can use the
property option to have tapestry automatically bind the component to a
property for you, or you can call a getComponent( "name" ) (something
like that, or getCom
It's probably easiest just to add it to the jwc file, but to be honest
i don't know the answer...
On 3/24/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
> On 24. Mär 2006 - 14:07:56, Mike Snare wrote:
> | Not sure, but have you tried calling render on the component after you
> | get it instead of
On 24. Mär 2006 - 14:07:56, Mike Snare wrote:
| Not sure, but have you tried calling render on the component after you
| get it instead of just adding it?
|
| Never tried it, just my first thought.
Well, that's right ;)
But the question before is: How can I get an instance of this
component a tal
Not sure, but have you tried calling render on the component after you
get it instead of just adding it?
Never tried it, just my first thought.
On 3/24/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a component extending AbstractComponent which has
> a (optional) boolean para
IResourceResolver has been moved to HiveMind as the ClassResolver and
the IEngine::getClassResolver method has been deprecated with a
statement saying that the better way to get the resolver is to inject
it as a service (though I can't find a service-point in hivemind or
tapestry that exposes it).
Hi all,
I have a component extending AbstractComponent which has
a (optional) boolean parameter: If the parameter has been
set another BaseComponent shall be included at some place
in the first component's output.
The question is: How can I include another component based
on this condition in Jav
Hi all!
I have almost completed the web part of my framework built on ASP.NET
and other things. My intention is to port as much as possible from
tapestry while maintaining compatibility with existing components,
though I couldn't adopt the concept completely because ASP.NET's
internal code is inco
Just create a new PrivateAsset and return it
public IAssert getAssert(int percentComplete) {
IResourceResolver = getPage().getEngine().getResourceResolver();
ClasspathResourceLocation imageFolder
= new ClasspathResourceLocation(resolver, "path to images");
return new
PrivateAsset(ima
We also had to add a filter to set them in the HttpResponse headers as
FF was ignoring the meta tags (and proxies usually ignore them too).
Geoff
On 3/24/06, Mike Snare <[EMAIL PROTECTED]> wrote:
> Add these to the portion of the template.
>
>
>
>
> On 3/24/06, Mike Snare <[EMAIL PROTECTED]> w
Add these to the portion of the template.
On 3/24/06, Mike Snare <[EMAIL PROTECTED]> wrote:
> I think what he's saying is that tomcat is hosted by someone else, and
> he doesn't have access to the scripts or the environment.
>
> -Mike
>
> On 3/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
I think what he's saying is that tomcat is hosted by someone else, and
he doesn't have access to the scripts or the environment.
-Mike
On 3/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> You ~can~ change the startup parameters to tomcat. Either with a global
> environment variable or by editin
That's no directive of the .page file, these are meta-tags within the
section of the html. Usually Safari makes the most problems with
no-caching tags. The following works for me on Safari, IE and Firefox.
-Original Mess
Sorry. I wasn't clear.
There are 101 of these assets used by my component (one progress bar
image for each of the possible progress percents between 0 and 100,
inclusive).
I'd really rather not have to clutter the jwc file with 101 asset
element statements. I have a method in the component that
My vote is that the browser is caching!
--
The Spindle guy. http://spindle.sf.net
Blog: http://jroller.com/page/glongman
Other interests: http://www.squidoo.com/spaceelevator/
-
To unsubscribe, e-mail: [EMAIL PR
Are you sure it's not your browser? Check the cache settings there.
You may also want to use the no-cache directive in your pages to
prevent other browsers from caching results.
Sounds like a good idea. At least for the very dynamic pages...
What is the directive to put in my .page file?
Tha
You ~can~ change the startup parameters to tomcat. Either with a global
environment variable or by editing catalina.sh. I think you want to set the
JAVA_OPTS variable but I don't remember exactly. The script clearly
documents what each are used for though, and I've specifically done this
with tomca
Yeah it is. You can use the xml spec method, or the asset
annotation. They resolve relatively to your component/page/whatever.
On 3/24/06, Mike Snare <[EMAIL PROTECTED]> wrote:
>
> Is there a service/utility that can be used by a page/component to
> retrieve an asset by relative path?
>
> I've go
Perhaps the guys who run the tomcat have put some kind of server-side
caching in front of the tomcat?
Tapestry does not cache the rendered pages.
-Original Message-
From: Jean-Eric Cuendet [mailto:[EMAIL PROTECTED]
Sent: 24 March 2006 17:07
To: Tapestry users
Subject: Re: Page caching n
Is there a service/utility that can be used by a page/component to
retrieve an asset by relative path?
I've got it working using the following code:
private IAsset getPrivateAsset(String relativePath) {
String path = "/path/to/my/class/" + relativePath;
// resolver is a DefaultClassResolver
Hm. Sounds more like a browser caching problem.
Please give some more information about the scenario.
-Original Message-
From: Jean-Eric Cuendet [mailto:[EMAIL PROTECTED]
Sent: 24 March 2006 17:04
To: Tapestry users
Subject: Page caching nightmare
Hi,
In my Tapestry app, some pages are
Forgot to say that my app is on a hosted tomcat so the directive
org.apache.tapestry.disable-caching=true
is not an option of put in Tomcat startup scripts...
Except if I can put it somewhere in my Tapestry config files.
-jec
Jean-Eric Cuendet wrote:
Hi,
In my Tapestry app, some pages are not
Are you sure it's not your browser? Check the cache settings there.
You may also want to use the no-cache directive in your pages to
prevent other browsers from caching results.
-Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi,
In my Tapestry app, some pages are not re-rendered each time I load
them. I think that's some Tapestry magic caching for perf, but in my
case, the data shown is updated by a SOAP service and so the page must
be re-rendered each time it's called.
How to tell Tapestry to discard a page and fo
This is a bug I've discovered in the last few days. Will be fixed sometime
over this weekend.
On 3/24/06, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> whenever i add an AjaxLinkSubmit and an AjaxForm to my page it disables
> my other Tapestry LinkSubmit buttons.
>
> Has anyone enco
Any idea? I can't find a method...
This is for logging prupose. I have a Component B extends A
In A, I would like to log in which commponent I am, and that should log B.
Thanks for help
-jec
-
To unsubscribe, e-mail: [EMAIL PROTE
Hi all,
Is there a mean to use a value of an enum in a @Meta annotation ?
I've tried things like this :
@Meta( "heading=com.cariboonetworks.entrenounous.ui.Headings.community" )
or without annotations :
value="ognl:@[EMAIL PROTECTED]"/>
but it doesnt work ...
Thanks in advance.
--
Stéphan
Hi,
I can not change the renderer of the component contrib:TreeTable. The
"nodeRenderFactory" is set with my renderer but with no use. My renderer is
never got called. Someone could indicate how to solve this problem.
<--- my rendrer
Thanks
gant
-
hi,
whenever i add an AjaxLinkSubmit and an AjaxForm to my page it disables
my other Tapestry LinkSubmit buttons.
Has anyone encountered the same problem? How can I solve it (workaround)?
Is it a bug (Tacos or Tapestry)?
best regards,
kris
Example Code (my real world app is much more complica
Sure, but it seems that that could be easily served by a custom
component that wraps both a TextField and an Insert. The component
decides which to render (or whether to render at all) based on a role
property.
In your scenario, once you set the visible parameter to true you'd
still need ifs to d
imagine you have a complicated (>60 components) page and different users
with different authorizations.
and you want to hide certain fields/information/possibilites for
interaction from users with lower authorizations.
instead of changing your template by adding Ifs you could just set the
visibilit
What does 'hidden' mean? If I'm writing a non-visual component (like
a scroll state tracker or an auto refresher) my component is already
hidden. Or do you mean disabled, which is different. For many
components, being hidden may make no sense at all.
You ought to be able to do whatever you are
Why IComponent does not provide a setVisiable(boolean visiable) method?
So it can be hidden component easier.
tks.
58 matches
Mail list logo