Hi
As far as I know friendly URLS are automatically mapped to the Page
service, but Restart is not a Page service, it's a service on it's
own.
What you can do, you can create your own engine instance and map it to
the URL you want, your Engine would serve the requests the way you
need.
Renat
I should clarify that things are working for me in these folders:
\myapp\src\main\java\org\example\myapp\pages\sub\Test.java
\myapp\src\main\resources\org\example\myapp\pages\sub\Test.tml
\myapp\src\main\resources\org\example\myapp\pages\sub\Test.properties
Global properties should go in:
The exception means your Java class was found, but not the template.
Carefully check your project details against Marcus's notes below.
Check your pom.xml for the tapestry version etc.
Cheers,
Nick.
Christian Gruber wrote:
Actually, I'm getting it from the tutorial as well. That is, I'm
I have a question about the grid and it rows.
Where are the rows being rendered?
In Grid.html I see table tbody tr t:id=rows / /tbody/table
But In GridRows.html I only see a loop for the properties of a single row.
Where is the loop that renders the rows itself?
The GridRows component is a close relative of the Loop component, and
manages its loop in Java code, re-rendering its template multiple
times. Each render of the template includes an explicit Loop to
render a td for each property.
On 10/6/07, Josh Penza [EMAIL PROTECTED] wrote:
I have a
Hi Bill
Make sure you have these 2 things:
In tour web.xml declare your RedirectFilter like this:
filter
filter-nameredirect/filter-name
filter-classorg.apache.tapestry.RedirectFilter/filter-class
init-param
param-nameredirect-path/param-name
param-value/home/param-value
Hi again,
I have a form in EditAccount.html, which contains:
t:textfield t:id=user.username t:validate=required/
EditAccount.java has a refernce to a user, along with a get/set pair of
accessors, and the User object has gettes and setters for its properties, as
well.
Nonetheless, I am
Hi,
I have a very simple Ajax need, here is the situation:
My page will display a blog, when user click 'more comments', I'd like to
load a T5 page into a DIV provided, so basically, the page is like this:
pmy blog's text goes here/p
div id=comments/div
the js will be like this:
Aha...
I need to specify a TextField's value property, not its id. But why does id
work when the value is bound to an attribute of the component class?
Anyway, problem solved.
- Original Message -
From: Marc A. Donis [EMAIL PROTECTED]
To: Tapestry users users@tapestry.apache.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.nabble.com/file/p13075575/mvn-20071006.log mvn-20071006.log
--
View this message in context:
http://www.nabble.com/T5%3A-how-to-use
I did. It's not a version thing. I built 5.0.6-SNAPSHOT from trunk
(as of yesterday), and the pom file pulls in that version. (In fact,
m2eclipse plugin in eclipse shows the t5-core project as the dep). I
have tried each combination of old and new template location, and
filename. I
Thanks for all the effort.
I can tell you that Trails demos pretty darn well when I show it off
as part of No Fluff Just Stuff.
I'm looking forward to Trails 5 for Tapestry 5 !
On 10/4/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
Hello Trailers :)
Just as promised, we are happy to announce
After the change from .html to .tml in the SVN, my page
templates in WEB-INF were not found any more. Moving
them to the corresponding package under main/resources
like component templates solved the problem.
Imants
Quoting Christian Gruber [EMAIL PROTECTED]:
I did. It's not a version thing.
Hi all,
Is it possible to let the user enter times like for example
23:59
using the DropdownTimePicker?
(and keyboard of course, I know the dropdown has 5 minute intervals to
select only)
Seems like it will change that value to 23:55 before submit.
Cheers,
Malin
Ok. Thanks, Imants. Several people have offered a similar answer,
and I appreciate it, but I have tried this. I have tried *.tml in /
src/main/resources/.../pages I have tried *.html in the same. I have
tried *.tml in /src/main/webapp, and *.html in /src/main/webapp/WEB-
INF/ (per the
Try this!
a t:type=pageLink page=getcomment context=blogId
onclick=loadMoreComment(this.href); return false; span
LoadMore/span /a
2007/10/6, Angelo Chen [EMAIL PROTECTED]:
Hi,
I have a very simple Ajax need, here is the situation:
My page will
If no value is supplied, T5 checks for a property name based on the id.
But the id is simply a string and not interpreted as a prop expression,
so . doesn't mean anything special there.
That might be an interesting enhancement though. I'll add a JIRA.
Cheers,
Nick.
Marc A. Donis wrote:
17 matches
Mail list logo