What I had to do was put the element I want to pre-select in the List in
index 0 of my ArrayList. The problem was I made all the logic for the first
element be on the position 0 and the rest in the Natural Sort Order.
Here is the code:
public static List ordenaEmpresasEspecial(List
empresas){
>
> Hi,
>
>
> as far as I remember it is just about the name of
>
> > > name="pessoaForm.empresa" label="Empresa" select="idDefaultSelection"
> />*
>
> This means your action needs a member "pessoaForm.empresa" and that one
> must be initialized with the preselected value.
>
> I don't t
Hi,
as far as I remember it is just about the name of
> name="pessoaForm.empresa" label="Empresa" select="idDefaultSelection"
/>*
This means your action needs a member "pessoaForm.empresa" and that one
must be initialized with the preselected value.
I don't think that you need the select
3 matches
Mail list logo