hi,
I want to know if initial-value="" is required to be
initialize all time.
When do we use initial-value attribute. is it for
custom-defined user classes/primitive types/standard
java classes(String, Integer etc..) ?
Also how does is it work differently when used with
persistent="no" and persi
Hi Fernando.
You'll want to write an ILinkRenderer to pass to the ExternalLink.
I've only got the Tapestry 3 source handy so I'm not sure about 4,
but it should be similar.
Grab framework\src\org\apache\tapestry\link\DefaultLinkRenderer.java
and rename it to a new class in your project. I recomm
Hey. So I was wondering if there was an easy way to point an
ExternalLink to a different protocol.
We want to have most of the site be in HTTP, except the credit card
entry page, that should be HTTPS.
options? ideas? discussion?
--
Also,
http://tapfx.sourceforge.net/
has an OutlookBar component
> You could try the krysalis (sp?) menu? There's a sourceforge project for
> it, and it's also available on tassel.
>
>
> Matias Blasi wrote:
> > Hello!
> > It's an great help!! I needed it! And now I think about a menu bar
> > lik
Hm... interesting... I had a different understanding of the pooling
process... though I could be wrong. :) My understanding is that only the
pages are pooled. The page spec, and all component specs contained
therein, are parsed once and cached. The page instance, and all
contained components, are
Since everybody is building components so easily, why are the Tapestry
repositories (Tacos, Tassel, t-deli, etc) kind of empty? Licensing
issues? Components that are not generic enough? Lack of time? Fear of
finding too many newbies asking basic questions (contrib:Table comes
to my mind)? I guess a
As far as I understand, the page rendering is always done on-the-fly,
that is, there is a component pool and when some page needs one, the
pool quickly provides it. Now, thinking what Chris originally asked,
is there too much overhead if I have a page with, say, 20 components?
Or 50? If a page has
I only have one page, so everything is a component. In general, I create new
ones until I see they overlap, then I refactor them into one. If I have a
component that already does pretty much what I need, I may add "conditionals"
to be able to reuse. If the component is generic enough then it
On Friday 05 August 2005 19:13, Robert Zeigler wrote:
> My point was simply that, just because you can't reuse the component
> across multiple projects doesn't mean it shouldn't be a component. :)
> (Or, there's nothing wrong with application-specific components. :)
Ahh good, then we're in agreem
Kevin Menard wrote:
> On Friday 05 August 2005 18:38, Robert Zeigler wrote:
>
>>Personal opinion, but i don't find that bad form in any way. Quite the
>>opposite. Basically... if you're thinking about your templates like
>>they are objects, and the html like it's java code, and you don't want
>
On Friday 05 August 2005 18:38, Robert Zeigler wrote:
> Personal opinion, but i don't find that bad form in any way. Quite the
> opposite. Basically... if you're thinking about your templates like
> they are objects, and the html like it's java code, and you don't want
> to rewrite it, then, imo,
I'm with Robert on this one. Most of the time making a true,
perfectly decoupled component that solves a general case problem is way more
trouble than it's worth. If I can do 10% of the work and get a component
that works in the special case of my application, I'll go home happy.
Personal opinion, but i don't find that bad form in any way. Quite the
opposite. Basically... if you're thinking about your templates like
they are objects, and the html like it's java code, and you don't want
to rewrite it, then, imo, you're on the right track.
Treat the html like code... object
I'm curious if I am abusing the use of components in my application.
I pretty much create a component for any block of html that I believe
I will reuse at some point in another page. I realize these
components will only be used in my application. And they are directly
tied to the pages that cont
You could try the krysalis (sp?) menu? There's a sourceforge project for
it, and it's also available on tassel.
Matias Blasi wrote:
> Hello!
> It's an great help!! I needed it! And now I think about a menu bar
> like outlooks one, there are someones implemented in JS, and it would
> be helpfully
Hi,
just use "tapestry.state" instead of "hivemind.state...".
regards,
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 5. August 2005 15:00
An: tapestry-user@jakarta.apache.org
Betreff: Application state objects
Hy!
I've now been tryi
I do not think that this is configurable (at least in Tapestry 3.x). The
HomeService uses the constant IEngine.HOME_PAGE to determine the name of the
home page. So you have to create your own custom Engine class and a custom
HomeService class registered with it.
A pragmatic solution would be a
I am trying to style up the table component, but am stuck on columnsclass.
Can i not just use a CSS class name for columnsclass?
.page:
/>
.css:
.table-columns
{
font-size: 9pt;
font-weight: bold;
color: #00;
background-color: #6692DC;
text-align: center;
}
This might be what you're looking for.
package services;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.servlet.ServletException;
import org.apache.tapestry.IComponent;
import org.apache.tapestry.IRequestCycle;
import org.apa
Patrick Casey wrote:
I don't know that you need a custom service for this, do you? You
can just use a directlink and feed binary data directly into the response
stream, neh?
Something like this (from my attachment rendering code):
public void trigger(IRequestCycle cycle) {
I have a component which I would prefer to template with an html file.
It needs to go within a form.
What is the best way to accomplish this? I see BaseComponent which is
default for components with html templates, and AbstractFormComponent.
What are the pros/cons in using java code to r
One thing not mentioned in the tapestry portlet configuration
documentation is that the .application file should be named
portletName.application from portlet.xml instead of
servletName.application from web.xml. Tapestry couldn't find my
.application file in WEB-INF lib. I just guessed it mig
Hi,
-Dorg.apache.tapestry.disable-caching=true is
creating problems in weblogic. "But works without
problem in jetty".
When running weblogic with this flag, nothing seems to
get stored in session.
Also was always getting stale session problem as soon
as I login to application if I set
CookieMax
I have an application that configures a Single Sign-on Server. Basically,
there are many values that need to be configured in order for this beast to run
correctly. It is a Security Assertion Markup Language (SAML) protocol server.
That is the basic application. As part of the configuration
On 8/5/05, Mark Stang <[EMAIL PROTECTED]> wrote:
> Hi,
> I have an entire system set up using standard pages and a .application file.
> However, what I need to do is load components on-the-fly from either external
> files or a .jar. And then deploy them under JBoss without re-creating the
> .w
After about a weeks worth of work today I was able to get a running
tapestry JSR-168 portlet to work in WebSphere Portal. I had initially
gone down the path of trying to integrate Tapestry 4 with Portal Server 5.
This didn't work because Portal Server 5 runs jdk 1.3.1 and Tapestry was
trying
I'm getting a Tapestry error from concurrent access to a page with a
persistent property, where both accesses attempt to mutate the property. I
know I'm not the first to see this, since I did some google'ing earlier
today -- but I didn't find any good solutions. (Oh yeah, I'm using Tapestry
3.0.3
Hi,
I have an entire system set up using standard pages and a .application file.
However, what I need to do is load components on-the-fly from either external
files or a .jar. And then deploy them under JBoss without re-creating the .war.
Basically, I need to be able to hot-deploy components w
Hello!
It's an great help!! I needed it! And now I think about a menu bar
like outlooks one, there are someones implemented in JS, and it would
be helpfully to have one in tap! I m working on it, but if exists
please tell me... Otherwise later I'll tell you! :)
Some ones I was looking about:
http
I'm not sure if this would be a better question for the Hibernate
group or here. Has anyone had an experience with this:
I am trying to upload a file from a form in my tapestry webapp. And
get the following exception:
14:15:12,227 INFO [STDOUT] Hibernate: insert into DOCUMENTLOCKER
(visibility,
I don't know that you need a custom service for this, do you? You
can just use a directlink and feed binary data directly into the response
stream, neh?
Something like this (from my attachment rendering code):
public void trigger(IRequestCycle cycle) {
Object[] ar
Interesting - your malformed URL when clicked on makes Mozilla pull up
microsoft's home page!!!
-Original Message-
From: Robert Zeigler [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 7:34 AM
To: Tapestry users
Subject: Re: Is there JSCalendar tapestry component?
Try the DateTim
Before I get started to write one, has anybody created a generi bnary
content Tapestry service? This way I can have on ustom Tapestry service
that can handle downloading pdfs, images, etc.
scott.
--
Scott F. Walter Scott F. Walter
Principal Consultant
Vivare, Inc.
E: [EMAIL PROTECTED
Hy!
I've now been trying to implement a small application using 'application
state objects' as indicated in
http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso for some
time and didn't manage to make it work. Could someone please post how the
hivemind file and the .page file should
OK, and wouldn't it be nice if updated version would be included in Tapestry
core, since this is so oftenly needed component, and it seems that many
people prefer this one ? I required it in almost every web app...
I know it's not your call to make... ;)
-Vjeran
- Original Message -
Try the DateTimePicker from the myws component library.
(http://http://myworkspace.sourceforge.net/)
This is based on an earlier version of the dynarch.com calendar.
Robert
Vjeran Marcinko wrote:
> Hi.
>
> I know there is small chance for this, but has anyone maybe used popular
> JSCalendar (ht
Hi All,
How can I put the home page of my application in a library?
I'd like my fred.application file to contain something like the following:
Fred
but this doesn't work because the specification-path for the "Home" has to
be an actual path to a specific
Hi.
I know there is small chance for this, but has anyone maybe used popular
JSCalendar (http://www.dynarch.com/projects/calendar/) to create Tapestry
component from it, and is ready to share it?
It can serve as date *and time* picker (unlike currently DatePicker)...
-Vjeran
--
According to the Tapestry 4 javadoc, the method
IEngine.getPropertySource() has been deprecated.
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IEngine.html
It is now being injected.
Please also see the following doc on how to inject
something into a page.
http://jaka
In my component I am try to get the property value "menu-items" from the
application properties file.
My code has
getPage().getEngine().getPropertySource().getPropertyValue("menu-items");
but eclipse is telling me that getPropertySource() is depreciated
a) What should I do instead?
b) There is
40 matches
Mail list logo