-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731055
By: nobody
I have the following construct:
<treeitem forEach="${each.pages}">
<treerow>
<treecell label="${each.title}"/>
<treecell>
<h:table>
<h:tr>
<h:td><h:a href="/aale/author/deletePage.do?page_id=${each.id}"><h:img
src="../author/images/delete.png" title="delete"/></h:a></h:td>
<h:td><h:a href="/aale/author/editPage.do?page_id=${each.id}"><h:img
src="../author/images/edit.png" title="edit"/></h:a></h:td>
</h:tr>
</h:table>
</treecell>
</treerow>
</treeitem>
all the links are generated as the should be, but when i click on the link:
<h:a href="/aale/author/editPage.do?page_id=${each.id}"><h:img
src="../author/images/edit.png" title="edit"/></h:a>
or the deletPage the action is no called. When i use the same link outside my tree it works.
how can i use links inside a treecell??
greez
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731072
By: nobody
Looks like a bug. I posted it at
http://sourceforge.net/tracker/index.php?func=detail&aid=1488938&group_id=152762
&atid=785191
BTW, toolbarbutton is the same as h:a with label and/or image.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731086
By: henrichen
Can you move the mouse over the link and see the interpreted link in Browser's status bar? Did the "complete" link is what you expected?
It all depends on the generated href, interpreted by the browser, not ZK.
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731088
By: henrichen
You can set both label and image in toolbarbutton.
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731101
By: nobody
im using this toolbarbutton now:
<toolbarbutton href="/author/deletePage.do?page_id=${each.id}"
image="../author/images/delete.png"/>
it generates this link:
http://localhost:8080/aale/author/deletePage.do?page_id=67
but when i click on it the action isn't called. instead the processing layer appears in the upper right corner and nothin is happening.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731112
By: tomyeh
Confirmed. A bug and solved.
tom
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731128
By: nobody
a Bug and solved??????
It doesn't work for me. Also when i'm using onClick.
The action isn't called!!!!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731157
By: nobody
is it not possible to call a normal html link from within a tree component??
with onClick i can just call a function in a zscript.
cheers
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731992
By: henrichen
Someone has post it as a bug. We confirm that and solve that. The next nigtly version would include the debugged version.
Follow this tracker:
https://sourceforge.net/tracker/?func=detail&atid=785191&aid=1488938&group_id=15
2762
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731995
By: henrichen
Try on the next Nightly release or maybe 1.2 RC3. href should work.
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3731999
By: henrichen
Using java api(aka onClick in your case), you can call
Executions.sendRedirect(url);
to change to another page.
/henri
Asked: 2006-05-15 16:07:52 +0800
Seen: 551 times
Last updated: May 23 '06