I originaly posted this to the tacos-dev but looks like the responses are
better over here :P
I've been using the Tree component and noticed the following in my log file:
findChildren("myPage");
hasChildren("myPage");
hasChildren("myPage");
(This is for my ITreeContentProvider i
I've working on an application right now using T4+hibernate+spring and have
0 problems with it. I didn't read all of the thread, but what problems were
you having?
I used the tapestry-spring.jar found here
http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring I haven't tried
Howard's versi
Tapestry 4 comes with some examples on how to do this checkout the vlib
example.
Also the source code from Kent Tong's book is very helpful with this (so is
the book):
http://www.agileskills2.org/EWDT/
- Original Message -
From: "Nick Faiz" <[EMAIL PROTECTED]>
To:
Sent: Tuesday,
ebruary 21, 2006 5:43 PM
Subject: Re: authentication - cookies and remembering URLs
Daniel,
Thanks but this isn't exactly what I'm looking for - it looks like
authentication in general.
I might end up just using Seraph and having a large amount of dependencies
.
Cheers,
Nick
Da
Table is just a wrapper for TableView, TablePages, TableColumns, TableValues
So you can use all those components and skip using TablePages so the page
indexes don't display.
- Original Message -
From: "Mircea Militaru" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Tuesday, February
Right, what I was trying to say is to copy how table.html works but omit the
PageDisplayed component all together:
If you do things this way you also have more flexibility on how things are
displayed. Or you can trick Table by making it think you got 0 rows or
something :P
- O
What kind of links are you using?
If you are using DirectLink's everywhere you should set the stateful binding
to false (default is true). Or you will get stale link exceptions if the
session is invalid.
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/DirectLink.html
- Or
It would help if you used jwcid instead of jcwid :)
- Original Message -
From: "Mircea Militaru" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, February 23, 2006 1:23 AM
Subject: FormConditional stuck
Hi guys
First of all this problem happens in Tapsetry3.
I have one stu
"- Original Message -
From: "Ron Piterman" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 23, 2006 11:48 AM
Subject: can't see the problem - tired eyes?
here is a part of my html:
<-- line 76 -->
when showing the page I get a renderin
I haven't done it my self, but I imagine you do it the exact same way you
would the exceptions page.
- Original Message -
From: "Dimm, Jason" <[EMAIL PROTECTED]>
To: "'Tapestry users'"
Sent: Thursday, February 23, 2006 1:42 PM
Subject: RE: StaleLink Exceptions- Help
I've received no
Whoops forgot to post link.
http://tapestry-tutorial.cloudnine.net.nz/pages-example.html
Seems like all you have to do is replace the page name with whatever the
stale link exceptions page name is?
- Original Message -
From: "Daniel Lydiard" <[EMAIL PROTECTED]>
To:
Check out http://tapestryforums.com/ there were a few recent threads on
this.
- Original Message -
From: "Rob Dennett" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Friday, February 24, 2006 2:13 PM
Subject: deployment issues
Why do I have to restart Tomcat to see any changes to
Yea I noticed the same thing for both persistent and non persistent
properties.
- Original Message -
From: "Petr Marek" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 27, 2006 10:00 AM
Subject: PageAttached method and persitent page properties
Hello,
please can anyone confirm me,
@InjectObject("infrastructure:request")
public abstract WebRequest getRequest();
getRequest().getSession()
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/web/WebRequest.html
- Original Message -
From: "Jean-Eric Cuendet" <[EMAIL PROTECTED]>
To:
Sent: Monday
http://tacos.mine.nu/tacos-demo4/app?page=ajax%2FFloatingPaneExample&service=page
I'm using the example given and noticed if you minimize the floating pane
and click the "select" link again the pane won't popup again. Is this a
Dojo problem or a Tacos problem, or even intended behaviour?
Tha
Let Tapestry handle the getter/setter and use @Persist for the table model.
so
@Persist
public abstract List getProfiles();
public abstract void setProfiles(List profiles);
Then init setProfiles() in your pageBeginRender. Pretty sure you need to do
that for the column model too.
- Origin
The , and elements have been
consolidated into the new element, and a prefixing system has been
introduced.
http://jakarta.apache.org/tapestry/UsersGuide/spec.html#spec.asset
- Original Message -
From: "Phillip Rhodes" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 28, 2006 3:36
what kind of menus?
http://metamorphosis.krysalis.org/krysalis-menu/ this isn't a bad pulldown
menu system but I think it's for T3 so you might have to tweak it for T4.
- Original Message -
From: "Rob Dennett" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, March 01, 2006
Do you have a log statement for each time getRowCount() is called in your
IBasicTableModel implementation?
I noticed Table (pretty sure it's TablePages that does it) calls that method
2+p times, where p is the # of pages in the result set. So if you have << <
1 2 3 > >> you'll see 5 calls to
Try element="literal:tr"
- Original Message -
From: "matt wear" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, March 02, 2006 12:30 PM
Subject: newbie binding problem
Hi all. I'm new to tapestry and have been having problems creating a
simple listing page. The page lists
You can try friendly url's so it's as simple as /app/Foo
http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html
- Original Message -
From: "Rob Dennett" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, March 02, 2006 3:04 PM
Subject: Direct links in database conten
When i click on an AjaxDirectLink, I'm noticing in my log file that the
whole page is being re-rendered in the background, then the small component
i told AjaxDirectLink to update will update.
So everything works, it just seems inneffecient, especially when it's
re-rendering my contrib:Table c
asicTableModel? Thanks a lot if this is possible!
Sincerly,
Andreas
On 02. Feb 2006 - 10:59:16, Daniel Lydiard wrote:
| They way I got mine to work (I think my thread was the one you were
| referring too) was initialize the table in pageAttached() and used
@Persist
| for the source/column
css), but the purpose
was to save rendering time by not rendering the components at all when
appropriate.
Thanks.
BTW keep up the work on Tacos, I'm really liking it, and it's very easy to
use :)
- Original Message -
From: "Daniel Lydiard" <[EMAIL PROTECTED
I did this:
Where email is a property.
- Original Message -
From: "Izak Wessels" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, March 06, 2006 1:38 PM
Subject: Creating a mailto: link on a Contrib:Table column
Hello All,
I currently have a contrib:table spesified as fo
I've done this using t4+spring+hibernate.
This is basically what I did.
1. Take the page search/filter parameters and convert them to
SimpleExpression, Criterion, and LogicalExperssion objects inside your
IBasicTableModel. I have lots of search options on the page so these
objects are actua
Use cycle.forgetPage() inside a DirectLink listener or something along those
lines.
- Original Message -
From: "Phillip Rhodes" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 08, 2006 11:35 AM
Subject: "forget" session properties from T4 page?
I need to forget/reset all the sessi
Don't embed the Else inside the If
- Original Message -
From: "Rob Dennett" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, March 08, 2006 12:03 PM
Subject: What's up with the Else component?
Nothing is rendered by the following co
what
If it goes with?
Thanks,
Rob
-----Original Message-
From: Daniel Lydiard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:10 PM
To: Tapestry users
Subject: Re: What's up with the Else component?
Don't embed the Else inside the If
ognl:myMethod(tag.id)
- Original Message -
From: "Nima Boustanian" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, March 13, 2006 1:38 AM
Subject: [Newb] Sending arguments via ognl
Hey all
How do you send arguments to methods via ognl? I have something like this:
Use @Block and insert the PropertySelection component. I've never done
this, but I'm pretty sure that's how you would do it.
https://tapestrywebcomponentexamples.dev.java.net/
- Original Message -
From: "Izak Wessels" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, March 13,
you got ongl instead of ognl.
- Original Message -
From: "Oscar Picasso" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 13, 2006 7:51 PM
Subject: No type converter error in InsertText
Hi,
If I have:
everything works fine.
I want to use paragraphs instead of break lines. So I have do
try PageRedirectException instead? That's what I use, and have no problems
with it.
- Original Message -
From: "Martin Strand" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, April 05, 2006 5:02 PM
Subject: Logout --> redirect
Hi all.
I've got a logout link and I want
Ah crap just noticed it's an external link, sorry :)
- Original Message -
From: "Daniel Lydiard" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, April 05, 2006 5:50 PM
Subject: Re: Logout --> redirect
try PageRedirectException instea
Cognition
http://dev.thelabllc.com/cognition/
Viewlet of it in action
http://dev.thelabllc.com/cognition/viewlets/cognition_intro.htm
- Original Message -
From: "Chris Nelson" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, April 05, 2006 8:45 PM
Subject: Re: Tapestry4+Spri
Did you supply a primary key converter? If you don't use one Table will
create huge hidden variable values for each row, maybe the huge page size is
slowing render speed down...
- Original Message -
From: "spamsucks" <[EMAIL PROTECTED]>
To: "tapestry"
Sent: Thursday, April 13, 200
I'm using Jcaptcha with my tapestry application.
1. Load the ImageCaptchaServlet in your web.xml.
jcaptcha
com.foo.ImageCaptchaServlet
1
jcaptcha
/jcaptcha
2. Do something like this in a component class method to get the captcha
question.
captchaId = getPage().getRequest().getSes
HttpServletRequest getHttpRequest();
if( App.getCaptchaService().validateResponseForID(
getHttpRequest().getSession(true).getId(), getCaptchaAnswer() )){
System.out.println("CAPTCHA - Pass");
}else{
Oscar Picasso wrote: Do you have a code example of such an
ImageCaptchaSer
http://www.t-deli.com/workbench/app
- Original Message -
From: "Mário Lopes" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, April 17, 2006 12:50 PM
Subject: Tapestry 4 demo page
Hi again,
I'd swear I saw a demo page showing off Tapestry features like, for
instance, the Table
bject: Re: Tapestry 4 demo page
Excuse me, but wouldn't that be T3? I deployed the workbench that came
with TIA and it looks 100% the same.
Daniel Lydiard wrote:
http://www.t-deli.com/workbench/app
- Original Message - From: "Mário Lopes" <[EMAIL PROTECTED]>
To:
I'm in the middle of upgrading from tapestry 3 -> 4, and some component i
downloaded (ValidCheckbox) uses IBinding getBoolean(), which uses
Tapestry.evaluateBoolean(). Both don't exist for 4.0, what can I use that
gives the same functionality?
Thanks.
Hello, I'm in the process of upgrading tapestry 3 to 4.
I've updated all DTD's for *.page and *.jwc to use the 4.0 URI...
Now eclipse gives me a "Could not find a DOCTYPE with a valid Tapestry DTD
(public id)".
wln.application:
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
I have an email field:
Then in the Java code:
@Persist
public abstract String getEmail();
Situation:
1. Users enters a perfectly valid email and submits, but some other field
fails (the field is NOT using a validators binding, but fails within a
validation method call that f
I noticed that CookieSource doesn't write persistant cookies, is there
something else that's built in I can use to do this?
Am I doing things wrong, or do I just do things the old fashion way?
I'm doing:
@InjectObject("infrastructure:cookieSource")
public abstract CookieSource getCookieSource
anyone? :(
- Original Message -
From: "Daniel Lydiard" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, January 25, 2006 2:51 AM
Subject: T4 CookieSource and persistant cookies.
I noticed that CookieSource doesn't write persistant cookies,
I changed the name of the cookie and everything started working... It was
probably a difference in domains since the original cookie was set by my T3
code.
Thanks.
I noticed that CookieSource doesn't write persistant cookies, is there
something else that's built in I can use to do this?
Am
The user guide mentions how to do it.
http://jakarta.apache.org/tapestry/UsersGuide/validation.html
Basically don't use ValidField for T4.
Now all the normal form components have built in validators i.e. TextField,
PropertySelection, Checkbox, etc.
If you have old T3 beans o
I posted the same question a few days ago, it's a Spindle problem I believe.
- Original Message -
From: "Frank" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 26, 2006 1:59 PM
Subject: Help with T4 doctype error message
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
C
Is this every time? i.e. it doesn't work at all? Or do you have the page
loaded, then make changes (server context reloads), and refresh the page and
you get the error?
If it's the latter, I have the same "problem" but the behavior makes sense
to me in accordance of how Tapestry works. I ne
I figured out the problem :)
If caching is turned off, you'll get the error.
So: -Dorg.apache.tapestry.disable-caching=false = Tables will paginate.
and -Dorg.apache.tapestry.disable-caching=true = Tables will not paginate.
- Original Message -
From: "Chris Chiappone" <[EMAIL PROTEC
I figured out the problem :)
If caching is turned off, you'll get the error.
So: -Dorg.apache.tapestry.disable-caching=false = Tables will paginate.
and -Dorg.apache.tapestry.disable-caching=true = Tables will not paginate.
- Original Message -
From: "Chris Chiappone" <[EMAIL PROTEC
l hidden problems.
For a solution:
- define a (tapestry) property for your data, and persist it in session.
or
- fetch the data inside your getData() method
(assuming you have /> )
Andreas Andreou
Daniel Lydiard wrote:
I figured out the problem :)
If caching is turned off, you'll
Try event.returnValue:
selected="ognl:delCargo" tag="ognl:cargo"/>
- Original Message -
From: "Taavi Sildeberg" <[EMAIL PROTECTED]>
To: "Tapersty List"
Sent: Sunday, January 29, 2006 10:33 PM
Subject: [TAP3] @ImageSubmit and javascript onClick problem
Hey everybody,
I have a pr
Does TestPage.page exist?
I've accidentally used the InjectPage annotation with the Java class name
instead of the .page name. But I'm pretty sure you get an exception, can't
remember off hand.
I'm using InjectPage with no problems in my app, so I'm just throwing out
guesses :P.
- Or
http://jakarta.apache.org/tapestry/UsersGuide/events.html
PageAttachListener/PageBeginRenderListener seem to be the choices. Or even
@InitialValue.
Be careful with PageBeginRender, since it's called twice on form submittal,
so depending on your situation you might need to check
getRequestCy
The FormTable component is deprectated so I simply changed it to Table, in
which the doucmentation says it will automaitcally perform the FormTable
functions when within a Form.
When using Table. the "conveter" binding is NEVER used, but if i use the
depcrecated FormTable my converter binding
When using Table. the "converter" binding is NEVER used, but if I use the
deprecated FormTable my converter binding method is used.
Nobody else has experienced this problem with T4?
Also, I noticed in debug messages for my IBasicTableModel implementation
that getRowCount() is called 3x first
I was actually using the ValidPropertySelection and ValidCheckbox in my T3
code (http://issues.apache.org/bugzilla/show_bug.cgi?id=29535) and ported it
over to T4. I basically took the existing T4 source for
PropertySelection/Checkbox and added in the code to work with
ValidationDelegate (by t
;
Sent: Tuesday, January 31, 2006 4:56 PM
Subject: Re: Using fieldTrackings
That might be a solution: do ValidPropertySelection and ValidCheckbox
record their input values to the ValidationDelegate in any case, even if
no error occured?
Am 01.02.2006 um 01:44 schrieb Daniel Lydiard:
I was actually
Ah cool, thanks for the link, I'm not sure how I missed that one :P
- Original Message -
From: "Christian Mittendorf" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Tuesday, January 31, 2006 5:13 PM
Subject: Re: Using fieldTrackings
Am 01.02.2006
return getSession().load(
Booking.class, bookingId);
}
};
}
And in the spec file I have
On 1/31/06, Daniel Lydiard <[EMAIL PROTECTED]> wrote:
> When using Table. the "converter" binding is NEVER used,
In your tomcat/conf/server.xml
workDir="c:/app/work" >
verbosity="4" timestamp="true"/>
This means you have an app with the url http://localhost/app where its
context directory on your hardrive is c:/app/context and its work directory
is c:/app/work
You put all your libs in
c:/app/context/
Have you tried looking at these examples yet?
https://tapestrywebcomponentexamples.dev.java.net/
(https://tapestrywebcomponentexamples.dev.java.net/files/documents/2449/8568/TapestryTables.war)
There are a lot of help...
- Original Message -
From: "Martin Carel" <[EMAIL PROTECTED]>
see from the Tapestry exception page that my dOsList property
is not stored in the session.
I call it a bad day. Any thoughts?
/Martin
Daniel Lydiard wrote:
Have you tried looking at these examples yet?
https://tapestrywebcomponentexamples.dev.java.net/
(https://tapestrywebcomponentexamples.
I've never had to do that, but I have a good feeling it moved to a HiveMind
service.
http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html
I wish I could be more help.
- Original Message -
From: "Rudolf Baloun" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Friday, February 0
324
325
326
327
328
329
My java class has a
import org.apache.tapestry.contrib.table.model.IPrimaryKeyConvertor; but
eclipse can't find org.apache.tapestry.components.IPrimaryKeyConverter.
Along with
@Persist
public abstract IPrimaryKeyConvertor getWorkflowConverter();
public abstrac
Are you sure it just isn't taking a long time for the first click?
I have a similar DirectLink method, that uses forgetPage(), and the first
click takes about 5-6 seconds, but after that everything works fine...
- Original Message -
From: "Subramanian Thangamuthu" <[EMAIL PROTECTED]>
One way is to just do a onChange="this.form.submit();"
Which will fire the listener for the Form component. I don't know if
there's a "direct" way to fire the listener like in your example.
- Original Message -
From: "Rohan Gray" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 07
Very cool concept.
Glad to see it has info for my neighborhood in good `ol silverdale across the
puget sound :P
http://www.zillow.com/search/Search.z?addrstrthood=NW+Calypso+Cir&citystatezip=Silverdale%2C+wa&mode=browse
I'm currently looking to move, so this comes in real handy :)
- O
I didn't notice IPrimaryKeyConvertEr (T4) and IPrimaryKeyConvertOr (T3),
bah!
- Original Message -
From: "Daniel Lydiard" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Tuesday, February 07, 2006 2:25 AM
Subject:
I'm using the @Shell which creates a base tag with the application base url.
if i do a
[a name="top"][/a]
and a link [a href="#top"]Back to top[/a]
the application won't scroll to the top of the page because of the base tag
produced by @Shell, it just goes back to the home page. Is there a q
anchors with @Shell
http://www.nabble.com/Specifying-my-own-tapestry.url.BaseTagWriter-t1049395.html
On 2/9/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
There is a lot of info on this topic. Just do a search for "anchor
tags" in the tapestryforum.
On 2/9/06, Daniel Lydiard <[EM
This is for T4 right?
To use a bean you need to use $name for a bean.
http://jakarta.apache.org/tapestry/UsersGuide/validation.html
so:
validators:$myCustomValidator,required should work.
- Original Message -
From: "Aleksej" <[EMAIL PROTECTED]>
To: "tapestry-user"
Sent: Friday, Feb
I actually ran into the same problem, use IPrimaryKeyConveratEr instead of
IPrimaryKeyConveratOr
This goes for binding name too, change the O to an E.
- Original Message -
From: "Douglas Hubler" <[EMAIL PROTECTED]>
To:
Sent: Sunday, February 12, 2006 12:02 PM
Subject: Re: TableFormRo
it's an option of the Form component:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html
- Original Message -
From: "Izak Wessels" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, February 13, 2006 3:05 PM
Subject: Unknown inserting JavaScript
Hello all
Isn't there a ServletContext getRealPath() that does something like that?
- Original Message -
From: "Lindsay Steele" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, February 13, 2006 3:51 PM
Subject: Re: Real path of the app server
Unless I am mistaken .. but from my testing
76 matches
Mail list logo