- This topic has 2 replies, 3 voices, and was last updated 20 years, 6 months ago by support-michael.
-
AuthorPosts
-
sabujo2000MemberI would like to propose a feature (to be added on the action/struts wizard): the possibility do use a descendant class of ActionMaping created by myself. In other words: I would like to choose the “className” value of the attribute defined in action (struts-config.xml) to be one of my extended classes of ActionMapping. This would provide access to my custom attributes (<set-property> tags)
For better understanding, I´ll show a piece of my application. I hope it helps.
<action path="/forumsel" name="forumForm" type="com.powerlogic.ecompanyadm.controle.AppAction" className="com.powerlogic.jcompany.controle.PlcActionMappingDet" validate="false" parameter="evento" input="def.forum.sel" scope="request"> <description id="forumselDoc"> Seleção para Manutenção de Fóruns. </description> <set-property property="logicaPlc" value="selecao#simples"></set-property> <set-property property="valueObject" value="com.powerlogic.ecompany.vo.Forum"></set-property> <set-property property="querySel" value="select new Forum (obj.id, obj.nome, obj.descricao, obj.situacao, obj.numTopicos, obj.numOcorrencias, obj.numAcessos, obj.dataUltPostagem, obj.usuarioUltPostagem, obj.grupoMantenedor, obj.usuarioMantenedor) from com.powerlogic.ecompany.vo.Forum as obj"></set-property> <set-property property="orderBySel" value="obj.nome asc"></set-property> <set-property property="arg" value="id_Arg,igual,,obj"></set-property> <set-property property="arg" value="nome_Arg,%*%,,obj"></set-property> <set-property property="arg" value="situacao_Arg,igual,,obj"></set-property> <set-property property="arg" value="numTopicos_Arg,maiorOuIgual,,obj"></set-property> <set-property property="arg" value="numOcorrencias_Arg,maiorOuIgual,,obj"></set-property> <set-property property="arg" value="numAcessos_Arg,maiorOuIgual,,obj"></set-property> <set-property property="arg" value="usuarioUltPostagem_Arg,*%,,obj,string"></set-property> <set-property property="arg" value="dataUltPostagem_ArgINI,maiorOuIgual,,obj,date"></set-property> <set-property property="arg" value="organizado_Arg,igual,,obj"></set-property> <set-property property="arg" value="idioma_Arg,igual,,obj"></set-property> <set-property property="arg" value="grupoMantenedor_Arg,%*%,,obj"></set-property> <set-property property="arg" value="usuarioMantenedor_Arg,%*%,,obj"></set-property> <forward name="mesmaPagina" path="def.forum.sel"/> <forward name="edita" path="/forum.do?evento=x" redirect="true"/> <forward name="abre" path="def.forum.sel" /> <forward name="novo" path="/forum.do?evento=x" redirect="true"/> </action>
Do you think this can be done? I should wait for it in beta 2?
My enviroment: Eclipse 2.1.3 and ME 2.8.0 beta 1Thanks in advance!
[]s
Clayton Fonseca
Riyad KallaMemberClayton,
I did send this request in along with your detailed bug that you found about the struts-config editor not recognizing the className attribute.
support-michaelKeymasterI have entered your request in our enhancement database. The entry requests that the action wizard be extended with an additional field for the actionmapping class with a browse types capability. Please feel free to provide more enhancement details if needed.
-
AuthorPosts