Re: T5 Selected Attribute

2011-07-06 Thread Lenny Primak
's not resetting every menu on the page and we should be good to go lol. > > Any thoughts on using Lombok's annotations for the entity classes? First > I've heard of it. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Selec

Re: T5 Selected Attribute

2011-07-06 Thread George Christman
http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4557483.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: T5 Selected Attribute

2011-07-06 Thread Thiago H. de Paula Figueiredo
On Wed, 06 Jul 2011 14:06:26 -0300, George Christman wrote: So would I be generating the hashCode equals within the funding class? Yes. The class whose instances are used as options in the Select component. Also, that select menu is being used within an AjaxFormLoop with a value encoder

Re: T5 Selected Attribute

2011-07-06 Thread Lenny Primak
the data to the user session > and not committing to database. I'm only doing this to reload all the select > menus without losing any other form data. I'm just not sure how to write the > hashCode to work with this. > > Thanks everyone, yo

Re: T5 Selected Attribute

2011-07-06 Thread George Christman
://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4557419.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail

Re: T5 Selected Attribute

2011-07-06 Thread Thiago H. de Paula Figueiredo
this.name = name; } public String getLabel() { return _name + " - " + _ifasObjectCode; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4557089.html Sent from t

Re: T5 Selected Attribute

2011-07-06 Thread George Christman
} public void setName(String name) { this.name = name; } public String getLabel() { return _name + " - " + _ifasObjectCode; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4557089.html Sent fro

Re: T5 Selected Attribute

2011-07-06 Thread Thiago H. de Paula Figueiredo
On Wed, 06 Jul 2011 11:35:23 -0300, George Christman wrote: Is there any chance you guys could help me write out the hashCode equals with the select menu. Yes, but you haven't sent us what we need to help you: the Funding class source. -- Thiago H. de Paula Figueiredo Independent Java,

Re: T5 Selected Attribute

2011-07-06 Thread George Christman
ndous help. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4556947.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: T5 Selected Attribute

2011-07-05 Thread Thiago H. de Paula Figueiredo
On Tue, 05 Jul 2011 16:04:59 -0300, George Christman wrote: Object entity label using UUID transient temp Ids. I'm also using an encoder with the select menu. Not sure if that matters. They don't. Funding class sources, specially hashCode() and equals(), do matter. ;) -- Thiago H. de P

Re: T5 Selected Attribute

2011-07-05 Thread George Christman
context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4554342.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For addi

Re: T5 Selected Attribute

2011-07-05 Thread Taha Hafeez
and how it works. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4554302.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > >

Re: T5 Selected Attribute

2011-07-05 Thread George Christman
Thanks everyone, I'm pretty new to backend development, so I guess I don't completely understand hashcode equals and how it works. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4554302.html Sent from the Tapestry - User ma

Re: T5 Selected Attribute

2011-07-05 Thread Taha Hafeez
if(_lineItemFunding.getTempId() == key) { >_lineItemFunding.setFunding((Funding) > session.get(Funding.class, 6)); >} > >} >} > > > > -- > View this message in context: > http://tapestry.1045711.n5.n

Re: T5 Selected Attribute

2011-07-05 Thread George Christman
if(_lineItemFunding.getTempId() == key) { _lineItemFunding.setFunding((Funding) session.get(Funding.class, 6)); } } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4554217.html Sent from the Tapes

Re: T5 Selected Attribute

2011-07-05 Thread Thiago H. de Paula Figueiredo
On Tue, 05 Jul 2011 15:02:22 -0300, George Christman wrote: Hello, Hi! In my onPrepare method, I'm trying to select a select menu option by default. I'm aware of tapestry being able to handle this automatically by setting the object value, however I haven't had any success. If someone c

Re: T5 Selected Attribute

2011-07-05 Thread Taha Hafeez
ct value, however I haven't had any success. If someone > could point me in the right direction, I'd greatly appreciate it. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4554181.html > Sent from the Tap

T5 Selected Attribute

2011-07-05 Thread George Christman
reciate it. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Selected-Attribute-tp4554181p4554181.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-