voyent
Messages posted by: aberrant80  XML
Profile for aberrant80 -> Messages posted by aberrant80 [33] Go to Page: 1, 2, 3 Next 
Author Message
Thanks, but would that work if a user clicks on the "+" and "-" (the expand/collapse) icon instead of the actual node?
I've searched the forums for a way to handle a node expand/collapse event for a tree several months before and I found that it wasn't supported yet, but will be.

I'm searching again now and I can't seem to find anything that mentions it in the TLD docs or JIRA. Can anyone confirm that it is currently impossible to detect a tree node expanded event? I need it for optimisation of a large tree so that nodes are only created on demand.

I suppose I can use commandLinks to detect node selection, but is there a way to detect that the "+" or "-" icon has been clicked as well?

Is there a current estimate on which version this is slated for? We'd need to decide whether to put it off or to use some other components as a workaround. Thanks.
Hi, can I ask for help on what's the best way to bind the double-clicking of a value in a selectManyListbox to an action?

Using ondblclick with getElementById to get my button (so I can .click it) doesn't seem an elegant approach due to the generated "id" value (I'd have to hardcode the button id in my page).
It appears to be inconsequential. The same exception occurs regardless of whether the scope is request or session:

Caused by: java.lang.IllegalStateException: getAttribute: Session already invalidated
at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1021)
at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:110)
at com.icesoft.faces.webapp.http.servlet.ProxyHttpSession.getAttribute(ProxyHttpSession.java:44)
at com.icesoft.faces.webapp.http.servlet.ServletExternalContext$5.getAttribute(ServletExternalContext.java:122)
at com.icesoft.faces.context.AbstractAttributeMap.containsKey(AbstractAttributeMap.java:94)
at com.icesoft.faces.application.D2DViewHandler.getContextServletTables(D2DViewHandler.java:301)
at com.icesoft.faces.application.D2DViewHandler.getContextServletTable(D2DViewHandler.java:312)
at com.icesoft.faces.application.D2DViewHandler.clearSession(D2DViewHandler.java:695)
at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:290)
EDIT: never mind
EDIT: never mind
You can make use of a logger to print out state variables or to track how your bean is being used.
Depending on your overall design, if you can designate one bean as the parent or controller, you can pass bean "A" to bean "B" by adding a <managed-property> to the configuration of bean "B".
Did you check whether the two "bean" instances are actually the same instance?
All right, thanks. Guess I'll try replacing that component with the autocomplete input field.
I looked at the various existing selectOne<blah> components and they don't look like they're editable. What I mean by editable combobox is that, say I use selectOneListbox to show users a choice of predefined options. The user may select one of them or choose to type in a new one. Is there a component like that or do I have to put in an extra inputText to achieve this?
Huh? Really? Not supported? And I thought it was a bug... but I have gotten it to work with something like this:

<ice:tree id="tree" value="#{myBean.treeModel}" var="item" hideRootNode="true" hideNavigation="false" imageDir="#{styleBean.imageDirectory}">
<ice:treeNode>

<f:facet name="icon">
<h:panelGroup>
<h:graphicImage value="#{item.userObject.icon}" />
</h:panelGroup>
</f:facet>

<f:facet name="content">
<ice:panelGroup style="display: inline" draggable="true" dragOptions="dragGhost" dropValue="#{item.userObject.name}" dragMask="drag_cancel, dragging, dropped, hover_start, hover_end" dropMask="hover_start" dropTarget="true" dropListener="#{item.userObject.handleDrop}">
<h:commandLink actionListener="#{item.userObject.nodeClicked}" partialSubmit="true" value="#{item.userObject.description}"/>
</ice:panelGroup>
</f:facet>

</ice:treeNode>
</ice:tree>
Is ICEfaces using or supporting Acegi Security? My problem with Acegi was that in order to use its authentication mechanism, you have to use its filters, and, as such, limited to plain html or jsp.

But some design constraints that I have would make it much much more elegant as a JSF page. I was wondering if ICESoft developers have managed to overcome this html/jsp login limitation.

I've found this:

http://magrokosmos.blogspot.com/2006/07/jsfacegi-authentication-with-backing.html

And 2 more posts similar to it. They were using backing beans to do authentication instead of relying on the filters. I couldn't get it to work despite attempting to duplicate it. It just appears to break all the other filters and render the whole web app unsecured.

If anyone has more experience with Acegi Security, I would really appreciate your help. Thanks for reading.
I'm having trouble with drag and drop as well, in a tree. But nobody knows how to help me apparently; it's been several days. What I do know about drag and drop is that it's very fickle (personal opinion anyway). Minor changes seems to break it easily.
*bump*

no help at all?
 
Profile for aberrant80 -> Messages posted by aberrant80 [33] Go to Page: 1, 2, 3 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team