You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Bruce Petro <bp...@artromick.com> on 2007/04/11 16:25:13 UTC

T5 - Select changed event...

Is there a way to cause a select (drop down) action of selecting a value
to send an event back to the java side?


Re: T5 - Select changed event...

Posted by Alexandru Dragomir <al...@gmail.com>.
a mistake made :  component templates are stored under
main/resources/your/package/name/components

Best documentation you can find on tapestry 5 website.

Cheers ,
Alex

On 4/13/07, Alexandru Dragomir <al...@gmail.com> wrote:
>
> Was going to answer ;)
> By convention :
>   - page templates are stored under WEB-INF or under
> main/resources/your/package/name/pages
>   - componente templates are stored under
> main/webapp/resources/your/package/name/components
>
>   - page java files are stored under /main/java/your/package/name/pages
>    - components java files are stored under
> /main/java/your/package/name/components
>
> Cheers ,
> Alex
>
>
>
>
> On 4/13/07, Bruce Petro <bp...@artromick.com> wrote:
> >
> > In case anyone else is looking for it I found it...
> > http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
> > test/java/org/apache/tapestry/integration/app1/pages/BlockDemo.java
> >
> >
> > -----Original Message-----
> > From: Bruce Petro [mailto:bpetro@artromick.com]
> > Sent: Thursday, April 12, 2007 5:51 PM
> > To: Tapestry users
> > Subject: RE: T5 - Select changed event...
> >
> > Cool!  But now where is the BlockDemo.java class?  Honest!  I browsed
> > all through the pages around this and didn't see it.  These html pages
> > are directly in the WEB-INF directory so you must be using some other
> > plumbing process instead of the resources directory htmls matching src
> > directory java programs. Is there a way with maven or something like
> > that to load all these in testable form into eclipse?
> >
> > BTW - If this is too-ignorant of a question, my apologies in advance.
> >
> > -----Original Message-----
> > From: Alexandru Dragomir [mailto:alex.dragomir@gmail.com]
> > Sent: Thursday, April 12, 2007 12:36 PM
> > To: Tapestry users
> > Subject: Re: T5 - Select changed event...
> >
> > Here you can find it :
> >
> > http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
> > test/app1/WEB-INF/BlockDemo.html
> >
> > Cheers ,
> > Alex
> >
> > On 4/12/07, Sabine K. <la...@gmail.com> wrote:
> > >
> > >
> > > Hi,
> > >
> > > where can i find the sample? I dont find it.
> > >
> > > Best regards
> > >
> > > Alexandru Dragomir wrote:
> > > >
> > > > Yes , with javascript :
> > > >
> > > > <t:select  t:id=""  model=""  onchange="this.form.submit ();"/>
> > > >
> > > > You have a sample in the integration tests  -> BlockDemo
> > > >
> > > > Cheers ,
> > > > Alex
> > > >
> > > > On 4/11/07, Bruce Petro < bpetro@artromick.com> wrote:
> > > >>
> > > >> Is there a way to cause a select (drop down) action of selecting a
> > > value
> > > >> to send an event back to the java side?
> > > >>
> > > >>
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> > >
> > http://www.nabble.com/T5---Select-changed-event...-tf3559676.html#a99622
> >
> > 30
> > > Sent from the Tapestry - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>

Re: T5 - Select changed event...

Posted by Alexandru Dragomir <al...@gmail.com>.
Was going to answer ;)
By convention :
  - page templates are stored under WEB-INF or under
main/resources/your/package/name/pages
  - componente templates are stored under
main/webapp/resources/your/package/name/components

  - page java files are stored under /main/java/your/package/name/pages
   - components java files are stored under
/main/java/your/package/name/components

Cheers ,
Alex




On 4/13/07, Bruce Petro <bp...@artromick.com> wrote:
>
> In case anyone else is looking for it I found it...
> http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
> test/java/org/apache/tapestry/integration/app1/pages/BlockDemo.java
>
>
> -----Original Message-----
> From: Bruce Petro [mailto:bpetro@artromick.com]
> Sent: Thursday, April 12, 2007 5:51 PM
> To: Tapestry users
> Subject: RE: T5 - Select changed event...
>
> Cool!  But now where is the BlockDemo.java class?  Honest!  I browsed
> all through the pages around this and didn't see it.  These html pages
> are directly in the WEB-INF directory so you must be using some other
> plumbing process instead of the resources directory htmls matching src
> directory java programs. Is there a way with maven or something like
> that to load all these in testable form into eclipse?
>
> BTW - If this is too-ignorant of a question, my apologies in advance.
>
> -----Original Message-----
> From: Alexandru Dragomir [mailto:alex.dragomir@gmail.com]
> Sent: Thursday, April 12, 2007 12:36 PM
> To: Tapestry users
> Subject: Re: T5 - Select changed event...
>
> Here you can find it :
>
> http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
> test/app1/WEB-INF/BlockDemo.html
>
> Cheers ,
> Alex
>
> On 4/12/07, Sabine K. <la...@gmail.com> wrote:
> >
> >
> > Hi,
> >
> > where can i find the sample? I dont find it.
> >
> > Best regards
> >
> > Alexandru Dragomir wrote:
> > >
> > > Yes , with javascript :
> > >
> > > <t:select  t:id=""  model=""  onchange="this.form.submit();"/>
> > >
> > > You have a sample in the integration tests  -> BlockDemo
> > >
> > > Cheers ,
> > > Alex
> > >
> > > On 4/11/07, Bruce Petro <bp...@artromick.com> wrote:
> > >>
> > >> Is there a way to cause a select (drop down) action of selecting a
> > value
> > >> to send an event back to the java side?
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/T5---Select-changed-event...-tf3559676.html#a99622
> 30
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

RE: T5 - Select changed event...

Posted by Bruce Petro <bp...@artromick.com>.
In case anyone else is looking for it I found it...
http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
test/java/org/apache/tapestry/integration/app1/pages/BlockDemo.java


-----Original Message-----
From: Bruce Petro [mailto:bpetro@artromick.com] 
Sent: Thursday, April 12, 2007 5:51 PM
To: Tapestry users
Subject: RE: T5 - Select changed event...

Cool!  But now where is the BlockDemo.java class?  Honest!  I browsed
all through the pages around this and didn't see it.  These html pages
are directly in the WEB-INF directory so you must be using some other
plumbing process instead of the resources directory htmls matching src
directory java programs. Is there a way with maven or something like
that to load all these in testable form into eclipse?

BTW - If this is too-ignorant of a question, my apologies in advance.

-----Original Message-----
From: Alexandru Dragomir [mailto:alex.dragomir@gmail.com] 
Sent: Thursday, April 12, 2007 12:36 PM
To: Tapestry users
Subject: Re: T5 - Select changed event...

Here you can find it :

http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
test/app1/WEB-INF/BlockDemo.html

Cheers ,
Alex

On 4/12/07, Sabine K. <la...@gmail.com> wrote:
>
>
> Hi,
>
> where can i find the sample? I dont find it.
>
> Best regards
>
> Alexandru Dragomir wrote:
> >
> > Yes , with javascript :
> >
> > <t:select  t:id=""  model=""  onchange="this.form.submit();"/>
> >
> > You have a sample in the integration tests  -> BlockDemo
> >
> > Cheers ,
> > Alex
> >
> > On 4/11/07, Bruce Petro <bp...@artromick.com> wrote:
> >>
> >> Is there a way to cause a select (drop down) action of selecting a
> value
> >> to send an event back to the java side?
> >>
> >>
> >
> >
>
> --
> View this message in context:
>
http://www.nabble.com/T5---Select-changed-event...-tf3559676.html#a99622
30
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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


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


RE: T5 - Select changed event...

Posted by Bruce Petro <bp...@artromick.com>.
Cool!  But now where is the BlockDemo.java class?  Honest!  I browsed
all through the pages around this and didn't see it.  These html pages
are directly in the WEB-INF directory so you must be using some other
plumbing process instead of the resources directory htmls matching src
directory java programs. Is there a way with maven or something like
that to load all these in testable form into eclipse?

BTW - If this is too-ignorant of a question, my apologies in advance.

-----Original Message-----
From: Alexandru Dragomir [mailto:alex.dragomir@gmail.com] 
Sent: Thursday, April 12, 2007 12:36 PM
To: Tapestry users
Subject: Re: T5 - Select changed event...

Here you can find it :

http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
test/app1/WEB-INF/BlockDemo.html

Cheers ,
Alex

On 4/12/07, Sabine K. <la...@gmail.com> wrote:
>
>
> Hi,
>
> where can i find the sample? I dont find it.
>
> Best regards
>
> Alexandru Dragomir wrote:
> >
> > Yes , with javascript :
> >
> > <t:select  t:id=""  model=""  onchange="this.form.submit();"/>
> >
> > You have a sample in the integration tests  -> BlockDemo
> >
> > Cheers ,
> > Alex
> >
> > On 4/11/07, Bruce Petro <bp...@artromick.com> wrote:
> >>
> >> Is there a way to cause a select (drop down) action of selecting a
> value
> >> to send an event back to the java side?
> >>
> >>
> >
> >
>
> --
> View this message in context:
>
http://www.nabble.com/T5---Select-changed-event...-tf3559676.html#a99622
30
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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


Re: T5 - Select changed event...

Posted by Alexandru Dragomir <al...@gmail.com>.
Here you can find it :

http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/app1/WEB-INF/BlockDemo.html

Cheers ,
Alex

On 4/12/07, Sabine K. <la...@gmail.com> wrote:
>
>
> Hi,
>
> where can i find the sample? I dont find it.
>
> Best regards
>
> Alexandru Dragomir wrote:
> >
> > Yes , with javascript :
> >
> > <t:select  t:id=""  model=""  onchange="this.form.submit();"/>
> >
> > You have a sample in the integration tests  -> BlockDemo
> >
> > Cheers ,
> > Alex
> >
> > On 4/11/07, Bruce Petro <bp...@artromick.com> wrote:
> >>
> >> Is there a way to cause a select (drop down) action of selecting a
> value
> >> to send an event back to the java side?
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/T5---Select-changed-event...-tf3559676.html#a9962230
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5 - Select changed event...

Posted by "Sabine K." <la...@gmail.com>.
Hi,

where can i find the sample? I dont find it.

Best regards 

Alexandru Dragomir wrote:
> 
> Yes , with javascript :
> 
> <t:select  t:id=""  model=""  onchange="this.form.submit();"/>
> 
> You have a sample in the integration tests  -> BlockDemo
> 
> Cheers ,
> Alex
> 
> On 4/11/07, Bruce Petro <bp...@artromick.com> wrote:
>>
>> Is there a way to cause a select (drop down) action of selecting a value
>> to send an event back to the java side?
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/T5---Select-changed-event...-tf3559676.html#a9962230
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: T5 - Select changed event...

Posted by Alexandru Dragomir <al...@gmail.com>.
Yes , with javascript :

<t:select  t:id=""  model=""  onchange="this.form.submit();"/>

You have a sample in the integration tests  -> BlockDemo

Cheers ,
Alex

On 4/11/07, Bruce Petro <bp...@artromick.com> wrote:
>
> Is there a way to cause a select (drop down) action of selecting a value
> to send an event back to the java side?
>
>