Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# gedw99 8/15/2008 8:06 PM
i have two Modules.

User Control 1 is a Searcher and gives a list of results.

User Control 2 shows the list of results also (must in a different way), and the Selected Item.



Now the two User Controls have to be on different Page nodes. This is the primary constraint.

There is an ActionProvider between then that sends a Serialised Class that models the complex search params And the Selected Item.



So the question is CAN I USE THE SAME MODULE FOR BOTH USER CONTROLS ??

In the Admin editor, you would want to be able to select one or the other to place in a section.

ged

# gedw99 8/15/2008 11:55 PM
Ok no takers ?

Maybe if i elaborate. It is common that you may have two User Controls that do a Very similar thing.
Maybe for example they are very different in their layout but they use the same data.

So what's the best way to do this ?
i was thinking that two User Controls using the same Module might be possible ??

But i cant see an example of this in the existing Cuyahoga modules at all.

Ged
# gedw99 8/16/2008 12:04 AM
Ok i lied.

there is a Module that has this pattern. Search does.

But it does use two separate Modules to do its thing.

So i guess i got my answer.

Ged
# leecook 11/16/2008 7:25 PM
Take a look at the ecommerce module. That has multiple views using 1 module.