JIRA created: https://issues.apache.org/jira/browse/TAPESTRY-1543
On 6/6/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Hmm....Perhaps you are relying on some form persistence strategy to maintain state - not sure. Can you file a jira issue for it with very specific information about the property you have mapped to the component and how you are managing state with it? (or if it is enclosed by a form / etc..) On 6/4/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > Ok I've updated to 4.1.2, thanks for those who helped getting me on > the right OGNL repository but and still can't seem to get the > InlineEditBox to change a property. Here is what I have: > > page.html: > > <form jwcid="[EMAIL PROTECTED]" listener="listener:updateAgents"> > <table border="1" cellspacing="0" width="100%" cellpadding="5" > style="border-collapse:collapse;border:1px solid #333333"> > > <tr valign="top" jwcid="[EMAIL PROTECTED]" source="ognl:ActiveAgents" > value="ognl:currentAgent"> > <td align="center"> > <a jwcid="@DirectLink" listener="listener:removeAgent" > parameters="ognl:currentAgent" > > <img jwcid="@Image" image="asset:deleteImg" border="0"/> > </a> > </td> > <td><span jwcid="@InlineEditBox" value="ognl:currentAgent.label > "/></td> > ... > </tr></table></form> > > page.java > > public void updateAgents(){ > List agents = getActiveAgents(); > Iterator it = agents.iterator(); > while(it.hasNext()){ > TsAgent agent = (TsAgent) it.next(); > saveAgent(agent); > } > > } > > When I use a normal TextField component this works fine, but the > InlineEditBox does not update the agent.label property. > > ~chris > > On 6/3/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > I'm ready to switch to 4.1.2 as soon as the jira for the jdk 1.4 gets > resolved. > > > > Thanks > > > > > > On 6/3/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > > The new version doesn't need a listener method. It should happen > > > transparently for you automatically. (as always, there have been > fixes in > > > many areas including this specific component in 4.1.2 ) > > > > > > On 6/1/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > > > > > > > I used to use the InlineEditBox from tacos in 4.0 and have recently > > > > upgraded to 4.1 > > > > > > > > The tacos component had a listener binding where I could update > > > > changes to a persist property in my database. How is this > > > > accomplished with the new InlineEditBox component in tap 4.1? > > > > > > > > I am also using java 1.4 so I don't believe i can make use of the > > > > @EventListener component. > > > > > > > > Thanks, > > > > > > > > -- > > > > ~chris > > > > > > > > > --------------------------------------------------------------------- > > > > 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 > > > > > > > > > -- > > ~chris > > > > > -- > ~chris > > --------------------------------------------------------------------- > 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
-- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]