You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "marioosh.net" <ma...@gmail.com> on 2009/12/09 12:25:35 UTC

[beginner] - PageLink doesn't work

I have PageLink like that:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
...
<a href="#" jwcid="@PageLink" page="Page2">go page2</a>
...
</html>

I see link, but nothing happens when i click on it.

-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
are you using T4 or T5?

there have been some major changes.

g,
kris



"marioosh.net" <ma...@gmail.com> 
09.12.2009 12:31
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
Tapestry users <us...@tapestry.apache.org>
Kopie

Thema
Re: [beginner] - PageLink doesn't work







What do you mean check the source ?

2009/12/9, Ashwanth Kumar <as...@gmail.com>:
> Use this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
>
>  - Ashwanth
>
> On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net <ma...@gmail.com> 
wrote:
>
>> I have PageLink like that:
>>
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
>> ...
>> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
>> ...
>> </html>
>>
>> I see link, but nothing happens when i click on it.
>>
>> --
>> Pozdrawiam,
>> Mariusz
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>


-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



Re: [beginner] - PageLink doesn't work

Posted by "marioosh.net" <ma...@gmail.com>.
What do you mean check the source ?

2009/12/9, Ashwanth Kumar <as...@gmail.com>:
> Use this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
>
>  - Ashwanth
>
> On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net <ma...@gmail.com> wrote:
>
>> I have PageLink like that:
>>
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
>> ...
>> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
>> ...
>> </html>
>>
>> I see link, but nothing happens when i click on it.
>>
>> --
>> Pozdrawiam,
>> Mariusz
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>


-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by Ashwanth Kumar <as...@gmail.com>.
Use this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd

 - Ashwanth

On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net <ma...@gmail.com> wrote:

> I have PageLink like that:
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
> ...
> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
> ...
> </html>
>
> I see link, but nothing happens when i click on it.
>
> --
> Pozdrawiam,
> Mariusz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [beginner] - PageLink doesn't work

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Hi!

Em Wed, 09 Dec 2009 09:25:35 -0200, marioosh.net <ma...@gmail.com>  
escreveu:

> I have PageLink like that:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">

The correct schema is http://tapestry.apache.org/schema/tapestry_5_1_0.xsd

> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
> ...
> </html>

jwcid was used in Tapestry 4. If you're using Tapestry 5, use <a href="#"  
t:type="PageLink" t:page="page2">....</a>

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 09 Dec 2009 09:48:21 -0200, marioosh.net <ma...@gmail.com>  
escreveu:

> I'm starting with Tapestry. I choose 5 because is newer... and i
> suppouse is better ;)

Right choice! Tapestry 5 is better and easier.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by "marioosh.net" <ma...@gmail.com>.
I'm starting with Tapestry. I choose 5 because is newer... and i
suppouse is better ;)

2009/12/9, Ulrich Stärk <ul...@spielviel.de>:
> You are mixing things up here. jwcid=@... was the syntax used by Tapestry 3
> and 4 while the XML
> namespace declaration indicates that you want to use Tapestry 5 (although
> you got the schema URL
> wrong). So you might want to start over by telling us what version you are
> using and what you want
> to achieve.
>
> Uli
>
> On 09.12.2009 12:25 schrieb marioosh.net:
>> I have PageLink like that:
>>
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
>> ...
>> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
>> ...
>> </html>
>>
>> I see link, but nothing happens when i click on it.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by Ulrich Stärk <ul...@spielviel.de>.
You are mixing things up here. jwcid=@... was the syntax used by Tapestry 3 and 4 while the XML 
namespace declaration indicates that you want to use Tapestry 5 (although you got the schema URL 
wrong). So you might want to start over by telling us what version you are using and what you want 
to achieve.

Uli

On 09.12.2009 12:25 schrieb marioosh.net:
> I have PageLink like that:
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
> ...
> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
> ...
> </html>
>
> I see link, but nothing happens when i click on it.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by Ashwanth Kumar <as...@gmail.com>.
Did u chk the source??

 - Ashwanth

On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net <ma...@gmail.com> wrote:

> I have PageLink like that:
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
> ...
> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
> ...
> </html>
>
> I see link, but nothing happens when i click on it.
>
> --
> Pozdrawiam,
> Mariusz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [beginner] - PageLink doesn't work

Posted by "marioosh.net" <ma...@gmail.com>.
Thanks :) I had wrong jars in my libraries.
On jars *-5.1.0.5 everyting works good :)

2009/12/9, Inge Solvoll <in...@gmail.com>:
> I'm guessing you have T5.0 installed. You have to install T5.1 to use 5.1
> schema.
>
> On Wed, Dec 9, 2009 at 1:29 PM, marioosh.net <ma...@gmail.com> wrote:
>
>> 2009/12/9, Mario Udina <m....@gmail.com>:
>> > hello!
>> >
>> > first of all you are using a <a href="" >
>> > href="#" in the link indicates the page You are linking to, and the
>> > quotation part is the location of the page.
>> > hashmark indicates the current page.
>> >
>> > I use pagelinks like this:
>> > <a t:type="pageLink" page="number/searchresults" class="pageLink"></a>
>> >
>> >
>> > regards,
>> > mario
>> >
>> > On Wed, Dec 9, 2009 at 12:25 PM, marioosh.net <marioosh.net@gmail.com
>> >wrote:
>> >
>> >> I have PageLink like that:
>> >>
>> >> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
>> >> ...
>> >> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
>> >> ...
>> >> </html>
>> >>
>> >> I see link, but nothing happens when i click on it.
>> >>
>> >> --
>> >> Pozdrawiam,
>> >> Mariusz
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> >> For additional commands, e-mail: users-help@tapestry.apache.org
>> >>
>> >>
>> >
>>
>> This works. Link look like a link and i can click on it:
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>>        <a t:type="pageLink" page="Page2" class="pageLink">To Page2</a>
>> </html>
>>
>> But this doesn't work. Two links look like text and i can't click on them:
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
>>        <a t:type="pageLink" page="Page2" class="pageLink">To Page2</a>
>>        <t:pagelink t:page="Page2">Page2</t:pagelink>
>> </html>
>>
>> I'm beginner with tapestry5.
>> What is going on with schemas ?
>>
>> --
>> Pozdrawiam,
>> Mariusz
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>


-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by Inge Solvoll <in...@gmail.com>.
I'm guessing you have T5.0 installed. You have to install T5.1 to use 5.1
schema.

On Wed, Dec 9, 2009 at 1:29 PM, marioosh.net <ma...@gmail.com> wrote:

> 2009/12/9, Mario Udina <m....@gmail.com>:
> > hello!
> >
> > first of all you are using a <a href="" >
> > href="#" in the link indicates the page You are linking to, and the
> > quotation part is the location of the page.
> > hashmark indicates the current page.
> >
> > I use pagelinks like this:
> > <a t:type="pageLink" page="number/searchresults" class="pageLink"></a>
> >
> >
> > regards,
> > mario
> >
> > On Wed, Dec 9, 2009 at 12:25 PM, marioosh.net <marioosh.net@gmail.com
> >wrote:
> >
> >> I have PageLink like that:
> >>
> >> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
> >> ...
> >> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
> >> ...
> >> </html>
> >>
> >> I see link, but nothing happens when i click on it.
> >>
> >> --
> >> Pozdrawiam,
> >> Mariusz
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
>
> This works. Link look like a link and i can click on it:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>        <a t:type="pageLink" page="Page2" class="pageLink">To Page2</a>
> </html>
>
> But this doesn't work. Two links look like text and i can't click on them:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
>        <a t:type="pageLink" page="Page2" class="pageLink">To Page2</a>
>        <t:pagelink t:page="Page2">Page2</t:pagelink>
> </html>
>
> I'm beginner with tapestry5.
> What is going on with schemas ?
>
> --
> Pozdrawiam,
> Mariusz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [beginner] - PageLink doesn't work

Posted by "marioosh.net" <ma...@gmail.com>.
2009/12/9, Mario Udina <m....@gmail.com>:
> hello!
>
> first of all you are using a <a href="" >
> href="#" in the link indicates the page You are linking to, and the
> quotation part is the location of the page.
> hashmark indicates the current page.
>
> I use pagelinks like this:
> <a t:type="pageLink" page="number/searchresults" class="pageLink"></a>
>
>
> regards,
> mario
>
> On Wed, Dec 9, 2009 at 12:25 PM, marioosh.net <ma...@gmail.com>wrote:
>
>> I have PageLink like that:
>>
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
>> ...
>> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
>> ...
>> </html>
>>
>> I see link, but nothing happens when i click on it.
>>
>> --
>> Pozdrawiam,
>> Mariusz
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>

This works. Link look like a link and i can click on it:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
	<a t:type="pageLink" page="Page2" class="pageLink">To Page2</a>
</html>

But this doesn't work. Two links look like text and i can't click on them:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
	<a t:type="pageLink" page="Page2" class="pageLink">To Page2</a>
	<t:pagelink t:page="Page2">Page2</t:pagelink>
</html>

I'm beginner with tapestry5.
What is going on with schemas ?

-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [beginner] - PageLink doesn't work

Posted by Mario Udina <m....@gmail.com>.
hello!

first of all you are using a <a href="" >
href="#" in the link indicates the page You are linking to, and the
quotation part is the location of the page.
hashmark indicates the current page.

I use pagelinks like this:
<a t:type="pageLink" page="number/searchresults" class="pageLink"></a>


regards,
mario

On Wed, Dec 9, 2009 at 12:25 PM, marioosh.net <ma...@gmail.com>wrote:

> I have PageLink like that:
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_2.xsd">
> ...
> <a href="#" jwcid="@PageLink" page="Page2">go page2</a>
> ...
> </html>
>
> I see link, but nothing happens when i click on it.
>
> --
> Pozdrawiam,
> Mariusz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>