-
1. Re: a4j:commandLink can't re-render it's parent?
sergeysmirnov Aug 7, 2007 12:40 PM (in response to shlang)could you put a a4j:log on the page and see what the log says about the area it want to update
-
2. Re: a4j:commandLink can't re-render it's parent?
shlang Aug 8, 2007 4:26 AM (in response to shlang)I don't know what was it, but today after restarting eclipse all working fine...
And now i have new question for you. Why can't i get my <f:param> usingDate selectedDate = (Date)FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("selectedDate");
This code returns null. -
3. Re: a4j:commandLink can't re-render it's parent?
shlang Aug 8, 2007 4:38 AM (in response to shlang)"shlang" wrote:
I don't know what was it, but today after restarting eclipse all working fine...
Sorry, it was not the truth. It working fine with <a4j:log>. If i remove log from page - bug appears again. -
4. Re: a4j:commandLink can't re-render it's parent?
ishabalov Aug 8, 2007 10:53 AM (in response to shlang)Look to the log and see what was the update id's list and what are actual id's on the page.
Try to surrender dataGrid with a4j:outputPanel and re-render it, or use ajaxRendered="true"
Finally you may take a look to our new "calendar" control :-) -
5. Re: a4j:commandLink can't re-render it's parent?
shlang Aug 8, 2007 11:29 AM (in response to shlang)Thanks for your reply. My calendar is ready and working now.
But my second question about <f:param> is still opened. I need to pass variable to link action method. I'm waiting for your answers. -
6. Re: a4j:commandLink can't re-render it's parent?
ishabalov Aug 8, 2007 1:00 PM (in response to shlang)did you try to replace f:param with a4j:actionParam?
-
7. Re: a4j:commandLink can't re-render it's parent?
shlang Aug 9, 2007 5:41 AM (in response to shlang)Thanks, a4j:actionParam working fine.
-
8. Re: a4j:commandLink can't re-render it's parent?
shlang Aug 9, 2007 6:12 AM (in response to shlang)Lets return to grid...
As i see now the problem is not resolved...
Click on the link rerender only one cell containing this link, not all grid.
If i click link no12 the log is following:debug[12:46:16,894]: Update page part from call parameter for ID liveloungeHtmlForm:calendarGrid:12 debug[12:46:16,894]: call getElementById for id= liveloungeHtmlForm:calendarGrid:12 debug[12:46:16,894]: Replace content of node by replaceChild() debug[12:46:16,910]: search for elements by name 'script' in element table debug[12:46:16,910]: getElementsByTagName found 0 debug[12:46:16,910]: Scripts in updated part count : 0 debug[12:46:16,910]: Update part of page for Id: liveloungeHtmlForm:calendarGrid:12 successful
But in response content i see full grid. -
9. Re: a4j:commandLink can't re-render it's parent?
ishabalov Aug 10, 2007 1:26 PM (in response to shlang)pls post your page source
-
10. Re: a4j:commandLink can't re-render it's parent?
shlang Aug 10, 2007 1:32 PM (in response to shlang)"ishabalov" wrote:
pls post your page source
Code is fixed now. I surrounded dataGrid with a4j:outputPanel. -
11. Re: a4j:commandLink can't re-render it's parent?
alexsmirnov Aug 10, 2007 7:32 PM (in response to shlang)Fixed in current "trunk" code, for release 3.1.0 . Code snipped from your post updated properly.