This content has been marked as final.
Show 9 replies
-
1. Re: scrollableDataTable + links
wchico2 Sep 14, 2007 7:55 AM (in response to krasig)Hi,
I used dataTable and had the same problem with h:commandButton. Have you tried a4j:commandLink instead of h:commandLink? -
2. Re: scrollableDataTable + links
krasig Sep 14, 2007 8:00 AM (in response to krasig)Yes. With a4j:commandLink result is the same.
-
3. Re: scrollableDataTable + links
krasig Sep 14, 2007 4:24 PM (in response to krasig)This is important only for me? Or this error happen only on my system?
-
4. Re: scrollableDataTable + links
maksimkaszynski Sep 15, 2007 7:33 AM (in response to krasig)I tried the same example, as you provided, and mine works.
Maybe, you've forgotten to place h:form somewhere around the scrollable. -
5. Re: scrollableDataTable + links
krasig Sep 16, 2007 12:39 PM (in response to krasig)This is my simple test:
testPage1:<h:form> <h:commandLink action="goToPage2">link1</h:commandLink> <rich:scrollableDataTable id="testSDT" rowKeyVar="rkv" value="#{formAll.formuliars}" var="formRow" sortMode="single" rows="15"> <rich:column id="formCode"> <f:facet name="header"> <h:outputText styleClass="headerText" value="HEad" /> </f:facet> <h:commandLink action="goToPage2" style="DISPLAY: block; width: 100%"> <h:outputText id="f_col1_formCode" value="#{formRow.formCode}" /> </h:commandLink> </rich:column> </rich:scrollableDataTable> </h:form>
in faces-config.xml I have:<navigation-rule> <from-view-id>/testPage1.xhtml</from-view-id> <navigation-case> <from-outcome>goToPage2</from-outcome> <to-view-id>/testPage2.xhtml</to-view-id> </navigation-case> </navigation-rule>
so, as you can see, I have 1 link that is outside of scrolabledataTable and if you click on this link - everything is Ok.
But if you try link in table - page is reloaded but not going on testPage2.
Some idea what is wrong? -
6. Re: scrollableDataTable + links
krasig Sep 17, 2007 7:42 AM (in response to krasig)Any comment will be welcome. Thanks.
-
7. Re: scrollableDataTable + links
ilya_shaikovsky Sep 17, 2007 10:59 AM (in response to krasig)Also can't reproduce under
JSF 1.2_04
Facelets 1.1.12
RF 3.1.0 RC5, RF 3.1.0 GA -
8. Re: scrollableDataTable + links
krasig Sep 17, 2007 4:24 PM (in response to krasig)Mmmmmmmm it was my stupid error in lib dir.
Excuse me, please. -
9. Re: scrollableDataTable + links
maksimkaszynski Sep 18, 2007 6:48 AM (in response to krasig)No problem :)