Oh yeah, I am sorry though
May the book bring light on Tap.
--
Best wishes,
Eko SW
http://swdev.blogs.friendster.com/my_blog/
Oh nevermind, it works now.. stupid browser still caching the old page. thx a
lot!
ronaldlee wrote:
>
> Thx Angelo. This seems to make sense, but I cannot make it to work.. will
> try more.
>
> Ronald
>
>
> Angelo Chen wrote:
>>
>> hi ronaldlee,
>>
>> you can pass the user name from the Us
Thx Angelo. This seems to make sense, but I cannot make it to work.. will try
more.
Ronald
Angelo Chen wrote:
>
> hi ronaldlee,
>
> you can pass the user name from the UserProfile page to the layout
> component, something like this:
>
> public class Layout {
> @parameter
> private String
Hi Ronald,
You can declare same ASO(ApplicationStateObject) in both java classes,
passing any values between any components.
Basic.java and UserProfile.java
...
@ApplicationState
private Visit _visit;
... getters and setters
Basic.tml
... ${visit.username}
Marcus
-
hi ronaldlee,
you can pass the user name from the UserProfile page to the layout
component, something like this:
public class Layout {
@parameter
private String userName;
// getter/setter here
}
in UserProfile.tml:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
not tested code
Hi,
I am building a page using layout component so that the layout can be shared
among other pages.
The question I have is that I want my layout component (lets say
"/layout/Basic.tml) to have access to page params/variables. A simple
example would be that I have a UserProfile page which uses a
Hi,
Is there any particular reason that ContextResource's getPath() returns a
relative path rather than an absolute one? In T4, I'm used to using assets
as way to build "safe" links to resources. With ContextResource's getPath()
returning relative paths, however, that doesn't work. I've wrapped
Hi all,
I'm working with the Grid component and customizing the BeanModel for
display. I'd like to show complex paths in the grid. So, I've added them
to the model and everything works well, except when there's a null somewhere
along the path. Then in get an NPE in the ConduitWrapper.
How does
Hi all,
I am on Tap 4.1.3 (using the released binary) and I am also experiencing
this behavior. I cannot find any documentation on this situation or a
workaround other than Jesse's comments in this thread. Can someone
point me to more information on how to work around this multiple ognl
eva
You are ending the element before the inner (etc) renders.
Instead, you should end the writer in afterRender:
void afterRender(MarkupWriter writer)
{
writer.end(); //
}
The corelib components are good examples to copy.
Cheers,
Nick.
Angelo Chen wrote:
Hi,
I have a com
Hi,
I have a component :
public class ImgDlg2 {
@Parameter(required=true)
private String _path;
boolean beginRender(MarkupWriter writer)
{
if (_path != null)
writer.element("a", "href", _path);
else
writer.element("a", "href", "#");
writer.end();
ret
On Nov 1, 2007 2:37 AM, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> The book is not ready yet. I had to completely rewrite chapter 5 upgrading it
> to 5.0.6 as Grid and BeanEditForm are so much easier to deal with now. If
> everything goes well, the book should become available in
Hi,
Same as you, no idea at all about this web 2.0. came from c/s world hoping
web 2.0 can help in developing c/s like app, and after a while, found out
that a server framework like T5, Javascript(or better a library like
jQuery), html/css/DOM, plus the browser's capability to do background
comm
I have written a BigDecimal translator which converts String -> BigDecimal,
but It doesnt seem to work.
In my class, I have added the following:
public static void contributeTranslatorDefaultSource(
MappedConfiguration configuration) {
configuration.add(BigDecimal.class
How can we add DoubleTranslator.java into Existing application??
Thanks.
Nick Westgate wrote:
>
> You provide a translator. The framework provides one for Double etc:
> http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/translator/
>
> You
I don't have a clear definition of web 2.0. THis is what wiki says
Web 2.0 websites typically include some of these features:
* Rich Internet application techniques, often Ajax-based
* Semantically valid XHTML and HTML markup
* Microformats enriching pages with additional semantics
> I am using Tapestry 5.
I don't think so. Your code is using Tapestry 4 syntax.
Cheers,
Nick.
Imran Amajd wrote:
Hello EveryBody,
I am using Tapestry 5.
Problem:
There is a submit button attached with listener (say OnSave()) and a text
field after the Submit button on html form. like
Hello EveryBody,
I am using Tapestry 5.
Problem:
There is a submit button attached with listener (say OnSave()) and a text
field after the Submit button on html form. like
when i submit this form, the pageBegin render is called, and form is
rewinded. then listner is callled. but i can n
18 matches
Mail list logo