Thanks Matt, I've change everything based on your suggestion.
mraible wrote: > > I've entered this as an issue in JIRA: > Thanks Matt, I've changed everything based on your suggestion. > > http://issues.appfuse.org/browse/APF-913 > > Just an FYI... to follow JavaBeans conventions, you shouldn't have an > underscore in your method names. > > Matt > > On 9/24/07, phamvubinh <[EMAIL PROTECTED]> wrote: >> >> The identified property is "id_phuong", so the getter method is >> getId_phuong(). but the xhtml has "id"... >> Maybe that's a bug. >> >> >> mraible wrote: >> > >> > What's the "getter" method named in your POJO? I'm guessing >> > getIdPhuong()? If so, the xhtml should have idPhuong. If it doesn't, >> > that's a bug. You'll need to enter it in JIRA if you want to see it >> > fixed in the next release. >> > >> > Thanks, >> > >> > Matt >> > >> > On 9/23/07, phamvubinh <[EMAIL PROTECTED]> wrote: >> >> >> >> I don't know. The property name of my pojo is "id_phuong", but the >> >> property >> >> id name which generated to .xhtml file is "id", so that's why my >> >> xxxForm.xhtml can not get id value. >> >> >> >> >> >> mraible wrote: >> >> > >> >> > Is this a bug in AMP? It should use the property name of your @Id. >> >> > >> >> > Matt >> >> > >> >> > On 9/23/07, phamvubinh <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> I found out the solution. Because of ID name of my pojo is >> different >> >> from >> >> >> the >> >> >> ID name which generated by appfuse. >> >> >> >> >> >> >> >> >> phamvubinh wrote: >> >> >> > >> >> >> > If I use 2.0-rc1 version, I can edit my record via browser. But I >> >> can >> >> >> not >> >> >> > do that with 2.0 final version. >> >> >> > If I have just only one ID link in the row in my table, how can I >> >> fix >> >> >> it? >> >> >> > >> >> >> > >> >> >> > mraible wrote: >> >> >> >> >> >> >> >> Do you have more than one link in the row in your table? If so, >> you >> >> >> >> might comment out the highlightTableRows() JavaScript function >> at >> >> the >> >> >> >> bottom of your page - it could be causing the id not to get >> sent. >> >> >> >> >> >> >> >> Matt >> >> >> >> >> >> >> >> On 9/21/07, phamvubinh <[EMAIL PROTECTED]> wrote: >> >> >> >>> >> >> >> >>> Hi all, >> >> >> >>> >> >> >> >>> Im using JSF basic archetype. Now I have a problem: I can not >> edit >> >> >> >>> records. >> >> >> >>> When I click on a link of a record Person, the page >> >> personForm.xhtml >> >> >> is >> >> >> >>> display, but all the textfields are empty. And if I enterd some >> >> new >> >> >> >>> infor, >> >> >> >>> then saved, appfuse made a new record, not edit the old one. I >> >> tried >> >> >> to >> >> >> >>> make >> >> >> >>> a new project but still got the same problem. Can you help me?? >> >> >> >>> >> >> >> >>> Thanks, >> >> >> >>> Binh Pham >> >> >> >>> -- >> >> >> >>> View this message in context: >> >> >> >>> >> >> >> >> >> >> http://www.nabble.com/Can-not-edit-record-via-browser-%28JSF-basic-archetype%29-tf4493254s2369.html#a12814758 >> >> >> >>> Sent from the AppFuse - User mailing list archive at >> Nabble.com. >> >> >> >>> >> >> >> >>> >> >> --------------------------------------------------------------------- >> >> >> >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> >>> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> >> >>> >> >> >> >>> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> http://raibledesigns.com >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > >> >> >> >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> >> http://www.nabble.com/Can-not-edit-record-via-browser-%28JSF-basic-archetype%29-tf4493254s2369.html#a12852931 >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> >> >> > >> >> > >> >> > -- >> >> > http://raibledesigns.com >> >> > >> >> > >> --------------------------------------------------------------------- >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> > For additional commands, e-mail: [EMAIL PROTECTED] >> >> > >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Can-not-edit-record-via-browser-%28JSF-basic-archetype%29-tf4493254s2369.html#a12853441 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Can-not-edit-record-via-browser-%28JSF-basic-archetype%29-tf4493254s2369.html#a12854599 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Can-not-edit-record-via-browser-%28JSF-basic-archetype%29-tf4493254s2369.html#a12872278 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]