Re: BreadCrumb thoughts...

2007-06-04 Thread alvaro tovar

hi, in zope (www.zope.org ) i see a way to create a navigation bar, but this
is based in the files in the actually folder. This create a list of links to
the page that are in the actuall folder. maybe is posible copy this idea.

i don't know if this is avaible o funtionaly.





On 6/4/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote:



Hi Jan,
try this:

in your java file:

@InjectObject("engine-service:external")
public abstract IEngineService getExternalService();


String linkURL = getExternalService().getLink(false, new
ExternalServiceParameter("YourPageName", new Object[] {parameter1,
parameter2, ...})).getURL());



in your page file:

public abstract class YourPage extends BasePage implements IExternalPage ,
PageBeginRenderListener {

public abstract Long getParameter1();
public abstract void setParameter1(Long id);

public abstract Long getParameter2();
public abstract void setParameter2(Long id);




   public void pageBeginRender(PageEvent event) {
// Do something here with the parameters
}

public void activateExternalPage(Object[] parameters,
IRequestCycle cycle)
{
setParameter1((Long)parameters[0]);
setParameter2((Long)parameters[1]);
}



}

Hopes it helps,
Jacob





--
View this message in context:
http://www.nabble.com/BreadCrumb-thoughts...-tf3866074.html#a10953676
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-01 Thread alvaro tovar

hi, ok, i will try to understand more tapestry, maybe i can help.



On 6/1/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:


Just wanted to inject a simple reminder: Tapestry 5 is still an
alpha-level
product.  It's still evolving. There are gaps in the functionality and in
the documentation.

I'm very heartened by so many people wanting to preview Tapestry 5 but
just
remember it is a preview and an early one.  It's coming together rapidly
but
the realities of open source development is that I have responsibilities
outside of Tapestry that have to come first *. The same goes for all the
other developers.

It is a difficult balance for me, because I want to answer more questions
on
the mailing list, but the way to best help the community is to keep my
nose
down in the code.

Keep having fun, and try to stay patient,

Howard


* Unless someone is interested in funding part of the T5 development
effort.  Just asking.

--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com



Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-01 Thread alvaro tovar

hi, i don't know but look

http://wiki.apache.org/tapestry/Tapestry4Spring
http://howardlewisship.com/tapestry-javaforge/tapestry-spring/



alvaro

On 5/31/07, César Augusto Mateus < [EMAIL PROTECTED]> wrote:


Hi all, I´m beginning with Tapestry 4.0
Now i´m developing a project in my work, and i decided for these
technologies.
I have experience in Tapestry 3, hibernate 3.0, and JBoss or OC4J;
I wanted to know how if somebody has a similar example or experience
developing something similar, to receive some advice.
I have found in Internet several forms of configuration of spring with
tapestry but not as it works well. Some ways are programmatic, and others
are declaratory by means of web.xml and applicationcontext.xml.
I have been proving a way in which web.xml was not touched, but that was
enough with applicationContext.xml, but there were problems when
integrating
with jboss due to the transactions. I am trying of the way that is seen in

http://www.springframework.org/docs/reference/webintegration.html#view-tapestry
Thanks for any aid...



Re: Reusable breadcrumb component - is it (already) available

2007-05-29 Thread alvaro tovar

i don't know which is this. is there in componentRefence?

thanks for your help
alvaro

On 5/29/07, Jan Vissers <[EMAIL PROTECTED]> wrote:


Great! Now, if only we knew who has it and/or where it is... ;-)


> Yes,  I do actually know of such a component.
>
>
> On 5/29/07, Jan Vissers <[EMAIL PROTECTED]> wrote:
>>
>> Hi -
>>
>> Just wondering whether a breadcrumb component is already available in
>> Tapestry?
>> Browsing the source repository of Wicket ("...no I'm not currently
using
>> Wicket!...") I noticed
>> such a component already being part of that framework.
>>
>> Thanks,
>> -J.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: T5: Obtain Select Component.

2007-05-25 Thread alvaro tovar

thanks juan

On 5/23/07, Juan Maya <[EMAIL PROTECTED]> wrote:


Sure..
in the page template i have:



and in tha java file
@Component (id="month")
private Select monthSelect;

/**
 * @return the monthsModel
 */
public SelectModel getMonthsModel() {
   if (this.monthsModel == null){
   this.monthsModel = SelectModelUtil.getMonthsModel(messages.get
("month-label"));
   }
   return this.monthsModel;
}


and the getters and setters.

On 5/23/07, alvaro tovar <[EMAIL PROTECTED]> wrote:
>
> hi juan, i am new user in t5, if you can show your code?
>
> alvaro
>
> On 5/22/07, Juan Maya <[EMAIL PROTECTED]> wrote:
> >
> > So i found out that i  can change the id of the component with
> > t:id.  Pretty
> > obvious.
> > Sorry
> >
> > On 5/22/07, Juan Maya <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all,
> > >
> > > I am creating a new component that has 3 embedded Select components
> > inside
> > > of him. From this component i need to have references to the select
> > > components. Any suggestions to do it?
> > > For example, in my code i have:
> > >
> > >
> > > @Component(id=???)
> > > private Select monthSelect;
> > >
> > > @Component(id=???)
> > > private Select daySelect;
> > >
> > > @Component(id=???)
> > > private Select yearSelect;
> > >
> > > how can i know or assign the id to a select component?
> > > I have already  tried to get them using the clientId property in the
> > > template but it was useless.
> > >
> > > Thanks
> > >
> > > --
> > > Juan
> > >
> >
>



Re: T5: Obtain Select Component.

2007-05-23 Thread alvaro tovar

hi juan, i am new user in t5, if you can show your code?

alvaro

On 5/22/07, Juan Maya <[EMAIL PROTECTED]> wrote:


So i found out that i  can change the id of the component with
t:id.  Pretty
obvious.
Sorry

On 5/22/07, Juan Maya <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am creating a new component that has 3 embedded Select components
inside
> of him. From this component i need to have references to the select
> components. Any suggestions to do it?
> For example, in my code i have:
>
>
> @Component(id=???)
> private Select monthSelect;
>
> @Component(id=???)
> private Select daySelect;
>
> @Component(id=???)
> private Select yearSelect;
>
> how can i know or assign the id to a select component?
> I have already  tried to get them using the clientId property in the
> template but it was useless.
>
> Thanks
>
> --
> Juan
>